Class: Google::Apis::GameservicesV1::PreviewUpdateGameServerClusterResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreviewUpdateGameServerClusterResponse

Returns a new instance of PreviewUpdateGameServerClusterResponse.



1718
1719
1720
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1718

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)


1711
1712
1713
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1711

def etag
  @etag
end

#target_stateGoogle::Apis::GameservicesV1::TargetState

Encapsulates the Target state. Corresponds to the JSON property targetState



1716
1717
1718
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1716

def target_state
  @target_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1723
1724
1725
1726
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1723

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @target_state = args[:target_state] if args.key?(:target_state)
end