Class: Google::Apis::ComputeAlpha::PerInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::PerInstanceConfig
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#instance ⇒ String
The URL of the instance.
-
#override ⇒ Google::Apis::ComputeAlpha::ManagedInstanceOverride
Overrides of stateful properties for a given instance Corresponds to the JSON property
override
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerInstanceConfig
constructor
A new instance of PerInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PerInstanceConfig
Returns a new instance of PerInstanceConfig
15858 15859 15860 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ String
The URL of the instance. Serves as a merge key during UpdatePerInstanceConfigs
operation.
Corresponds to the JSON property instance
15851 15852 15853 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15851 def instance @instance end |
#override ⇒ Google::Apis::ComputeAlpha::ManagedInstanceOverride
Overrides of stateful properties for a given instance
Corresponds to the JSON property override
15856 15857 15858 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15856 def override @override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15863 15864 15865 15866 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15863 def update!(**args) @instance = args[:instance] if args.key?(:instance) @override = args[:override] if args.key?(:override) end |