GoogleCloudStorage::Notification
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A subscription to receive Google PubSub notifications.
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
Custom attribute writer method checking allowed values (enum). @param [Object] custom_attributes Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] etag Object to be assigned
If present, only send notifications about listed event types. If empty, sent notifications for all event types.
Custom attribute writer method checking allowed values (enum). @param [Object] event_types Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
If present, only apply this notification configuration to object names that begin with this prefix.
Custom attribute writer method checking allowed values (enum). @param [Object] object_name_prefix Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payload_format Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] self_link Object to be assigned
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
Custom attribute writer method checking allowed values (enum). @param [Object] topic Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid