Class: Google::Apis::BaremetalsolutionV2::ProvisioningQuota
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ProvisioningQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
A provisioning quota for a given project.
Instance Attribute Summary collapse
-
#asset_type ⇒ String
The asset type of this provisioning quota.
-
#available_count ⇒ Fixnum
The available count of the provisioning quota.
-
#gcp_service ⇒ String
The gcp service of the provisioning quota.
-
#instance_quota ⇒ Google::Apis::BaremetalsolutionV2::InstanceQuota
A resource budget.
-
#location ⇒ String
The specific location of the provisioining quota.
-
#name ⇒ String
Output only.
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.
1259 1260 1261 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_type ⇒ String
The asset type of this provisioning quota.
Corresponds to the JSON property assetType
1232 1233 1234 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1232 def asset_type @asset_type end |
#available_count ⇒ Fixnum
The available count of the provisioning quota.
Corresponds to the JSON property availableCount
1237 1238 1239 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1237 def available_count @available_count end |
#gcp_service ⇒ String
The gcp service of the provisioning quota.
Corresponds to the JSON property gcpService
1242 1243 1244 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1242 def gcp_service @gcp_service end |
#instance_quota ⇒ Google::Apis::BaremetalsolutionV2::InstanceQuota
A resource budget.
Corresponds to the JSON property instanceQuota
1247 1248 1249 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1247 def instance_quota @instance_quota end |
#location ⇒ String
The specific location of the provisioining quota.
Corresponds to the JSON property location
1252 1253 1254 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1252 def location @location end |
#name ⇒ String
Output only. The name of the provisioning quota.
Corresponds to the JSON property name
1257 1258 1259 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1257 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1264 def update!(**args) @asset_type = args[:asset_type] if args.key?(:asset_type) @available_count = args[:available_count] if args.key?(:available_count) @gcp_service = args[:gcp_service] if args.key?(:gcp_service) @instance_quota = args[:instance_quota] if args.key?(:instance_quota) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) end |