As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Types for Google Cloud Datacatalog v1 API

class google.cloud.datacatalog_v1.types.BigQueryConnectionSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification for the BigQuery connection.

connection_type

The type of the BigQuery connection.

Type

google.cloud.datacatalog_v1.types.BigQueryConnectionSpec.ConnectionType

cloud_sql

Specification for the BigQuery connection to a Cloud SQL instance.

This field is a member of oneof connection_spec.

Type

google.cloud.datacatalog_v1.types.CloudSqlBigQueryConnectionSpec

has_credential

True if there are credentials attached to the BigQuery connection; false otherwise.

Type

bool

class ConnectionType(value)[source]

Bases: proto.enums.Enum

The type of the BigQuery connection.

Values:
CONNECTION_TYPE_UNSPECIFIED (0):

Unspecified type.

CLOUD_SQL (1):

Cloud SQL connection.

class google.cloud.datacatalog_v1.types.BigQueryDateShardedSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification for a group of BigQuery tables with the [prefix]YYYYMMDD name pattern.

For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).

dataset

Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:

projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.

Type

str

table_prefix

Output only. The table name prefix of the shards.

The name of any given shard is [table_prefix]YYYYMMDD. For example, for the MyTable20180101 shard, the table_prefix is MyTable.

Type

str

shard_count

Output only. Total number of shards.

Type

int

latest_shard_resource

Output only. BigQuery resource name of the latest shard.

Type

str

class google.cloud.datacatalog_v1.types.BigQueryRoutineSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Fields specific for BigQuery routines.

imported_libraries

Paths of the imported libraries.

Type

MutableSequence[str]

class google.cloud.datacatalog_v1.types.BigQueryTableSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Describes a BigQuery table.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

table_source_type

Output only. The table source type.

Type

google.cloud.datacatalog_v1.types.TableSourceType

view_spec

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

This field is a member of oneof type_spec.

Type

google.cloud.datacatalog_v1.types.ViewSpec

table_spec

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

This field is a member of oneof type_spec.

Type

google.cloud.datacatalog_v1.types.TableSpec

class google.cloud.datacatalog_v1.types.BusinessContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Business Context of the entry.

entry_overview

Entry overview fields for rich text descriptions of entries.

Type

google.cloud.datacatalog_v1.types.EntryOverview

contacts

Contact people for the entry.

Type

google.cloud.datacatalog_v1.types.Contacts

class google.cloud.datacatalog_v1.types.CloudBigtableInstanceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to Instance entries that are part of CLOUD_BIGTABLE system. (user_specified_type)

cloud_bigtable_cluster_specs

The list of clusters for the Instance.

Type

MutableSequence[google.cloud.datacatalog_v1.types.CloudBigtableInstanceSpec.CloudBigtableClusterSpec]

class CloudBigtableClusterSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Spec that applies to clusters of an Instance of Cloud Bigtable.

display_name

Name of the cluster.

Type

str

location

Location of the cluster, typically a Cloud zone.

Type

str

type_

Type of the resource. For a cluster this would be “CLUSTER”.

Type

str

linked_resource

A link back to the parent resource, in this case Instance.

Type

str

class google.cloud.datacatalog_v1.types.CloudBigtableSystemSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to all entries that are part of CLOUD_BIGTABLE system (user_specified_type)

instance_display_name

Display name of the Instance. This is user specified and different from the resource name.

Type

str

class google.cloud.datacatalog_v1.types.CloudSqlBigQueryConnectionSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification for the BigQuery connection to a Cloud SQL instance.

instance_id

Cloud SQL instance ID in the format of project:location:instance.

Type

str

database

Database name.

Type

str

type_

Type of the Cloud SQL database.

Type

google.cloud.datacatalog_v1.types.CloudSqlBigQueryConnectionSpec.DatabaseType

class DatabaseType(value)[source]

Bases: proto.enums.Enum

Supported Cloud SQL database types.

Values:
DATABASE_TYPE_UNSPECIFIED (0):

Unspecified database type.

POSTGRES (1):

Cloud SQL for PostgreSQL.

MYSQL (2):

Cloud SQL for MySQL.

class google.cloud.datacatalog_v1.types.ColumnSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A column within a schema. Columns can be nested inside other columns.

column

Required. Name of the column.

Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.

Type

str

type_

Required. Type of the column.

Must be a UTF-8 string with the maximum size of 128 bytes.

Type

str

description

Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.

Type

str

mode

Optional. A column’s mode indicates whether values in this column are required, nullable, or repeated.

Only NULLABLE, REQUIRED, and REPEATED values are supported. Default mode is NULLABLE.

Type

str

default_value

Optional. Default value for the column.

Type

str

ordinal_position

Optional. Ordinal position

Type

int

highest_indexing_type

Optional. Most important inclusion of this column.

Type

google.cloud.datacatalog_v1.types.ColumnSchema.IndexingType

subcolumns

Optional. Schema of sub-columns. A column can have zero or more sub-columns.

Type

MutableSequence[google.cloud.datacatalog_v1.types.ColumnSchema]

looker_column_spec

Looker specific column info of this column.

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.ColumnSchema.LookerColumnSpec

gc_rule

Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.

Type

str

class IndexingType(value)[source]

Bases: proto.enums.Enum

Specifies inclusion of the column in an index

Values:
INDEXING_TYPE_UNSPECIFIED (0):

Unspecified.

INDEXING_TYPE_NONE (1):

Column not a part of an index.

INDEXING_TYPE_NON_UNIQUE (2):

Column Part of non unique index.

INDEXING_TYPE_UNIQUE (3):

Column part of unique index.

INDEXING_TYPE_PRIMARY_KEY (4):

Column part of the primary key.

class LookerColumnSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Column info specific to Looker System.

type_

Looker specific column type of this column.

Type

google.cloud.datacatalog_v1.types.ColumnSchema.LookerColumnSpec.LookerColumnType

class LookerColumnType(value)[source]

Bases: proto.enums.Enum

Column type in Looker.

Values:
LOOKER_COLUMN_TYPE_UNSPECIFIED (0):

Unspecified.

DIMENSION (1):

Dimension.

DIMENSION_GROUP (2):

Dimension group - parent for Dimension.

FILTER (3):

Filter.

MEASURE (4):

Measure.

PARAMETER (5):

Parameter.

class google.cloud.datacatalog_v1.types.CommonUsageStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Common statistics on the entry’s usage.

They can be set on any system.

view_count

View count in source system.

This field is a member of oneof _view_count.

Type

int

class google.cloud.datacatalog_v1.types.Contacts(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Contact people for the entry.

people

The list of contact people for the entry.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Contacts.Person]

class Person(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A contact person for the entry.

designation

Designation of the person, for example, Data Steward.

Type

str

email

Email of the person in the format of john.doe@xyz, <john.doe@xyz>, or John Doe<john.doe@xyz>.

Type

str

class google.cloud.datacatalog_v1.types.CreateEntryGroupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].

parent

Required. The names of the project and location that the new entry group belongs to.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

Type

str

entry_group_id

Required. The ID of the entry group to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

Type

str

entry_group

The entry group to create. Defaults to empty.

Type

google.cloud.datacatalog_v1.types.EntryGroup

class google.cloud.datacatalog_v1.types.CreateEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].

parent

Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.

Type

str

entry_id

Required. The ID of the entry to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

Type

str

entry

Required. The entry to create.

Type

google.cloud.datacatalog_v1.types.Entry

class google.cloud.datacatalog_v1.types.CreatePolicyTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].

parent

Required. Resource name of the taxonomy that the policy tag will belong to.

Type

str

policy_tag

The policy tag to create.

Type

google.cloud.datacatalog_v1.types.PolicyTag

class google.cloud.datacatalog_v1.types.CreateTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].

parent

Required. The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags.

Note: The tag and its child resources might not be stored in the location specified in its name.

Type

str

tag

Required. The tag to create.

Type

google.cloud.datacatalog_v1.types.Tag

