Class ImportDataAssetRequest
Implements
Inherited Members
Namespace: Oci.DatacatalogService.Requests
Assembly: OCI.DotNetSDK.Datacatalog.dll
Syntax
public class ImportDataAssetRequest : IOciRequest
Examples
Click here to see an example of how to use ImportDataAsset request.
Properties
CatalogId
Declaration
[Required(ErrorMessage = "CatalogId is required.")]
[HttpConverter(TargetEnum.Path, "catalogId")]
public string CatalogId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique catalog identifier. |
Remarks
Required
DataAssetKey
Declaration
[Required(ErrorMessage = "DataAssetKey is required.")]
[HttpConverter(TargetEnum.Path, "dataAssetKey")]
public string DataAssetKey { get; set; }
Property Value
Type | Description |
---|---|
string | Unique data asset key. |
Remarks
Required
ImportDataAssetDetails
Declaration
[Required(ErrorMessage = "ImportDataAssetDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ImportDataAssetDetails ImportDataAssetDetails { get; set; }
Property Value
Type | Description |
---|---|
ImportDataAssetDetails | The file contents to be imported. |
Remarks
Required
ImportType
Declaration
[Required(ErrorMessage = "ImportType is required.")]
[HttpConverter(TargetEnum.Query, "importType", CollectionFormatType.Multi)]
public List<DataAssetImportExportTypeFilter> ImportType { get; set; }
Property Value
Type | Description |
---|---|
List<DataAssetImportExportTypeFilter> | Type of import. |
Remarks
Required
IsMissingValueIgnored
Declaration
[HttpConverter(TargetEnum.Query, "isMissingValueIgnored")]
public bool? IsMissingValueIgnored { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specify whether to ignore the missing values in the import file. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }
Property Value
Type | Description |
---|---|
string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. |