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.



19199
19200
19201
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19199

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



19192
19193
19194
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19192

def message_id
  @message_id
end

#message_typeString

Corresponds to the JSON property messageType

Returns:

  • (String)


19197
19198
19199
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19197

def message_type
  @message_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19204
19205
19206
19207
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19204

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