Class: Google::Apis::ComputeAlpha::GlobalVmExtension
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::GlobalVmExtension
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name. -
#versions ⇒ Array<String>
Corresponds to the JSON property
versions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GlobalVmExtension
constructor
A new instance of GlobalVmExtension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GlobalVmExtension
Returns a new instance of GlobalVmExtension.
18092 18093 18094 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
18085 18086 18087 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18085 def name @name end |
#versions ⇒ Array<String>
Corresponds to the JSON property versions
18090 18091 18092 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18090 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18097 18098 18099 18100 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18097 def update!(**args) @name = args[:name] if args.key?(:name) @versions = args[:versions] if args.key?(:versions) end |