Class: Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1beta/classes.rb,
generated/google/apis/gameservices_v1beta/representations.rb,
generated/google/apis/gameservices_v1beta/representations.rb
Overview
Response message for GameServerClustersService.PreviewCreateGameServerCluster.
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) ⇒ PreviewCreateGameServerClusterResponse
constructor
A new instance of PreviewCreateGameServerClusterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewCreateGameServerClusterResponse
Returns a new instance of PreviewCreateGameServerClusterResponse.
1551 1552 1553 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
The ETag of the game server cluster.
Corresponds to the JSON property etag
1544 1545 1546 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1544 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1beta::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1549 1550 1551 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1549 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1556 1557 1558 1559 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1556 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |