Class: Google::Apis::GameservicesV1::PreviewDeleteGameServerClusterResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#etagString

The ETag of the game server cluster. Corresponds to the JSON property etag

Returns:

  • (String)


1569
1570
1571
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1569

def etag
  @etag
end

#target_stateGoogle::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