Class: Google::Apis::CloudsearchV1::SourceMessageInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SourceMessageInfo
- 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
-
#message_id ⇒ Google::Apis::CloudsearchV1::MessageId
Primary key for Message resource.
-
#message_type ⇒ String
Corresponds to the JSON property
messageType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceMessageInfo
constructor
A new instance of SourceMessageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ Google::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 end |
#message_type ⇒ String
Corresponds to the JSON property messageType
19359 19360 19361 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19359 def @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 |