Class CreateReferenceImageRequest (2.8.0)

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

Request message for the CreateReferenceImage method.

Attributes

NameDescription
parent str
Required. Resource name of the product in which to create the reference image. Format is projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.
reference_image google.cloud.vision_v1.types.ReferenceImage
Required. The reference image to create. If an image ID is specified, it is ignored.
reference_image_id str
A user-supplied resource id for the ReferenceImage to be added. 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 /.