Class: Google::Apis::GameservicesV1::PreviewDeleteGameServerClusterResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::PreviewDeleteGameServerClusterResponse
- 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 GameServerClustersService.PreviewDeleteGameServerCluster.
Instance Attribute Summary collapse
-
#etag ⇒ String
The ETag of the game server cluster.
-
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewDeleteGameServerClusterResponse
constructor
A new instance of PreviewDeleteGameServerClusterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewDeleteGameServerClusterResponse
Returns a new instance of PreviewDeleteGameServerClusterResponse.
1576 1577 1578 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
The ETag of the game server cluster.
Corresponds to the JSON property etag
1569 1570 1571 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1569 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1574 1575 1576 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1574 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1581 1582 1583 1584 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1581 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |