Google Cloud Vision v1 API - Class CreateProductRequest (3.2.0)

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

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

Request message for the CreateProduct method.

Inheritance

Object > CreateProductRequest

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

CreateProductRequest()

public CreateProductRequest()

CreateProductRequest(CreateProductRequest)

public CreateProductRequest(CreateProductRequest other)
Parameter
NameDescription
otherCreateProductRequest

Properties

Parent

public string Parent { get; set; }

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

Format is projects/PROJECT_ID/locations/LOC_ID.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

Product

public Product Product { get; set; }

Required. The product to create.

Property Value
TypeDescription
Product

ProductId

public string ProductId { get; set; }

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

Property Value
TypeDescription
String