Class: Google::Apis::ServicecontrolV1::AllocateInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::AllocateInfo
- 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
-
#unused_arguments ⇒ Array<String>
A list of label keys that were unused by the server in processing the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocateInfo
constructor
A new instance of AllocateInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_arguments ⇒ Array<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
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 |