# Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::AllocateQuotaRequest (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.6 Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::AllocateQuotaRequest.

Request message for the AllocateQuota method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allocate_operation

    def allocate_operation() -> ::Google::Cloud::ServiceControl::V1::QuotaOperation

**Returns**

- ([::Google::Cloud::ServiceControl::V1::QuotaOperation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-QuotaOperation)) --- Operation that describes the quota allocation.

### #allocate_operation=

    def allocate_operation=(value) -> ::Google::Cloud::ServiceControl::V1::QuotaOperation

**Parameter**

- **value** ([::Google::Cloud::ServiceControl::V1::QuotaOperation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-QuotaOperation)) --- Operation that describes the quota allocation.
**Returns**

- ([::Google::Cloud::ServiceControl::V1::QuotaOperation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-QuotaOperation)) --- Operation that describes the quota allocation.

### #service_config_id

    def service_config_id() -> ::String

**Returns**

- (::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.

### #service_config_id=

    def service_config_id=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #service_name

    def service_name() -> ::String

**Returns**

- (::String) --- Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`.


  See \[google.api.Service\]\[google.api.Service\] for the definition of a service name.

### #service_name=

    def service_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`.


  See \[google.api.Service\]\[google.api.Service\] for the definition of a service name.
**Returns**

- (::String) --- Name of the service as specified in the service configuration. For example, `"pubsub.googleapis.com"`.


  See \[google.api.Service\]\[google.api.Service\] for the definition of a service name.