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.
684 685 686 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 684 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_quota ⇒ Google::Apis::BaremetalsolutionV1alpha1::InstanceQuota
A resource budget.
Corresponds to the JSON property instanceQuota
682 683 684 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 682 def instance_quota @instance_quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
689 690 691 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 689 def update!(**args) @instance_quota = args[:instance_quota] if args.key?(:instance_quota) end |