com.pulumi.gcp.dataplex.kotlin.outputs.AssetResourceSpec.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataplex.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}` `projects/{project_number}/datasets/{dataset_id}`
* @property readAccessMode Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets. Possible values: DIRECT, MANAGED
* @property type Required. Immutable. Type of resource. Possible values: STORAGE_BUCKET, BIGQUERY_DATASET
* - - -
*/
public data class AssetResourceSpec(
public val name: String? = null,
public val readAccessMode: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.AssetResourceSpec): AssetResourceSpec = AssetResourceSpec(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
readAccessMode = javaType.readAccessMode().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy