Class: Google::Apis::CloudsearchV1::SourceMessageInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceMessageInfo

Returns a new instance of SourceMessageInfo.



19361
19362
19363
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19361

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

Instance Attribute Details

#message_idGoogle::Apis::CloudsearchV1::MessageId

Primary key for Message resource. Corresponds to the JSON property messageId



19354
19355
19356
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19354

def message_id
  @message_id
end

#message_typeString

Corresponds to the JSON property messageType

Returns:

  • (String)


19359
19360
19361
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19359

def message_type
  @message_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19366
19367
19368
19369
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19366

def update!(**args)
  @message_id = args[:message_id] if args.key?(:message_id)
  @message_type = args[:message_type] if args.key?(:message_type)
end