class google.cloud.datacatalog_v1.types.CreateTagTemplateFieldRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].

parent

Required. The name of the project and the template location region.

Type

str

tag_template_field_id

Required. The ID of the tag template field to create.

Note: Adding a required field to an existing template is not allowed.

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.

Type

str

tag_template_field

Required. The tag template field to create.

Type

google.cloud.datacatalog_v1.types.TagTemplateField

class google.cloud.datacatalog_v1.types.CreateTagTemplateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].

parent

Required. The name of the project and the template location region.

Type

str

tag_template_id

Required. The ID of the tag template to create.

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

Type

str

tag_template

Required. The tag template to create.

Type

google.cloud.datacatalog_v1.types.TagTemplate

class google.cloud.datacatalog_v1.types.CreateTaxonomyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].

parent

Required. Resource name of the project that the taxonomy will belong to.

Type

str

taxonomy

The taxonomy to create.

Type

google.cloud.datacatalog_v1.types.Taxonomy

class google.cloud.datacatalog_v1.types.CrossRegionalSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Cross-regional source used to import an existing taxonomy into a different region.

taxonomy

Required. The resource name of the source taxonomy to import.

Type

str

class google.cloud.datacatalog_v1.types.DataSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Physical location of an entry.

service

Service that physically stores the data.

Type

google.cloud.datacatalog_v1.types.DataSource.Service

resource

Full name of a resource as defined by the service. For example:

//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}

Type

str

source_entry

Output only. Data Catalog entry name, if applicable.

Type

str

storage_properties

Detailed properties of the underlying storage.

This field is a member of oneof properties.

Type

google.cloud.datacatalog_v1.types.StorageProperties

class Service(value)[source]

Bases: proto.enums.Enum

Name of a service that stores the data.

Values:
SERVICE_UNSPECIFIED (0):

Default unknown service.

CLOUD_STORAGE (1):

Google Cloud Storage service.

BIGQUERY (2):

BigQuery service.

class google.cloud.datacatalog_v1.types.DataSourceConnectionSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type. Only one of internal specs can be set at the time, and cannot be changed later.

bigquery_connection_spec

Output only. Fields specific to BigQuery connections.

Type

google.cloud.datacatalog_v1.types.BigQueryConnectionSpec

class google.cloud.datacatalog_v1.types.DatabaseTableSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a table resource. Valid only for entries with the TABLE type.

type_

Type of this table.

Type

google.cloud.datacatalog_v1.types.DatabaseTableSpec.TableType

dataplex_table

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

Type

google.cloud.datacatalog_v1.types.DataplexTableSpec

database_view_spec

Spec what aplies to tables that are actually views. Not set for “real” tables.

Type

google.cloud.datacatalog_v1.types.DatabaseTableSpec.DatabaseViewSpec

class DatabaseViewSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to database view.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

view_type

Type of this view.

Type

google.cloud.datacatalog_v1.types.DatabaseTableSpec.DatabaseViewSpec.ViewType

base_table

Name of a singular table this view reflects one to one.

This field is a member of oneof source_definition.

Type

str

sql_query

SQL query used to generate this view.

This field is a member of oneof source_definition.

Type

str

class ViewType(value)[source]

Bases: proto.enums.Enum

Concrete type of the view.

Values:
VIEW_TYPE_UNSPECIFIED (0):

Default unknown view type.

STANDARD_VIEW (1):

Standard view.

MATERIALIZED_VIEW (2):

Materialized view.

class TableType(value)[source]

Bases: proto.enums.Enum

Type of the table.

Values:
TABLE_TYPE_UNSPECIFIED (0):

Default unknown table type.

NATIVE (1):

Native table.

EXTERNAL (2):

External table.

class google.cloud.datacatalog_v1.types.DataplexExternalTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

External table registered by Dataplex. Dataplex publishes data discovered from an asset into multiple other systems (BigQuery, DPMS) in form of tables. We call them “external tables”. External tables are also synced into the Data Catalog. This message contains pointers to those external tables (fully qualified name, resource name et cetera) within the Data Catalog.

system

Service in which the external table is registered.

Type

google.cloud.datacatalog_v1.types.IntegratedSystem

fully_qualified_name

Fully qualified name (FQN) of the external table.

Type

str

google_cloud_resource

Google Cloud resource name of the external table.

Type

str

data_catalog_entry

Name of the Data Catalog entry representing the external table.

Type

str

class google.cloud.datacatalog_v1.types.DataplexFilesetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry specyfication for a Dataplex fileset.

dataplex_spec

Common Dataplex fields.

Type

google.cloud.datacatalog_v1.types.DataplexSpec

class google.cloud.datacatalog_v1.types.DataplexSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Common Dataplex fields.

asset

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

Type

str

data_format

Format of the data.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema

compression_format

Compression format of the data, e.g., zip, gzip etc.

Type

str

project_id

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

Type

str

class google.cloud.datacatalog_v1.types.DataplexTableSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry specification for a Dataplex table.

external_tables

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

Type

MutableSequence[google.cloud.datacatalog_v1.types.DataplexExternalTable]

dataplex_spec

Common Dataplex fields.

Type

google.cloud.datacatalog_v1.types.DataplexSpec

user_managed

Indicates if the table schema is managed by the user or not.

Type

bool

class google.cloud.datacatalog_v1.types.DatasetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a dataset. Valid only for entries with the DATASET type.

vertex_dataset_spec

Vertex AI Dataset specific fields

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.VertexDatasetSpec

class google.cloud.datacatalog_v1.types.DeleteEntryGroupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].

name

Required. The name of the entry group to delete.

Type

str

force

Optional. If true, deletes all entries in the entry group.

Type

bool

class google.cloud.datacatalog_v1.types.DeleteEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].

name

Required. The name of the entry to delete.

Type

str

class google.cloud.datacatalog_v1.types.DeletePolicyTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].

name

Required. Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted.

Type

str

class google.cloud.datacatalog_v1.types.DeleteTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].

name

Required. The name of the tag to delete.

Type

str

class google.cloud.datacatalog_v1.types.DeleteTagTemplateFieldRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].

name

Required. The name of the tag template field to delete.

Type

str

force

Required. If true, deletes this field from any tags that use it.

Currently, true is the only supported value.

Type

bool

class google.cloud.datacatalog_v1.types.DeleteTagTemplateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].

name

Required. The name of the tag template to delete.

Type

str

force

Required. If true, deletes all tags that use this template.

Currently, true is the only supported value.

Type

bool

class google.cloud.datacatalog_v1.types.DeleteTaxonomyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].

name

Required. Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted.

Type

str

class google.cloud.datacatalog_v1.types.DumpItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Wrapper for any item that can be contained in the dump.

tagged_entry

Entry and its tags.

This field is a member of oneof item.

Type

google.cloud.datacatalog_v1.types.TaggedEntry

