class Google::Apis::CloudsearchV1::PollItemsRequest

Attributes

connector_name[RW]

Name of connector making this call. Format: datasources/`source_id`/connectors/ `ID` Corresponds to the JSON property `connectorName` @return [String]

debug_options[RW]

Shared request debug options for all cloudsearch RPC methods. Corresponds to the JSON property `debugOptions` @return [Google::Apis::CloudsearchV1::DebugOptions]

limit[RW]

Maximum number of items to return. The maximum value is 100 and the default value is 20. Corresponds to the JSON property `limit` @return [Fixnum]

queue[RW]

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` @return [String]

status_codes[RW]

Limit the items polled to the ones with these statuses. Corresponds to the JSON property `statusCodes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2872
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 2877
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