Google Cloud Quotas V1 Client - Class GetQuotaPreferenceRequest (0.2.3)

Reference documentation and code samples for the Google Cloud Quotas V1 Client class GetQuotaPreferenceRequest.

Message for getting a QuotaPreference

Generated from protobuf message google.api.cloudquotas.v1.GetQuotaPreferenceRequest

Namespace

Google \ Cloud \ CloudQuotas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource Example name: projects/123/locations/global/quota_preferences/my-config-for-us-east1

getName

Required. Name of the resource Example name: projects/123/locations/global/quota_preferences/my-config-for-us-east1

Returns
Type Description
string

setName

Required. Name of the resource Example name: projects/123/locations/global/quota_preferences/my-config-for-us-east1

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource

Example name: projects/123/locations/global/quota_preferences/my-config-for-us-east1 Please see Google\Cloud\CloudQuotas\V1\CloudQuotasClient::quotaPreferenceName() for help formatting this field.

Returns
Type Description
Google\Cloud\CloudQuotas\V1\GetQuotaPreferenceRequest