class google.cloud.datacatalog_v1.types.Entry(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry metadata. A Data Catalog entry represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or outside of it. You 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, for example, its schema. Additionally, you can attach flexible metadata to an entry in the form of a [Tag][google.cloud.datacatalog.v1.Tag].

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

name

Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name.

Type

str

linked_resource

The resource this metadata entry refers to.

For Google Cloud Platform resources, linked_resource is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the linked_resource for a table resource from BigQuery is:

//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}

Output only when the entry is one of the types in the EntryType enum.

For entries with a user_specified_type, this field is optional and defaults to an empty string.

The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.

Type

str

fully_qualified_name

Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries.

Type

str

type_

The type of the entry.

For details, see `EntryType <#entrytype>`__.

This field is a member of oneof entry_type.

Type

google.cloud.datacatalog_v1.types.EntryType

user_specified_type

Custom entry type that doesn’t match any of the values allowed for input and listed in the EntryType enum.

When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, my_special_type.

The user_specified_type string has the following limitations:

  • Is case insensitive.

  • Must begin with a letter or underscore.

  • Can only contain letters, numbers, and underscores.

  • Must be at least 1 character and at most 64 characters long.

This field is a member of oneof entry_type.

Type

str

integrated_system

Output only. Indicates the entry’s source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.

This field is a member of oneof system.

Type

google.cloud.datacatalog_v1.types.IntegratedSystem

user_specified_system

Indicates the entry’s source system that Data Catalog doesn’t automatically integrate with.

The user_specified_system string has the following limitations:

  • Is case insensitive.

  • Must begin with a letter or underscore.

  • Can only contain letters, numbers, and underscores.

  • Must be at least 1 character and at most 64 characters long.

This field is a member of oneof system.

Type

str

sql_database_system_spec

Specification that applies to a relational database system. Only settable when user_specified_system is equal to SQL_DATABASE

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.SqlDatabaseSystemSpec

looker_system_spec

Specification that applies to Looker sysstem. Only settable when user_specified_system is equal to LOOKER

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.LookerSystemSpec

cloud_bigtable_system_spec

Specification that applies to Cloud Bigtable system. Only settable when integrated_system is equal to CLOUD_BIGTABLE

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.CloudBigtableSystemSpec

gcs_fileset_spec

Specification that applies to a Cloud Storage fileset. Valid only for entries with the FILESET type.

This field is a member of oneof type_spec.

Type

google.cloud.datacatalog_v1.types.GcsFilesetSpec

bigquery_table_spec

Output only. Specification that applies to a BigQuery table. Valid only for entries with the TABLE type.

This field is a member of oneof type_spec.

Type

google.cloud.datacatalog_v1.types.BigQueryTableSpec

bigquery_date_sharded_spec

Output only. Specification for a group of BigQuery tables with the [prefix]YYYYMMDD name pattern.

For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).

This field is a member of oneof type_spec.

Type

google.cloud.datacatalog_v1.types.BigQueryDateShardedSpec

database_table_spec

Specification that applies to a table resource. Valid only for entries with the TABLE or EXPLORE type.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.DatabaseTableSpec

data_source_connection_spec

Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.DataSourceConnectionSpec

routine_spec

Specification that applies to a user-defined function or procedure. Valid only for entries with the ROUTINE type.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.RoutineSpec

dataset_spec

Specification that applies to a dataset.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.DatasetSpec

fileset_spec

Specification that applies to a fileset resource. Valid only for entries with the FILESET type.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.FilesetSpec

service_spec

Specification that applies to a Service resource.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.ServiceSpec

model_spec

Model specification.

This field is a member of oneof spec.

Type

google.cloud.datacatalog_v1.types.ModelSpec

display_name

Display name of an entry.

The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.

Type

str

description

Entry description that can consist of several sentences or paragraphs that describe entry contents.

The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.

Type

str

business_context

Business Context of the entry. Not supported for BigQuery datasets

Type

google.cloud.datacatalog_v1.types.BusinessContext

schema

Schema of the entry. An entry might not have any schema attached to it.

Type

google.cloud.datacatalog_v1.types.Schema

source_system_timestamps

Timestamps from the underlying resource, not from the Data Catalog entry.

Output only when the entry has a system listed in the IntegratedSystem enum. For entries with user_specified_system, this field is optional and defaults to an empty timestamp.

Type

google.cloud.datacatalog_v1.types.SystemTimestamps

usage_signal

Resource usage statistics.

Type

google.cloud.datacatalog_v1.types.UsageSignal

labels

Cloud labels attached to the entry.

In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system.

Type

MutableMapping[str, str]

data_source

Output only. Physical location of the entry.

Type

google.cloud.datacatalog_v1.types.DataSource

personal_details

Output only. Additional information related to the entry. Private to the current user.

Type

google.cloud.datacatalog_v1.types.PersonalDetails

class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datacatalog_v1.types.EntryGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry group metadata.

An EntryGroup resource represents a logical grouping of zero or more Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.

name

The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.

Type

str

display_name

A short name to identify the entry group, for example, “analytics data - jan 2011”. Default value is an empty string.

Type

str

description

Entry group description. Can consist of several sentences or paragraphs that describe the entry group contents. Default value is an empty string.

Type

str

data_catalog_timestamps

Output only. Timestamps of the entry group. Default value is empty.

Type

google.cloud.datacatalog_v1.types.SystemTimestamps

class google.cloud.datacatalog_v1.types.EntryOverview(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry overview fields for rich text descriptions of entries.

overview

Entry overview with support for rich text.

The overview must only contain Unicode characters, and should be formatted using HTML. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.

Type

str

class google.cloud.datacatalog_v1.types.EntryType(value)[source]

Bases: proto.enums.Enum

Metadata automatically ingested from Google Cloud resources like BigQuery tables or Pub/Sub topics always uses enum values from EntryType as the type of entry.

Other sources of metadata like Hive or Oracle databases can identify the type by either using one of the enum values from EntryType (for example, FILESET for a Cloud Storage fileset) or specifying a custom value using the `Entry <#resource:-entry>`__ field user_specified_type. For more information, see Surface files from Cloud Storage with fileset entries or Create custom entries for your data sources.

Values:
ENTRY_TYPE_UNSPECIFIED (0):

Default unknown type.

TABLE (2):

The entry type that has a GoogleSQL schema, including logical views.

MODEL (5):

The type of models.

For more information, see Supported models in BigQuery ML.

DATA_STREAM (3):

An entry type for streaming entries. For example, a Pub/Sub topic.

FILESET (4):

An entry type for a set of files or objects. For example, a Cloud Storage fileset.

CLUSTER (6):

A group of servers that work together. For example, a Kafka cluster.

DATABASE (7):

A database.

DATA_SOURCE_CONNECTION (8):

Connection to a data source. For example, a BigQuery connection.

ROUTINE (9):

Routine, for example, a BigQuery routine.

LAKE (10):

A Dataplex lake.

ZONE (11):

A Dataplex zone.

SERVICE (14):

A service, for example, a Dataproc Metastore service.

DATABASE_SCHEMA (15):

Schema within a relational database.

DASHBOARD (16):

A Dashboard, for example from Looker.

EXPLORE (17):

A Looker Explore.

For more information, see [Looker Explore API] (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore).

LOOK (18):

A Looker Look.

For more information, see [Looker Look API] (https://developers.looker.com/api/explorer/4.0/methods/Look).

class google.cloud.datacatalog_v1.types.ExportTaxonomiesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].

parent

Required. Resource name of the project that the exported taxonomies belong to.

Type

str

taxonomies

Required. Resource names of the taxonomies to export.

Type

MutableSequence[str]

serialized_taxonomies

Serialized export taxonomies that contain all the policy tags as nested protocol buffers.

This field is a member of oneof destination.

Type

bool

class google.cloud.datacatalog_v1.types.ExportTaxonomiesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].

taxonomies

List of taxonomies and policy tags as nested protocol buffers.

Type

MutableSequence[google.cloud.datacatalog_v1.types.SerializedTaxonomy]

