All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetAccess.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property datasets Grants all resources of particular types in a particular dataset read access to the current dataset.
 * @property domain A domain to grant access to. Any users signed in with the
 * domain specified will be granted the specified access
 * @property groupByEmail An email address of a Google Group to grant access to.
 * @property iamMember Some other type of member that appears in the IAM Policy but isn't a user,
 * group, domain, or special group. For example: 'allUsers'
 * @property role Describes the rights granted to the user specified by the other
 * member of the access object. Basic, predefined, and custom roles
 * are supported. Predefined roles that have equivalent basic roles
 * are swapped by the API to their basic counterparts. See
 * [official docs](https://cloud.google.com/bigquery/docs/access-control).
 * @property routines A routine from a different dataset to grant access to. Queries
 * executed against that routine will have read access to tables in
 * this dataset. The role field is not required when this field is
 * set. If that routine is updated by any user, access to the routine
 * needs to be granted again via an update operation.
 * @property specialGroup A special group to grant access to. Possible values include:
 * * 'projectOwners': Owners of the enclosing project.
 * * 'projectReaders': Readers of the enclosing project.
 * * 'projectWriters': Writers of the enclosing project.
 * * 'allAuthenticatedUsers': All authenticated BigQuery users.
 * @property userByEmail An email address of a user to grant access to. For example:
 * [email protected]
 * @property views A view from a different dataset to grant access to. Queries
 * executed against that view will have read access to tables in
 * this dataset. The role field is not required when this field is
 * set. If that view is updated by any user, access to the view
 * needs to be granted again via an update operation.
 */
public data class GetDatasetAccess(
    public val datasets: List,
    public val domain: String,
    public val groupByEmail: String,
    public val iamMember: String,
    public val role: String,
    public val routines: List,
    public val specialGroup: String,
    public val userByEmail: String,
    public val views: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.GetDatasetAccess): GetDatasetAccess = GetDatasetAccess(
            datasets = javaType.datasets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetAccessDataset.Companion.toKotlin(args0)
                })
            }),
            domain = javaType.domain(),
            groupByEmail = javaType.groupByEmail(),
            iamMember = javaType.iamMember(),
            role = javaType.role(),
            routines = javaType.routines().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetAccessRoutine.Companion.toKotlin(args0)
                })
            }),
            specialGroup = javaType.specialGroup(),
            userByEmail = javaType.userByEmail(),
            views = javaType.views().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.bigquery.kotlin.outputs.GetDatasetAccessView.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy