Google Cloud Config V1 Client - Class DeploymentGroupRevision (1.8.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class DeploymentGroupRevision.

A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.

Generated from protobuf message google.cloud.config.v1.DeploymentGroupRevision

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

↳ snapshot DeploymentGroup

Output only. The snapshot of the deployment group at this revision.

↳ create_time Google\Protobuf\Timestamp

Output only. Time when the deployment group revision was created.

↳ alternative_ids string[]

Output only. The alternative IDs of the deployment group revision.

getName

Identifier. The name of the deployment group revision.

Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

Returns
Type Description
string

setName

Identifier. The name of the deployment group revision.

Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.

Parameter
Name Description
var string
Returns
Type Description
$this

getSnapshot

Output only. The snapshot of the deployment group at this revision.

Returns
Type Description
DeploymentGroup|null

hasSnapshot

clearSnapshot

setSnapshot

Output only. The snapshot of the deployment group at this revision.

Parameter
Name Description
var DeploymentGroup
Returns
Type Description
$this

getCreateTime

Output only. Time when the deployment group revision was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the deployment group revision was created.

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

getAlternativeIds

Output only. The alternative IDs of the deployment group revision.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setAlternativeIds

Output only. The alternative IDs of the deployment group revision.

Parameter
Name Description
var string[]
Returns
Type Description
$this