Class: Google::Apis::FirestoreV1beta1::RequestOptions
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta1::RequestOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firestore_v1beta1/classes.rb,
lib/google/apis/firestore_v1beta1/representations.rb,
lib/google/apis/firestore_v1beta1/representations.rb
Overview
Options for a server request.
Instance Attribute Summary collapse
-
#request_tags ⇒ Array<String>
Optional.
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.
2604 2605 2606 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#request_tags ⇒ Array<String>
Optional. The request tags for the request.
Corresponds to the JSON property requestTags
2602 2603 2604 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2602 def @request_tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2609 2610 2611 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2609 def update!(**args) @request_tags = args[:request_tags] if args.key?(:request_tags) end |