Class: Google::Apis::CloudsearchV1::IncomingWebhookChangedMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IncomingWebhookChangedMetadata

Returns a new instance of IncomingWebhookChangedMetadata.



11783
11784
11785
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11783

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#incoming_webhook_nameString

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

Returns:

  • (String)


11752
11753
11754
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11752

def incoming_webhook_name
  @incoming_webhook_name
end

#initiator_idGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property initiatorId



11757
11758
11759
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11757

def initiator_id
  @initiator_id
end

#initiator_profileGoogle::Apis::CloudsearchV1::User

User profile information. This user is not necessarily member of a space. Corresponds to the JSON property initiatorProfile



11762
11763
11764
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11762

def initiator_profile
  @initiator_profile
end

#obfuscated_incoming_webhook_idString

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

Returns:

  • (String)


11769
11770
11771
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11769

def obfuscated_incoming_webhook_id
  @obfuscated_incoming_webhook_id
end

#old_incoming_webhook_nameString

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

Returns:

  • (String)


11776
11777
11778
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11776

def old_incoming_webhook_name
  @old_incoming_webhook_name
end

#typeString

Used in Spanner storage, BE API responses and FE API responses. Corresponds to the JSON property type

Returns:

  • (String)


11781
11782
11783
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11781

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11788
11789
11790
11791
11792
11793
11794
11795
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11788

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