generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.18.0 vs generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.18.1
- old
+ new
@@ -197,23 +197,20 @@
# service.
class EventTrigger
include Google::Apis::Core::Hashable
# Required. The type of event to observe. For example:
- # `google.storage.object.finalized` and
- # `google.firebase.analytics.event.log`.
- # Event type consists of three parts:
- # 1. namespace: The domain name of the organization in reverse-domain
- # notation (e.g. `acme.net` appears as `net.acme`) and any orginization
- # specific subdivisions. If the organization's top-level domain is `com`,
- # the top-level domain is ommited (e.g. `google.com` appears as
- # `google`). For example, `google.storage` and
+ # `providers/cloud.storage/eventTypes/object.change` and
+ # `providers/cloud.pubsub/eventTypes/topic.publish`.
+ # Event types match pattern `providers/*/eventTypes/*.*`.
+ # The pattern contains:
+ # 1. namespace: For example, `cloud.storage` and
# `google.firebase.analytics`.
- # 2. resource type: The type of resource on which event ocurs. For
+ # 2. resource type: The type of resource on which event occurs. For
# example, the Google Cloud Storage API includes the type `object`.
- # 3. action: The action that generates the event. For example, actions for
- # a Google Cloud Storage Object include 'finalize' and 'delete'.
- # These parts are lower case and joined by '.'.
+ # 3. action: The action that generates the event. For example, action for
+ # a Google Cloud Storage Object is 'change'.
+ # These parts are lower case.
# Corresponds to the JSON property `eventType`
# @return [String]
attr_accessor :event_type
# Describes the policy in case of function's execution failure.