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
-
#creation_timestamp ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#id ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#name ⇒ String
Corresponds to the JSON property
name. -
#self_link ⇒ String
Output only.
-
#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.
19567 19568 19569 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
Output only. [Output Only] Creation timestamp inRFC3339
text format.
Corresponds to the JSON property creationTimestamp
19532 19533 19534 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19532 def @creation_timestamp end |
#description ⇒ String
Output only. [Output Only] An optional textual description of the resource.
Corresponds to the JSON property description
19537 19538 19539 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19537 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
19544 19545 19546 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19544 def id @id end |
#kind ⇒ String
Output only. [Output Only] Type of the resource. Alwayscompute#
globalVmExtension.
Corresponds to the JSON property kind
19550 19551 19552 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19550 def kind @kind end |
#name ⇒ String
Corresponds to the JSON property name
19555 19556 19557 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19555 def name @name end |
#self_link ⇒ String
Output only. [Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
19560 19561 19562 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19560 def self_link @self_link end |
#versions ⇒ Array<String>
Corresponds to the JSON property versions
19565 19566 19567 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19565 def versions @versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19572 19573 19574 19575 19576 19577 19578 19579 19580 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19572 def update!(**args) @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) @self_link = args[:self_link] if args.key?(:self_link) @versions = args[:versions] if args.key?(:versions) end |