Google Cloud Quotas V1beta Client - Class CreateQuotaPreferenceRequest (1.3.1)

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

Message for creating a QuotaPreference

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

Namespace

Google \ Cloud \ CloudQuotas \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
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
QuotaPreference

Required. The resource being created

↳ ignore_safety_checks
array

The list of quota safety checks to be ignored.

getParent

Required. Value for parent.

Example: projects/123/locations/global

Returns
Type
Description
string

setParent

Required. Value for parent.

Example: projects/123/locations/global

Parameter
Name
Description
var
string
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getQuotaPreference

Required. The resource being created

Returns
Type
Description

hasQuotaPreference

clearQuotaPreference

setQuotaPreference

Required. The resource being created

Parameter
Name
Description
Returns
Type
Description
$this

getIgnoreSafetyChecks

The list of quota safety checks to be ignored.

Returns
Type
Description

setIgnoreSafetyChecks

The list of quota safety checks to be ignored.

Parameter
Name
Description
var
int[]
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. Value for parent.

Example: projects/123/locations/global Please see CloudQuotasClient::locationName() for help formatting this field.

quotaPreference
QuotaPreference

Required. The resource being created

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.

Returns
Type
Description

static::buildFromParentQuotaPreference

Parameters
Name
Description
parent
string

Required. Value for parent.

Example: projects/123/locations/global Please see CloudQuotasClient::locationName() for help formatting this field.

quotaPreference
QuotaPreference

Required. The resource being created

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: