# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::TerraformVersion (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.1 1.1.0 1.0.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::TerraformVersion.

A TerraformVersion represents the support state the corresponding
Terraform version.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #deprecate_time

    def deprecate_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. When the version is deprecated.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
**Returns**

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

### #obsolete_time

    def obsolete_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. When the version is obsolete.

### #state

    def state() -> ::Google::Cloud::ConfigService::V1::TerraformVersion::State

**Returns**

- ([::Google::Cloud::ConfigService::V1::TerraformVersion::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-TerraformVersion-State)) --- Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

### #support_time

    def support_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Output only. When the version is supported.