class google.cloud.datacatalog_v1.types.FieldType(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

primitive_type

Primitive types, such as string, boolean, etc.

This field is a member of oneof type_decl.

Type

google.cloud.datacatalog_v1.types.FieldType.PrimitiveType

enum_type

An enum type.

This field is a member of oneof type_decl.

Type

google.cloud.datacatalog_v1.types.FieldType.EnumType

class EnumType(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

allowed_values

The set of allowed values for this enum.

This set must not be empty and can include up to 100 allowed values. The display names of the values in this set must not be empty and must be case-insensitively unique within this set.

The order of items in this set is preserved. This field can be used to create, remove, and reorder enum values. To rename enum values, use the RenameTagTemplateFieldEnumValue method.

Type

MutableSequence[google.cloud.datacatalog_v1.types.FieldType.EnumType.EnumValue]

class EnumValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

display_name

Required. The display name of the enum value. Must not be an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can’t start or end with spaces. The maximum length is 200 characters.

Type

str

class PrimitiveType(value)[source]

Bases: proto.enums.Enum

Values:
PRIMITIVE_TYPE_UNSPECIFIED (0):

The default invalid value for a type.

DOUBLE (1):

A double precision number.

STRING (2):

An UTF-8 string.

BOOL (3):

A boolean value.

TIMESTAMP (4):

A timestamp.

RICHTEXT (5):

A Richtext description.

class google.cloud.datacatalog_v1.types.FilesetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a fileset. Valid only for entries with the ‘FILESET’ type.

dataplex_fileset

Fields specific to a Dataplex fileset and present only in the Dataplex fileset entries.

Type

google.cloud.datacatalog_v1.types.DataplexFilesetSpec

class google.cloud.datacatalog_v1.types.GcsFileSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification of a single file in Cloud Storage.

file_path

Required. Full file path. Example: gs://bucket_name/a/b.txt.

Type

str

gcs_timestamps

Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.

Type

google.cloud.datacatalog_v1.types.SystemTimestamps

size_bytes

Output only. File size in bytes.

Type

int

class google.cloud.datacatalog_v1.types.GcsFilesetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Describes a Cloud Storage fileset entry.

file_patterns

Required. Patterns to identify a set of files in Google Cloud Storage.

For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).

Note: Currently, bucket wildcards are not supported.

Examples of valid file_patterns:

  • gs://bucket_name/dir/*: matches all files in bucket_name/dir directory

  • gs://bucket_name/dir/**: matches all files in bucket_name/dir and all subdirectories

  • gs://bucket_name/file*: matches files prefixed by file in bucket_name

  • gs://bucket_name/??.txt: matches files with two characters followed by .txt in bucket_name

  • gs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by .txt in bucket_name

  • gs://bucket_name/[a-m].txt: matches files that contain a, b, … or m followed by .txt in bucket_name

  • gs://bucket_name/a/*/b: matches all files in bucket_name that match the a/*/b pattern, such as a/c/b, a/d/b

  • gs://another_bucket/a.txt: matches gs://another_bucket/a.txt

You can combine wildcards to match complex sets of files, for example:

gs://bucket_name/[a-m]??.j*g

Type

MutableSequence[str]

sample_gcs_file_specs

Output only. Sample files contained in this fileset, not all files contained in this fileset are represented here.

Type

MutableSequence[google.cloud.datacatalog_v1.types.GcsFileSpec]

class google.cloud.datacatalog_v1.types.GetEntryGroupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].

name

Required. The name of the entry group to get.

Type

str

read_mask

The fields to return. If empty or omitted, all fields are returned.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.GetEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].

name

Required. The name of the entry to get.

Type

str

class google.cloud.datacatalog_v1.types.GetPolicyTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].

name

Required. Resource name of the policy tag.

Type

str

class google.cloud.datacatalog_v1.types.GetTagTemplateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].

name

Required. The name of the tag template to get.

Type

str

class google.cloud.datacatalog_v1.types.GetTaxonomyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].

name

Required. Resource name of the taxonomy to get.

Type

str

class google.cloud.datacatalog_v1.types.ImportEntriesMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Metadata message for [long-running operation][google.longrunning.Operation] returned by the [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries].

state

State of the import operation.

Type

google.cloud.datacatalog_v1.types.ImportEntriesMetadata.ImportState

errors

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

Type

MutableSequence[google.rpc.status_pb2.Status]

class ImportState(value)[source]

Bases: proto.enums.Enum

Enum holding possible states of the import operation.

Values:
IMPORT_STATE_UNSPECIFIED (0):

Default value. This value is unused.

IMPORT_QUEUED (1):

The dump with entries has been queued for import.

IMPORT_IN_PROGRESS (2):

The import of entries is in progress.

IMPORT_DONE (3):

The import of entries has been finished.

IMPORT_OBSOLETE (4):

The import of entries has been abandoned in favor of a newer request.

class google.cloud.datacatalog_v1.types.ImportEntriesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries] method.

parent

Required. Target entry group for ingested entries.

Type

str

gcs_bucket_path

Path to a Cloud Storage bucket that contains a dump ready for ingestion.

This field is a member of oneof source.

Type

str

job_id

Optional. (Optional) Dataplex task job id, if specified will be used as part of ImportEntries LRO ID

Type

str

class google.cloud.datacatalog_v1.types.ImportEntriesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [long-running operation][google.longrunning.Operation] returned by the [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries].

upserted_entries_count

Cumulative number of entries created and entries updated as a result of import operation.

This field is a member of oneof _upserted_entries_count.

Type

int

deleted_entries_count

Number of entries deleted as a result of import operation.

This field is a member of oneof _deleted_entries_count.

Type

int

class google.cloud.datacatalog_v1.types.ImportTaxonomiesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

parent

Required. Resource name of project that the imported taxonomies will belong to.

Type

str

inline_source

Inline source taxonomy to import.

This field is a member of oneof source.

Type

google.cloud.datacatalog_v1.types.InlineSource

cross_regional_source

Cross-regional source taxonomy to import.

This field is a member of oneof source.

Type

google.cloud.datacatalog_v1.types.CrossRegionalSource

class google.cloud.datacatalog_v1.types.ImportTaxonomiesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].

taxonomies

Imported taxonomies.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Taxonomy]

class google.cloud.datacatalog_v1.types.InlineSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Inline source containing taxonomies to import.

taxonomies

Required. Taxonomies to import.

Type

MutableSequence[google.cloud.datacatalog_v1.types.SerializedTaxonomy]

class google.cloud.datacatalog_v1.types.IntegratedSystem(value)[source]

Bases: proto.enums.Enum

This enum lists all the systems that Data Catalog integrates with.

Values:
INTEGRATED_SYSTEM_UNSPECIFIED (0):

Default unknown system.

BIGQUERY (1):

BigQuery.

CLOUD_PUBSUB (2):

Cloud Pub/Sub.

DATAPROC_METASTORE (3):

Dataproc Metastore.

DATAPLEX (4):

Dataplex.

CLOUD_SPANNER (6):

Cloud Spanner

CLOUD_BIGTABLE (7):

Cloud Bigtable

CLOUD_SQL (8):

Cloud Sql

LOOKER (9):

Looker

VERTEX_AI (10):

Vertex AI

class google.cloud.datacatalog_v1.types.ListEntriesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].

parent

Required. The name of the entry group that contains the entries to list. Can be provided in URL format.

Type

str

page_size

The maximum number of items to return. Default is 10. Maximum limit is 1000. Throws an invalid argument if page_size is more than 1000.

Type

int

page_token

Pagination token that specifies the next page to return. If empty, the first page is returned.

Type

str

read_mask

The fields to return for each entry. If empty or omitted, all fields are returned.

For example, to return a list of entries with only the name field, set read_mask to only one path with the name value.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.ListEntriesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].

entries

Entry details.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Entry]

next_page_token

Pagination token of the next results page. Empty if there are no more items in results.

Type

str

class google.cloud.datacatalog_v1.types.ListEntryGroupsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].

parent

Required. The name of the location that contains the entry groups to list. Can be provided as a URL.

Type

str

page_size

Optional. The maximum number of items to return.

Default is 10. Maximum limit is 1000. Throws an invalid argument if page_size is greater than 1000.

Type

int

page_token

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

Type

str

class google.cloud.datacatalog_v1.types.ListEntryGroupsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].

entry_groups

Entry group details.

Type

MutableSequence[google.cloud.datacatalog_v1.types.EntryGroup]

next_page_token

Pagination token to specify in the next call to retrieve the next page of results. Empty if there are no more items.

Type

str

class google.cloud.datacatalog_v1.types.ListPolicyTagsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].

parent

Required. Resource name of the taxonomy to list the policy tags of.

Type

str

page_size

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

Type

int

page_token

The pagination token of the next results page. If not set, returns the first page.

The token is returned in the response to a previous list request.

Type

str

class google.cloud.datacatalog_v1.types.ListPolicyTagsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].

policy_tags

The policy tags that belong to the taxonomy.

Type

