Class: Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1beta/classes.rb,
generated/google/apis/gameservices_v1beta/representations.rb,
generated/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
-
#etag ⇒ String
ETag of the game server deployment.
-
#target_state ⇒ Google::Apis::GameservicesV1beta::TargetState
Encapsulates the Target state.
-
#unavailable ⇒ Array<String>
Locations that could not be reached on this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewGameServerDeploymentRolloutResponse
constructor
A new instance of PreviewGameServerDeploymentRolloutResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewGameServerDeploymentRolloutResponse
Returns a new instance of PreviewGameServerDeploymentRolloutResponse.
1607 1608 1609 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the game server deployment.
Corresponds to the JSON property etag
1595 1596 1597 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1595 def etag @etag end |
#target_state ⇒ Google::Apis::GameservicesV1beta::TargetState
Encapsulates the Target state.
Corresponds to the JSON property targetState
1600 1601 1602 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1600 def target_state @target_state end |
#unavailable ⇒ Array<String>
Locations that could not be reached on this request.
Corresponds to the JSON property unavailable
1605 1606 1607 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1605 def unavailable @unavailable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1612 1613 1614 1615 1616 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1612 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 |