Class CreateProductRequest (2.4.4)

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

Request message for the CreateProduct method. .. attribute:: parent

Required. The project in which the Product should be created.

Format is projects/PROJECT_ID/locations/LOC_ID.

:type: str

Attributes

NameDescription
product google.cloud.vision_v1.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 /.