Google Cloud Config V1 Client - Class TerraformVersion (0.5.2)

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

A TerraformVersion represents the support state the corresponding Terraform version.

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

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.

↳ state int

Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

↳ support_time Google\Protobuf\Timestamp

Output only. When the version is supported.

↳ deprecate_time Google\Protobuf\Timestamp

Output only. When the version is deprecated.

↳ obsolete_time Google\Protobuf\Timestamp

Output only. When the version is obsolete.

getName

Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.

Returns
Type Description
string

setName

Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

Returns
Type Description
int

setState

Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

Parameter
Name Description
var int
Returns
Type Description
$this

getSupportTime

Output only. When the version is supported.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasSupportTime

clearSupportTime

setSupportTime

Output only. When the version is supported.

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

getDeprecateTime

Output only. When the version is deprecated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDeprecateTime

clearDeprecateTime

setDeprecateTime

Output only. When the version is deprecated.

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

getObsoleteTime

Output only. When the version is obsolete.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasObsoleteTime

clearObsoleteTime

setObsoleteTime

Output only. When the version is obsolete.

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