public sealed class CreateProductRequest : IMessage<CreateProductRequest>, IEquatable<CreateProductRequest>, IDeepCloneable<CreateProductRequest>, IBufferMessage, IMessage
Request message for the CreateProduct
method.
Implements
IMessage<CreateProductRequest>, IEquatable<CreateProductRequest>, IDeepCloneable<CreateProductRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
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 |