class Google::Apis::ServicecontrolV1::AllocateQuotaRequest

Request message for the AllocateQuota method.

Attributes

allocate_operation[RW]

Represents information regarding a quota operation. Corresponds to the JSON property `allocateOperation` @return [Google::Apis::ServicecontrolV1::QuotaOperation]

service_config_id[RW]

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. Corresponds to the JSON property `serviceConfigId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicecontrol_v1/classes.rb, line 64
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicecontrol_v1/classes.rb, line 69
def update!(**args)
  @allocate_operation = args[:allocate_operation] if args.key?(:allocate_operation)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
end