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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_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.
Corresponds to the JSON property unusedArguments
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 |