Class UsageResourceAllowanceSpec (0.17.31)

UsageResourceAllowanceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Spec of a usage ResourceAllowance.

Attributes

Name Description
type_ str
Required. Spec type is unique for each usage ResourceAllowance. Batch now only supports type as "cpu-core-hours" for CPU usage consumption tracking.
limit google.cloud.batch_v1alpha.types.UsageResourceAllowanceSpec.Limit
Required. Threshold of a UsageResourceAllowance limiting how many resources can be consumed for each type.

Classes

Limit

Limit(mapping=None, *, ignore_unknown_fields=False, **kwargs)