Class: Google::Apis::ServicecontrolV1::AllocateInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocateInfo

Returns a new instance of AllocateInfo.



38
39
40
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 38

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

Instance Attribute Details

#unused_argumentsArray<String>

A list of label keys that were unused by the server in processing the request. Thus, for similar requests repeated in a certain future time window, the caller can choose to ignore these labels in the requests to achieve better client-side cache hits and quota aggregation for rate quota. This field is not populated for allocation quota checks. Corresponds to the JSON property unusedArguments

Returns:

  • (Array<String>)


36
37
38
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 36

def unused_arguments
  @unused_arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43
44
45
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 43

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