MutableSequence[google.cloud.datacatalog_v1.types.PolicyTag]

next_page_token

Pagination token of the next results page. Empty if there are no more results in the list.

Type

str

class google.cloud.datacatalog_v1.types.ListTagsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].

parent

Required. The name of the Data Catalog resource to list the tags of.

The resource can be an [Entry][google.cloud.datacatalog.v1.Entry] or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup] (without /entries/{entries} at the end).

Type

str

page_size

The maximum number of tags to return. Default is 10. Maximum limit is 1000.

Type

int

page_token

Pagination token that specifies the next page to return. If empty, the first page is returned.

Type

str

class google.cloud.datacatalog_v1.types.ListTagsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].

tags

[Tag][google.cloud.datacatalog.v1.Tag] details.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Tag]

next_page_token

Pagination token of the next results page. Empty if there are no more items in results.

Type

str

class google.cloud.datacatalog_v1.types.ListTaxonomiesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].

parent

Required. Resource name of the project to list the taxonomies of.

Type

str

page_size

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

Type

int

page_token

The pagination token of the next results page. If not set, the first page is returned.

The token is returned in the response to a previous list request.

Type

str

filter

Supported field for filter is ‘service’ and value is ‘dataplex’. Eg: service=dataplex.

Type

str

class google.cloud.datacatalog_v1.types.ListTaxonomiesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].

taxonomies

Taxonomies that the project contains.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Taxonomy]

next_page_token

Pagination token of the next results page. Empty if there are no more results in the list.

Type

str

class google.cloud.datacatalog_v1.types.LookerSystemSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to entries that are part LOOKER system (user_specified_type)

parent_instance_id

ID of the parent Looker Instance. Empty if it does not exist. Example value: someinstance.looker.com

Type

str

parent_instance_display_name

Name of the parent Looker Instance. Empty if it does not exist.

Type

str

parent_model_id

ID of the parent Model. Empty if it does not exist.

Type

str

parent_model_display_name

Name of the parent Model. Empty if it does not exist.

Type

str

parent_view_id

ID of the parent View. Empty if it does not exist.

Type

str

parent_view_display_name

Name of the parent View. Empty if it does not exist.

Type

str

class google.cloud.datacatalog_v1.types.LookupEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

linked_resource

The full name of the Google Cloud Platform resource the Data Catalog entry represents. For more information, see [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name).

Full names are case-sensitive. For example:

  • //bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}

  • //pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}

This field is a member of oneof target_name.

Type

str

sql_resource

The SQL name of the entry. SQL names are case-sensitive.

