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.
Implements
IMessageCreateReferenceImageRequest, IEquatableCreateReferenceImageRequest, IDeepCloneableCreateReferenceImageRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
CreateReferenceImageRequest()
public CreateReferenceImageRequest()
CreateReferenceImageRequest(CreateReferenceImageRequest)
public CreateReferenceImageRequest(CreateReferenceImageRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateReferenceImageRequest |
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 | |
---|---|
Type | Description |
string |
ParentAsProductName
public ProductName ParentAsProductName { get; set; }
ProductName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProductName |
ReferenceImage
public ReferenceImage ReferenceImage { get; set; }
Required. The reference image to create. If an image ID is specified, it is ignored.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |