Class: Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb

Overview

Response message for PreviewGameServerDeploymentRollout. This has details about the Agones fleet and autoscaler to be actuated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreviewGameServerDeploymentRolloutResponse

Returns a new instance of PreviewGameServerDeploymentRolloutResponse.



1713
1714
1715
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1713

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

ETag of the game server deployment. Corresponds to the JSON property etag

Returns:

  • (String)


1701
1702
1703
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1701

def etag
  @etag
end

#target_stateGoogle::Apis::GameservicesV1beta::TargetState

Encapsulates the Target state. Corresponds to the JSON property targetState



1706
1707
1708
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1706

def target_state
  @target_state
end

#unavailableArray<String>

Locations that could not be reached on this request. Corresponds to the JSON property unavailable

Returns:

  • (Array<String>)


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

def unavailable
  @unavailable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
1721
1722
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1718

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