Reference documentation and code samples for the Google Cloud Quotas V1 Client class CreateQuotaPreferenceRequest.
Message for creating a QuotaPreference
Generated from protobuf message google.api.cloudquotas.v1.CreateQuotaPreferenceRequest
Namespace
Google \ Cloud \ CloudQuotas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Value for parent. Example: projects/123/locations/global
↳ quota_preference_id
string
Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.
↳ quota_preference
↳ ignore_safety_checks
array
The list of quota safety checks to be ignored.
getParent
Required. Value for parent.
Example: projects/123/locations/global
string
setParent
Required. Value for parent.
Example: projects/123/locations/global
var
string
$this
getQuotaPreferenceId
Optional. Id of the requesting object, must be unique under its parent.
If client does not set this field, the service will generate one.
string
setQuotaPreferenceId
Optional. Id of the requesting object, must be unique under its parent.
If client does not set this field, the service will generate one.
var
string
$this
getQuotaPreference
Required. The resource being created
hasQuotaPreference
clearQuotaPreference
setQuotaPreference
Required. The resource being created
$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
parent
string
Required. Value for parent.
Example: projects/123/locations/global
Please see CloudQuotasClient::locationName()
for help formatting this field.
quotaPreference
quotaPreferenceId
string
Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.
static::buildFromParentQuotaPreference
parent
string
Required. Value for parent.
Example: projects/123/locations/global
Please see CloudQuotasClient::locationName()
for help formatting this field.
quotaPreference