Class: Google::Apis::DatastoreV1::RequestOptions

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

Overview

Options for a request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestOptions

Returns a new instance of RequestOptions.



2598
2599
2600
# File 'lib/google/apis/datastore_v1/classes.rb', line 2598

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

Instance Attribute Details

#request_tagsArray<String>

Optional. The request tags for the request. The tags are processed as follows:

  • Truncated to 510 characters. - Filtered out if empty. - Deduplicated. - Limited to 50 tags. Corresponds to the JSON property requestTags

Returns:

  • (Array<String>)


2596
2597
2598
# File 'lib/google/apis/datastore_v1/classes.rb', line 2596

def request_tags
  @request_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2603
2604
2605
# File 'lib/google/apis/datastore_v1/classes.rb', line 2603

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