Class: Google::Apis::ComputeBeta::BulkInsertInstanceResourcePerInstanceProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BulkInsertInstanceResourcePerInstanceProperties
- 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
Overview
Per-instance properties to be set on individual instances. To be extended in the future.
Instance Attribute Summary collapse
-
#hostname ⇒ String
Specifies the hostname of the instance.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BulkInsertInstanceResourcePerInstanceProperties
constructor
A new instance of BulkInsertInstanceResourcePerInstanceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BulkInsertInstanceResourcePerInstanceProperties
Returns a new instance of BulkInsertInstanceResourcePerInstanceProperties.
7478 7479 7480 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostname ⇒ String
Specifies the hostname of the instance. More details in:
https://cloud.google.com/compute/docs/instances/custom-hostname-vm#
naming_convention
Corresponds to the JSON property hostname
7471 7472 7473 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7471 def hostname @hostname end |
#name ⇒ String
Output only. This field is only temporary. It will be removed. Do not use it.
Corresponds to the JSON property name
7476 7477 7478 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7476 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7483 7484 7485 7486 |
# File 'lib/google/apis/compute_beta/classes.rb', line 7483 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @name = args[:name] if args.key?(:name) end |