Class: Google::Apis::BaremetalsolutionV1alpha1::ProvisioningQuota
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::ProvisioningQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v1alpha1/classes.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb
Overview
A provisioning quota for a given project.
Instance Attribute Summary collapse
-
#instance_quota ⇒ Google::Apis::BaremetalsolutionV1alpha1::InstanceQuota
A resource budget.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProvisioningQuota
constructor
A new instance of ProvisioningQuota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProvisioningQuota
Returns a new instance of ProvisioningQuota.
379 380 381 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_quota ⇒ Google::Apis::BaremetalsolutionV1alpha1::InstanceQuota
A resource budget.
Corresponds to the JSON property instanceQuota
377 378 379 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 377 def instance_quota @instance_quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 384 def update!(**args) @instance_quota = args[:instance_quota] if args.key?(:instance_quota) end |