Reference documentation and code samples for the Google Cloud Service Control V1 Client class AllocateQuotaRequest.
Request message for the AllocateQuota method.
Generated from protobuf message google.api.servicecontrol.v1.AllocateQuotaRequest
Namespace
Google \ Cloud \ ServiceControl \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ service_name
string
Name of the service as specified in the service configuration. For example, "pubsub.googleapis.com". See google.api.Service for the definition of a service name.
Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.
getServiceName
Name of the service as specified in the service configuration. For example,
"pubsub.googleapis.com".
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
Returns
Type
Description
string
setServiceConfigId
Specifies which version of service configuration should be used to process
the request. If unspecified or no matching version can be found, the latest
one will be used.
[[["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 Service Control V1 Client - Class AllocateQuotaRequest (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.AllocateQuotaRequest)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.AllocateQuotaRequest)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.AllocateQuotaRequest)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.AllocateQuotaRequest)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.AllocateQuotaRequest)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.AllocateQuotaRequest)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.AllocateQuotaRequest) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class AllocateQuotaRequest.\n\nRequest message for the AllocateQuota method.\n\nGenerated from protobuf message `google.api.servicecontrol.v1.AllocateQuotaRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getServiceName\n\nName of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee [google.api.Service](https://cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) for the definition of a service name.\n\n### setServiceName\n\nName of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee [google.api.Service](https://cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) for the definition of a service name.\n\n### getAllocateOperation\n\nOperation that describes the quota allocation.\n\n### hasAllocateOperation\n\n### clearAllocateOperation\n\n### setAllocateOperation\n\nOperation that describes the quota allocation.\n\n### getServiceConfigId\n\nSpecifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.\n\n### setServiceConfigId\n\nSpecifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used."]]