Class: Google::Apis::ConfigV1::TerraformVersion
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::TerraformVersion
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
A TerraformVersion represents the support state the corresponding Terraform version.
Instance Attribute Summary collapse
-
#deprecate_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#obsolete_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#support_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TerraformVersion
constructor
A new instance of TerraformVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TerraformVersion
Returns a new instance of TerraformVersion.
1992 1993 1994 |
# File 'lib/google/apis/config_v1/classes.rb', line 1992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecate_time ⇒ String
Output only. When the version is deprecated.
Corresponds to the JSON property deprecateTime
1969 1970 1971 |
# File 'lib/google/apis/config_v1/classes.rb', line 1969 def deprecate_time @deprecate_time end |
#name ⇒ String
Identifier. The version name is in the format: 'projects/project_id
/
locations/location
/terraformVersions/terraform_version
'.
Corresponds to the JSON property name
1975 1976 1977 |
# File 'lib/google/apis/config_v1/classes.rb', line 1975 def name @name end |
#obsolete_time ⇒ String
Output only. When the version is obsolete.
Corresponds to the JSON property obsoleteTime
1980 1981 1982 |
# File 'lib/google/apis/config_v1/classes.rb', line 1980 def obsolete_time @obsolete_time end |
#state ⇒ String
Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
Corresponds to the JSON property state
1985 1986 1987 |
# File 'lib/google/apis/config_v1/classes.rb', line 1985 def state @state end |
#support_time ⇒ String
Output only. When the version is supported.
Corresponds to the JSON property supportTime
1990 1991 1992 |
# File 'lib/google/apis/config_v1/classes.rb', line 1990 def support_time @support_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/google/apis/config_v1/classes.rb', line 1997 def update!(**args) @deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time) @name = args[:name] if args.key?(:name) @obsolete_time = args[:obsolete_time] if args.key?(:obsolete_time) @state = args[:state] if args.key?(:state) @support_time = args[:support_time] if args.key?(:support_time) end |