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 \ V1betaMethods
__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/12345/locations/global/quotaAdjusterSettings |
↳ enablement |
int
Required. The configured value of the enablement at the given resource. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The timestamp when the QuotaAdjusterSettings 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 of the QuotaAdjusterSettings, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags. |
getName
Identifier. Name of the config would be of the format: projects/12345/locations/global/quotaAdjusterSettings
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. Name of the config would be of the format: projects/12345/locations/global/quotaAdjusterSettings
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEnablement
Required. The configured value of the enablement at the given resource.
Returns | |
---|---|
Type | Description |
int |
setEnablement
Required. 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 was last updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the QuotaAdjusterSettings 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 of the QuotaAdjusterSettings, the request will be blocked and an ABORTED error will be returned. 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 of the QuotaAdjusterSettings, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |