GoogleDrive::Channel
Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object
An notification channel used to watch for resource changes.
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
The type of delivery mechanism used for this channel. Valid values are "web_hook" (or "webhook"). Both values refer to a channel where Http requests are used to deliver messages.
Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Custom attribute writer method checking allowed values (enum). @param [Object] expiration 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
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
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
Custom attribute writer method checking allowed values (enum). @param [Object] params Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payload Object to be assigned
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
Custom attribute writer method checking allowed values (enum). @param [Object] resource_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] resource_uri Object to be assigned
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
Custom attribute writer method checking allowed values (enum). @param [Object] token Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid