Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datacatalog/v1.Taxonomy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn’t contain policy tags. Auto-naming is currently not supported for this resource.
Create Taxonomy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Taxonomy(name: string, args: TaxonomyArgs, opts?: CustomResourceOptions);
@overload
def Taxonomy(resource_name: str,
args: TaxonomyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Taxonomy(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
activated_policy_types: Optional[Sequence[TaxonomyActivatedPolicyTypesItem]] = None,
description: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewTaxonomy(ctx *Context, name string, args TaxonomyArgs, opts ...ResourceOption) (*Taxonomy, error)
public Taxonomy(string name, TaxonomyArgs args, CustomResourceOptions? opts = null)
public Taxonomy(String name, TaxonomyArgs args)
public Taxonomy(String name, TaxonomyArgs args, CustomResourceOptions options)
type: google-native:datacatalog/v1:Taxonomy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaxonomyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TaxonomyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TaxonomyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaxonomyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaxonomyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var taxonomyResource = new GoogleNative.DataCatalog.V1.Taxonomy("taxonomyResource", new()
{
DisplayName = "string",
ActivatedPolicyTypes = new[]
{
GoogleNative.DataCatalog.V1.TaxonomyActivatedPolicyTypesItem.PolicyTypeUnspecified,
},
Description = "string",
Location = "string",
Project = "string",
});
example, err := datacatalog.NewTaxonomy(ctx, "taxonomyResource", &datacatalog.TaxonomyArgs{
DisplayName: pulumi.String("string"),
ActivatedPolicyTypes: datacatalog.TaxonomyActivatedPolicyTypesItemArray{
datacatalog.TaxonomyActivatedPolicyTypesItemPolicyTypeUnspecified,
},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var taxonomyResource = new Taxonomy("taxonomyResource", TaxonomyArgs.builder()
.displayName("string")
.activatedPolicyTypes("POLICY_TYPE_UNSPECIFIED")
.description("string")
.location("string")
.project("string")
.build());
taxonomy_resource = google_native.datacatalog.v1.Taxonomy("taxonomyResource",
display_name="string",
activated_policy_types=[google_native.datacatalog.v1.TaxonomyActivatedPolicyTypesItem.POLICY_TYPE_UNSPECIFIED],
description="string",
location="string",
project="string")
const taxonomyResource = new google_native.datacatalog.v1.Taxonomy("taxonomyResource", {
displayName: "string",
activatedPolicyTypes: [google_native.datacatalog.v1.TaxonomyActivatedPolicyTypesItem.PolicyTypeUnspecified],
description: "string",
location: "string",
project: "string",
});
type: google-native:datacatalog/v1:Taxonomy
properties:
activatedPolicyTypes:
- POLICY_TYPE_UNSPECIFIED
description: string
displayName: string
location: string
project: string
Taxonomy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Taxonomy resource accepts the following input properties:
- Display
Name string - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- Activated
Policy List<Pulumi.Types Google Native. Data Catalog. V1. Taxonomy Activated Policy Types Item> - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- Description string
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- Location string
- Project string
- Display
Name string - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- Activated
Policy []TaxonomyTypes Activated Policy Types Item - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- Description string
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- Location string
- Project string
- display
Name String - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- activated
Policy List<TaxonomyTypes Activated Policy Types Item> - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- description String
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- location String
- project String
- display
Name string - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- activated
Policy TaxonomyTypes Activated Policy Types Item[] - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- description string
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- location string
- project string
- display_
name str - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- activated_
policy_ Sequence[Taxonomytypes Activated Policy Types Item] - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- description str
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- location str
- project str
- display
Name String - User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.
- activated
Policy List<"POLICY_TYPE_UNSPECIFIED" | "FINE_GRAINED_ACCESS_CONTROL">Types - Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
- description String
- Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Taxonomy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- Policy
Tag intCount - Number of policy tags in this taxonomy.
- Service
Pulumi.
Google Native. Data Catalog. V1. Outputs. Google Cloud Datacatalog V1Taxonomy Service Response - Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- Taxonomy
Timestamps Pulumi.Google Native. Data Catalog. V1. Outputs. Google Cloud Datacatalog V1System Timestamps Response - Creation and modification timestamps of this taxonomy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- Policy
Tag intCount - Number of policy tags in this taxonomy.
- Service
Google
Cloud Datacatalog V1Taxonomy Service Response - Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- Taxonomy
Timestamps GoogleCloud Datacatalog V1System Timestamps Response - Creation and modification timestamps of this taxonomy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- policy
Tag IntegerCount - Number of policy tags in this taxonomy.
- service
Google
Cloud Datacatalog V1Taxonomy Service Response - Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- taxonomy
Timestamps GoogleCloud Datacatalog V1System Timestamps Response - Creation and modification timestamps of this taxonomy.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- policy
Tag numberCount - Number of policy tags in this taxonomy.
- service
Google
Cloud Datacatalog V1Taxonomy Service Response - Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- taxonomy
Timestamps GoogleCloud Datacatalog V1System Timestamps Response - Creation and modification timestamps of this taxonomy.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- policy_
tag_ intcount - Number of policy tags in this taxonomy.
- service
Google
Cloud Datacatalog V1Taxonomy Service Response - Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- taxonomy_
timestamps GoogleCloud Datacatalog V1System Timestamps Response - Creation and modification timestamps of this taxonomy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
- policy
Tag NumberCount - Number of policy tags in this taxonomy.
- service Property Map
- Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.
- taxonomy
Timestamps Property Map - Creation and modification timestamps of this taxonomy.
Supporting Types
GoogleCloudDatacatalogV1SystemTimestampsResponse, GoogleCloudDatacatalogV1SystemTimestampsResponseArgs
- Create
Time string - Creation timestamp of the resource within the given system.
- Expire
Time string - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- Update
Time string - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
- Create
Time string - Creation timestamp of the resource within the given system.
- Expire
Time string - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- Update
Time string - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
- create
Time String - Creation timestamp of the resource within the given system.
- expire
Time String - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- update
Time String - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
- create
Time string - Creation timestamp of the resource within the given system.
- expire
Time string - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- update
Time string - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
- create_
time str - Creation timestamp of the resource within the given system.
- expire_
time str - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- update_
time str - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
- create
Time String - Creation timestamp of the resource within the given system.
- expire
Time String - Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.
- update
Time String - Timestamp of the last modification of the resource or its metadata within a given system. Note: Depending on the source system, not every modification updates this timestamp. For example, BigQuery timestamps every metadata modification but not data or permission changes.
GoogleCloudDatacatalogV1TaxonomyServiceResponse, GoogleCloudDatacatalogV1TaxonomyServiceResponseArgs
TaxonomyActivatedPolicyTypesItem, TaxonomyActivatedPolicyTypesItemArgs
- Policy
Type Unspecified - POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- Fine
Grained Access Control - FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
- Taxonomy
Activated Policy Types Item Policy Type Unspecified - POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- Taxonomy
Activated Policy Types Item Fine Grained Access Control - FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
- Policy
Type Unspecified - POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- Fine
Grained Access Control - FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
- Policy
Type Unspecified - POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- Fine
Grained Access Control - FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
- POLICY_TYPE_UNSPECIFIED
- POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- FINE_GRAINED_ACCESS_CONTROL
- FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
- "POLICY_TYPE_UNSPECIFIED"
- POLICY_TYPE_UNSPECIFIEDUnspecified policy type.
- "FINE_GRAINED_ACCESS_CONTROL"
- FINE_GRAINED_ACCESS_CONTROLFine-grained access control policy that enables access control on tagged sub-resources.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.