Google Cloud Game Servers V1 Client - Class GameServerDeploymentRollout (1.0.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The creation time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The last-modified time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last-modified time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Cloud\Gaming\V1\GameServerConfigOverride>
Returns
TypeDescription
$this

getEtag

ETag of the resource.

Returns
TypeDescription
string

setEtag

ETag of the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this