Class: Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
Response message for GameServerClustersService.PreviewUpdateGameServerCluster
Instance Attribute Summary collapse
-
#etag ⇒ String
The ETag of the game server cluster.
-
#target_state ⇒ Google::Apis::GameservicesV1beta::TargetState
Encapsulates the Target state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewUpdateGameServerClusterResponse
constructor
A new instance of PreviewUpdateGameServerClusterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewUpdateGameServerClusterResponse
Returns a new instance of PreviewUpdateGameServerClusterResponse.
1719 1720 1721 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
The ETag of the game server cluster.
Corresponds to the JSON property etag
1712 1713 1714 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1712 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1beta::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1717 1718 1719 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1717 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1724 1725 1726 1727 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1724 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |