Class: Google::Apis::GameservicesV1::PreviewRealmUpdateResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::PreviewRealmUpdateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1/classes.rb,
generated/google/apis/gameservices_v1/representations.rb,
generated/google/apis/gameservices_v1/representations.rb
Overview
Response message for RealmsService.PreviewRealmUpdate.
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the realm.
-
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewRealmUpdateResponse
constructor
A new instance of PreviewRealmUpdateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewRealmUpdateResponse
Returns a new instance of PreviewRealmUpdateResponse.
1633 1634 1635 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the realm.
Corresponds to the JSON property etag
1626 1627 1628 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1626 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1631 1632 1633 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1631 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1638 1639 1640 1641 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1638 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |