class Google::Apis::CloudsearchV1::IndexItemRequest
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]
index_item_options[RW]
Corresponds to the JSON property `indexItemOptions` @return [Google::Apis::CloudsearchV1::IndexItemOptions]
item[RW]
Represents a single object that is an item in the search index, such as a file, folder, or a database record. Corresponds to the JSON property `item` @return [Google::Apis::CloudsearchV1::Item]
mode[RW]
Required. The RequestMode for this request. Corresponds to the JSON property `mode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1597 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 1602 def update!(**args) @connector_name = args[:connector_name] if args.key?(:connector_name) @debug_options = args[:debug_options] if args.key?(:debug_options) @index_item_options = args[:index_item_options] if args.key?(:index_item_options) @item = args[:item] if args.key?(:item) @mode = args[:mode] if args.key?(:mode) end