Class: Google::Apis::GameservicesV1beta::GameServerDeploymentRollout
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::GameServerDeploymentRollout
- 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
The game server deployment rollout which represents the desired rollout state.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#default_game_server_config ⇒ String
The default game server config is applied to all realms unless overridden in the rollout.
-
#etag ⇒ String
ETag of the resource.
-
#game_server_config_overrides ⇒ Array<Google::Apis::GameservicesV1beta::GameServerConfigOverride>
Contains the game server config rollout overrides.
-
#name ⇒ String
The resource name of the game server deployment rollout, in the following form:
projects/
project/locations/
location/gameServerDeployments/
deployment/ rollout
. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GameServerDeploymentRollout
constructor
A new instance of GameServerDeploymentRollout.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GameServerDeploymentRollout
Returns a new instance of GameServerDeploymentRollout.
936 937 938 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The creation time.
Corresponds to the JSON property createTime
902 903 904 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 902 def create_time @create_time end |
#default_game_server_config ⇒ String
The default game server config is applied to all realms unless overridden in
the rollout. For example, projects/my-project/locations/global/
gameServerDeployments/my-game/configs/my-config
.
Corresponds to the JSON property defaultGameServerConfig
909 910 911 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 909 def default_game_server_config @default_game_server_config end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
914 915 916 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 914 def etag @etag end |
#game_server_config_overrides ⇒ Array<Google::Apis::GameservicesV1beta::GameServerConfigOverride>
Contains the game server config rollout overrides. Overrides are processed in
the order they are listed. Once a match is found for a realm, the rest of the
list is not processed.
Corresponds to the JSON property gameServerConfigOverrides
921 922 923 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 921 def game_server_config_overrides @game_server_config_overrides end |
#name ⇒ String
The resource name of the game server deployment rollout, in the following form:
projects/
project/locations/
location/gameServerDeployments/
deployment/
rollout
. For example, projects/my-project/locations/global/
gameServerDeployments/my-deployment/rollout
.
Corresponds to the JSON property name
929 930 931 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 929 def name @name end |
#update_time ⇒ String
Output only. The last-modified time.
Corresponds to the JSON property updateTime
934 935 936 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 934 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
941 942 943 944 945 946 947 948 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 941 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @default_game_server_config = args[:default_game_server_config] if args.key?(:default_game_server_config) @etag = args[:etag] if args.key?(:etag) @game_server_config_overrides = args[:game_server_config_overrides] if args.key?(:game_server_config_overrides) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |