Google Cloud Vision v1 API - Class CreateProductRequest (3.7.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
Name Description
other CreateProductRequest

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
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

Product

public Product Product { get; set; }

Required. The product to create.

Property Value
Type Description
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
Type Description
string