Class: Google::Apis::FirestoreV1::RequestOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/representations.rb

Overview

Options for a server request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestOptions

Returns a new instance of RequestOptions.



4180
4181
4182
# File 'lib/google/apis/firestore_v1/classes.rb', line 4180

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#request_tagsArray<String>

Optional. The request tags for the request. Corresponds to the JSON property requestTags

Returns:

  • (Array<String>)


4178
4179
4180
# File 'lib/google/apis/firestore_v1/classes.rb', line 4178

def request_tags
  @request_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4185
4186
4187
# File 'lib/google/apis/firestore_v1/classes.rb', line 4185

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