Google Cloud Quotas V1beta Client - Class QuotaAdjusterSettings (1.4.0)

Reference documentation and code samples for the Google Cloud Quotas V1beta Client class QuotaAdjusterSettings.

The QuotaAdjusterSettings resource defines the settings for the Quota Adjuster.

Generated from protobuf message google.api.cloudquotas.v1beta.QuotaAdjusterSettings

Namespace

Google \ Cloud \ CloudQuotas \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Name of the config would be of the format: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings

↳ enablement int

Optional. The configured value of the enablement at the given resource.

↳ update_time Google\Protobuf\Timestamp

Output only. The timestamp when the QuotaAdjusterSettings resource was last updated.

↳ etag string

Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is provided on update and does not match the current server's ETag in the QuotaAdjusterSettings, the request is blocked and returns an ABORTED error. See https://google.aip.dev/134#etags for more details on ETags.

↳ inherited bool

Optional. Indicates whether the setting is inherited or explicitly specified.

↳ inherited_from string

Output only. The resource container from which the setting is inherited. This refers to the nearest ancestor with enablement set (either ENABLED or DISABLED). The value can be an organizations/{organization_id}, folders/{folder_id}, or can be 'default' if no ancestor exists with enablement set. The value will be empty when enablement is directly set on this container.

getName

Identifier. Name of the config would be of the format: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings

Returns
Type Description
string

setName

Identifier. Name of the config would be of the format: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings

Parameter
Name Description
var string
Returns
Type Description
$this

getEnablement

Optional. The configured value of the enablement at the given resource.

Returns
Type Description
int

setEnablement

Optional. The configured value of the enablement at the given resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getUpdateTime

Output only. The timestamp when the QuotaAdjusterSettings resource was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the QuotaAdjusterSettings resource was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEtag

Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is provided on update and does not match the current server's ETag in the QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.

See https://google.aip.dev/134#etags for more details on ETags.

Returns
Type Description
string

setEtag

Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is provided on update and does not match the current server's ETag in the QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.

See https://google.aip.dev/134#etags for more details on ETags.

Parameter
Name Description
var string
Returns
Type Description
$this

getInherited

Optional. Indicates whether the setting is inherited or explicitly specified.

Returns
Type Description
bool

setInherited

Optional. Indicates whether the setting is inherited or explicitly specified.

Parameter
Name Description
var bool
Returns
Type Description
$this

getInheritedFrom

Output only. The resource container from which the setting is inherited.

This refers to the nearest ancestor with enablement set (either ENABLED or DISABLED). The value can be an organizations/{organization_id}, folders/{folder_id}, or can be 'default' if no ancestor exists with enablement set. The value will be empty when enablement is directly set on this container.

Returns
Type Description
string

setInheritedFrom

Output only. The resource container from which the setting is inherited.

This refers to the nearest ancestor with enablement set (either ENABLED or DISABLED). The value can be an organizations/{organization_id}, folders/{folder_id}, or can be 'default' if no ancestor exists with enablement set. The value will be empty when enablement is directly set on this container.

Parameter
Name Description
var string
Returns
Type Description
$this