Examples:

  • pubsub.topic.{PROJECT_ID}.{TOPIC_ID}

  • pubsub.topic.{PROJECT_ID}.`{TOPIC.ID.SEPARATED.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}

Identifiers (*_ID) should comply with the [Lexical structure in Standard SQL] (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).

This field is a member of oneof target_name.

Type

str

fully_qualified_name

Fully Qualified Name (FQN) of the resource.

FQNs take two forms:

  • For non-regionalized resources:

    {SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}

  • For regionalized resources:

    {SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}

Example for a DPMS table:

dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}

This field is a member of oneof target_name.

Type

str

project

Project where the lookup should be performed. Required to lookup entry that is not a part of DPMS or DATAPLEX integrated_system using its fully_qualified_name. Ignored in other cases.

Type

str

location

Location where the lookup should be performed. Required to lookup entry that is not a part of DPMS or DATAPLEX integrated_system using its fully_qualified_name. Ignored in other cases.

Type

str

class google.cloud.datacatalog_v1.types.ManagingSystem(value)[source]

Bases: proto.enums.Enum

This enum describes all the systems that manage Taxonomy and PolicyTag resources in DataCatalog.

Values:
MANAGING_SYSTEM_UNSPECIFIED (0):

Default value

MANAGING_SYSTEM_DATAPLEX (1):

Dataplex.

MANAGING_SYSTEM_OTHER (2):

Other

class google.cloud.datacatalog_v1.types.ModelSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a model. Valid only for entries with the MODEL type.

vertex_model_spec

Specification for vertex model resources.

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.VertexModelSpec

class google.cloud.datacatalog_v1.types.ModifyEntryContactsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].

name

Required. The full resource name of the entry.

Type

str

contacts

Required. The new value for the Contacts.

Type

google.cloud.datacatalog_v1.types.Contacts

class google.cloud.datacatalog_v1.types.ModifyEntryOverviewRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].

name

Required. The full resource name of the entry.

Type

str

entry_overview

Required. The new value for the Entry Overview.

Type

google.cloud.datacatalog_v1.types.EntryOverview

class google.cloud.datacatalog_v1.types.PersonalDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Entry metadata relevant only to the user and private to them.

starred

True if the entry is starred by the user; false otherwise.

Type

bool

star_time

Set if the entry is starred; unset otherwise.

Type

google.protobuf.timestamp_pb2.Timestamp

class google.cloud.datacatalog_v1.types.PhysicalSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

avro

Schema in Avro JSON format.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.AvroSchema

thrift

Schema in Thrift format.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.ThriftSchema

protobuf

Schema in protocol buffer format.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.ProtobufSchema

parquet

Marks a Parquet-encoded data source.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.ParquetSchema

orc

Marks an ORC-encoded data source.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.OrcSchema

csv

Marks a CSV-encoded data source.

This field is a member of oneof schema.

Type

google.cloud.datacatalog_v1.types.PhysicalSchema.CsvSchema

class AvroSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Schema in Avro JSON format.

text

JSON source of the Avro schema.

Type

str

class CsvSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Marks a CSV-encoded data source.

class OrcSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Marks an ORC-encoded data source.

class ParquetSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Marks a Parquet-encoded data source.

class ProtobufSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Schema in protocol buffer format.

text

Protocol buffer source of the schema.

Type

str

class ThriftSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Schema in Thrift format.

text

Thrift IDL source of the schema.

Type

str

class google.cloud.datacatalog_v1.types.PolicyTag(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Denotes one policy tag in a taxonomy, for example, SSN.

Policy tags can be defined in a hierarchy. For example:

+ Geolocation
  + LatLong
  + City
  + ZipCode

Where the “Geolocation” policy tag contains three children.

name

Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

Type

str

display_name

Required. User-defined name of this policy tag. The name can’t start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

Type

str

description

Description of this policy tag. 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.

Type

str

parent_policy_tag

Resource name of this policy tag’s parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string.

For example, for the “LatLong” policy tag in the example above, this field contains the resource name of the “Geolocation” policy tag, and, for “Geolocation”, this field is empty.

Type

str

child_policy_tags

Output only. Resource names of child policy tags of this policy tag.

Type

MutableSequence[str]

class google.cloud.datacatalog_v1.types.ReconcileTagsMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

[Long-running operation][google.longrunning.Operation] metadata message returned by the [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].

state

State of the reconciliation operation.

Type

google.cloud.datacatalog_v1.types.ReconcileTagsMetadata.ReconciliationState

errors

Maps the name of each tagged column (or empty string for a sole entry) to tagging operation [status][google.rpc.Status].

Type

MutableMapping[str, google.rpc.status_pb2.Status]

class ErrorsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class ReconciliationState(value)[source]

Bases: proto.enums.Enum

Enum holding possible states of the reconciliation operation.

Values:
RECONCILIATION_STATE_UNSPECIFIED (0):

Default value. This value is unused.

RECONCILIATION_QUEUED (1):

The reconciliation has been queued and awaits for execution.

RECONCILIATION_IN_PROGRESS (2):

The reconciliation is in progress.

RECONCILIATION_DONE (3):

The reconciliation has been finished.

class google.cloud.datacatalog_v1.types.ReconcileTagsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].

parent

Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.

Type

str

tag_template

Required. The name of the tag template, which is used for reconciliation.

Type

str

force_delete_missing

If set to true, deletes entry tags related to a tag template not listed in the tags source from an entry. If set to false, unlisted tags are retained.

Type

bool

tags

A list of tags to apply to an entry. A tag can specify a tag template, which must be the template specified in the ReconcileTagsRequest. The sole entry and each of its columns must be mentioned at most once.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Tag]

class google.cloud.datacatalog_v1.types.ReconcileTagsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

[Long-running operation][google.longrunning.Operation] response message returned by [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].

created_tags_count

Number of tags created in the request.

Type

int

updated_tags_count

Number of tags updated in the request.

Type

int

deleted_tags_count

Number of tags deleted in the request.

Type

int

class google.cloud.datacatalog_v1.types.RenameTagTemplateFieldEnumValueRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].

name

Required. The name of the enum field value.

Type

str

new_enum_value_display_name

Required. The new display name of the enum value. For example, my_new_enum_value.

Type

str

class google.cloud.datacatalog_v1.types.RenameTagTemplateFieldRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].

name

Required. The name of the tag template field.

Type

str

new_tag_template_field_id

Required. The new ID of this tag template field. For example, my_new_field.

Type

str

class google.cloud.datacatalog_v1.types.ReplaceTaxonomyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].

name

Required. Resource name of the taxonomy to update.

Type

str

serialized_taxonomy

Required. Taxonomy to update along with its child policy tags.

Type

google.cloud.datacatalog_v1.types.SerializedTaxonomy

class google.cloud.datacatalog_v1.types.RoutineSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a routine. Valid only for entries with the ROUTINE type.

routine_type

The type of the routine.

Type

google.cloud.datacatalog_v1.types.RoutineSpec.RoutineType

language

The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are:

  • SQL

  • JAVASCRIPT

Type

str

routine_arguments

Arguments of the routine.

Type

MutableSequence[google.cloud.datacatalog_v1.types.RoutineSpec.Argument]

return_type

Return type of the argument. The exact value depends on the source system and the language.

Type

str

definition_body

The body of the routine.

Type

str

bigquery_routine_spec

Fields specific for BigQuery routines.

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.BigQueryRoutineSpec

class Argument(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Input or output argument of a function or stored procedure.

name

The name of the argument. A return argument of a function might not have a name.

Type

str

mode

Specifies whether the argument is input or output.

Type

google.cloud.datacatalog_v1.types.RoutineSpec.Argument.Mode

type_

Type of the argument. The exact value depends on the source system and the language.

Type

str

class Mode(value)[source]

Bases: proto.enums.Enum

The input or output mode of the argument.

Values:
MODE_UNSPECIFIED (0):

Unspecified mode.

IN (1):

The argument is input-only.

OUT (2):

The argument is output-only.

INOUT (3):

The argument is both an input and an output.

class RoutineType(value)[source]

Bases: proto.enums.Enum

The fine-grained type of the routine.

Values:
ROUTINE_TYPE_UNSPECIFIED (0):

Unspecified type.

SCALAR_FUNCTION (1):

Non-builtin permanent scalar function.

PROCEDURE (2):

Stored procedure.

class google.cloud.datacatalog_v1.types.Schema(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.

columns

The unified GoogleSQL-like schema of columns.

The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels.

Type

MutableSequence[google.cloud.datacatalog_v1.types.ColumnSchema]

class google.cloud.datacatalog_v1.types.SearchCatalogRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].

scope

Required. The scope of this search request.

The scope is invalid if include_org_ids, include_project_ids are empty AND include_gcp_public_datasets is set to false. In this case, the request returns an error.

Type

google.cloud.datacatalog_v1.types.SearchCatalogRequest.Scope

query

Optional. The query string with a minimum of 3 characters and specific syntax. For more information, see Data Catalog search syntax.

An empty query string returns all data assets (in the specified scope) that you have access to.

A query string can be a simple xyz or qualified by predicates:

  • name:x

  • column:y

  • description:z

Type

str

page_size

Upper bound on the number of results you can get in a single response. Can’t be negative or 0, defaults to 10 in this case. The maximum number is 1000. If exceeded, throws an “invalid argument” exception.

Type

int

page_token

Optional. Pagination token that, if specified, returns the next page of search results. If empty, returns the first page.

This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token] field of the response to a previous [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog] call.

Type

str

order_by

Specifies the order of results.

Currently supported case-sensitive values are:

  • relevance that can only be descending

  • last_modified_timestamp [asc|desc] with descending (desc) as default

  • default that can only be descending

Search queries don’t guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries. If you are experiencing recall issues and you don’t have to fetch the results in any specific order, consider setting this parameter to default.

If this parameter is omitted, it defaults to the descending relevance.

Type

str

Optional. If set, use searchAll permission granted on organizations from include_org_ids and projects from include_project_ids instead of the fine grained per resource permissions when filtering the search results. The only allowed order_by criteria for admin_search mode is default. Using this flags guarantees a full recall of the search results.

Type

bool

class Scope(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The criteria that select the subspace used for query matching.

include_org_ids

The list of organization IDs to search within.

To find your organization ID, follow the steps from [Creating and managing organizations] (/resource-manager/docs/creating-managing-organization).

Type

MutableSequence[str]

include_project_ids

The list of project IDs to search within.

For more information on the distinction between project names, IDs, and numbers, see Projects.

Type

MutableSequence[str]

include_gcp_public_datasets

If true, include Google Cloud public datasets in search results. By default, they are excluded.

See Google Cloud Public Datasets for more information.

Type

bool

restricted_locations

Optional. The list of locations to search within. If empty, all locations are searched.

Returns an error if any location in the list isn’t one of the Supported regions.

If a location is unreachable, its name is returned in the SearchCatalogResponse.unreachable field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.

Type

MutableSequence[str]

starred_only

Optional. If true, search only among starred entries.

By default, all results are returned, starred or not.

Type

bool

include_public_tag_templates

Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.

Type

bool

class google.cloud.datacatalog_v1.types.SearchCatalogResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].

results

Search results.

Type

MutableSequence[google.cloud.datacatalog_v1.types.SearchCatalogResult]

total_size

The approximate total number of entries matched by the query.

Type

int

next_page_token

Pagination token that can be used in subsequent calls to retrieve the next page of results.

Type

str

unreachable

Unreachable locations. Search results don’t include data from those locations.

To get additional information on an error, repeat the search request and restrict it to specific locations by setting the SearchCatalogRequest.scope.restricted_locations parameter.

Type

MutableSequence[str]

class google.cloud.datacatalog_v1.types.SearchCatalogResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Result in the response to a search request.

Each result captures details of one entry that matches the search.

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

search_result_type

Type of the search result.

You can use this field to determine which get method to call to fetch the full resource.

Type

google.cloud.datacatalog_v1.types.SearchResultType

search_result_subtype

Sub-type of the search result.

A dot-delimited full type of the resource. The same type you specify in the type search predicate.

Examples: entry.table, entry.dataStream, tagTemplate.

Type

str

relative_resource_name

The relative 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}

Type

str

linked_resource

The full name of the Google Cloud resource the entry belongs to.

For more information, see [Full Resource Name] (/apis/design/resource_names#full_resource_name).

Example:

//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID

Type

str

modify_time

The last modification timestamp of the entry in the source system.

Type

google.protobuf.timestamp_pb2.Timestamp

integrated_system

Output only. The source system that Data Catalog automatically integrates with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.

This field is a member of oneof system.

Type

google.cloud.datacatalog_v1.types.IntegratedSystem

user_specified_system

Custom source system that you can manually integrate Data Catalog with.

This field is a member of oneof system.

Type

str

fully_qualified_name

Fully qualified name (FQN) of the resource.

FQNs take two forms:

  • For non-regionalized resources:

    {SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}

  • For regionalized resources:

    {SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}

Example for a DPMS table:

dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID

Type

str

display_name

The display name of the result.

Type

str

description

Entry description that can consist of several sentences or paragraphs that describe entry contents.

Type

str

class google.cloud.datacatalog_v1.types.SearchResultType(value)[source]

Bases: proto.enums.Enum

The resource types that can be returned in search results.

Values:
SEARCH_RESULT_TYPE_UNSPECIFIED (0):

Default unknown type.

ENTRY (1):

An [Entry][google.cloud.datacatalog.v1.Entry].

TAG_TEMPLATE (2):

A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].

ENTRY_GROUP (3):

An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].

class google.cloud.datacatalog_v1.types.SerializedPolicyTag(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A nested protocol buffer that represents a policy tag and all its descendants.

policy_tag

Resource name of the policy tag.

This field is ignored when calling ImportTaxonomies.

Type

str

display_name

Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.

Type

str

description

Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

Type

str

child_policy_tags

Children of the policy tag, if any.

Type

MutableSequence[google.cloud.datacatalog_v1.types.SerializedPolicyTag]

class google.cloud.datacatalog_v1.types.SerializedTaxonomy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.

display_name

Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

Type

str

description

Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

Type

str

policy_tags

Top level policy tags associated with the taxonomy, if any.

Type

MutableSequence[google.cloud.datacatalog_v1.types.SerializedPolicyTag]

activated_policy_types

A list of policy types that are activated per taxonomy.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Taxonomy.PolicyType]

class google.cloud.datacatalog_v1.types.ServiceSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to a Service resource. Valid only for entries with the SERVICE type.

cloud_bigtable_instance_spec

Specification that applies to Instance entries of CLOUD_BIGTABLE system.

This field is a member of oneof system_spec.

Type

google.cloud.datacatalog_v1.types.CloudBigtableInstanceSpec

class google.cloud.datacatalog_v1.types.SqlDatabaseSystemSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification that applies to entries that are part SQL_DATABASE system (user_specified_type)

sql_engine

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

Type

str

database_version

Version of the database engine.

Type

str

instance_host

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

Type

str

class google.cloud.datacatalog_v1.types.StarEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].

name

Required. The name of the entry to mark as starred.

Type

str

class google.cloud.datacatalog_v1.types.StarEntryResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry]. Empty for now

class google.cloud.datacatalog_v1.types.StorageProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Details the properties of the underlying storage.

file_pattern

Patterns to identify a set of files for this fileset.

Examples of a valid file_pattern:

  • gs://bucket_name/dir/*: matches all files in the bucket_name/dir directory

  • gs://bucket_name/dir/**: matches all files in the bucket_name/dir and all subdirectories recursively

  • gs://bucket_name/file*: matches files prefixed by file in bucket_name

  • gs://bucket_name/??.txt: matches files with two characters followed by .txt in bucket_name

  • gs://bucket_name/[aeiou].txt: matches files that contain a single vowel character followed by .txt in bucket_name

  • gs://bucket_name/[a-m].txt: matches files that contain a, b, … or m followed by .txt in bucket_name

  • gs://bucket_name/a/*/b: matches all files in bucket_name that match the a/*/b pattern, such as a/c/b, a/d/b

  • gs://another_bucket/a.txt: matches gs://another_bucket/a.txt

Type

MutableSequence[str]

file_type

File type in MIME format, for example, text/plain.

Type

str

class google.cloud.datacatalog_v1.types.SystemTimestamps(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Timestamps associated with this resource in a particular system.

create_time

Creation timestamp of the resource within the given system.

Type

google.protobuf.timestamp_pb2.Timestamp

update_time

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.

Type

google.protobuf.timestamp_pb2.Timestamp

expire_time

Output only. Expiration timestamp of the resource within the given system. Currently only applicable to BigQuery resources.

Type

google.protobuf.timestamp_pb2.Timestamp

class google.cloud.datacatalog_v1.types.TableSourceType(value)[source]

Bases: proto.enums.Enum

Table source type.

Values:
TABLE_SOURCE_TYPE_UNSPECIFIED (0):

Default unknown type.

BIGQUERY_VIEW (2):

Table view.

BIGQUERY_TABLE (5):

BigQuery native table.

BIGQUERY_MATERIALIZED_VIEW (7):

BigQuery materialized view.

class google.cloud.datacatalog_v1.types.TableSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Normal BigQuery table specification.

grouped_entry

Output only. If the table is date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field is the Data Catalog resource name of the date-sharded grouped entry. For example:

projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.

Otherwise, grouped_entry is empty.

Type

str

class google.cloud.datacatalog_v1.types.Tag(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Tags contain custom metadata and are attached to Data Catalog resources. Tags conform with the specification of their tag template.

See Data Catalog IAM for information on the permissions needed to create or view tags.

name

The resource name of the tag in URL format where tag ID is a system-generated identifier.

Note: The tag itself might not be stored in the location specified in its name.

Type

str

template

Required. The resource name of the tag template this tag uses. Example:

projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}

This field cannot be modified after creation.

Type

str

template_display_name

Output only. The display name of the tag template.

Type

str

column

Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema.

To attach a tag to a nested column, separate column names with a dot (.). Example: column.nested_column.

This field is a member of oneof scope.

Type

str

fields

Required. Maps the ID of a tag field to its value and additional information about that field.

Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields.

Type

MutableMapping[str, google.cloud.datacatalog_v1.types.TagField]

class FieldsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datacatalog_v1.types.TagField(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Contains the value and additional information on a field within a [Tag][google.cloud.datacatalog.v1.Tag].

This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

display_name

Output only. The display name of this field.

Type

str

double_value

The value of a tag field with a double type.

This field is a member of oneof kind.

Type

float

string_value

The value of a tag field with a string type.

The maximum length is 2000 UTF-8 characters.

This field is a member of oneof kind.

Type

str

bool_value

The value of a tag field with a boolean type.

This field is a member of oneof kind.

Type

bool

timestamp_value

The value of a tag field with a timestamp type.

This field is a member of oneof kind.

Type

google.protobuf.timestamp_pb2.Timestamp

enum_value

The value of a tag field with an enum type.

This value must be one of the allowed values listed in this enum.

This field is a member of oneof kind.

Type

google.cloud.datacatalog_v1.types.TagField.EnumValue

richtext_value

The value of a tag field with a rich text type. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB.

This field is a member of oneof kind.

Type

str

order

Output only. The order of this field with respect to other fields in this tag. Can be set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].

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 don’t have to be sequential.

Type

int

class EnumValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

An enum value.

display_name

The display name of the enum value.

Type

str

class google.cloud.datacatalog_v1.types.TagTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A tag template defines a tag that can have one or more typed fields.

The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.

name

The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.

Type

str

display_name

Display name for this template. Defaults to an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can’t start or end with spaces. The maximum length is 200 characters.

Type

str

is_publicly_readable

Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in [ListTags][google.cloud.datacatalog.v1.ListTags] API response.

Additionally, you can search for a public tag by value with a simple search query in addition to using a tag: predicate.

Type

bool

fields

Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields.

The keys to this map are tag template field IDs. The IDs have the following limitations:

  • Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_).

  • Must be at least 1 character and at most 64 characters long.

  • Must start with a letter or underscore.

Type

MutableMapping[str, google.cloud.datacatalog_v1.types.TagTemplateField]

class FieldsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datacatalog_v1.types.TagTemplateField(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The template for an individual field within a tag template.

name

Output only. The resource name of the tag template field in URL format. Example:

projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}

Note: The tag template field itself might not be stored in the location specified in its name.

The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 64 characters.

Type

str

display_name

The display name for this field. Defaults to an empty string.

The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can’t start or end with spaces. The maximum length is 200 characters.

Type

str

type_

Required. The type of value this tag field can contain.

Type

google.cloud.datacatalog_v1.types.FieldType

is_required

If true, this field is required. Defaults to false.

Type

bool

description

The description for this field. Defaults to an empty string.

Type

str

order

The order of this field with respect to other fields in this tag template.

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 don’t have to be sequential.

Type

int

class google.cloud.datacatalog_v1.types.TaggedEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Wrapper containing Entry and information about Tags that should and should not be attached to it.

v1_entry

Non-encrypted Data Catalog v1 Entry.

This field is a member of oneof entry.

Type

google.cloud.datacatalog_v1.types.Entry

present_tags

Optional. Tags that should be ingested into the Data Catalog. Caller should populate template name, column and fields.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Tag]

absent_tags

Optional. Tags that should be deleted from the Data Catalog. Caller should populate template name and column only.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Tag]

class google.cloud.datacatalog_v1.types.Taxonomy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

A taxonomy is a collection of hierarchical policy tags that classify data along a common axis.

For example, a “data sensitivity” taxonomy might contain the following policy tags:

+ PII
  + Account number
  + Age
  + SSN
  + Zipcode
+ Financials
  + Revenue

A “data origin” taxonomy might contain the following policy tags:

+ User data
+ Employee data
+ Partner data
+ Public data
name

Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.

Type

str

display_name

Required. 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.

Type

str

description

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.

Type

str

policy_tag_count

Output only. Number of policy tags in this taxonomy.

Type

int

taxonomy_timestamps

Output only. Creation and modification timestamps of this taxonomy.

Type

google.cloud.datacatalog_v1.types.SystemTimestamps

activated_policy_types

Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.

Type

MutableSequence[google.cloud.datacatalog_v1.types.Taxonomy.PolicyType]

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.

Type

google.cloud.datacatalog_v1.types.Taxonomy.Service

class PolicyType(value)[source]

Bases: proto.enums.Enum

Defines policy types where the policy tags can be used for.

Values:
POLICY_TYPE_UNSPECIFIED (0):

Unspecified policy type.

FINE_GRAINED_ACCESS_CONTROL (1):

Fine-grained access control policy that enables access control on tagged sub-resources.

class Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The source system of the Taxonomy.

name

The Google Cloud service name.

Type

google.cloud.datacatalog_v1.types.ManagingSystem

identity

The service agent for the service.

Type

str

class google.cloud.datacatalog_v1.types.UnstarEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].

name

Required. The name of the entry to mark as not starred.

Type

str

class google.cloud.datacatalog_v1.types.UnstarEntryResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Response message for [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry]. Empty for now

class google.cloud.datacatalog_v1.types.UpdateEntryGroupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].

entry_group

Required. Updates for the entry group. The name field must be set.

Type

google.cloud.datacatalog_v1.types.EntryGroup

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.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdateEntryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].

entry

Required. Updates for the entry. The name field must be set.

Type

google.cloud.datacatalog_v1.types.Entry

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.

You can modify only the fields listed below.

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

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdatePolicyTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].

policy_tag

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

Type

google.cloud.datacatalog_v1.types.PolicyTag

update_mask

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdateTagRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].

tag

Required. The updated tag. The “name” field must be set.

Type

google.cloud.datacatalog_v1.types.Tag

update_mask

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

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.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdateTagTemplateFieldRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].

name

Required. The name of the tag template field.

Type

str

tag_template_field

Required. The template to update.

Type

google.cloud.datacatalog_v1.types.TagTemplateField

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.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdateTagTemplateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].

tag_template

Required. The template to update. The name field must be set.

Type

google.cloud.datacatalog_v1.types.TagTemplate

update_mask

Names of fields whose values to overwrite on a tag template. Currently, only display_name and is_publicly_readable can be overwritten.

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.

Note: Updating the is_publicly_readable field may require up to 12 hours to take effect in search results.

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UpdateTaxonomyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Request message for [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].

taxonomy

The taxonomy to update. You can update only its description, display name, and activated policy types.

Type

google.cloud.datacatalog_v1.types.Taxonomy

update_mask

Specifies fields to update. If not set, defaults to all fields you can update.

For more information, see [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).

Type

google.protobuf.field_mask_pb2.FieldMask

class google.cloud.datacatalog_v1.types.UsageSignal(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

The set of all usage signals that Data Catalog stores.

Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.

update_time

The end timestamp of the duration of usage statistics.

Type

google.protobuf.timestamp_pb2.Timestamp

usage_within_time_range

Output only. BigQuery usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D"}.

Type

MutableMapping[str, google.cloud.datacatalog_v1.types.UsageStats]

common_usage_within_time_range

Common usage statistics over each of the predefined time ranges.

Supported time ranges are {"24H", "7D", "30D", "Lifetime"}.

Type

MutableMapping[str, google.cloud.datacatalog_v1.types.CommonUsageStats]

favorite_count

Favorite count in the source system.

This field is a member of oneof _favorite_count.

Type

int

class CommonUsageWithinTimeRangeEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class UsageWithinTimeRangeEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases: proto.message.Message

class google.cloud.datacatalog_v1.types.UsageStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Detailed statistics on the entry’s usage.

Usage statistics have the following limitations:

total_completions

The number of successful uses of the underlying entry.

Type

float

total_failures

The number of failed attempts to use the underlying entry.

Type

float

total_cancellations

The number of cancelled attempts to use the underlying entry.

Type

float

total_execution_time_for_completions_millis

Total time spent only on successful uses, in milliseconds.

Type

float

class google.cloud.datacatalog_v1.types.VertexDatasetSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification for vertex dataset resources.

data_item_count

The number of DataItems in this Dataset. Only apply for non-structured Dataset.

Type

int

data_type

Type of the dataset.

Type

google.cloud.datacatalog_v1.types.VertexDatasetSpec.DataType

class DataType(value)[source]

Bases: proto.enums.Enum

Type of data stored in the dataset.

Values:
DATA_TYPE_UNSPECIFIED (0):

Should not be used.

TABLE (1):

Structured data dataset.

IMAGE (2):

Image dataset which supports ImageClassification, ImageObjectDetection and ImageSegmentation problems.

TEXT (3):

Document dataset which supports TextClassification, TextExtraction and TextSentiment problems.

VIDEO (4):

Video dataset which supports VideoClassification, VideoObjectTracking and VideoActionRecognition problems.

CONVERSATION (5):

Conversation dataset which supports conversation problems.

TIME_SERIES (6):

TimeSeries dataset.

DOCUMENT (7):

Document dataset which supports DocumentAnnotation problems.

TEXT_TO_SPEECH (8):

TextToSpeech dataset which supports TextToSpeech problems.

TRANSLATION (9):

Translation dataset which supports Translation problems.

STORE_VISION (10):

Store Vision dataset which is used for HITL integration.

ENTERPRISE_KNOWLEDGE_GRAPH (11):

Enterprise Knowledge Graph dataset which is used for HITL labeling integration.

TEXT_PROMPT (12):

Text prompt dataset which supports Large Language Models.

class google.cloud.datacatalog_v1.types.VertexModelSourceInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Detail description of the source information of a Vertex model.

source_type

Type of the model source.

Type

google.cloud.datacatalog_v1.types.VertexModelSourceInfo.ModelSourceType

copy

If this Model is copy of another Model. If true then [source_type][google.cloud.datacatalog.v1.VertexModelSourceInfo.source_type] pertains to the original.

Type

bool

class ModelSourceType(value)[source]

Bases: proto.enums.Enum

Source of the model.

Values:
MODEL_SOURCE_TYPE_UNSPECIFIED (0):

Should not be used.

AUTOML (1):

The Model is uploaded by automl training pipeline.

CUSTOM (2):

The Model is uploaded by user or custom training pipeline.

BQML (3):

The Model is registered and sync’ed from BigQuery ML.

MODEL_GARDEN (4):

The Model is saved or tuned from Model Garden.

class google.cloud.datacatalog_v1.types.VertexModelSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Specification for vertex model resources.

version_id

The version ID of the model.

Type

str

version_aliases

User provided version aliases so that a model version can be referenced via alias

Type

MutableSequence[str]

version_description

The description of this version.

Type

str

vertex_model_source_info

Source of a Vertex model.

Type

google.cloud.datacatalog_v1.types.VertexModelSourceInfo

container_image_uri

URI of the Docker image to be used as the custom container for serving predictions.

Type

str

class google.cloud.datacatalog_v1.types.ViewSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Table view specification.

view_query

Output only. The query that defines the table view.

Type

str