...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/storage_v1beta1_storagenotification.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector StorageNotification
     2markdownDescription: Creates yaml for a StorageNotification resource
     3insertText: |
     4  apiVersion: storage.cnrm.cloud.google.com/v1beta1
     5  kind: StorageNotification
     6  metadata:
     7    name: \${1:storagenotification-name}
     8  spec:
     9    bucketRef:
    10      name: \${2:[PROJECT_ID?]-storagenotification-dep}
    11    payloadFormat: \${3:JSON_API_V1}
    12    topicRef:
    13      name: \${4:storagenotification-dep}
    14    eventTypes:
    15    - \${5:OBJECT_ARCHIVE}

View as plain text