Reference documentation and code samples for the Google Cloud Quotas V1 Client class UpdateQuotaPreferenceRequest.
Message for updating a QuotaPreference
Generated from protobuf message google.api.cloudquotas.v1.UpdateQuotaPreferenceRequest
Namespace
Google \ Cloud \ CloudQuotas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ update_mask
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
↳ quota_preference
↳ allow_missing
bool
Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, update_mask
is ignored.
↳ validate_only
bool
Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
↳ ignore_safety_checks
array
The list of quota safety checks to be ignored.
getUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
$this
getQuotaPreference
Required. The resource being updated
hasQuotaPreference
clearQuotaPreference
setQuotaPreference
Required. The resource being updated
$this
getAllowMissing
Optional. If set to true, and the quota preference is not found, a new one
will be created. In this situation, update_mask
is ignored.
bool
setAllowMissing
Optional. If set to true, and the quota preference is not found, a new one
will be created. In this situation, update_mask
is ignored.
var
bool
$this
getValidateOnly
Optional. If set to true, validate the request, but do not actually update.
Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
bool
setValidateOnly
Optional. If set to true, validate the request, but do not actually update.
Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
var
bool
$this
getIgnoreSafetyChecks
The list of quota safety checks to be ignored.
setIgnoreSafetyChecks
The list of quota safety checks to be ignored.
var
int[]
$this
static::build
quotaPreference
updateMask
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.