Class CreateProductRequest (3.1.3)

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

Request message for the CreateProduct method.

Attributes

NameDescription
parent str
Required. The project in which the Product should be created. Format is ``projects/PROJECT_ID/locations/LOC_ID``.
product google.cloud.vision_v1p4beta1.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 ``/``.

Inheritance

builtins.object > proto.message.Message > CreateProductRequest