TaxonomyArgs

data class TaxonomyArgs(val activatedPolicyTypes: Output<List<String>>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null) : ConvertibleToJava<TaxonomyArgs>

A collection of policy tags that classify data along a common axis. To get more information about Taxonomy, see:

Example Usage

Data Catalog Taxonomy Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.datacatalog.Taxonomy;
import com.pulumi.gcp.datacatalog.TaxonomyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var basicTaxonomy = new Taxonomy("basicTaxonomy", TaxonomyArgs.builder()
.activatedPolicyTypes("FINE_GRAINED_ACCESS_CONTROL")
.description("A collection of policy tags")
.displayName("my_taxonomy")
.build());
}
}

Import

Taxonomy can be imported using any of these accepted formats:

$ pulumi import gcp:datacatalog/taxonomy:Taxonomy default {{name}}

Constructors

Link copied to clipboard
constructor(activatedPolicyTypes: Output<List<String>>? = null, description: Output<String>? = null, displayName: Output<String>? = null, project: Output<String>? = null, region: Output<String>? = null)

Properties

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

A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. Each value may be one of: POLICY_TYPE_UNSPECIFIED, FINE_GRAINED_ACCESS_CONTROL.

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

Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.

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

User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.

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

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

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

Taxonomy location region.

Functions

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