Class: Google::Apis::ComputeV1::PreviewFeature
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::PreviewFeature
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Represents a single Google Compute Engine preview feature.
Instance Attribute Summary collapse
-
#activation_status ⇒ String
Specifies whether the feature is enabled or disabled.
-
#creation_timestamp ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#id ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#name ⇒ String
Name of the feature.
-
#rollout_operation ⇒ Google::Apis::ComputeV1::PreviewFeatureRolloutOperation
Represents the rollout operation Corresponds to the JSON property
rolloutOperation. -
#self_link ⇒ String
Output only.
-
#status ⇒ Google::Apis::ComputeV1::PreviewFeatureStatus
[Output Only] The status of the feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreviewFeature
constructor
A new instance of PreviewFeature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreviewFeature
Returns a new instance of PreviewFeature.
43151 43152 43153 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activation_status ⇒ String
Specifies whether the feature is enabled or disabled.
Corresponds to the JSON property activationStatus
43104 43105 43106 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43104 def activation_status @activation_status end |
#creation_timestamp ⇒ String
Output only. [Output Only] Creation timestamp inRFC3339
text format.
Corresponds to the JSON property creationTimestamp
43110 43111 43112 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43110 def @creation_timestamp end |
#description ⇒ String
Output only. [Output Only] Description of the feature.
Corresponds to the JSON property description
43115 43116 43117 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43115 def description @description end |
#id ⇒ Fixnum
Output only. [Output Only] The unique identifier for the resource. This
identifier is
defined by the server.
Corresponds to the JSON property id
43122 43123 43124 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43122 def id @id end |
#kind ⇒ String
Output only. [Output only] The type of the feature. Always "compute#
previewFeature" for
preview features.
Corresponds to the JSON property kind
43129 43130 43131 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43129 def kind @kind end |
#name ⇒ String
Name of the feature.
Corresponds to the JSON property name
43134 43135 43136 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43134 def name @name end |
#rollout_operation ⇒ Google::Apis::ComputeV1::PreviewFeatureRolloutOperation
Represents the rollout operation
Corresponds to the JSON property rolloutOperation
43139 43140 43141 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43139 def rollout_operation @rollout_operation end |
#self_link ⇒ String
Output only. [Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
43144 43145 43146 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43144 def self_link @self_link end |
#status ⇒ Google::Apis::ComputeV1::PreviewFeatureStatus
[Output Only] The status of the feature.
Corresponds to the JSON property status
43149 43150 43151 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43149 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43156 43157 43158 43159 43160 43161 43162 43163 43164 43165 43166 |
# File 'lib/google/apis/compute_v1/classes.rb', line 43156 def update!(**args) @activation_status = args[:activation_status] if args.key?(:activation_status) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @rollout_operation = args[:rollout_operation] if args.key?(:rollout_operation) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) end |