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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AllocateInfo

Returns a new instance of AllocateInfo



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

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. Corresponds to the JSON property unusedArguments

Returns:

  • (Array<String>)


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

def unused_arguments
  @unused_arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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