Class DatasetAccessArgs.Builder

  • Enclosing class:
    DatasetAccessArgs

    public static final class DatasetAccessArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • authorizedDataset

        public DatasetAccessArgs.Builder authorizedDataset​(@Nullable
                                                           com.pulumi.core.Output<DatasetAccessAuthorizedDatasetArgs> authorizedDataset)
        Parameters:
        authorizedDataset - Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.
        Returns:
        builder
      • authorizedDataset

        public DatasetAccessArgs.Builder authorizedDataset​(DatasetAccessAuthorizedDatasetArgs authorizedDataset)
        Parameters:
        authorizedDataset - Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.
        Returns:
        builder
      • datasetId

        public DatasetAccessArgs.Builder datasetId​(com.pulumi.core.Output<java.lang.String> datasetId)
        Parameters:
        datasetId - A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. ***
        Returns:
        builder
      • datasetId

        public DatasetAccessArgs.Builder datasetId​(java.lang.String datasetId)
        Parameters:
        datasetId - A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. ***
        Returns:
        builder
      • domain

        public DatasetAccessArgs.Builder domain​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> domain)
        Parameters:
        domain - A domain to grant access to. Any users signed in with the domain specified will be granted the specified access
        Returns:
        builder
      • domain

        public DatasetAccessArgs.Builder domain​(java.lang.String domain)
        Parameters:
        domain - A domain to grant access to. Any users signed in with the domain specified will be granted the specified access
        Returns:
        builder
      • groupByEmail

        public DatasetAccessArgs.Builder groupByEmail​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> groupByEmail)
        Parameters:
        groupByEmail - An email address of a Google Group to grant access to.
        Returns:
        builder
      • groupByEmail

        public DatasetAccessArgs.Builder groupByEmail​(java.lang.String groupByEmail)
        Parameters:
        groupByEmail - An email address of a Google Group to grant access to.
        Returns:
        builder
      • iamMember

        public DatasetAccessArgs.Builder iamMember​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> iamMember)
        Parameters:
        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`
        Returns:
        builder
      • iamMember

        public DatasetAccessArgs.Builder iamMember​(java.lang.String iamMember)
        Parameters:
        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`
        Returns:
        builder
      • project

        public DatasetAccessArgs.Builder project​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public DatasetAccessArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • role

        public DatasetAccessArgs.Builder role​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        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, and will show a diff post-create. See [official docs](https://cloud.google.com/bigquery/docs/access-control).
        Returns:
        builder
      • role

        public DatasetAccessArgs.Builder role​(java.lang.String role)
        Parameters:
        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, and will show a diff post-create. See [official docs](https://cloud.google.com/bigquery/docs/access-control).
        Returns:
        builder
      • routine

        public DatasetAccessArgs.Builder routine​(@Nullable
                                                 com.pulumi.core.Output<DatasetAccessRoutineArgs> routine)
        Parameters:
        routine - 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. Structure is documented below.
        Returns:
        builder
      • routine

        public DatasetAccessArgs.Builder routine​(DatasetAccessRoutineArgs routine)
        Parameters:
        routine - 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. Structure is documented below.
        Returns:
        builder
      • specialGroup

        public DatasetAccessArgs.Builder specialGroup​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> specialGroup)
        Parameters:
        specialGroup - A special group to grant access to. Possible values include:
        Returns:
        builder
      • specialGroup

        public DatasetAccessArgs.Builder specialGroup​(java.lang.String specialGroup)
        Parameters:
        specialGroup - A special group to grant access to. Possible values include:
        Returns:
        builder
      • userByEmail

        public DatasetAccessArgs.Builder userByEmail​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> userByEmail)
        Parameters:
        userByEmail - An email address of a user to grant access to. For example: [email protected]
        Returns:
        builder
      • userByEmail

        public DatasetAccessArgs.Builder userByEmail​(java.lang.String userByEmail)
        Parameters:
        userByEmail - An email address of a user to grant access to. For example: [email protected]
        Returns:
        builder
      • view

        public DatasetAccessArgs.Builder view​(@Nullable
                                              com.pulumi.core.Output<DatasetAccessViewArgs> view)
        Parameters:
        view - 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. Structure is documented below.
        Returns:
        builder
      • view

        public DatasetAccessArgs.Builder view​(DatasetAccessViewArgs view)
        Parameters:
        view - 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. Structure is documented below.
        Returns:
        builder