Class: Google::Apis::GameservicesV1::PreviewRealmUpdateResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::PreviewRealmUpdateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/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.
1693 1694 1695 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the realm.
Corresponds to the JSON property etag
1686 1687 1688 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1686 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1691 1692 1693 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1691 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1698 1699 1700 1701 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1698 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |