ImportJobArgs

data class ImportJobArgs(val assetSource: Output<String>? = null, val displayName: Output<String>? = null, val gcsPayload: Output<GCSPayloadInfoArgs>? = null, val importJobId: Output<String>? = null, val inlinePayload: Output<InlinePayloadInfoArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null) : ConvertibleToJava<ImportJobArgs>

Creates an import job. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun ImportJobArgs(assetSource: Output<String>? = null, displayName: Output<String>? = null, gcsPayload: Output<GCSPayloadInfoArgs>? = null, importJobId: Output<String>? = null, inlinePayload: Output<InlinePayloadInfoArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ImportJobArgs

Properties

Link copied to clipboard
val assetSource: Output<String>? = null

Reference to a source.

Link copied to clipboard
val displayName: Output<String>? = null

User-friendly display name. Maximum length is 63 characters.

Link copied to clipboard
val gcsPayload: Output<GCSPayloadInfoArgs>? = null

The payload is in Google Cloud Storage.

Link copied to clipboard
val importJobId: Output<String>? = null

Required. ID of the import job.

Link copied to clipboard

The payload is included in the request, mainly used for small import jobs.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels as key value pairs.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).