Google Cloud Game Servers V1 Client - Class GameServerDeploymentRollout (1.2.5)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class GameServerDeploymentRollout.

The game server deployment rollout which represents the desired rollout state.

Generated from protobuf message google.cloud.gaming.v1.GameServerDeploymentRollout

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ 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.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation time.

↳ update_time Google\Protobuf\Timestamp

Output only. The last-modified time.

↳ 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.

↳ game_server_config_overrides array<Google\Cloud\Gaming\V1\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.

↳ etag string

ETag of the resource.

getName

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.

Returns
Type Description
string

setName

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The creation time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The last-modified time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last-modified time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDefaultGameServerConfig

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.

Returns
Type Description
string

setDefaultGameServerConfig

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getGameServerConfigOverrides

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGameServerConfigOverrides

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.

Parameter
Name Description
var array<Google\Cloud\Gaming\V1\GameServerConfigOverride>
Returns
Type Description
$this

getEtag

ETag of the resource.

Returns
Type Description
string

setEtag

ETag of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this