Class: Google::Apis::CloudsearchV1::IncomingWebhookChangedMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::IncomingWebhookChangedMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Annotation metadata to display system messages for incoming webhook events. Next Tag: 7
Instance Attribute Summary collapse
-
#incoming_webhook_name ⇒ String
The webhook name at the time of the change.
-
#initiator_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
-
#initiator_profile ⇒ Google::Apis::CloudsearchV1::User
User profile information.
-
#obfuscated_incoming_webhook_id ⇒ String
The webhook id of the incoming webhook in question.
-
#old_incoming_webhook_name ⇒ String
Only populated for UPDATED_NAME and UPDATED_NAME_AND_AVATAR events, where the webhook name was changed.
-
#type ⇒ String
Used in Spanner storage, BE API responses and FE API responses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IncomingWebhookChangedMetadata
constructor
A new instance of IncomingWebhookChangedMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IncomingWebhookChangedMetadata
Returns a new instance of IncomingWebhookChangedMetadata.
10241 10242 10243 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#incoming_webhook_name ⇒ String
The webhook name at the time of the change. Used in Spanner storage, BE API
responses and FE API responses.
Corresponds to the JSON property incomingWebhookName
10210 10211 10212 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10210 def incoming_webhook_name @incoming_webhook_name end |
#initiator_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property initiatorId
10215 10216 10217 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10215 def initiator_id @initiator_id end |
#initiator_profile ⇒ Google::Apis::CloudsearchV1::User
User profile information. This user is not necessarily member of a space.
Corresponds to the JSON property initiatorProfile
10220 10221 10222 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10220 def initiator_profile @initiator_profile end |
#obfuscated_incoming_webhook_id ⇒ String
The webhook id of the incoming webhook in question. This field should not be
used to load webhook information dynamically and is only present for debugging
purposes. Used in Spanner storage, BE API responses and FE API responses.
Corresponds to the JSON property obfuscatedIncomingWebhookId
10227 10228 10229 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10227 def @obfuscated_incoming_webhook_id end |
#old_incoming_webhook_name ⇒ String
Only populated for UPDATED_NAME and UPDATED_NAME_AND_AVATAR events, where the
webhook name was changed. Used in Spanner storage, BE API responses and FE API
responses.
Corresponds to the JSON property oldIncomingWebhookName
10234 10235 10236 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10234 def old_incoming_webhook_name @old_incoming_webhook_name end |
#type ⇒ String
Used in Spanner storage, BE API responses and FE API responses.
Corresponds to the JSON property type
10239 10240 10241 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10239 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10246 10247 10248 10249 10250 10251 10252 10253 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10246 def update!(**args) @incoming_webhook_name = args[:incoming_webhook_name] if args.key?(:incoming_webhook_name) @initiator_id = args[:initiator_id] if args.key?(:initiator_id) @initiator_profile = args[:initiator_profile] if args.key?(:initiator_profile) @obfuscated_incoming_webhook_id = args[:obfuscated_incoming_webhook_id] if args.key?(:obfuscated_incoming_webhook_id) @old_incoming_webhook_name = args[:old_incoming_webhook_name] if args.key?(:old_incoming_webhook_name) @type = args[:type] if args.key?(:type) end |