Google Cloud Vision v1 API - Class CreateReferenceImageRequest (3.4.0)

public sealed class CreateReferenceImageRequest : IMessage<CreateReferenceImageRequest>, IEquatable<CreateReferenceImageRequest>, IDeepCloneable<CreateReferenceImageRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Vision v1 API class CreateReferenceImageRequest.

Request message for the CreateReferenceImage method.

Inheritance

object > CreateReferenceImageRequest

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

CreateReferenceImageRequest()

public CreateReferenceImageRequest()

CreateReferenceImageRequest(CreateReferenceImageRequest)

public CreateReferenceImageRequest(CreateReferenceImageRequest other)
Parameter
NameDescription
otherCreateReferenceImageRequest

Properties

Parent

public string Parent { get; set; }

Required. Resource name of the product in which to create the reference image.

Format is projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.

Property Value
TypeDescription
string

ParentAsProductName

public ProductName ParentAsProductName { get; set; }

ProductName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProductName

ReferenceImage

public ReferenceImage ReferenceImage { get; set; }

Required. The reference image to create. If an image ID is specified, it is ignored.

Property Value
TypeDescription
ReferenceImage

ReferenceImageId

public string ReferenceImageId { get; set; }

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 /.

Property Value
TypeDescription
string