Google Cloud Recommendation Engine V1beta1 Client - Class ImportCatalogItemsRequest (0.6.4)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ImportCatalogItemsRequest.

Request message for Import methods.

Generated from protobuf message google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. projects/1234/locations/global/catalogs/default_catalog

↳ request_id string

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

↳ input_config Google\Cloud\RecommendationEngine\V1beta1\InputConfig

Required. The desired input location of the data.

↳ errors_config Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig

Optional. The desired location of errors incurred during the Import.

getParent

Required. projects/1234/locations/global/catalogs/default_catalog

Returns
TypeDescription
string

setParent

Required. projects/1234/locations/global/catalogs/default_catalog

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequestId

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication.

Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

Returns
TypeDescription
string

setRequestId

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication.

Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputConfig

Required. The desired input location of the data.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. The desired input location of the data.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\InputConfig
Returns
TypeDescription
$this

getErrorsConfig

Optional. The desired location of errors incurred during the Import.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig|null

hasErrorsConfig

clearErrorsConfig

setErrorsConfig

Optional. The desired location of errors incurred during the Import.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. projects/1234/locations/global/catalogs/default_catalog Please see Google\Cloud\RecommendationEngine\V1beta1\CatalogServiceClient::catalogName() for help formatting this field.

requestId string

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

inputConfig Google\Cloud\RecommendationEngine\V1beta1\InputConfig

Required. The desired input location of the data.

errorsConfig Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig

Optional. The desired location of errors incurred during the Import.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\ImportCatalogItemsRequest