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.
2888 2889 2890 |
# File 'lib/google/apis/config_v1/classes.rb', line 2888 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
2865 2866 2867 |
# File 'lib/google/apis/config_v1/classes.rb', line 2865 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
2871 2872 2873 |
# File 'lib/google/apis/config_v1/classes.rb', line 2871 def name @name end |
#obsolete_time ⇒ String
Output only. When the version is obsolete.
Corresponds to the JSON property obsoleteTime
2876 2877 2878 |
# File 'lib/google/apis/config_v1/classes.rb', line 2876 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
2881 2882 2883 |
# File 'lib/google/apis/config_v1/classes.rb', line 2881 def state @state end |
#support_time ⇒ String
Output only. When the version is supported.
Corresponds to the JSON property supportTime
2886 2887 2888 |
# File 'lib/google/apis/config_v1/classes.rb', line 2886 def support_time @support_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2893 2894 2895 2896 2897 2898 2899 |
# File 'lib/google/apis/config_v1/classes.rb', line 2893 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 |