Class: Google::Apis::SpannerV1::RequestOptions
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::RequestOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
Common request options for various APIs.
Instance Attribute Summary collapse
-
#priority ⇒ String
Priority for the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestOptions
constructor
A new instance of RequestOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RequestOptions
Returns a new instance of RequestOptions.
2802 2803 2804 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2802 def initialize(**args) update!(**args) end |
Instance Attribute Details
#priority ⇒ String
Priority for the request.
Corresponds to the JSON property priority
2800 2801 2802 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2800 def priority @priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2807 2808 2809 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 2807 def update!(**args) @priority = args[:priority] if args.key?(:priority) end |