Class CreateProductRequest (3.7.4)

CreateProductRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the CreateProduct method.

Attributes

Name Description
parent str
Required. The project in which the Product should be created. Format is projects/PROJECT_ID/locations/LOC_ID.
product google.cloud.vision_v1p3beta1.types.Product
Required. The product to create.
product_id str
A user-supplied resource id for this Product. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character /.