Class: Google::Apis::ComputeBeta::InstanceReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceReference
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#instance ⇒ String
The URL for a specific instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceReference
constructor
A new instance of InstanceReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceReference
Returns a new instance of InstanceReference.
27393 27394 27395 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ String
The URL for a specific instance.
Corresponds to the JSON property instance
27391 27392 27393 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27391 def instance @instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27398 27399 27400 |
# File 'lib/google/apis/compute_beta/classes.rb', line 27398 def update!(**args) @instance = args[:instance] if args.key?(:instance) end |