Index
-
DataCatalog
(interface) (deprecated) -
PolicyTagManager
(interface) -
PolicyTagManagerSerialization
(interface) -
BigQueryDateShardedSpec
(message) -
BigQueryTableSpec
(message) -
ColumnSchema
(message) -
CreateEntryGroupRequest
(message) -
CreateEntryRequest
(message) -
CreatePolicyTagRequest
(message) -
CreateTagRequest
(message) -
CreateTagTemplateFieldRequest
(message) -
CreateTagTemplateRequest
(message) -
CreateTaxonomyRequest
(message) -
DeleteEntryGroupRequest
(message) -
DeleteEntryRequest
(message) -
DeletePolicyTagRequest
(message) -
DeleteTagRequest
(message) -
DeleteTagTemplateFieldRequest
(message) -
DeleteTagTemplateRequest
(message) -
DeleteTaxonomyRequest
(message) -
Entry
(message) -
EntryGroup
(message) -
EntryType
(enum) -
ExportTaxonomiesRequest
(message) -
ExportTaxonomiesResponse
(message) -
FieldType
(message) -
FieldType.EnumType
(message) -
FieldType.EnumType.EnumValue
(message) -
FieldType.PrimitiveType
(enum) -
GcsFileSpec
(message) -
GcsFilesetSpec
(message) -
GetEntryGroupRequest
(message) -
GetEntryRequest
(message) -
GetPolicyTagRequest
(message) -
GetTagTemplateRequest
(message) -
GetTaxonomyRequest
(message) -
ImportTaxonomiesRequest
(message) -
ImportTaxonomiesResponse
(message) -
InlineSource
(message) -
IntegratedSystem
(enum) -
ListEntriesRequest
(message) -
ListEntriesResponse
(message) -
ListEntryGroupsRequest
(message) -
ListEntryGroupsResponse
(message) -
ListPolicyTagsRequest
(message) -
ListPolicyTagsResponse
(message) -
ListTagsRequest
(message) -
ListTagsResponse
(message) -
ListTaxonomiesRequest
(message) -
ListTaxonomiesResponse
(message) -
LookupEntryRequest
(message) -
ManagingSystem
(enum) -
PolicyTag
(message) -
RenameTagTemplateFieldEnumValueRequest
(message) -
RenameTagTemplateFieldRequest
(message) -
Schema
(message) -
SearchCatalogRequest
(message) -
SearchCatalogRequest.Scope
(message) -
SearchCatalogResponse
(message) -
SearchCatalogResult
(message) -
SearchResultType
(enum) -
SerializedPolicyTag
(message) -
SerializedTaxonomy
(message) -
SystemTimestamps
(message) -
TableSourceType
(enum) -
TableSpec
(message) -
Tag
(message) -
TagField
(message) -
TagField.EnumValue
(message) -
TagTemplate
(message) -
TagTemplate.DataplexTransferStatus
(enum) -
TagTemplateField
(message) -
Taxonomy
(message) -
Taxonomy.PolicyType
(enum) -
Taxonomy.Service
(message) -
UpdateEntryGroupRequest
(message) -
UpdateEntryRequest
(message) -
UpdatePolicyTagRequest
(message) -
UpdateTagRequest
(message) -
UpdateTagTemplateFieldRequest
(message) -
UpdateTagTemplateRequest
(message) -
UpdateTaxonomyRequest
(message) -
UsageSignal
(message) -
UsageStats
(message) -
ViewSpec
(message)
DataCatalog
Data Catalog API service allows clients to discover, understand, and manage their data.
rpc CreateEntry(
CreateEntryRequest
) returns ( Entry
)
Creates an entry. Only entries of 'FILESET' type or user-specified type can be created.
Users should enable the Data Catalog API in the project identified by the parent
parameter (see Data Catalog Resource Project
for more information).
A maximum of 100,000 entries may be created per entry group.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc CreateEntryGroup(
CreateEntryGroupRequest
) returns ( EntryGroup
)
A maximum of 10,000 entry groups may be created per organization across all locations.
Users should enable the Data Catalog API in the project identified by the parent
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc CreateTag(
CreateTagRequest
) returns ( Tag
)
Creates a tag on an Entry
. Note: The project identified by the parent
parameter for the tag
and the tag template
used to create the tag must be from the same organization.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc CreateTagTemplate(
CreateTagTemplateRequest
) returns ( TagTemplate
)
Creates a tag template. The user should enable the Data Catalog API in the project identified by the parent
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc CreateTagTemplateField(
CreateTagTemplateFieldRequest
) returns ( TagTemplateField
)
Creates a field in a tag template. The user should enable the Data Catalog API in the project identified by the parent
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteEntry(
DeleteEntryRequest
) returns ( Empty
)
Deletes an existing entry. Only entries created through CreateEntry
method can be deleted. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteEntryGroup(
DeleteEntryGroupRequest
) returns ( Empty
)
Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteTag(
DeleteTagRequest
) returns ( Empty
)
Deletes a tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteTagTemplate(
DeleteTagTemplateRequest
) returns ( Empty
)
Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteTagTemplateField(
DeleteTagTemplateFieldRequest
) returns ( Empty
)
Deletes a field in a tag template and all uses of that field. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetEntry(
GetEntryRequest
) returns ( Entry
)
Gets an entry.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetEntryGroup(
GetEntryGroupRequest
) returns ( EntryGroup
)
Gets an EntryGroup.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetIamPolicy(
GetIamPolicyRequest
) returns ( Policy
)
Gets the access control policy for a resource. A NOT_FOUND
error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.
Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission - datacatalog.tagTemplates.getIamPolicy
to get policies on tag templates. - datacatalog.entries.getIamPolicy
to get policies on entries. - datacatalog.entryGroups.getIamPolicy
to get policies on entry groups.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetTagTemplate(
GetTagTemplateRequest
) returns ( TagTemplate
)
Gets a tag template.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ListEntries(
ListEntriesRequest
) returns ( ListEntriesResponse
)
Lists entries.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ListEntryGroups(
ListEntryGroupsRequest
) returns ( ListEntryGroupsResponse
)
Lists entry groups.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ListTags(
ListTagsRequest
) returns ( ListTagsResponse
)
Lists tags assigned to an Entry
. The columns
in the response are lowercased.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc LookupEntry(
LookupEntryRequest
) returns ( Entry
)
Get an entry by target resource name. This method allows clients to use the resource name from the source Google Cloud Platform service to get the Data Catalog Entry.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc RenameTagTemplateField(
RenameTagTemplateFieldRequest
) returns ( TagTemplateField
)
Renames a field in a tag template. The user should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc RenameTagTemplateFieldEnumValue(
RenameTagTemplateFieldEnumValueRequest
) returns ( TagTemplateField
)
Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value within the same enum field.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc SearchCatalog(
SearchCatalogRequest
) returns ( SearchCatalogResponse
)
Searches Data Catalog for multiple resources like entries, tags that match a query.
This is a custom method ( https://cloud.google.com/apis/design/custom_methods
) and does not return the complete resource, only the resource identifier and high level fields. Clients can subsequently call Get
methods.
Note that Data Catalog search queries do not guarantee full recall. Query results that match your query may not be returned, even in subsequent result pages. Also note that results returned (and not returned) can vary across repeated search queries.
See Data Catalog Search Syntax for more information.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc SetIamPolicy(
SetIamPolicyRequest
) returns ( Policy
)
Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
Callers must have following Google IAM permission - datacatalog.tagTemplates.setIamPolicy
to set policies on tag templates. - datacatalog.entries.setIamPolicy
to set policies on entries. - datacatalog.entryGroups.setIamPolicy
to set policies on entry groups.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc TestIamPermissions(
TestIamPermissionsRequest
) returns ( TestIamPermissionsResponse
)
Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a NOT_FOUND
error).
Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog.
A caller is not required to have Google IAM permission to make this request.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateEntry(
UpdateEntryRequest
) returns ( Entry
)
Updates an existing entry. Users should enable the Data Catalog API in the project identified by the entry.name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateEntryGroup(
UpdateEntryGroupRequest
) returns ( EntryGroup
)
Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by the entry_group.name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateTag(
UpdateTagRequest
) returns ( Tag
)
Updates an existing tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateTagTemplate(
UpdateTagTemplateRequest
) returns ( TagTemplate
)
Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the tag_template.name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateTagTemplateField(
UpdateTagTemplateFieldRequest
) returns ( TagTemplateField
)
Updates a field in a tag template. This method cannot be used to update the field type. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project
for more information).
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
PolicyTagManager
The policy tag manager API service allows clients to manage their taxonomies and policy tags.
rpc CreatePolicyTag(
CreatePolicyTagRequest
) returns ( PolicyTag
)
Creates a policy tag in the specified taxonomy.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc CreateTaxonomy(
CreateTaxonomyRequest
) returns ( Taxonomy
)
Creates a taxonomy in the specified project.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeletePolicyTag(
DeletePolicyTagRequest
) returns ( Empty
)
Deletes a policy tag. Also deletes all of its descendant policy tags.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc DeleteTaxonomy(
DeleteTaxonomyRequest
) returns ( Empty
)
Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetIamPolicy(
GetIamPolicyRequest
) returns ( Policy
)
Gets the IAM policy for a taxonomy or a policy tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetPolicyTag(
GetPolicyTagRequest
) returns ( PolicyTag
)
Gets a policy tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc GetTaxonomy(
GetTaxonomyRequest
) returns ( Taxonomy
)
Gets a taxonomy.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ListPolicyTags(
ListPolicyTagsRequest
) returns ( ListPolicyTagsResponse
)
Lists all policy tags in a taxonomy.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ListTaxonomies(
ListTaxonomiesRequest
) returns ( ListTaxonomiesResponse
)
Lists all taxonomies in a project in a particular location that the caller has permission to view.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc SetIamPolicy(
SetIamPolicyRequest
) returns ( Policy
)
Sets the IAM policy for a taxonomy or a policy tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc TestIamPermissions(
TestIamPermissionsRequest
) returns ( TestIamPermissionsResponse
)
Returns the permissions that a caller has on the specified taxonomy or policy tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdatePolicyTag(
UpdatePolicyTagRequest
) returns ( PolicyTag
)
Updates a policy tag.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc UpdateTaxonomy(
UpdateTaxonomyRequest
) returns ( Taxonomy
)
Updates a taxonomy.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
PolicyTagManagerSerialization
Policy tag manager serialization API service allows clients to manipulate their taxonomies and policy tags data with serialized format.
rpc ExportTaxonomies(
ExportTaxonomiesRequest
) returns ( ExportTaxonomiesResponse
)
Exports all taxonomies and their policy tags in a project.
This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future ImportTaxonomies calls.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
rpc ImportTaxonomies(
ImportTaxonomiesRequest
) returns ( ImportTaxonomiesResponse
)
Imports all taxonomies and their policy tags to a project as new taxonomies.
This method provides a bulk taxonomy / policy tag creation using nested proto structure.
- Authorization scopes
-
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
-
BigQueryDateShardedSpec
Spec for a group of BigQuery tables with name pattern [prefix]YYYYMMDD
. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
Fields | |
---|---|
dataset
|
Output only. The Data Catalog resource name of the dataset entry the current table belongs to, for example, |
table_prefix
|
Output only. The table name prefix of the shards. The name of any given shard is |
shard_count
|
Output only. Total number of shards. |
BigQueryTableSpec
Describes a BigQuery table.
table_source_type
Output only. The table source type.
type_spec
. Output only. type_spec
can be only one of the following:view_spec
Table view specification. This field should only be populated if table_source_type
is BIGQUERY_VIEW
.
table_spec
Spec of a BigQuery table. This field should only be populated if table_source_type
is BIGQUERY_TABLE
.
ColumnSchema
Representation of a column within a schema. Columns could be nested inside other columns.
Fields | |
---|---|
column
|
Required. Name of the column. |
type
|
Required. Type of the column. |
description
|
Optional. Description of the column. Default value is an empty string. |
mode
|
Optional. A column's mode indicates whether the values in this column are required, nullable, etc. Only |
subcolumns[]
|
Optional. Schema of sub-columns. A column can have zero or more sub-columns. |
CreateEntryGroupRequest
Request message for CreateEntryGroup
.
parent
string
Required. The name of the project this entry group is in. Example:
- projects/{project_id}/locations/{location}
Note that this EntryGroup and its child resources may not actually be stored in the location in this name.
entry_group_id
string
Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.
entry_group
The entry group to create. Defaults to an empty entry group.
CreateEntryRequest
Request message for CreateEntry
.
parent
string
Required. The name of the entry group this entry is in. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
Note that this Entry and its child resources may not actually be stored in the location in this name.
entry_id
string
Required. The id of the entry to create.
entry
Required. The entry to create.
CreatePolicyTagRequest
Request message for CreatePolicyTag
.
CreateTagRequest
Request message for CreateTag
.
parent
string
Required. The name of the resource to attach this tag to. Tags can be attached to Entries. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
Note that this Tag and its child resources may not actually be stored in the location in this name.
tag
Required. The tag to create.
CreateTagTemplateFieldRequest
Request message for CreateTagTemplateField
.
parent
string
Required. The name of the project and the template location region .
Example:
- projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
tag_template_field_id
string
Required. The ID of the tag template field to create. Field ids can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.
tag_template_field
Required. The tag template field to create.
CreateTagTemplateRequest
Request message for CreateTagTemplate
.
parent
string
Required. The name of the project and the template location [region]( https://cloud.google.com/data-catalog/docs/concepts/regions .
Example:
- projects/{project_id}/locations/us-central1
tag_template_id
string
Required. The id of the tag template to create.
tag_template
Required. The tag template to create.
CreateTaxonomyRequest
Request message for CreateTaxonomy
.
DeleteEntryGroupRequest
Request message for DeleteEntryGroup
.
Fields | |
---|---|
name
|
Required. The name of the entry group. For example, |
force
|
Optional. If true, deletes all entries in the entry group. |
DeleteEntryRequest
Request message for DeleteEntry
.
name
string
Required. The name of the entry. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
DeletePolicyTagRequest
Request message for DeletePolicyTag
.
name
string
Required. Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.
Authorization requires the following IAM
permission on the specified resource name
:
-
datacatalog.taxonomies.update
DeleteTagRequest
Request message for DeleteTag
.
name
string
Required. The name of the tag to delete. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
DeleteTagTemplateFieldRequest
Request message for DeleteTagTemplateField
.
name
string
Required. The name of the tag template field to delete. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
force
bool
Required. Currently, this field must always be set to true
. This confirms the deletion of this field from any tags using this field. force = false
will be supported in the future.
DeleteTagTemplateRequest
Request message for DeleteTagTemplate
.
name
string
Required. The name of the tag template to delete. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
force
bool
Required. Currently, this field must always be set to true
. This confirms the deletion of any possible tags using this template. force = false
will be supported in the future.
DeleteTaxonomyRequest
Request message for DeleteTaxonomy
.
name
string
Required. Resource name of the taxonomy to be deleted. All policy tags in this taxonomy will also be deleted.
Authorization requires the following IAM
permission on the specified resource name
:
-
datacatalog.taxonomies.delete
Entry
Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or outside of Google Cloud Platform. Clients can use the linked_resource
field in the Entry resource to refer to the original resource ID of the source system.
An Entry resource contains resource details, such as its schema. An Entry can also be used to attach flexible metadata, such as a Tag
.
name
string
Output only. Identifier. The Data Catalog resource name of the entry in URL format. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
Note that this Entry and its child resources may not actually be stored in the location in this name.
linked_resource
string
The resource this metadata entry refers to.
For Google Cloud Platform resources, linked_resource
is the full name of the resource
. For example, the linked_resource
for a table resource from BigQuery is:
- //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty string.
display_name
string
Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string.
description
string
Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string.
schema
Schema of the entry. An entry might not have any schema attached to it.
usage_signal
Output only. Statistics on the usage level of the resource.
entry_type
. Required. Entry type. entry_type
can be only one of the following:type
The type of the entry. Only used for Entries with types in the EntryType enum.
user_specified_type
string
Entry type if it does not fit any of the input-allowed values listed in EntryType
enum above. When creating an entry, users should check the enum values first, if nothing matches the entry to be created, then provide a custom value, for example "my_special_type". user_specified_type
strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long.
Currently, only FILESET enum value is allowed. All other entries created through Data Catalog must use user_specified_type
.
system
. The source system of the entry. system
can be only one of the following:integrated_system
Output only. This field indicates the entry's source system that Data Catalog integrates with, such as BigQuery or Pub/Sub.
user_specified_system
string
This field indicates the entry's source system that Data Catalog does not integrate with. user_specified_system
strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long.
type_spec
. Type specification information. type_spec
can be only one of the following:gcs_fileset_spec
Specification that applies to a Cloud Storage fileset. This is only valid on entries of type FILESET.
bigquery_table_spec
Specification that applies to a BigQuery table. This is only valid on entries of type TABLE
.
bigquery_date_sharded_spec
Specification for a group of BigQuery tables with name pattern [prefix]YYYYMMDD
. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
.
EntryGroup
EntryGroup Metadata. An EntryGroup resource represents a logical grouping of zero or more Data Catalog Entry
resources.
name
string
Identifier. The resource name of the entry group in URL format. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
Note that this EntryGroup and its child resources may not actually be stored in the location in this name.
display_name
string
A short name to identify the entry group, for example, "analytics data - jan 2011". Default value is an empty string.
description
string
Entry group description, which can consist of several sentences or paragraphs that describe entry group contents. Default value is an empty string.
EntryType
Entry resources in Data Catalog can be of different types e.g. a BigQuery Table entry is of type TABLE
. This enum describes all the possible types Data Catalog contains.
Enums | |
---|---|
ENTRY_TYPE_UNSPECIFIED
|
Default unknown type. |
TABLE
|
Output only. The type of entry that has a GoogleSQL schema, including logical views. |
MODEL
|
Output only. The type of models. https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro |
DATA_STREAM
|
Output only. An entry type which is used for streaming entries. Example: Pub/Sub topic. |
FILESET
|
An entry type which is a set of files or objects. Example: Cloud Storage fileset. |
ExportTaxonomiesRequest
Request message for ExportTaxonomies
.
parent
string
Required. Resource name of the project that taxonomies to be exported will share.
Authorization requires the following IAM
permission on the specified resource parent
:
-
datacatalog.taxonomies.get
taxonomies[]
string
Required. Resource names of the taxonomies to be exported.
destination
. Required. Taxonomies export destination. destination
can be only one of the following:serialized_taxonomies
bool
Export taxonomies as serialized taxonomies.
ExportTaxonomiesResponse
Response message for ExportTaxonomies
.
Fields | |
---|---|
taxonomies[]
|
List of taxonomies and policy tags in a tree structure. |
FieldType
type_decl
. Required. type_decl
can be only one of the following:primitive_type
Represents primitive types - string, bool etc.
enum_type
Represents an enum type.
EnumType
Fields | |
---|---|
allowed_values[]
|
EnumValue
Fields | |
---|---|
display_name
|
Required. The display name of the enum value. Must not be an empty string. |
PrimitiveType
Enums | |
---|---|
PRIMITIVE_TYPE_UNSPECIFIED
|
This is the default invalid value for a type. |
DOUBLE
|
A double precision number. |
STRING
|
An UTF-8 string. |
BOOL
|
A boolean value. |
TIMESTAMP
|
A timestamp. |
GcsFileSpec
Specifications of a single file in Cloud Storage.
Fields | |
---|---|
file_path
|
Required. The full file path. Example: |
gcs_timestamps
|
Output only. Timestamps about the Cloud Storage file. |
size_bytes
|
Output only. The size of the file, in bytes. |
GcsFilesetSpec
Describes a Cloud Storage fileset entry.
file_patterns[]
string
Required. Patterns to identify a set of files in Google Cloud Storage. See Cloud Storage documentation for more information. Note that bucket wildcards are currently not supported.
Examples of valid file_patterns:
-
gs://bucket_name/dir/*
: matches all files withinbucket_name/dir
directory. -
gs://bucket_name/dir/**
: matches all files inbucket_name/dir
spanning all subdirectories. -
gs://bucket_name/file*
: matches files prefixed byfile
inbucket_name
-
gs://bucket_name/??.txt
: matches files with two characters followed by.txt
inbucket_name
-
gs://bucket_name/[aeiou].txt
: matches files that contain a single vowel character followed by.txt
inbucket_name
-
gs://bucket_name/[a-m].txt
: matches files that containa
,b
, ... orm
followed by.txt
inbucket_name
-
gs://bucket_name/a/*/b
: matches all files inbucket_name
that matcha/*/b
pattern, such asa/c/b
,a/d/b
-
gs://another_bucket/a.txt
: matchesgs://another_bucket/a.txt
You can combine wildcards to provide more powerful matches, for example:
-
gs://bucket_name/[a-m]??.j*g
sample_gcs_file_specs[]
Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here.
GetEntryGroupRequest
Request message for GetEntryGroup
.
Fields | |
---|---|
name
|
Required. The name of the entry group. For example, |
read_mask
|
The fields to return. If not set or empty, all fields are returned. |
GetEntryRequest
Request message for GetEntry
.
name
string
Required. The name of the entry. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
GetPolicyTagRequest
Request message for GetPolicyTag
.
name
string
Required. Resource name of the requested policy tag.
Authorization requires the following IAM
permission on the specified resource name
:
-
datacatalog.taxonomies.get
GetTagTemplateRequest
Request message for GetTagTemplate
.
name
string
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
GetTaxonomyRequest
Request message for GetTaxonomy
.
name
string
Required. Resource name of the requested taxonomy.
Authorization requires the following IAM
permission on the specified resource name
:
-
datacatalog.taxonomies.get
ImportTaxonomiesRequest
Request message for ImportTaxonomies
.
parent
string
Required. Resource name of project that the imported taxonomies will belong to.
Authorization requires the following IAM
permission on the specified resource parent
:
-
datacatalog.taxonomies.create
source
. Source taxonomies to be imported. source
can be only one of the following:inline_source
Inline source used for taxonomies to be imported.
ImportTaxonomiesResponse
Response message for ImportTaxonomies
.
Fields | |
---|---|
taxonomies[]
|
Taxonomies that were imported. |
InlineSource
Inline source used for taxonomies import.
Fields | |
---|---|
taxonomies[]
|
Required. Taxonomies to be imported. |
IntegratedSystem
This enum describes all the possible systems that Data Catalog integrates with.
Enums | |
---|---|
INTEGRATED_SYSTEM_UNSPECIFIED
|
Default unknown system. |
BIGQUERY
|
BigQuery. |
CLOUD_PUBSUB
|
Cloud Pub/Sub. |
ListEntriesRequest
Request message for ListEntries
.
parent
string
Required. The name of the entry group that contains the entries, which can be provided in URL format. Example:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
page_size
int32
The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for page_size > 1000
.
page_token
string
Token that specifies which page is requested. If empty, the first page is returned.
read_mask
The fields to return for each Entry. If not set or empty, all fields are returned. For example, setting read_mask to contain only one path "name" will cause ListEntries to return a list of Entries with only "name" field.
ListEntriesResponse
Response message for ListEntries
.
Fields | |
---|---|
entries[]
|
Entry details. |
next_page_token
|
Token to retrieve the next page of results. It is set to empty if no items remain in results. |
ListEntryGroupsRequest
Request message for ListEntryGroups
.
parent
string
Required. The name of the location that contains the entry groups, which can be provided in URL format. Example:
- projects/{project_id}/locations/{location}
page_size
int32
Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for page_size > 1000
.
page_token
string
Optional. Token that specifies which page is requested. If empty, the first page is returned.
ListEntryGroupsResponse
Response message for ListEntryGroups
.
Fields | |
---|---|
entry_groups[]
|
EntryGroup details. |
next_page_token
|
Token to retrieve the next page of results. It is set to empty if no items remain in results. |
ListPolicyTagsRequest
Request message for ListPolicyTags
.
parent
string
Required. Resource name of the taxonomy to list the policy tags of.
Authorization requires the following IAM
permission on the specified resource parent
:
-
datacatalog.taxonomies.get
page_size
int32
The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.
page_token
string
The next_page_token value returned from a previous List request, if any. If not set, defaults to an empty string.
ListPolicyTagsResponse
Response message for ListPolicyTags
.
Fields | |
---|---|
policy_tags[]
|
The policy tags that are in the requested taxonomy. |
next_page_token
|
Token used to retrieve the next page of results, or empty if there are no more results in the list. |
ListTagsRequest
Request message for ListTags
.
parent
string
Required. The name of the Data Catalog resource to list the tags of. The resource could be an Entry
or an EntryGroup
.
Examples:
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
- projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
page_size
int32
The maximum number of tags to return. Default is 10. Max limit is 1000.
page_token
string
Token that specifies which page is requested. If empty, the first page is returned.
ListTagsResponse
Response message for ListTags
.
Fields | |
---|---|
tags[]
|
|
next_page_token
|
Token to retrieve the next page of results. It is set to empty if no items remain in results. |
ListTaxonomiesRequest
Request message for ListTaxonomies
.
parent
string
Required. Resource name of the project to list the taxonomies of.
Authorization requires the following IAM
permission on the specified resource parent
:
-
datacatalog.taxonomies.list
page_size
int32
The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.
page_token
string
The next_page_token value returned from a previous list request, if any. If not set, defaults to an empty string.
filter
string
Supported field for filter is 'service' and value is 'dataplex'. Eg: service=dataplex.
ListTaxonomiesResponse
Response message for ListTaxonomies
.
Fields | |
---|---|
taxonomies[]
|
Taxonomies that the project contains. |
next_page_token
|
Token used to retrieve the next page of results, or empty if there are no more results in the list. |
LookupEntryRequest
Request message for LookupEntry
.
target_name
. Required. Represents either the Google Cloud Platform resource or SQL name for a Google Cloud Platform resource. target_name
can be only one of the following:linked_resource
string
The full name of the Google Cloud Platform resource the Data Catalog entry represents. See: https://cloud.google.com/apis/design/resource_names#full_resource_name . Full names are case-sensitive.
Examples:
- //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
- //pubsub.googleapis.com/projects/projectId/topics/topicId
sql_resource
string
The SQL name of the entry. SQL names are case-sensitive.
Examples:
-
pubsub.project_id.topic_id
-
pubsub.project_id.`topic.id.with.dots`
-
bigquery.table.project_id.dataset_id.table_id
-
bigquery.dataset.project_id.dataset_id
-
datacatalog.entry.project_id.location_id.entry_group_id.entry_id
*_id
s should satisfy the GoogleSQL rules for identifiers. https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical
.
ManagingSystem
This enum describes all the systems that manage Taxonomy and PolicyTag resources in Data Catalog.
Enums | |
---|---|
MANAGING_SYSTEM_UNSPECIFIED
|
Default value |
MANAGING_SYSTEM_DATAPLEX
|
Dataplex Universal Catalog. |
MANAGING_SYSTEM_OTHER
|
Other |
PolicyTag
Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in a hierarchy. For example, consider the following hierarchy: Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy tags: "LatLong", "City", and "ZipCode".
Fields | |
---|---|
name
|
Identifier. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". |
display_name
|
Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; 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. |
description
|
Description of this policy tag. 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. If not set, defaults to an empty description. |
parent_policy_tag
|
Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string. |
child_policy_tags[]
|
Output only. Resource names of child policy tags of this policy tag. |
RenameTagTemplateFieldEnumValueRequest
Request message for RenameTagTemplateFieldEnumValue
.
name
string
Required. The name of the enum field value. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
new_enum_value_display_name
string
Required. The new display name of the enum value. For example, my_new_enum_value
.
RenameTagTemplateFieldRequest
Request message for RenameTagTemplateField
.
name
string
Required. The name of the tag template. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
new_tag_template_field_id
string
Required. The new ID of this tag template field. For example, my_new_field
.
Schema
Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
Fields | |
---|---|
columns[]
|
Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be specified. |
SearchCatalogRequest
Request message for SearchCatalog
.
scope
Required. The scope of this search request. A scope
that has empty include_org_ids
, include_project_ids
AND false include_gcp_public_datasets
is considered invalid. Data Catalog will return an error in such a case.
query
string
Optional. The query string in search query syntax. An empty query string will result in all data assets (in the specified scope) that the user has access to. Query strings can be simple as "x" or more qualified as:
- name:x
- column:x
- description:y
Note: Query tokens need to have a minimum of 3 characters for substring matching to work correctly. See Data Catalog Search Syntax for more information.
page_size
int32
Number of results in the search page. If <=0 then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
page_token
string
Optional. Pagination token returned in an earlier SearchCatalogResponse.next_page_token
, which indicates that this is a continuation of a prior SearchCatalogRequest
call, and that the system should return the next page of data. If empty, the first page is returned.
order_by
string
Specifies the ordering of results, currently supported case-sensitive choices are:
-
relevance
, only supports descending -
last_modified_timestamp [asc|desc]
, defaults to descending if not specified -
default
that can only be descending
If not specified, defaults to relevance
descending.
Scope
The criteria that select the subspace used for query matching.
Fields | |
---|---|
include_org_ids[]
|
The list of organization IDs to search within. To find your organization ID, follow instructions in https://cloud.google.com/resource-manager/docs/creating-managing-organization . |
include_project_ids[]
|
The list of project IDs to search within. To learn more about the distinction between project names/IDs/numbers, go to https://cloud.google.com/docs/overview/#projects . |
include_gcp_public_datasets
|
If |
restricted_locations[]
|
Optional. The list of locations to search within. 1. If empty, search will be performed in all locations; 2. If any of the locations are NOT in the valid locations list, error will be returned; 3. Otherwise, search only the given locations for matching results. Typical usage is to leave this field empty. When a location is unreachable as returned in the Valid locations: * asia-east1 * asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * us-east4 * us-west1 * us-west2 |
SearchCatalogResponse
Response message for SearchCatalog
.
Fields | |
---|---|
results[]
|
Search results. |
total_size
|
The approximate total number of entries matched by the query. |
next_page_token
|
The token that can be used to retrieve the next page of results. |
unreachable[]
|
Unreachable locations. Search result does not include data from those locations. Users can get additional information on the error by repeating the search request with a more restrictive parameter -- setting the value for |
SearchCatalogResult
A result that appears in the response of a search request. Each result captures details of one entry that matches the search.
search_result_type
Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.
search_result_subtype
string
Sub-type of the search result. This is a dot-delimited description of the resource's full type, and is the same as the value callers would provide in the "type" search facet. Examples: entry.table
, entry.dataStream
, tagTemplate
.
relative_resource_name
string
The relative resource name of the resource in URL format. Examples:
-
projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
-
projects/{project_id}/tagTemplates/{tag_template_id}
linked_resource
string
The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name . Example:
-
//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
modify_time
Last-modified timestamp of the entry from the managing system.
SearchResultType
The different types of resources that can be returned in search.
Enums | |
---|---|
SEARCH_RESULT_TYPE_UNSPECIFIED
|
Default unknown type. |
ENTRY
|
An Entry
. |
TAG_TEMPLATE
|
A TagTemplate
. |
ENTRY_GROUP
|
An EntryGroup
. |
SerializedPolicyTag
Message representing one policy tag when exported as a nested proto.
Fields | |
---|---|
policy_tag
|
Resource name of the policy tag. This field will be ignored when calling ImportTaxonomies. |
display_name
|
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. |
description
|
Description of the serialized policy tag. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. |
child_policy_tags[]
|
Children of the policy tag if any. |
SerializedTaxonomy
Message capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.
Fields | |
---|---|
display_name
|
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. |
description
|
Description of the serialized taxonomy. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. |
policy_tags[]
|
Top level policy tags associated with the taxonomy if any. |
activated_policy_types[]
|
A list of policy types that are activated for a taxonomy. |
SystemTimestamps
Timestamps about this resource according to a particular system.
Fields | |
---|---|
create_time
|
The creation time of the resource within the given system. |
update_time
|
The last-modified time of the resource within the given system. |
expire_time
|
Output only. The expiration time of the resource within the given system. Currently only apllicable to BigQuery resources. |
TableSourceType
Table source type.
Enums | |
---|---|
TABLE_SOURCE_TYPE_UNSPECIFIED
|
Default unknown type. |
BIGQUERY_VIEW
|
Table view. |
BIGQUERY_TABLE
|
BigQuery native table. |
BIGQUERY_MATERIALIZED_VIEW
|
BigQuery materialized view. |
TableSpec
Normal BigQuery table spec.
Fields | |
---|---|
grouped_entry
|
Output only. If the table is a dated shard, i.e., with name pattern |
Tag
Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template.
See Data Catalog IAM for information on the permissions needed to create or view tags.
name
string
Identifier. The resource name of the tag in URL format. Example:
- projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
where tag_id
is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.
template
string
Required. The resource name of the tag template that this tag uses. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
This field cannot be modified after creation.
template_display_name
string
Output only. The display name of the tag template.
fields
map<string,
TagField
>
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.
scope
. The scope within the parent resource that this tag is attached to. If not provided, the tag is attached to the parent resource itself. Deleting the scope from the parent resource will delete all tags attached to that scope. These fields cannot be updated after creation. scope
can be only one of the following:column
string
Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema.
For attaching a tag to a nested column, use .
to separate the column names. Example:
-
outer_column.inner_column
TagField
Contains the value and supporting information for a field within a Tag
.
display_name
string
Output only. The display name of this field.
order
int32
Output only. The order of this field with respect to other fields in this tag. It can be set in Tag
. For example, a higher value can indicate a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.
kind
. Required. The value of this field. kind
can be only one of the following:double_value
double
Holds the value for a tag field with double type.
string_value
string
Holds the value for a tag field with string type.
bool_value
bool
Holds the value for a tag field with boolean type.
enum_value
Holds the value for a tag field with enum type. This value must be one of the allowed values in the definition of this enum.
EnumValue
Holds an enum value.
Fields | |
---|---|
display_name
|
The display name of the enum value. |
TagTemplate
A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. Tag template roles provide permissions to create, edit, and use the template. See, for example, the TagTemplate User role, which includes permission to use the tag template to tag resources.
name
string
Identifier. The resource name of the tag template in URL format. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
Note that this TagTemplate and its child resources may not actually be stored in the location in this name.
display_name
string
The display name for this template. Defaults to an empty string.
fields
map<string,
TagTemplateField
>
Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields.
The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
dataplex_transfer_status
Output only. Transfer status of the TagTemplate
DataplexTransferStatus
This enum describes TagTemplate transfer status to Dataplex Universal Catalog service.
Enums | |
---|---|
DATAPLEX_TRANSFER_STATUS_UNSPECIFIED
|
Default value. TagTemplate and its tags are only visible and editable in DataCatalog. |
MIGRATED
|
TagTemplate and its tags are auto-copied to Dataplex Universal Catalog service. Visible in both services. Editable in Data Catalog, read-only in Dataplex Universal Catalog. Deprecated: Individual TagTemplate migration is deprecated in favor of organization or project wide TagTemplate migration opt-in. |
TagTemplateField
The template for an individual field within a tag template.
name
string
Output only. Identifier. The resource name of the tag template field in URL format. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
Note that this TagTemplateField may not actually be stored in the location in this name.
display_name
string
The display name for this field. Defaults to an empty string.
type
Required. The type of value this tag field can contain.
is_required
bool
Whether this is a required field. Defaults to false.
description
string
The description for this field. Defaults to an empty string.
order
int32
The order of this field with respect to other fields in this tag template. A higher value indicates a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential.
Taxonomy
A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data sensitivity taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data origin taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.
Fields | |
---|---|
name
|
Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}". |
display_name
|
Required. 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. The taxonomy display name must be unique within an organization. |
description
|
Optional. 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. |
policy_tag_count
|
Output only. Number of policy tags contained in this taxonomy. |
taxonomy_timestamps
|
Output only. Timestamps about this taxonomy. Only create_time and update_time are used. |
activated_policy_types[]
|
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. |
service
|
Output only. 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. |
PolicyType
Defines policy types where policy tag can be used for.
Enums | |
---|---|
POLICY_TYPE_UNSPECIFIED
|
Unspecified policy type. |
FINE_GRAINED_ACCESS_CONTROL
|
Fine grained access control policy, which enables access control on tagged resources. |
Service
The source system of the Taxonomy.
Fields | |
---|---|
name
|
The Google Cloud service name. |
identity
|
The service agent for the service. |
UpdateEntryGroupRequest
Request message for UpdateEntryGroup
.
Fields | |
---|---|
entry_group
|
Required. The updated entry group. "name" field must be set. |
update_mask
|
Names of fields whose values to overwrite on an entry group. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. |
UpdateEntryRequest
Request message for UpdateEntry
.
entry
Required. The updated entry. The "name" field must be set.
update_mask
Names of fields whose values to overwrite on an entry.
If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
The following fields are modifiable:
- For entries with type
DATA_STREAM
: -
schema
- For entries with type
FILESET
: -
schema
-
display_name
-
description
-
gcs_fileset_spec
-
gcs_fileset_spec.file_patterns
- For entries with
user_specified_type
: -
schema
-
display_name
-
description
-
user_specified_type
-
user_specified_system
-
linked_resource
-
source_system_timestamps
UpdatePolicyTagRequest
Request message for UpdatePolicyTag
.
policy_tag
update_mask
The update mask applies to the resource. Only display_name, description and parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not provided, all allowed fields (i.e. display_name, description and parent) will be updated. For more information including the FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
UpdateTagRequest
Request message for UpdateTag
.
Fields | |
---|---|
tag
|
Required. The updated tag. The "name" field must be set. |
update_mask
|
Note: Currently, this parameter can only take Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. |
UpdateTagTemplateFieldRequest
Request message for UpdateTagTemplateField
.
name
string
Required. The name of the tag template field. Example:
- projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
tag_template_field
Required. The template to update.
update_mask
Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
-
display_name
-
type.enum_type
-
is_required
If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed.
Additionally, updating a template field from optional to required is not allowed.
UpdateTagTemplateRequest
Request message for UpdateTagTemplate
.
Fields | |
---|---|
tag_template
|
Required. The template to update. The "name" field must be set. |
update_mask
|
Names of fields whose values to overwrite on a tag template. Currently, only In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. |
UpdateTaxonomyRequest
Request message for UpdateTaxonomy
.
taxonomy
update_mask
The update mask applies to the resource. For the FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
UsageSignal
The set of all usage signals that we store in Data Catalog.
Fields | |
---|---|
update_time
|
The timestamp of the end of the usage statistics duration. |
usage_within_time_range
|
Usage statistics over each of the pre-defined time ranges, supported strings for time ranges are {"24H", "7D", "30D"}. |
UsageStats
Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying-wildcard-tables
Fields | |
---|---|
total_completions
|
The number of times that the underlying entry was successfully used. |
total_failures
|
The number of times that the underlying entry was attempted to be used but failed. |
total_cancellations
|
The number of times that the underlying entry was attempted to be used but was cancelled by the user. |
total_execution_time_for_completions_millis
|
Total time spent (in milliseconds) during uses the resulted in completions. |
ViewSpec
Table view specification.
Fields | |
---|---|
view_query
|
Output only. The query that defines the table view. |