Class: Google::Apis::CloudsearchV1::PollItemsRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PollItemsRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#connector_name ⇒ String
The name of connector making this call.
-
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
-
#limit ⇒ Fixnum
Maximum number of items to return.
-
#queue ⇒ String
Queue name to fetch items from.
-
#status_codes ⇒ Array<String>
Limit the items polled to the ones with these statuses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PollItemsRequest
constructor
A new instance of PollItemsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PollItemsRequest
Returns a new instance of PollItemsRequest.
12654 12655 12656 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector_name ⇒ String
The name of connector making this call. Format: datasources/source_id/
connectors/ID
Corresponds to the JSON property connectorName
12630 12631 12632 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12630 def connector_name @connector_name end |
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
Corresponds to the JSON property debugOptions
12635 12636 12637 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12635 def @debug_options end |
#limit ⇒ Fixnum
Maximum number of items to return. The maximum value is 100 and the default
value is 20.
Corresponds to the JSON property limit
12641 12642 12643 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12641 def limit @limit end |
#queue ⇒ String
Queue name to fetch items from. If unspecified, PollItems will fetch from '
default' queue. The maximum length is 100 characters.
Corresponds to the JSON property queue
12647 12648 12649 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12647 def queue @queue end |
#status_codes ⇒ Array<String>
Limit the items polled to the ones with these statuses.
Corresponds to the JSON property statusCodes
12652 12653 12654 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12652 def status_codes @status_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12659 12660 12661 12662 12663 12664 12665 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12659 def update!(**args) @connector_name = args[:connector_name] if args.key?(:connector_name) @debug_options = args[:debug_options] if args.key?(:debug_options) @limit = args[:limit] if args.key?(:limit) @queue = args[:queue] if args.key?(:queue) @status_codes = args[:status_codes] if args.key?(:status_codes) end |