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.
366 367 368 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_quota ⇒ Google::Apis::BaremetalsolutionV1alpha1::InstanceQuota
A resource budget.
Corresponds to the JSON property instanceQuota
364 365 366 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 364 def instance_quota @instance_quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
371 372 373 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 371 def update!(**args) @instance_quota = args[:instance_quota] if args.key?(:instance_quota) end |