public sealed class CreateAssetRequest : IMessage<CreateAssetRequest>, IEquatable<CreateAssetRequest>, IDeepCloneable<CreateAssetRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class CreateAssetRequest.
Request message for CreateAssetRequest.
Implements
IMessageCreateAssetRequest, IEquatableCreateAssetRequest, IDeepCloneableCreateAssetRequest, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
CreateAssetRequest()
public CreateAssetRequest()CreateAssetRequest(CreateAssetRequest)
public CreateAssetRequest(CreateAssetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAssetRequest |
Properties
Asset
public Asset Asset { get; set; }Required. The asset to create.
| Property Value | |
|---|---|
| Type | Description |
Asset |
|
AssetId
public string AssetId { get; set; }Optional. The ID to use for the asset, which will become the final component of the asset's resource name if user choose to specify. Otherwise, asset id will be generated by system.
This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasAssetId
public bool HasAssetId { get; }Gets whether the "asset_id" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Parent
public string Parent { get; set; }Required. The parent resource where this asset will be created.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsCorpusName
public CorpusName ParentAsCorpusName { get; set; }CorpusName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
CorpusName |
|