ResourcefileArgs

data class ResourcefileArgs(val contentType: Output<String>? = null, val data: Output<String>? = null, val environmentId: Output<String>? = null, val extensions: Output<List<Map<String, String>>>? = null, val file: Output<AssetOrArchive>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<ResourcefileArgs>

Creates a resource file. Specify the Content-Type as application/octet-stream or multipart/form-data. For more information about resource files, see Resource files. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun ResourcefileArgs(contentType: Output<String>? = null, data: Output<String>? = null, environmentId: Output<String>? = null, extensions: Output<List<Map<String, String>>>? = null, file: Output<AssetOrArchive>? = null, name: Output<String>? = null, organizationId: Output<String>? = null, type: Output<String>? = null)

Functions

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

Properties

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

The HTTP Content-Type header value specifying the content type of the body.

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

The HTTP request/response body as raw binary.

Link copied to clipboard
val environmentId: Output<String>? = null
Link copied to clipboard
val extensions: Output<List<Map<String, String>>>? = null

Application specific response metadata. Must be set in the first response for streaming APIs.

Link copied to clipboard
val file: Output<AssetOrArchive>? = null

File to upload.

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

Required. Name of the resource file. Must match the regular expression: a-zA-Z0-9:/\\!@#$%^&{}\[\]()+\-=,.~'` {1,255}

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

Required. Resource file type. {{ resource_file_type }}