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.
19199 19200 19201 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19199 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
19192 19193 19194 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19192 def @message_id end |
#message_type ⇒ String
Corresponds to the JSON property messageType
19197 19198 19199 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19197 def @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 |