connectorName = $connectorName; } /** * @return string */ public function getConnectorName() { return $this->connectorName; } /** * Common debug options. * * @param DebugOptions $debugOptions */ public function setDebugOptions(DebugOptions $debugOptions) { $this->debugOptions = $debugOptions; } /** * @return DebugOptions */ public function getDebugOptions() { return $this->debugOptions; } /** * @param IndexItemOptions $indexItemOptions */ public function setIndexItemOptions(IndexItemOptions $indexItemOptions) { $this->indexItemOptions = $indexItemOptions; } /** * @return IndexItemOptions */ public function getIndexItemOptions() { return $this->indexItemOptions; } /** * The name of the item. Format: datasources/{source_id}/items/{item_id} * * @param Item $item */ public function setItem(Item $item) { $this->item = $item; } /** * @return Item */ public function getItem() { return $this->item; } /** * Required. The RequestMode for this request. * * Accepted values: UNSPECIFIED, SYNCHRONOUS, ASYNCHRONOUS * * @param self::MODE_* $mode */ public function setMode($mode) { $this->mode = $mode; } /** * @return self::MODE_* */ public function getMode() { return $this->mode; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(IndexItemRequest::class, 'Google_Service_CloudSearch_IndexItemRequest');