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 CloudQuotasClient::quotaPreferenceName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Quotas V1 Client - Class GetQuotaPreferenceRequest (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-quotas/latest/V1.GetQuotaPreferenceRequest)\n- [1.4.0](/php/docs/reference/cloud-quotas/1.4.0/V1.GetQuotaPreferenceRequest)\n- [1.3.1](/php/docs/reference/cloud-quotas/1.3.1/V1.GetQuotaPreferenceRequest)\n- [1.2.1](/php/docs/reference/cloud-quotas/1.2.1/V1.GetQuotaPreferenceRequest)\n- [1.1.1](/php/docs/reference/cloud-quotas/1.1.1/V1.GetQuotaPreferenceRequest)\n- [1.0.1](/php/docs/reference/cloud-quotas/1.0.1/V1.GetQuotaPreferenceRequest)\n- [0.2.3](/php/docs/reference/cloud-quotas/0.2.3/V1.GetQuotaPreferenceRequest)\n- [0.1.0](/php/docs/reference/cloud-quotas/0.1.0/V1.GetQuotaPreferenceRequest) \nReference documentation and code samples for the Google Cloud Quotas V1 Client class GetQuotaPreferenceRequest.\n\nMessage for getting a QuotaPreference\n\nGenerated from protobuf message `google.api.cloudquotas.v1.GetQuotaPreferenceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudQuotas \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the resource\nExample name:\n`projects/123/locations/global/quota_preferences/my-config-for-us-east1`\n\n### setName\n\nRequired. Name of the resource\nExample name:\n`projects/123/locations/global/quota_preferences/my-config-for-us-east1`\n\n### static::build"]]