Class: Google::Apis::GameservicesV1::PreviewDeleteGameServerClusterResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::PreviewDeleteGameServerClusterResponse
- 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 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.
1636 1637 1638 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
The ETag of the game server cluster.
Corresponds to the JSON property etag
1629 1630 1631 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1629 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1634 1635 1636 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1634 def target_state @target_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1641 1642 1643 1644 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1641 def update!(**args) @etag = args[:etag] if args.key?(:etag) @target_state = args[:target_state] if args.key?(:target_state) end |