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
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, |
↳ allocate_operation |
Google\Cloud\ServiceControl\V1\QuotaOperation
Operation that describes the quota allocation. |
↳ service_config_id |
string
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"
.
See google.api.Service for the definition of a service name.
Returns | |
---|---|
Type | Description |
string |
setServiceName
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllocateOperation
Operation that describes the quota allocation.
Returns | |
---|---|
Type | Description |
Google\Cloud\ServiceControl\V1\QuotaOperation|null |
hasAllocateOperation
clearAllocateOperation
setAllocateOperation
Operation that describes the quota allocation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ServiceControl\V1\QuotaOperation
|
Returns | |
---|---|
Type | Description |
$this |
getServiceConfigId
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |