public sealed class CreateModelRequest : IMessage<CreateModelRequest>, IEquatable<CreateModelRequest>, IDeepCloneable<CreateModelRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class CreateModelRequest.
Request for creating a model.
Implements
IMessageCreateModelRequest, IEquatableCreateModelRequest, IDeepCloneableCreateModelRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
CreateModelRequest()
public CreateModelRequest()
CreateModelRequest(CreateModelRequest)
public CreateModelRequest(CreateModelRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateModelRequest |
Properties
DryRun
public bool DryRun { get; set; }
Optional. Whether to run a dry run to validate the request (without actually creating the model).
Property Value | |
---|---|
Type | Description |
bool |
Model
public Model Model { get; set; }
Required. The payload of the [Model][google.cloud.retail.v2.Model] to create.
Property Value | |
---|---|
Type | Description |
Model |
Parent
public string Parent { get; set; }
Required. The parent resource under which to create the model. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
Property Value | |
---|---|
Type | Description |
string |
ParentAsCatalogName
public CatalogName ParentAsCatalogName { get; set; }
CatalogName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
CatalogName |