Class: Google::Apis::ComputeV1::BulkInsertInstanceResourcePerInstanceProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BulkInsertInstanceResourcePerInstanceProperties
- 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
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
This field is only temporary.
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.
5240 5241 5242 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5240 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
5233 5234 5235 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5233 def hostname @hostname end |
#name ⇒ String
This field is only temporary. It will be removed. Do not use it.
Corresponds to the JSON property name
5238 5239 5240 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5238 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5245 5246 5247 5248 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5245 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @name = args[:name] if args.key?(:name) end |