Class: Google::Apis::ServicecontrolV1::ReleaseQuotaRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb

Overview

Request message for the ReleaseQuota method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReleaseQuotaRequest

Returns a new instance of ReleaseQuotaRequest



1335
1336
1337
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1335

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#release_operationGoogle::Apis::ServicecontrolV1::QuotaOperation

Represents information regarding a quota operation. Corresponds to the JSON property releaseOperation



1326
1327
1328
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1326

def release_operation
  @release_operation
end

#service_config_idString

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

Returns:

  • (String)


1333
1334
1335
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1333

def service_config_id
  @service_config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1340
1341
1342
1343
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1340

def update!(**args)
  @release_operation = args[:release_operation] if args.key?(:release_operation)
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
end