datacatalog

package
Version: v0.0.0-...-00ab72f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BigQueryConnectionSpec_ConnectionType_name = map[int32]string{
		0: "CONNECTION_TYPE_UNSPECIFIED",
		1: "CLOUD_SQL",
	}
	BigQueryConnectionSpec_ConnectionType_value = map[string]int32{
		"CONNECTION_TYPE_UNSPECIFIED": 0,
		"CLOUD_SQL":                   1,
	}
)

Enum value maps for BigQueryConnectionSpec_ConnectionType.

View Source
var (
	CloudSqlBigQueryConnectionSpec_DatabaseType_name = map[int32]string{
		0: "DATABASE_TYPE_UNSPECIFIED",
		1: "POSTGRES",
		2: "MYSQL",
	}
	CloudSqlBigQueryConnectionSpec_DatabaseType_value = map[string]int32{
		"DATABASE_TYPE_UNSPECIFIED": 0,
		"POSTGRES":                  1,
		"MYSQL":                     2,
	}
)

Enum value maps for CloudSqlBigQueryConnectionSpec_DatabaseType.

View Source
var (
	IntegratedSystem_name = map[int32]string{
		0: "INTEGRATED_SYSTEM_UNSPECIFIED",
		1: "BIGQUERY",
		2: "CLOUD_PUBSUB",
		3: "DATAPROC_METASTORE",
	}
	IntegratedSystem_value = map[string]int32{
		"INTEGRATED_SYSTEM_UNSPECIFIED": 0,
		"BIGQUERY":                      1,
		"CLOUD_PUBSUB":                  2,
		"DATAPROC_METASTORE":            3,
	}
)

Enum value maps for IntegratedSystem.

View Source
var (
	DataSource_Service_name = map[int32]string{
		0: "SERVICE_UNSPECIFIED",
		1: "CLOUD_STORAGE",
		2: "BIGQUERY",
	}
	DataSource_Service_value = map[string]int32{
		"SERVICE_UNSPECIFIED": 0,
		"CLOUD_STORAGE":       1,
		"BIGQUERY":            2,
	}
)

Enum value maps for DataSource_Service.

View Source
var (
	EntryType_name = map[int32]string{
		0:  "ENTRY_TYPE_UNSPECIFIED",
		2:  "TABLE",
		5:  "MODEL",
		3:  "DATA_STREAM",
		4:  "FILESET",
		6:  "CLUSTER",
		7:  "DATABASE",
		8:  "DATA_SOURCE_CONNECTION",
		9:  "ROUTINE",
		14: "SERVICE",
	}
	EntryType_value = map[string]int32{
		"ENTRY_TYPE_UNSPECIFIED": 0,
		"TABLE":                  2,
		"MODEL":                  5,
		"DATA_STREAM":            3,
		"FILESET":                4,
		"CLUSTER":                6,
		"DATABASE":               7,
		"DATA_SOURCE_CONNECTION": 8,
		"ROUTINE":                9,
		"SERVICE":                14,
	}
)

Enum value maps for EntryType.

View Source
var (
	DatabaseTableSpec_TableType_name = map[int32]string{
		0: "TABLE_TYPE_UNSPECIFIED",
		1: "NATIVE",
		2: "EXTERNAL",
	}
	DatabaseTableSpec_TableType_value = map[string]int32{
		"TABLE_TYPE_UNSPECIFIED": 0,
		"NATIVE":                 1,
		"EXTERNAL":               2,
	}
)

Enum value maps for DatabaseTableSpec_TableType.

View Source
var (
	RoutineSpec_RoutineType_name = map[int32]string{
		0: "ROUTINE_TYPE_UNSPECIFIED",
		1: "SCALAR_FUNCTION",
		2: "PROCEDURE",
	}
	RoutineSpec_RoutineType_value = map[string]int32{
		"ROUTINE_TYPE_UNSPECIFIED": 0,
		"SCALAR_FUNCTION":          1,
		"PROCEDURE":                2,
	}
)

Enum value maps for RoutineSpec_RoutineType.

View Source
var (
	RoutineSpec_Argument_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "IN",
		2: "OUT",
		3: "INOUT",
	}
	RoutineSpec_Argument_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"IN":               1,
		"OUT":              2,
		"INOUT":            3,
	}
)

Enum value maps for RoutineSpec_Argument_Mode.

View Source
var (
	Taxonomy_PolicyType_name = map[int32]string{
		0: "POLICY_TYPE_UNSPECIFIED",
		1: "FINE_GRAINED_ACCESS_CONTROL",
	}
	Taxonomy_PolicyType_value = map[string]int32{
		"POLICY_TYPE_UNSPECIFIED":     0,
		"FINE_GRAINED_ACCESS_CONTROL": 1,
	}
)

Enum value maps for Taxonomy_PolicyType.

View Source
var (
	SearchResultType_name = map[int32]string{
		0: "SEARCH_RESULT_TYPE_UNSPECIFIED",
		1: "ENTRY",
		2: "TAG_TEMPLATE",
		3: "ENTRY_GROUP",
	}
	SearchResultType_value = map[string]int32{
		"SEARCH_RESULT_TYPE_UNSPECIFIED": 0,
		"ENTRY":                          1,
		"TAG_TEMPLATE":                   2,
		"ENTRY_GROUP":                    3,
	}
)

Enum value maps for SearchResultType.

View Source
var (
	TableSourceType_name = map[int32]string{
		0: "TABLE_SOURCE_TYPE_UNSPECIFIED",
		2: "BIGQUERY_VIEW",
		5: "BIGQUERY_TABLE",
		7: "BIGQUERY_MATERIALIZED_VIEW",
	}
	TableSourceType_value = map[string]int32{
		"TABLE_SOURCE_TYPE_UNSPECIFIED": 0,
		"BIGQUERY_VIEW":                 2,
		"BIGQUERY_TABLE":                5,
		"BIGQUERY_MATERIALIZED_VIEW":    7,
	}
)

Enum value maps for TableSourceType.

View Source
var (
	FieldType_PrimitiveType_name = map[int32]string{
		0: "PRIMITIVE_TYPE_UNSPECIFIED",
		1: "DOUBLE",
		2: "STRING",
		3: "BOOL",
		4: "TIMESTAMP",
		5: "RICHTEXT",
	}
	FieldType_PrimitiveType_value = map[string]int32{
		"PRIMITIVE_TYPE_UNSPECIFIED": 0,
		"DOUBLE":                     1,
		"STRING":                     2,
		"BOOL":                       3,
		"TIMESTAMP":                  4,
		"RICHTEXT":                   5,
	}
)

Enum value maps for FieldType_PrimitiveType.

View Source
var File_google_cloud_datacatalog_v1_bigquery_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_data_source_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_datacatalog_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_gcs_fileset_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_policytagmanager_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_policytagmanagerserialization_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_schema_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_search_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_table_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_tags_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_timestamps_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_usage_proto protoreflect.FileDescriptor

Functions

func RegisterDataCatalogServer

func RegisterDataCatalogServer(s *grpc.Server, srv DataCatalogServer)

func RegisterPolicyTagManagerSerializationServer

func RegisterPolicyTagManagerSerializationServer(s *grpc.Server, srv PolicyTagManagerSerializationServer)

func RegisterPolicyTagManagerServer

func RegisterPolicyTagManagerServer(s *grpc.Server, srv PolicyTagManagerServer)

Types

type BigQueryConnectionSpec

type BigQueryConnectionSpec struct {

	// The type of the BigQuery connection.
	ConnectionType BigQueryConnectionSpec_ConnectionType `` /* 175-byte string literal not displayed */
	// Types that are assignable to ConnectionSpec:
	//	*BigQueryConnectionSpec_CloudSql
	ConnectionSpec isBigQueryConnectionSpec_ConnectionSpec `protobuf_oneof:"connection_spec"`
	// True if there are credentials attached to the BigQuery connection; false
	// otherwise.
	HasCredential bool `protobuf:"varint,3,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"`
	// contains filtered or unexported fields
}

Specification for the BigQuery connection.

func (*BigQueryConnectionSpec) Descriptor deprecated

func (*BigQueryConnectionSpec) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryConnectionSpec.ProtoReflect.Descriptor instead.

func (*BigQueryConnectionSpec) GetCloudSql

func (*BigQueryConnectionSpec) GetConnectionSpec

func (m *BigQueryConnectionSpec) GetConnectionSpec() isBigQueryConnectionSpec_ConnectionSpec

func (*BigQueryConnectionSpec) GetConnectionType

func (*BigQueryConnectionSpec) GetHasCredential

func (x *BigQueryConnectionSpec) GetHasCredential() bool

func (*BigQueryConnectionSpec) ProtoMessage

func (*BigQueryConnectionSpec) ProtoMessage()

func (*BigQueryConnectionSpec) ProtoReflect

func (x *BigQueryConnectionSpec) ProtoReflect() protoreflect.Message

func (*BigQueryConnectionSpec) Reset

func (x *BigQueryConnectionSpec) Reset()

func (*BigQueryConnectionSpec) String

func (x *BigQueryConnectionSpec) String() string

type BigQueryConnectionSpec_CloudSql

type BigQueryConnectionSpec_CloudSql struct {
	// Specification for the BigQuery connection to a Cloud SQL instance.
	CloudSql *CloudSqlBigQueryConnectionSpec `protobuf:"bytes,2,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

type BigQueryConnectionSpec_ConnectionType

type BigQueryConnectionSpec_ConnectionType int32

The type of the BigQuery connection.

const (
	// Unspecified type.
	BigQueryConnectionSpec_CONNECTION_TYPE_UNSPECIFIED BigQueryConnectionSpec_ConnectionType = 0
	// Cloud SQL connection.
	BigQueryConnectionSpec_CLOUD_SQL BigQueryConnectionSpec_ConnectionType = 1
)

func (BigQueryConnectionSpec_ConnectionType) Descriptor

func (BigQueryConnectionSpec_ConnectionType) Enum

func (BigQueryConnectionSpec_ConnectionType) EnumDescriptor deprecated

func (BigQueryConnectionSpec_ConnectionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryConnectionSpec_ConnectionType.Descriptor instead.

func (BigQueryConnectionSpec_ConnectionType) Number

func (BigQueryConnectionSpec_ConnectionType) String

func (BigQueryConnectionSpec_ConnectionType) Type

type BigQueryDateShardedSpec

type BigQueryDateShardedSpec struct {

	// 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}`.
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// 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`.
	TablePrefix string `protobuf:"bytes,2,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`
	// Output only. Total number of shards.
	ShardCount int64 `protobuf:"varint,3,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
	// Output only. BigQuery resource name of the latest shard.
	LatestShardResource string `protobuf:"bytes,4,opt,name=latest_shard_resource,json=latestShardResource,proto3" json:"latest_shard_resource,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BigQueryDateShardedSpec) Descriptor deprecated

func (*BigQueryDateShardedSpec) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead.

func (*BigQueryDateShardedSpec) GetDataset

func (x *BigQueryDateShardedSpec) GetDataset() string

func (*BigQueryDateShardedSpec) GetLatestShardResource

func (x *BigQueryDateShardedSpec) GetLatestShardResource() string

func (*BigQueryDateShardedSpec) GetShardCount

func (x *BigQueryDateShardedSpec) GetShardCount() int64

func (*BigQueryDateShardedSpec) GetTablePrefix

func (x *BigQueryDateShardedSpec) GetTablePrefix() string

func (*BigQueryDateShardedSpec) ProtoMessage

func (*BigQueryDateShardedSpec) ProtoMessage()

func (*BigQueryDateShardedSpec) ProtoReflect

func (x *BigQueryDateShardedSpec) ProtoReflect() protoreflect.Message

func (*BigQueryDateShardedSpec) Reset

func (x *BigQueryDateShardedSpec) Reset()

func (*BigQueryDateShardedSpec) String

func (x *BigQueryDateShardedSpec) String() string

type BigQueryRoutineSpec

type BigQueryRoutineSpec struct {

	// Paths of the imported libraries.
	ImportedLibraries []string `protobuf:"bytes,1,rep,name=imported_libraries,json=importedLibraries,proto3" json:"imported_libraries,omitempty"`
	// contains filtered or unexported fields
}

Fields specific for BigQuery routines.

func (*BigQueryRoutineSpec) Descriptor deprecated

func (*BigQueryRoutineSpec) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryRoutineSpec.ProtoReflect.Descriptor instead.

func (*BigQueryRoutineSpec) GetImportedLibraries

func (x *BigQueryRoutineSpec) GetImportedLibraries() []string

func (*BigQueryRoutineSpec) ProtoMessage

func (*BigQueryRoutineSpec) ProtoMessage()

func (*BigQueryRoutineSpec) ProtoReflect

func (x *BigQueryRoutineSpec) ProtoReflect() protoreflect.Message

func (*BigQueryRoutineSpec) Reset

func (x *BigQueryRoutineSpec) Reset()

func (*BigQueryRoutineSpec) String

func (x *BigQueryRoutineSpec) String() string

type BigQueryTableSpec

type BigQueryTableSpec struct {

	// Output only. The table source type.
	TableSourceType TableSourceType `` /* 158-byte string literal not displayed */
	// Output only.
	//
	// Types that are assignable to TypeSpec:
	//	*BigQueryTableSpec_ViewSpec
	//	*BigQueryTableSpec_TableSpec
	TypeSpec isBigQueryTableSpec_TypeSpec `protobuf_oneof:"type_spec"`
	// contains filtered or unexported fields
}

Describes a BigQuery table.

func (*BigQueryTableSpec) Descriptor deprecated

func (*BigQueryTableSpec) Descriptor() ([]byte, []int)

Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.

func (*BigQueryTableSpec) GetTableSourceType

func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType

func (*BigQueryTableSpec) GetTableSpec

func (x *BigQueryTableSpec) GetTableSpec() *TableSpec

func (*BigQueryTableSpec) GetTypeSpec

func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec

func (*BigQueryTableSpec) GetViewSpec

func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec

func (*BigQueryTableSpec) ProtoMessage

func (*BigQueryTableSpec) ProtoMessage()

func (*BigQueryTableSpec) ProtoReflect

func (x *BigQueryTableSpec) ProtoReflect() protoreflect.Message

func (*BigQueryTableSpec) Reset

func (x *BigQueryTableSpec) Reset()

func (*BigQueryTableSpec) String

func (x *BigQueryTableSpec) String() string

type BigQueryTableSpec_TableSpec

type BigQueryTableSpec_TableSpec struct {
	// Specification of a BigQuery table. Populated only if
	// the `table_source_type` is `BIGQUERY_TABLE`.
	TableSpec *TableSpec `protobuf:"bytes,3,opt,name=table_spec,json=tableSpec,proto3,oneof"`
}

type BigQueryTableSpec_ViewSpec

type BigQueryTableSpec_ViewSpec struct {
	// Table view specification. Populated only if
	// the `table_source_type` is `BIGQUERY_VIEW`.
	ViewSpec *ViewSpec `protobuf:"bytes,2,opt,name=view_spec,json=viewSpec,proto3,oneof"`
}

type CloudSqlBigQueryConnectionSpec

type CloudSqlBigQueryConnectionSpec struct {

	// Cloud SQL instance ID in the format of `project:location:instance`.
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Database name.
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	// Type of the Cloud SQL database.
	Type CloudSqlBigQueryConnectionSpec_DatabaseType `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specification for the BigQuery connection to a Cloud SQL instance.

func (*CloudSqlBigQueryConnectionSpec) Descriptor deprecated

func (*CloudSqlBigQueryConnectionSpec) Descriptor() ([]byte, []int)

Deprecated: Use CloudSqlBigQueryConnectionSpec.ProtoReflect.Descriptor instead.

func (*CloudSqlBigQueryConnectionSpec) GetDatabase

func (x *CloudSqlBigQueryConnectionSpec) GetDatabase() string

func (*CloudSqlBigQueryConnectionSpec) GetInstanceId

func (x *CloudSqlBigQueryConnectionSpec) GetInstanceId() string

func (*CloudSqlBigQueryConnectionSpec) GetType

func (*CloudSqlBigQueryConnectionSpec) ProtoMessage

func (*CloudSqlBigQueryConnectionSpec) ProtoMessage()

func (*CloudSqlBigQueryConnectionSpec) ProtoReflect

func (*CloudSqlBigQueryConnectionSpec) Reset

func (x *CloudSqlBigQueryConnectionSpec) Reset()

func (*CloudSqlBigQueryConnectionSpec) String

type CloudSqlBigQueryConnectionSpec_DatabaseType

type CloudSqlBigQueryConnectionSpec_DatabaseType int32

Supported Cloud SQL database types.

const (
	// Unspecified database type.
	CloudSqlBigQueryConnectionSpec_DATABASE_TYPE_UNSPECIFIED CloudSqlBigQueryConnectionSpec_DatabaseType = 0
	// Cloud SQL for PostgreSQL.
	CloudSqlBigQueryConnectionSpec_POSTGRES CloudSqlBigQueryConnectionSpec_DatabaseType = 1
	// Cloud SQL for MySQL.
	CloudSqlBigQueryConnectionSpec_MYSQL CloudSqlBigQueryConnectionSpec_DatabaseType = 2
)

func (CloudSqlBigQueryConnectionSpec_DatabaseType) Descriptor

func (CloudSqlBigQueryConnectionSpec_DatabaseType) Enum

func (CloudSqlBigQueryConnectionSpec_DatabaseType) EnumDescriptor deprecated

func (CloudSqlBigQueryConnectionSpec_DatabaseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudSqlBigQueryConnectionSpec_DatabaseType.Descriptor instead.

func (CloudSqlBigQueryConnectionSpec_DatabaseType) Number

func (CloudSqlBigQueryConnectionSpec_DatabaseType) String

func (CloudSqlBigQueryConnectionSpec_DatabaseType) Type

type ColumnSchema

type ColumnSchema struct {

	// Required. Name of the column.
	//
	// Must be a UTF-8 string without dots (.).
	// The maximum size is 64 bytes.
	Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"`
	// Required. Type of the column.
	//
	// Must be a UTF-8 string with the maximum size of 128 bytes.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// 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.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// 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`.
	Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// Optional. Schema of sub-columns. A column can have zero or more sub-columns.
	Subcolumns []*ColumnSchema `protobuf:"bytes,7,rep,name=subcolumns,proto3" json:"subcolumns,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ColumnSchema) Descriptor deprecated

func (*ColumnSchema) Descriptor() ([]byte, []int)

Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.

func (*ColumnSchema) GetColumn

func (x *ColumnSchema) GetColumn() string

func (*ColumnSchema) GetDescription

func (x *ColumnSchema) GetDescription() string

func (*ColumnSchema) GetMode

func (x *ColumnSchema) GetMode() string

func (*ColumnSchema) GetSubcolumns

func (x *ColumnSchema) GetSubcolumns() []*ColumnSchema

func (*ColumnSchema) GetType

func (x *ColumnSchema) GetType() string

func (*ColumnSchema) ProtoMessage

func (*ColumnSchema) ProtoMessage()

func (*ColumnSchema) ProtoReflect

func (x *ColumnSchema) ProtoReflect() protoreflect.Message

func (*ColumnSchema) Reset

func (x *ColumnSchema) Reset()

func (*ColumnSchema) String

func (x *ColumnSchema) String() string

type CreateEntryGroupRequest

type CreateEntryGroupRequest struct {

	// 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.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	EntryGroupId string `protobuf:"bytes,3,opt,name=entry_group_id,json=entryGroupId,proto3" json:"entry_group_id,omitempty"`
	// The entry group to create. Defaults to empty.
	EntryGroup *EntryGroup `protobuf:"bytes,2,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateEntryGroupRequest) Descriptor deprecated

func (*CreateEntryGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryGroupRequest) GetEntryGroup

func (x *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*CreateEntryGroupRequest) GetEntryGroupId

func (x *CreateEntryGroupRequest) GetEntryGroupId() string

func (*CreateEntryGroupRequest) GetParent

func (x *CreateEntryGroupRequest) GetParent() string

func (*CreateEntryGroupRequest) ProtoMessage

func (*CreateEntryGroupRequest) ProtoMessage()

func (*CreateEntryGroupRequest) ProtoReflect

func (x *CreateEntryGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateEntryGroupRequest) Reset

func (x *CreateEntryGroupRequest) Reset()

func (*CreateEntryGroupRequest) String

func (x *CreateEntryGroupRequest) String() string

type CreateEntryRequest

type CreateEntryRequest struct {

	// 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.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	EntryId string `protobuf:"bytes,3,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
	// Required. The entry to create.
	Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateEntryRequest) Descriptor deprecated

func (*CreateEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetEntry

func (x *CreateEntryRequest) GetEntry() *Entry

func (*CreateEntryRequest) GetEntryId

func (x *CreateEntryRequest) GetEntryId() string

func (*CreateEntryRequest) GetParent

func (x *CreateEntryRequest) GetParent() string

func (*CreateEntryRequest) ProtoMessage

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect

func (x *CreateEntryRequest) ProtoReflect() protoreflect.Message

func (*CreateEntryRequest) Reset

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String

func (x *CreateEntryRequest) String() string

type CreatePolicyTagRequest

type CreatePolicyTagRequest struct {

	// Required. Resource name of the taxonomy that the policy tag will belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The policy tag to create.
	PolicyTag *PolicyTag `protobuf:"bytes,2,opt,name=policy_tag,json=policyTag,proto3" json:"policy_tag,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreatePolicyTagRequest) Descriptor deprecated

func (*CreatePolicyTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyTagRequest) GetParent

func (x *CreatePolicyTagRequest) GetParent() string

func (*CreatePolicyTagRequest) GetPolicyTag

func (x *CreatePolicyTagRequest) GetPolicyTag() *PolicyTag

func (*CreatePolicyTagRequest) ProtoMessage

func (*CreatePolicyTagRequest) ProtoMessage()

func (*CreatePolicyTagRequest) ProtoReflect

func (x *CreatePolicyTagRequest) ProtoReflect() protoreflect.Message

func (*CreatePolicyTagRequest) Reset

func (x *CreatePolicyTagRequest) Reset()

func (*CreatePolicyTagRequest) String

func (x *CreatePolicyTagRequest) String() string

type CreateTagRequest

type CreateTagRequest struct {

	// 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.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The tag to create.
	Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagRequest) Descriptor deprecated

func (*CreateTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

func (x *CreateTagRequest) ProtoReflect() protoreflect.Message

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type CreateTagTemplateFieldRequest

type CreateTagTemplateFieldRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	TagTemplateFieldId string `protobuf:"bytes,2,opt,name=tag_template_field_id,json=tagTemplateFieldId,proto3" json:"tag_template_field_id,omitempty"`
	// Required. The tag template field to create.
	TagTemplateField *TagTemplateField `protobuf:"bytes,3,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagTemplateFieldRequest) Descriptor deprecated

func (*CreateTagTemplateFieldRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateFieldRequest) GetParent

func (x *CreateTagTemplateFieldRequest) GetParent() string

func (*CreateTagTemplateFieldRequest) GetTagTemplateField

func (x *CreateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*CreateTagTemplateFieldRequest) GetTagTemplateFieldId

func (x *CreateTagTemplateFieldRequest) GetTagTemplateFieldId() string

func (*CreateTagTemplateFieldRequest) ProtoMessage

func (*CreateTagTemplateFieldRequest) ProtoMessage()

func (*CreateTagTemplateFieldRequest) ProtoReflect

func (*CreateTagTemplateFieldRequest) Reset

func (x *CreateTagTemplateFieldRequest) Reset()

func (*CreateTagTemplateFieldRequest) String

type CreateTagTemplateRequest

type CreateTagTemplateRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	TagTemplateId string `protobuf:"bytes,3,opt,name=tag_template_id,json=tagTemplateId,proto3" json:"tag_template_id,omitempty"`
	// Required. The tag template to create.
	TagTemplate *TagTemplate `protobuf:"bytes,2,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagTemplateRequest) Descriptor deprecated

func (*CreateTagTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateRequest) GetParent

func (x *CreateTagTemplateRequest) GetParent() string

func (*CreateTagTemplateRequest) GetTagTemplate

func (x *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*CreateTagTemplateRequest) GetTagTemplateId

func (x *CreateTagTemplateRequest) GetTagTemplateId() string

func (*CreateTagTemplateRequest) ProtoMessage

func (*CreateTagTemplateRequest) ProtoMessage()

func (*CreateTagTemplateRequest) ProtoReflect

func (x *CreateTagTemplateRequest) ProtoReflect() protoreflect.Message

func (*CreateTagTemplateRequest) Reset

func (x *CreateTagTemplateRequest) Reset()

func (*CreateTagTemplateRequest) String

func (x *CreateTagTemplateRequest) String() string

type CreateTaxonomyRequest

type CreateTaxonomyRequest struct {

	// Required. Resource name of the project that the taxonomy will belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The taxonomy to create.
	Taxonomy *Taxonomy `protobuf:"bytes,2,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTaxonomyRequest) Descriptor deprecated

func (*CreateTaxonomyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*CreateTaxonomyRequest) GetParent

func (x *CreateTaxonomyRequest) GetParent() string

func (*CreateTaxonomyRequest) GetTaxonomy

func (x *CreateTaxonomyRequest) GetTaxonomy() *Taxonomy

func (*CreateTaxonomyRequest) ProtoMessage

func (*CreateTaxonomyRequest) ProtoMessage()

func (*CreateTaxonomyRequest) ProtoReflect

func (x *CreateTaxonomyRequest) ProtoReflect() protoreflect.Message

func (*CreateTaxonomyRequest) Reset

func (x *CreateTaxonomyRequest) Reset()

func (*CreateTaxonomyRequest) String

func (x *CreateTaxonomyRequest) String() string

type CrossRegionalSource

type CrossRegionalSource struct {

	// Required. The resource name of the source taxonomy to import.
	Taxonomy string `protobuf:"bytes,1,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CrossRegionalSource) Descriptor deprecated

func (*CrossRegionalSource) Descriptor() ([]byte, []int)

Deprecated: Use CrossRegionalSource.ProtoReflect.Descriptor instead.

func (*CrossRegionalSource) GetTaxonomy

func (x *CrossRegionalSource) GetTaxonomy() string

func (*CrossRegionalSource) ProtoMessage

func (*CrossRegionalSource) ProtoMessage()

func (*CrossRegionalSource) ProtoReflect

func (x *CrossRegionalSource) ProtoReflect() protoreflect.Message

func (*CrossRegionalSource) Reset

func (x *CrossRegionalSource) Reset()

func (*CrossRegionalSource) String

func (x *CrossRegionalSource) String() string

type DataCatalogClient

type DataCatalogClient interface {
	// Searches Data Catalog for multiple resources like entries and tags that
	// match a query.
	//
	// This is a [Custom Method]
	// (https://cloud.google.com/apis/design/custom_methods) that doesn't return
	// all information on a resource, only its ID and high level fields. To get
	// more information, you can subsequently call specific get methods.
	//
	// Note: Data Catalog 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.
	//
	// For more information, see [Data Catalog search syntax]
	// (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
	SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error)
	// Creates an entry group.
	//
	// An entry group contains logically related entries together with [Cloud
	// Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
	// These policies specify users who can create, edit, and view entries
	// within entry groups.
	//
	// Data Catalog automatically creates entry groups with names that start with
	// the `@` symbol for the following resources:
	//
	// * BigQuery entries (`@bigquery`)
	// * Pub/Sub topics (`@pubsub`)
	// * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
	//
	// You can create your own entry groups for Cloud Storage fileset entries
	// and custom entries together with the corresponding IAM policies.
	// User-created entry groups can't contain the `@` symbol, it is reserved
	// for automatically created groups.
	//
	// Entry groups, like entries, can be searched.
	//
	// A maximum of 10,000 entry groups may be created per organization across all
	// locations.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Gets an entry group.
	GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Updates an entry group.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `entry_group.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateEntryGroup(ctx context.Context, in *UpdateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Deletes an entry group.
	//
	// You must enable the Data Catalog API in the project
	// identified by the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists entry groups.
	ListEntryGroups(ctx context.Context, in *ListEntryGroupsRequest, opts ...grpc.CallOption) (*ListEntryGroupsResponse, error)
	// Creates an entry.
	//
	// You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
	// or custom types. Data Catalog automatically creates entries with other
	// types during metadata ingestion from integrated systems.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	//
	// An entry group can have a maximum of 100,000 entries.
	CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Updates an existing entry.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `entry.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Deletes an existing entry.
	//
	// You can delete only the entries created by the
	// [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
	// method.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Gets an entry.
	GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Gets an entry by its target resource name.
	//
	// The resource name comes from the source Google Cloud Platform service.
	LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Lists entries.
	//
	// Note: Currently, this method can list only custom entries.
	// To get a list of both custom and automatically created entries, use
	// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
	ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
	// Creates a tag template.
	//
	// You must enable the Data Catalog API in the project identified by the
	// `parent` parameter.
	// For more information, see [Data Catalog resource project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateTagTemplate(ctx context.Context, in *CreateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error)
	// Gets a tag template.
	GetTagTemplate(ctx context.Context, in *GetTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error)
	// Updates a tag template.
	//
	// You can't update template fields with this method. These fields are
	// separate resources with their own create, update, and delete methods.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `tag_template.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error)
	// Deletes a tag template and all tags that use it.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a field in a tag template.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Updates a field in a tag template.
	//
	// You can't update the field type with this method.
	//
	// You must enable the Data Catalog API in the project
	// identified by the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Renames a field in a tag template.
	//
	// You must enable the Data Catalog API in the project identified by the
	// `name` parameter. For more information, see [Data Catalog resource project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Renames an enum value in a tag template.
	//
	// Within a single enum field, enum values must be unique.
	RenameTagTemplateFieldEnumValue(ctx context.Context, in *RenameTagTemplateFieldEnumValueRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Deletes a field in a tag template and all uses of this field from the tags
	// based on this template.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a tag and assigns it to:
	//
	// * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
	//   `projects.locations.entryGroups.entries.tags.create`.
	// * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
	//   name is `projects.locations.entryGroups.tags.create`.
	//
	// Note: The project identified by the `parent` parameter for the [tag]
	// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the [tag template]
	// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be in the same organization.
	CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error)
	// Updates an existing tag.
	UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error)
	// Deletes a tag.
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
	ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
	// Sets an access control policy for a resource. Replaces any existing
	// policy.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method sets policies only within Data Catalog and can't be
	// used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
	// external Google Cloud Platform resources synced with the Data Catalog.
	//
	// To call this method, you must have the following Google IAM permissions:
	//
	// - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
	//   templates.
	// - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Gets the access control policy for a resource.
	//
	// May return:
	//
	// * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
	//   permission to view it.
	// * An empty policy if the resource exists but doesn't have a set policy.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method doesn't get policies from Google Cloud Platform
	// resources ingested into Data Catalog.
	//
	// To call this method, you must have the following Google IAM permissions:
	//
	// - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
	//   templates.
	// - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Gets your permissions on a resource.
	//
	// Returns an empty set of permissions if the resource doesn't exist.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method gets policies only within Data Catalog and can't be
	// used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
	// external Google Cloud Platform resources ingested into Data Catalog.
	//
	// No Google IAM permissions are required to call this method.
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

DataCatalogClient is the client API for DataCatalog service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DataCatalogServer

type DataCatalogServer interface {
	// Searches Data Catalog for multiple resources like entries and tags that
	// match a query.
	//
	// This is a [Custom Method]
	// (https://cloud.google.com/apis/design/custom_methods) that doesn't return
	// all information on a resource, only its ID and high level fields. To get
	// more information, you can subsequently call specific get methods.
	//
	// Note: Data Catalog 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.
	//
	// For more information, see [Data Catalog search syntax]
	// (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
	SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error)
	// Creates an entry group.
	//
	// An entry group contains logically related entries together with [Cloud
	// Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
	// These policies specify users who can create, edit, and view entries
	// within entry groups.
	//
	// Data Catalog automatically creates entry groups with names that start with
	// the `@` symbol for the following resources:
	//
	// * BigQuery entries (`@bigquery`)
	// * Pub/Sub topics (`@pubsub`)
	// * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
	//
	// You can create your own entry groups for Cloud Storage fileset entries
	// and custom entries together with the corresponding IAM policies.
	// User-created entry groups can't contain the `@` symbol, it is reserved
	// for automatically created groups.
	//
	// Entry groups, like entries, can be searched.
	//
	// A maximum of 10,000 entry groups may be created per organization across all
	// locations.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error)
	// Gets an entry group.
	GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error)
	// Updates an entry group.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `entry_group.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error)
	// Deletes an entry group.
	//
	// You must enable the Data Catalog API in the project
	// identified by the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error)
	// Lists entry groups.
	ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error)
	// Creates an entry.
	//
	// You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
	// or custom types. Data Catalog automatically creates entries with other
	// types during metadata ingestion from integrated systems.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	//
	// An entry group can have a maximum of 100,000 entries.
	CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error)
	// Updates an existing entry.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `entry.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error)
	// Deletes an existing entry.
	//
	// You can delete only the entries created by the
	// [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
	// method.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error)
	// Gets an entry.
	GetEntry(context.Context, *GetEntryRequest) (*Entry, error)
	// Gets an entry by its target resource name.
	//
	// The resource name comes from the source Google Cloud Platform service.
	LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error)
	// Lists entries.
	//
	// Note: Currently, this method can list only custom entries.
	// To get a list of both custom and automatically created entries, use
	// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
	ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
	// Creates a tag template.
	//
	// You must enable the Data Catalog API in the project identified by the
	// `parent` parameter.
	// For more information, see [Data Catalog resource project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error)
	// Gets a tag template.
	GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error)
	// Updates a tag template.
	//
	// You can't update template fields with this method. These fields are
	// separate resources with their own create, update, and delete methods.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `tag_template.name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error)
	// Deletes a tag template and all tags that use it.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error)
	// Creates a field in a tag template.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `parent` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error)
	// Updates a field in a tag template.
	//
	// You can't update the field type with this method.
	//
	// You must enable the Data Catalog API in the project
	// identified by the `name` parameter. For more information, see [Data Catalog
	// resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error)
	// Renames a field in a tag template.
	//
	// You must enable the Data Catalog API in the project identified by the
	// `name` parameter. For more information, see [Data Catalog resource project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error)
	// Renames an enum value in a tag template.
	//
	// Within a single enum field, enum values must be unique.
	RenameTagTemplateFieldEnumValue(context.Context, *RenameTagTemplateFieldEnumValueRequest) (*TagTemplateField, error)
	// Deletes a field in a tag template and all uses of this field from the tags
	// based on this template.
	//
	// You must enable the Data Catalog API in the project identified by
	// the `name` parameter. For more information, see [Data Catalog resource
	// project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
	DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error)
	// Creates a tag and assigns it to:
	//
	// * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
	//   `projects.locations.entryGroups.entries.tags.create`.
	// * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
	//   name is `projects.locations.entryGroups.tags.create`.
	//
	// Note: The project identified by the `parent` parameter for the [tag]
	// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the [tag template]
	// (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be in the same organization.
	CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
	// Updates an existing tag.
	UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
	// Deletes a tag.
	DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
	// Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
	ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
	// Sets an access control policy for a resource. Replaces any existing
	// policy.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method sets policies only within Data Catalog and can't be
	// used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
	// external Google Cloud Platform resources synced with the Data Catalog.
	//
	// To call this method, you must have the following Google IAM permissions:
	//
	// - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
	//   templates.
	// - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Gets the access control policy for a resource.
	//
	// May return:
	//
	// * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
	//   permission to view it.
	// * An empty policy if the resource exists but doesn't have a set policy.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method doesn't get policies from Google Cloud Platform
	// resources ingested into Data Catalog.
	//
	// To call this method, you must have the following Google IAM permissions:
	//
	// - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
	//   templates.
	// - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Gets your permissions on a resource.
	//
	// Returns an empty set of permissions if the resource doesn't exist.
	//
	// Supported resources are:
	//
	// - Tag templates
	// - Entry groups
	//
	// Note: This method gets policies only within Data Catalog and can't be
	// used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
	// external Google Cloud Platform resources ingested into Data Catalog.
	//
	// No Google IAM permissions are required to call this method.
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

DataCatalogServer is the server API for DataCatalog service.

type DataSource

type DataSource struct {

	// Service that physically stores the data.
	Service DataSource_Service `protobuf:"varint,1,opt,name=service,proto3,enum=google.cloud.datacatalog.v1.DataSource_Service" json:"service,omitempty"`
	// 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}`
	Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Physical location of an entry.

func (*DataSource) Descriptor deprecated

func (*DataSource) Descriptor() ([]byte, []int)

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetResource

func (x *DataSource) GetResource() string

func (*DataSource) GetService

func (x *DataSource) GetService() DataSource_Service

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect

func (x *DataSource) ProtoReflect() protoreflect.Message

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

type DataSourceConnectionSpec

type DataSourceConnectionSpec struct {

	// Fields specific to BigQuery connections.
	BigqueryConnectionSpec *BigQueryConnectionSpec `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*DataSourceConnectionSpec) Descriptor deprecated

func (*DataSourceConnectionSpec) Descriptor() ([]byte, []int)

Deprecated: Use DataSourceConnectionSpec.ProtoReflect.Descriptor instead.

func (*DataSourceConnectionSpec) GetBigqueryConnectionSpec

func (x *DataSourceConnectionSpec) GetBigqueryConnectionSpec() *BigQueryConnectionSpec

func (*DataSourceConnectionSpec) ProtoMessage

func (*DataSourceConnectionSpec) ProtoMessage()

func (*DataSourceConnectionSpec) ProtoReflect

func (x *DataSourceConnectionSpec) ProtoReflect() protoreflect.Message

func (*DataSourceConnectionSpec) Reset

func (x *DataSourceConnectionSpec) Reset()

func (*DataSourceConnectionSpec) String

func (x *DataSourceConnectionSpec) String() string

type DataSource_Service

type DataSource_Service int32

Name of a service that stores the data.

const (
	// Default unknown service.
	DataSource_SERVICE_UNSPECIFIED DataSource_Service = 0
	// Google Cloud Storage service.
	DataSource_CLOUD_STORAGE DataSource_Service = 1
	// BigQuery service.
	DataSource_BIGQUERY DataSource_Service = 2
)

func (DataSource_Service) Descriptor

func (DataSource_Service) Enum

func (DataSource_Service) EnumDescriptor deprecated

func (DataSource_Service) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataSource_Service.Descriptor instead.

func (DataSource_Service) Number

func (DataSource_Service) String

func (x DataSource_Service) String() string

func (DataSource_Service) Type

type DatabaseTableSpec

type DatabaseTableSpec struct {

	// Type of this table.
	Type DatabaseTableSpec_TableType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.datacatalog.v1.DatabaseTableSpec_TableType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DatabaseTableSpec) Descriptor deprecated

func (*DatabaseTableSpec) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseTableSpec.ProtoReflect.Descriptor instead.

func (*DatabaseTableSpec) GetType

func (*DatabaseTableSpec) ProtoMessage

func (*DatabaseTableSpec) ProtoMessage()

func (*DatabaseTableSpec) ProtoReflect

func (x *DatabaseTableSpec) ProtoReflect() protoreflect.Message

func (*DatabaseTableSpec) Reset

func (x *DatabaseTableSpec) Reset()

func (*DatabaseTableSpec) String

func (x *DatabaseTableSpec) String() string

type DatabaseTableSpec_TableType

type DatabaseTableSpec_TableType int32

Type of the table.

const (
	// Default unknown table type.
	DatabaseTableSpec_TABLE_TYPE_UNSPECIFIED DatabaseTableSpec_TableType = 0
	// Native table.
	DatabaseTableSpec_NATIVE DatabaseTableSpec_TableType = 1
	// External table.
	DatabaseTableSpec_EXTERNAL DatabaseTableSpec_TableType = 2
)

func (DatabaseTableSpec_TableType) Descriptor

func (DatabaseTableSpec_TableType) Enum

func (DatabaseTableSpec_TableType) EnumDescriptor deprecated

func (DatabaseTableSpec_TableType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseTableSpec_TableType.Descriptor instead.

func (DatabaseTableSpec_TableType) Number

func (DatabaseTableSpec_TableType) String

func (DatabaseTableSpec_TableType) Type

type DeleteEntryGroupRequest

type DeleteEntryGroupRequest struct {

	// Required. The name of the entry group to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If true, deletes all entries in the entry group.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteEntryGroupRequest) Descriptor deprecated

func (*DeleteEntryGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryGroupRequest) GetForce

func (x *DeleteEntryGroupRequest) GetForce() bool

func (*DeleteEntryGroupRequest) GetName

func (x *DeleteEntryGroupRequest) GetName() string

func (*DeleteEntryGroupRequest) ProtoMessage

func (*DeleteEntryGroupRequest) ProtoMessage()

func (*DeleteEntryGroupRequest) ProtoReflect

func (x *DeleteEntryGroupRequest) ProtoReflect() protoreflect.Message

func (*DeleteEntryGroupRequest) Reset

func (x *DeleteEntryGroupRequest) Reset()

func (*DeleteEntryGroupRequest) String

func (x *DeleteEntryGroupRequest) String() string

type DeleteEntryRequest

type DeleteEntryRequest struct {

	// Required. The name of the entry to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteEntryRequest) Descriptor deprecated

func (*DeleteEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetName

func (x *DeleteEntryRequest) GetName() string

func (*DeleteEntryRequest) ProtoMessage

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect

func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message

func (*DeleteEntryRequest) Reset

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String

func (x *DeleteEntryRequest) String() string

type DeletePolicyTagRequest

type DeletePolicyTagRequest struct {

	// Required. Resource name of the policy tag to delete.
	//
	// Note: All of its descendant policy tags are also deleted.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeletePolicyTagRequest) Descriptor deprecated

func (*DeletePolicyTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyTagRequest) GetName

func (x *DeletePolicyTagRequest) GetName() string

func (*DeletePolicyTagRequest) ProtoMessage

func (*DeletePolicyTagRequest) ProtoMessage()

func (*DeletePolicyTagRequest) ProtoReflect

func (x *DeletePolicyTagRequest) ProtoReflect() protoreflect.Message

func (*DeletePolicyTagRequest) Reset

func (x *DeletePolicyTagRequest) Reset()

func (*DeletePolicyTagRequest) String

func (x *DeletePolicyTagRequest) String() string

type DeleteTagRequest

type DeleteTagRequest struct {

	// Required. The name of the tag to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagRequest) Descriptor deprecated

func (*DeleteTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type DeleteTagTemplateFieldRequest

type DeleteTagTemplateFieldRequest struct {

	// Required. The name of the tag template field to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. If true, deletes this field from any tags that use it.
	//
	// Currently, `true` is the only supported value.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagTemplateFieldRequest) Descriptor deprecated

func (*DeleteTagTemplateFieldRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateFieldRequest) GetForce

func (x *DeleteTagTemplateFieldRequest) GetForce() bool

func (*DeleteTagTemplateFieldRequest) GetName

func (*DeleteTagTemplateFieldRequest) ProtoMessage

func (*DeleteTagTemplateFieldRequest) ProtoMessage()

func (*DeleteTagTemplateFieldRequest) ProtoReflect

func (*DeleteTagTemplateFieldRequest) Reset

func (x *DeleteTagTemplateFieldRequest) Reset()

func (*DeleteTagTemplateFieldRequest) String

type DeleteTagTemplateRequest

type DeleteTagTemplateRequest struct {

	// Required. The name of the tag template to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. If true, deletes all tags that use this template.
	//
	// Currently, `true` is the only supported value.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagTemplateRequest) Descriptor deprecated

func (*DeleteTagTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateRequest) GetForce

func (x *DeleteTagTemplateRequest) GetForce() bool

func (*DeleteTagTemplateRequest) GetName

func (x *DeleteTagTemplateRequest) GetName() string

func (*DeleteTagTemplateRequest) ProtoMessage

func (*DeleteTagTemplateRequest) ProtoMessage()

func (*DeleteTagTemplateRequest) ProtoReflect

func (x *DeleteTagTemplateRequest) ProtoReflect() protoreflect.Message

func (*DeleteTagTemplateRequest) Reset

func (x *DeleteTagTemplateRequest) Reset()

func (*DeleteTagTemplateRequest) String

func (x *DeleteTagTemplateRequest) String() string

type DeleteTaxonomyRequest

type DeleteTaxonomyRequest struct {

	// Required. Resource name of the taxonomy to delete.
	//
	// Note: All policy tags in this taxonomy are also deleted.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTaxonomyRequest) Descriptor deprecated

func (*DeleteTaxonomyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*DeleteTaxonomyRequest) GetName

func (x *DeleteTaxonomyRequest) GetName() string

func (*DeleteTaxonomyRequest) ProtoMessage

func (*DeleteTaxonomyRequest) ProtoMessage()

func (*DeleteTaxonomyRequest) ProtoReflect

func (x *DeleteTaxonomyRequest) ProtoReflect() protoreflect.Message

func (*DeleteTaxonomyRequest) Reset

func (x *DeleteTaxonomyRequest) Reset()

func (*DeleteTaxonomyRequest) String

func (x *DeleteTaxonomyRequest) String() string

type Entry

type Entry struct {

	// 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.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 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.
	LinkedResource string `protobuf:"bytes,9,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
	// Fully qualified name (FQN) of the resource. Set automatically for entries
	// representing resources from synced systems. Settable only during creation
	// and read-only afterwards. Can be used for search and lookup of the entries.
	//
	//
	//
	// 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}`
	FullyQualifiedName string `protobuf:"bytes,29,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"`
	// Required. Entry type.
	//
	// Types that are assignable to EntryType:
	//	*Entry_Type
	//	*Entry_UserSpecifiedType
	EntryType isEntry_EntryType `protobuf_oneof:"entry_type"`
	// The source system of the entry.
	//
	// Types that are assignable to System:
	//	*Entry_IntegratedSystem
	//	*Entry_UserSpecifiedSystem
	System isEntry_System `protobuf_oneof:"system"`
	// Type specification.
	//
	// Types that are assignable to TypeSpec:
	//	*Entry_GcsFilesetSpec
	//	*Entry_BigqueryTableSpec
	//	*Entry_BigqueryDateShardedSpec
	TypeSpec isEntry_TypeSpec `protobuf_oneof:"type_spec"`
	// Type- and system-specific information. Specifications for types contain
	// fields common to all entries of a given type, and sub-specifications with
	// fields specific to a given source system.
	//
	// When extending the API with new types and systems, use this field instead
	// of the legacy `type_spec`.
	//
	// Types that are assignable to Spec:
	//	*Entry_DatabaseTableSpec
	//	*Entry_DataSourceConnectionSpec
	//	*Entry_RoutineSpec
	Spec isEntry_Spec `protobuf_oneof:"spec"`
	// Display name of an entry.
	//
	// The name must contain only Unicode letters, numbers (0-9), underscores (_),
	// dashes (-), spaces ( ), and can't start or end with spaces.
	// The maximum size is 200 bytes when encoded in UTF-8.
	// Default value is an empty string.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// 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.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Schema of the entry. An entry might not have any schema attached to it.
	Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	// Timestamps from the underlying resource, not from the Data Catalog
	// entry.
	//
	// Output only when the entry has a type listed in the `EntryType` enum.
	// For entries with `user_specified_type`, this field is optional and defaults
	// to an empty timestamp.
	SourceSystemTimestamps *SystemTimestamps `` /* 129-byte string literal not displayed */
	// Output only. Resource usage statistics.
	UsageSignal *UsageSignal `protobuf:"bytes,13,opt,name=usage_signal,json=usageSignal,proto3" json:"usage_signal,omitempty"`
	// 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.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Output only. Physical location of the entry.
	DataSource *DataSource `protobuf:"bytes,20,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Entry) Descriptor deprecated

func (*Entry) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetBigqueryDateShardedSpec

func (x *Entry) GetBigqueryDateShardedSpec() *BigQueryDateShardedSpec

func (*Entry) GetBigqueryTableSpec

func (x *Entry) GetBigqueryTableSpec() *BigQueryTableSpec

func (*Entry) GetDataSource

func (x *Entry) GetDataSource() *DataSource

func (*Entry) GetDataSourceConnectionSpec

func (x *Entry) GetDataSourceConnectionSpec() *DataSourceConnectionSpec

func (*Entry) GetDatabaseTableSpec

func (x *Entry) GetDatabaseTableSpec() *DatabaseTableSpec

func (*Entry) GetDescription

func (x *Entry) GetDescription() string

func (*Entry) GetDisplayName

func (x *Entry) GetDisplayName() string

func (*Entry) GetEntryType

func (m *Entry) GetEntryType() isEntry_EntryType

func (*Entry) GetFullyQualifiedName

func (x *Entry) GetFullyQualifiedName() string

func (*Entry) GetGcsFilesetSpec

func (x *Entry) GetGcsFilesetSpec() *GcsFilesetSpec

func (*Entry) GetIntegratedSystem

func (x *Entry) GetIntegratedSystem() IntegratedSystem

func (*Entry) GetLabels

func (x *Entry) GetLabels() map[string]string

func (*Entry) GetLinkedResource

func (x *Entry) GetLinkedResource() string

func (*Entry) GetName

func (x *Entry) GetName() string

func (*Entry) GetRoutineSpec

func (x *Entry) GetRoutineSpec() *RoutineSpec

func (*Entry) GetSchema

func (x *Entry) GetSchema() *Schema

func (*Entry) GetSourceSystemTimestamps

func (x *Entry) GetSourceSystemTimestamps() *SystemTimestamps

func (*Entry) GetSpec

func (m *Entry) GetSpec() isEntry_Spec

func (*Entry) GetSystem

func (m *Entry) GetSystem() isEntry_System

func (*Entry) GetType

func (x *Entry) GetType() EntryType

func (*Entry) GetTypeSpec

func (m *Entry) GetTypeSpec() isEntry_TypeSpec

func (*Entry) GetUsageSignal

func (x *Entry) GetUsageSignal() *UsageSignal

func (*Entry) GetUserSpecifiedSystem

func (x *Entry) GetUserSpecifiedSystem() string

func (*Entry) GetUserSpecifiedType

func (x *Entry) GetUserSpecifiedType() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type EntryGroup

type EntryGroup struct {

	// 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.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A short name to identify the entry group, for example,
	// "analytics data - jan 2011". Default value is an empty string.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Entry group description. Can consist of several sentences or
	// paragraphs that describe the entry group contents.
	// Default value is an empty string.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Timestamps of the entry group. Default value is empty.
	DataCatalogTimestamps *SystemTimestamps `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Entry group metadata.

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

func (*EntryGroup) Descriptor deprecated

func (*EntryGroup) Descriptor() ([]byte, []int)

Deprecated: Use EntryGroup.ProtoReflect.Descriptor instead.

func (*EntryGroup) GetDataCatalogTimestamps

func (x *EntryGroup) GetDataCatalogTimestamps() *SystemTimestamps

func (*EntryGroup) GetDescription

func (x *EntryGroup) GetDescription() string

func (*EntryGroup) GetDisplayName

func (x *EntryGroup) GetDisplayName() string

func (*EntryGroup) GetName

func (x *EntryGroup) GetName() string

func (*EntryGroup) ProtoMessage

func (*EntryGroup) ProtoMessage()

func (*EntryGroup) ProtoReflect

func (x *EntryGroup) ProtoReflect() protoreflect.Message

func (*EntryGroup) Reset

func (x *EntryGroup) Reset()

func (*EntryGroup) String

func (x *EntryGroup) String() string

type EntryType

type EntryType int32

The enum field that lists all the types of entry resources in Data Catalog. For example, a BigQuery table entry has the `TABLE` type.

const (
	// Default unknown type.
	EntryType_ENTRY_TYPE_UNSPECIFIED EntryType = 0
	// Output only. The entry type that has a GoogleSQL schema, including
	// logical views.
	EntryType_TABLE EntryType = 2
	// Output only. The type of models.
	//
	// For more information, see [Supported models in BigQuery ML]
	// (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
	EntryType_MODEL EntryType = 5
	// An entry type for streaming entries. For example, a Pub/Sub topic.
	EntryType_DATA_STREAM EntryType = 3
	// An entry type for a set of files or objects. For example, a
	// Cloud Storage fileset.
	EntryType_FILESET EntryType = 4
	// A group of servers that work together. For example, a Kafka cluster.
	EntryType_CLUSTER EntryType = 6
	// A database.
	EntryType_DATABASE EntryType = 7
	// Output only. Connection to a data source. For example, a BigQuery
	// connection.
	EntryType_DATA_SOURCE_CONNECTION EntryType = 8
	// Output only. Routine, for example, a BigQuery routine.
	EntryType_ROUTINE EntryType = 9
	// A service, for example, a Dataproc Metastore service.
	EntryType_SERVICE EntryType = 14
)

func (EntryType) Descriptor

func (EntryType) Descriptor() protoreflect.EnumDescriptor

func (EntryType) Enum

func (x EntryType) Enum() *EntryType

func (EntryType) EnumDescriptor deprecated

func (EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntryType.Descriptor instead.

func (EntryType) Number

func (x EntryType) Number() protoreflect.EnumNumber

func (EntryType) String

func (x EntryType) String() string

func (EntryType) Type

type Entry_BigqueryDateShardedSpec

type Entry_BigqueryDateShardedSpec struct {
	// 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).
	BigqueryDateShardedSpec *BigQueryDateShardedSpec `protobuf:"bytes,15,opt,name=bigquery_date_sharded_spec,json=bigqueryDateShardedSpec,proto3,oneof"`
}

type Entry_BigqueryTableSpec

type Entry_BigqueryTableSpec struct {
	// Specification that applies to a BigQuery table. Valid only for
	// entries with the `TABLE` type.
	BigqueryTableSpec *BigQueryTableSpec `protobuf:"bytes,12,opt,name=bigquery_table_spec,json=bigqueryTableSpec,proto3,oneof"`
}

type Entry_DataSourceConnectionSpec

type Entry_DataSourceConnectionSpec struct {
	// Specification that applies to a data source connection. Valid only
	// for entries with the `DATA_SOURCE_CONNECTION` type.
	DataSourceConnectionSpec *DataSourceConnectionSpec `protobuf:"bytes,27,opt,name=data_source_connection_spec,json=dataSourceConnectionSpec,proto3,oneof"`
}

type Entry_DatabaseTableSpec

type Entry_DatabaseTableSpec struct {
	// Specification that applies to a table resource. Valid only
	// for entries with the `TABLE` type.
	DatabaseTableSpec *DatabaseTableSpec `protobuf:"bytes,24,opt,name=database_table_spec,json=databaseTableSpec,proto3,oneof"`
}

type Entry_GcsFilesetSpec

type Entry_GcsFilesetSpec struct {
	// Specification that applies to a Cloud Storage fileset. Valid only
	// for entries with the `FILESET` type.
	GcsFilesetSpec *GcsFilesetSpec `protobuf:"bytes,6,opt,name=gcs_fileset_spec,json=gcsFilesetSpec,proto3,oneof"`
}

type Entry_IntegratedSystem

type Entry_IntegratedSystem struct {
	// Output only. Indicates the entry's source system that Data Catalog
	// integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
	IntegratedSystem IntegratedSystem `` /* 132-byte string literal not displayed */
}

type Entry_RoutineSpec

type Entry_RoutineSpec struct {
	// Specification that applies to a user-defined function or procedure. Valid
	// only for entries with the `ROUTINE` type.
	RoutineSpec *RoutineSpec `protobuf:"bytes,28,opt,name=routine_spec,json=routineSpec,proto3,oneof"`
}

type Entry_Type

type Entry_Type struct {
	// The type of the entry.
	// Only used for entries with types listed in the `EntryType` enum.
	//
	// Currently, only `FILESET` enum value is allowed. All other entries
	// created in Data Catalog must use the `user_specified_type`.
	Type EntryType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.datacatalog.v1.EntryType,oneof"`
}

type Entry_UserSpecifiedSystem

type Entry_UserSpecifiedSystem struct {
	// 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.
	UserSpecifiedSystem string `protobuf:"bytes,18,opt,name=user_specified_system,json=userSpecifiedSystem,proto3,oneof"`
}

type Entry_UserSpecifiedType

type Entry_UserSpecifiedType struct {
	// 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.
	UserSpecifiedType string `protobuf:"bytes,16,opt,name=user_specified_type,json=userSpecifiedType,proto3,oneof"`
}

type ExportTaxonomiesRequest

type ExportTaxonomiesRequest struct {

	// Required. Resource name of the project that the exported taxonomies belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Resource names of the taxonomies to export.
	Taxonomies []string `protobuf:"bytes,2,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// Required. Export destination for taxonomies.
	//
	// Types that are assignable to Destination:
	//	*ExportTaxonomiesRequest_SerializedTaxonomies
	Destination isExportTaxonomiesRequest_Destination `protobuf_oneof:"destination"`
	// contains filtered or unexported fields
}

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

func (*ExportTaxonomiesRequest) Descriptor deprecated

func (*ExportTaxonomiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesRequest) GetDestination

func (m *ExportTaxonomiesRequest) GetDestination() isExportTaxonomiesRequest_Destination

func (*ExportTaxonomiesRequest) GetParent

func (x *ExportTaxonomiesRequest) GetParent() string

func (*ExportTaxonomiesRequest) GetSerializedTaxonomies

func (x *ExportTaxonomiesRequest) GetSerializedTaxonomies() bool

func (*ExportTaxonomiesRequest) GetTaxonomies

func (x *ExportTaxonomiesRequest) GetTaxonomies() []string

func (*ExportTaxonomiesRequest) ProtoMessage

func (*ExportTaxonomiesRequest) ProtoMessage()

func (*ExportTaxonomiesRequest) ProtoReflect

func (x *ExportTaxonomiesRequest) ProtoReflect() protoreflect.Message

func (*ExportTaxonomiesRequest) Reset

func (x *ExportTaxonomiesRequest) Reset()

func (*ExportTaxonomiesRequest) String

func (x *ExportTaxonomiesRequest) String() string

type ExportTaxonomiesRequest_SerializedTaxonomies

type ExportTaxonomiesRequest_SerializedTaxonomies struct {
	// Serialized export taxonomies that contain all the policy
	// tags as nested protocol buffers.
	SerializedTaxonomies bool `protobuf:"varint,3,opt,name=serialized_taxonomies,json=serializedTaxonomies,proto3,oneof"`
}

type ExportTaxonomiesResponse

type ExportTaxonomiesResponse struct {

	// List of taxonomies and policy tags as nested protocol buffers.
	Taxonomies []*SerializedTaxonomy `protobuf:"bytes,1,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ExportTaxonomiesResponse) Descriptor deprecated

func (*ExportTaxonomiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesResponse) GetTaxonomies

func (x *ExportTaxonomiesResponse) GetTaxonomies() []*SerializedTaxonomy

func (*ExportTaxonomiesResponse) ProtoMessage

func (*ExportTaxonomiesResponse) ProtoMessage()

func (*ExportTaxonomiesResponse) ProtoReflect

func (x *ExportTaxonomiesResponse) ProtoReflect() protoreflect.Message

func (*ExportTaxonomiesResponse) Reset

func (x *ExportTaxonomiesResponse) Reset()

func (*ExportTaxonomiesResponse) String

func (x *ExportTaxonomiesResponse) String() string

type FieldType

type FieldType struct {

	// Required.
	//
	// Types that are assignable to TypeDecl:
	//	*FieldType_PrimitiveType_
	//	*FieldType_EnumType_
	TypeDecl isFieldType_TypeDecl `protobuf_oneof:"type_decl"`
	// contains filtered or unexported fields
}

func (*FieldType) Descriptor deprecated

func (*FieldType) Descriptor() ([]byte, []int)

Deprecated: Use FieldType.ProtoReflect.Descriptor instead.

func (*FieldType) GetEnumType

func (x *FieldType) GetEnumType() *FieldType_EnumType

func (*FieldType) GetPrimitiveType

func (x *FieldType) GetPrimitiveType() FieldType_PrimitiveType

func (*FieldType) GetTypeDecl

func (m *FieldType) GetTypeDecl() isFieldType_TypeDecl

func (*FieldType) ProtoMessage

func (*FieldType) ProtoMessage()

func (*FieldType) ProtoReflect

func (x *FieldType) ProtoReflect() protoreflect.Message

func (*FieldType) Reset

func (x *FieldType) Reset()

func (*FieldType) String

func (x *FieldType) String() string

type FieldType_EnumType

type FieldType_EnumType struct {

	// 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.
	AllowedValues []*FieldType_EnumType_EnumValue `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType_EnumType) Descriptor deprecated

func (*FieldType_EnumType) Descriptor() ([]byte, []int)

Deprecated: Use FieldType_EnumType.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType) GetAllowedValues

func (x *FieldType_EnumType) GetAllowedValues() []*FieldType_EnumType_EnumValue

func (*FieldType_EnumType) ProtoMessage

func (*FieldType_EnumType) ProtoMessage()

func (*FieldType_EnumType) ProtoReflect

func (x *FieldType_EnumType) ProtoReflect() protoreflect.Message

func (*FieldType_EnumType) Reset

func (x *FieldType_EnumType) Reset()

func (*FieldType_EnumType) String

func (x *FieldType_EnumType) String() string

type FieldType_EnumType_

type FieldType_EnumType_ struct {
	// An enum type.
	EnumType *FieldType_EnumType `protobuf:"bytes,2,opt,name=enum_type,json=enumType,proto3,oneof"`
}

type FieldType_EnumType_EnumValue

type FieldType_EnumType_EnumValue struct {

	// 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.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType_EnumType_EnumValue) Descriptor deprecated

func (*FieldType_EnumType_EnumValue) Descriptor() ([]byte, []int)

Deprecated: Use FieldType_EnumType_EnumValue.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType_EnumValue) GetDisplayName

func (x *FieldType_EnumType_EnumValue) GetDisplayName() string

func (*FieldType_EnumType_EnumValue) ProtoMessage

func (*FieldType_EnumType_EnumValue) ProtoMessage()

func (*FieldType_EnumType_EnumValue) ProtoReflect

func (*FieldType_EnumType_EnumValue) Reset

func (x *FieldType_EnumType_EnumValue) Reset()

func (*FieldType_EnumType_EnumValue) String

type FieldType_PrimitiveType

type FieldType_PrimitiveType int32
const (
	// The default invalid value for a type.
	FieldType_PRIMITIVE_TYPE_UNSPECIFIED FieldType_PrimitiveType = 0
	// A double precision number.
	FieldType_DOUBLE FieldType_PrimitiveType = 1
	// An UTF-8 string.
	FieldType_STRING FieldType_PrimitiveType = 2
	// A boolean value.
	FieldType_BOOL FieldType_PrimitiveType = 3
	// A timestamp.
	FieldType_TIMESTAMP FieldType_PrimitiveType = 4
	// A Richtext description.
	FieldType_RICHTEXT FieldType_PrimitiveType = 5
)

func (FieldType_PrimitiveType) Descriptor

func (FieldType_PrimitiveType) Enum

func (FieldType_PrimitiveType) EnumDescriptor deprecated

func (FieldType_PrimitiveType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldType_PrimitiveType.Descriptor instead.

func (FieldType_PrimitiveType) Number

func (FieldType_PrimitiveType) String

func (x FieldType_PrimitiveType) String() string

func (FieldType_PrimitiveType) Type

type FieldType_PrimitiveType_

type FieldType_PrimitiveType_ struct {
	// Primitive types, such as string, boolean, etc.
	PrimitiveType FieldType_PrimitiveType `` /* 132-byte string literal not displayed */
}

type GcsFileSpec

type GcsFileSpec struct {

	// Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
	GcsTimestamps *SystemTimestamps `protobuf:"bytes,2,opt,name=gcs_timestamps,json=gcsTimestamps,proto3" json:"gcs_timestamps,omitempty"`
	// Output only. File size in bytes.
	SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

Specification of a single file in Cloud Storage.

func (*GcsFileSpec) Descriptor deprecated

func (*GcsFileSpec) Descriptor() ([]byte, []int)

Deprecated: Use GcsFileSpec.ProtoReflect.Descriptor instead.

func (*GcsFileSpec) GetFilePath

func (x *GcsFileSpec) GetFilePath() string

func (*GcsFileSpec) GetGcsTimestamps

func (x *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps

func (*GcsFileSpec) GetSizeBytes

func (x *GcsFileSpec) GetSizeBytes() int64

func (*GcsFileSpec) ProtoMessage

func (*GcsFileSpec) ProtoMessage()

func (*GcsFileSpec) ProtoReflect

func (x *GcsFileSpec) ProtoReflect() protoreflect.Message

func (*GcsFileSpec) Reset

func (x *GcsFileSpec) Reset()

func (*GcsFileSpec) String

func (x *GcsFileSpec) String() string

type GcsFilesetSpec

type GcsFilesetSpec struct {

	// 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`
	FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"`
	// Output only. Sample files contained in this fileset, not all files
	// contained in this fileset are represented here.
	SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"`
	// contains filtered or unexported fields
}

Describes a Cloud Storage fileset entry.

func (*GcsFilesetSpec) Descriptor deprecated

func (*GcsFilesetSpec) Descriptor() ([]byte, []int)

Deprecated: Use GcsFilesetSpec.ProtoReflect.Descriptor instead.

func (*GcsFilesetSpec) GetFilePatterns

func (x *GcsFilesetSpec) GetFilePatterns() []string

func (*GcsFilesetSpec) GetSampleGcsFileSpecs

func (x *GcsFilesetSpec) GetSampleGcsFileSpecs() []*GcsFileSpec

func (*GcsFilesetSpec) ProtoMessage

func (*GcsFilesetSpec) ProtoMessage()

func (*GcsFilesetSpec) ProtoReflect

func (x *GcsFilesetSpec) ProtoReflect() protoreflect.Message

func (*GcsFilesetSpec) Reset

func (x *GcsFilesetSpec) Reset()

func (*GcsFilesetSpec) String

func (x *GcsFilesetSpec) String() string

type GetEntryGroupRequest

type GetEntryGroupRequest struct {

	// Required. The name of the entry group to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The fields to return. If empty or omitted, all fields are returned.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetEntryGroupRequest) Descriptor deprecated

func (*GetEntryGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*GetEntryGroupRequest) GetName

func (x *GetEntryGroupRequest) GetName() string

func (*GetEntryGroupRequest) GetReadMask

func (x *GetEntryGroupRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetEntryGroupRequest) ProtoMessage

func (*GetEntryGroupRequest) ProtoMessage()

func (*GetEntryGroupRequest) ProtoReflect

func (x *GetEntryGroupRequest) ProtoReflect() protoreflect.Message

func (*GetEntryGroupRequest) Reset

func (x *GetEntryGroupRequest) Reset()

func (*GetEntryGroupRequest) String

func (x *GetEntryGroupRequest) String() string

type GetEntryRequest

type GetEntryRequest struct {

	// Required. The name of the entry to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetEntryRequest) Descriptor deprecated

func (*GetEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.

func (*GetEntryRequest) GetName

func (x *GetEntryRequest) GetName() string

func (*GetEntryRequest) ProtoMessage

func (*GetEntryRequest) ProtoMessage()

func (*GetEntryRequest) ProtoReflect

func (x *GetEntryRequest) ProtoReflect() protoreflect.Message

func (*GetEntryRequest) Reset

func (x *GetEntryRequest) Reset()

func (*GetEntryRequest) String

func (x *GetEntryRequest) String() string

type GetPolicyTagRequest

type GetPolicyTagRequest struct {

	// Required. Resource name of the policy tag.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetPolicyTagRequest) Descriptor deprecated

func (*GetPolicyTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPolicyTagRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyTagRequest) GetName

func (x *GetPolicyTagRequest) GetName() string

func (*GetPolicyTagRequest) ProtoMessage

func (*GetPolicyTagRequest) ProtoMessage()

func (*GetPolicyTagRequest) ProtoReflect

func (x *GetPolicyTagRequest) ProtoReflect() protoreflect.Message

func (*GetPolicyTagRequest) Reset

func (x *GetPolicyTagRequest) Reset()

func (*GetPolicyTagRequest) String

func (x *GetPolicyTagRequest) String() string

type GetTagTemplateRequest

type GetTagTemplateRequest struct {

	// Required. The name of the tag template to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetTagTemplateRequest) Descriptor deprecated

func (*GetTagTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTagTemplateRequest) GetName

func (x *GetTagTemplateRequest) GetName() string

func (*GetTagTemplateRequest) ProtoMessage

func (*GetTagTemplateRequest) ProtoMessage()

func (*GetTagTemplateRequest) ProtoReflect

func (x *GetTagTemplateRequest) ProtoReflect() protoreflect.Message

func (*GetTagTemplateRequest) Reset

func (x *GetTagTemplateRequest) Reset()

func (*GetTagTemplateRequest) String

func (x *GetTagTemplateRequest) String() string

type GetTaxonomyRequest

type GetTaxonomyRequest struct {

	// Required. Resource name of the taxonomy to get.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetTaxonomyRequest) Descriptor deprecated

func (*GetTaxonomyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*GetTaxonomyRequest) GetName

func (x *GetTaxonomyRequest) GetName() string

func (*GetTaxonomyRequest) ProtoMessage

func (*GetTaxonomyRequest) ProtoMessage()

func (*GetTaxonomyRequest) ProtoReflect

func (x *GetTaxonomyRequest) ProtoReflect() protoreflect.Message

func (*GetTaxonomyRequest) Reset

func (x *GetTaxonomyRequest) Reset()

func (*GetTaxonomyRequest) String

func (x *GetTaxonomyRequest) String() string

type ImportTaxonomiesRequest

type ImportTaxonomiesRequest struct {

	// Required. Resource name of project that the imported taxonomies will belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Source taxonomies to import.
	//
	// Types that are assignable to Source:
	//	*ImportTaxonomiesRequest_InlineSource
	//	*ImportTaxonomiesRequest_CrossRegionalSource
	Source isImportTaxonomiesRequest_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

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

func (*ImportTaxonomiesRequest) Descriptor deprecated

func (*ImportTaxonomiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ImportTaxonomiesRequest) GetCrossRegionalSource

func (x *ImportTaxonomiesRequest) GetCrossRegionalSource() *CrossRegionalSource

func (*ImportTaxonomiesRequest) GetInlineSource

func (x *ImportTaxonomiesRequest) GetInlineSource() *InlineSource

func (*ImportTaxonomiesRequest) GetParent

func (x *ImportTaxonomiesRequest) GetParent() string

func (*ImportTaxonomiesRequest) GetSource

func (m *ImportTaxonomiesRequest) GetSource() isImportTaxonomiesRequest_Source

func (*ImportTaxonomiesRequest) ProtoMessage

func (*ImportTaxonomiesRequest) ProtoMessage()

func (*ImportTaxonomiesRequest) ProtoReflect

func (x *ImportTaxonomiesRequest) ProtoReflect() protoreflect.Message

func (*ImportTaxonomiesRequest) Reset

func (x *ImportTaxonomiesRequest) Reset()

func (*ImportTaxonomiesRequest) String

func (x *ImportTaxonomiesRequest) String() string

type ImportTaxonomiesRequest_CrossRegionalSource

type ImportTaxonomiesRequest_CrossRegionalSource struct {
	// Cross-regional source taxonomy to import.
	CrossRegionalSource *CrossRegionalSource `protobuf:"bytes,3,opt,name=cross_regional_source,json=crossRegionalSource,proto3,oneof"`
}

type ImportTaxonomiesRequest_InlineSource

type ImportTaxonomiesRequest_InlineSource struct {
	// Inline source taxonomy to import.
	InlineSource *InlineSource `protobuf:"bytes,2,opt,name=inline_source,json=inlineSource,proto3,oneof"`
}

type ImportTaxonomiesResponse

type ImportTaxonomiesResponse struct {

	// Imported taxonomies.
	Taxonomies []*Taxonomy `protobuf:"bytes,1,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ImportTaxonomiesResponse) Descriptor deprecated

func (*ImportTaxonomiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ImportTaxonomiesResponse) GetTaxonomies

func (x *ImportTaxonomiesResponse) GetTaxonomies() []*Taxonomy

func (*ImportTaxonomiesResponse) ProtoMessage

func (*ImportTaxonomiesResponse) ProtoMessage()

func (*ImportTaxonomiesResponse) ProtoReflect

func (x *ImportTaxonomiesResponse) ProtoReflect() protoreflect.Message

func (*ImportTaxonomiesResponse) Reset

func (x *ImportTaxonomiesResponse) Reset()

func (*ImportTaxonomiesResponse) String

func (x *ImportTaxonomiesResponse) String() string

type InlineSource

type InlineSource struct {

	// Required. Taxonomies to import.
	Taxonomies []*SerializedTaxonomy `protobuf:"bytes,1,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// contains filtered or unexported fields
}

Inline source containing taxonomies to import.

func (*InlineSource) Descriptor deprecated

func (*InlineSource) Descriptor() ([]byte, []int)

Deprecated: Use InlineSource.ProtoReflect.Descriptor instead.

func (*InlineSource) GetTaxonomies

func (x *InlineSource) GetTaxonomies() []*SerializedTaxonomy

func (*InlineSource) ProtoMessage

func (*InlineSource) ProtoMessage()

func (*InlineSource) ProtoReflect

func (x *InlineSource) ProtoReflect() protoreflect.Message

func (*InlineSource) Reset

func (x *InlineSource) Reset()

func (*InlineSource) String

func (x *InlineSource) String() string

type IntegratedSystem

type IntegratedSystem int32

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

const (
	// Default unknown system.
	IntegratedSystem_INTEGRATED_SYSTEM_UNSPECIFIED IntegratedSystem = 0
	// BigQuery.
	IntegratedSystem_BIGQUERY IntegratedSystem = 1
	// Cloud Pub/Sub.
	IntegratedSystem_CLOUD_PUBSUB IntegratedSystem = 2
	// Dataproc Metastore.
	IntegratedSystem_DATAPROC_METASTORE IntegratedSystem = 3
)

func (IntegratedSystem) Descriptor

func (IntegratedSystem) Enum

func (IntegratedSystem) EnumDescriptor deprecated

func (IntegratedSystem) EnumDescriptor() ([]byte, []int)

Deprecated: Use IntegratedSystem.Descriptor instead.

func (IntegratedSystem) Number

func (IntegratedSystem) String

func (x IntegratedSystem) String() string

func (IntegratedSystem) Type

type ListEntriesRequest

type ListEntriesRequest struct {

	// Required. The name of the entry group that contains the entries to list.
	//
	// Can be provided in URL format.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token that specifies the next page to return. If empty, the
	// first page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// 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.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntriesRequest) Descriptor deprecated

func (*ListEntriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListEntriesRequest) GetPageSize

func (x *ListEntriesRequest) GetPageSize() int32

func (*ListEntriesRequest) GetPageToken

func (x *ListEntriesRequest) GetPageToken() string

func (*ListEntriesRequest) GetParent

func (x *ListEntriesRequest) GetParent() string

func (*ListEntriesRequest) GetReadMask

func (x *ListEntriesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListEntriesRequest) ProtoMessage

func (*ListEntriesRequest) ProtoMessage()

func (*ListEntriesRequest) ProtoReflect

func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message

func (*ListEntriesRequest) Reset

func (x *ListEntriesRequest) Reset()

func (*ListEntriesRequest) String

func (x *ListEntriesRequest) String() string

type ListEntriesResponse

type ListEntriesResponse struct {

	// Entry details.
	Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Pagination token of the next results page. Empty if there are no more items
	// in results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntriesResponse) Descriptor deprecated

func (*ListEntriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListEntriesResponse) GetEntries

func (x *ListEntriesResponse) GetEntries() []*Entry

func (*ListEntriesResponse) GetNextPageToken

func (x *ListEntriesResponse) GetNextPageToken() string

func (*ListEntriesResponse) ProtoMessage

func (*ListEntriesResponse) ProtoMessage()

func (*ListEntriesResponse) ProtoReflect

func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message

func (*ListEntriesResponse) Reset

func (x *ListEntriesResponse) Reset()

func (*ListEntriesResponse) String

func (x *ListEntriesResponse) String() string

type ListEntryGroupsRequest

type ListEntryGroupsRequest struct {

	// Required. The name of the location that contains the entry groups to list.
	//
	// Can be provided as a URL.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// 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.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Pagination token that specifies the next page to return.
	// If empty, returns the first page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntryGroupsRequest) Descriptor deprecated

func (*ListEntryGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEntryGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsRequest) GetPageSize

func (x *ListEntryGroupsRequest) GetPageSize() int32

func (*ListEntryGroupsRequest) GetPageToken

func (x *ListEntryGroupsRequest) GetPageToken() string

func (*ListEntryGroupsRequest) GetParent

func (x *ListEntryGroupsRequest) GetParent() string

func (*ListEntryGroupsRequest) ProtoMessage

func (*ListEntryGroupsRequest) ProtoMessage()

func (*ListEntryGroupsRequest) ProtoReflect

func (x *ListEntryGroupsRequest) ProtoReflect() protoreflect.Message

func (*ListEntryGroupsRequest) Reset

func (x *ListEntryGroupsRequest) Reset()

func (*ListEntryGroupsRequest) String

func (x *ListEntryGroupsRequest) String() string

type ListEntryGroupsResponse

type ListEntryGroupsResponse struct {

	// Entry group details.
	EntryGroups []*EntryGroup `protobuf:"bytes,1,rep,name=entry_groups,json=entryGroups,proto3" json:"entry_groups,omitempty"`
	// Pagination token to specify in the next call to retrieve the next page of
	// results. Empty if there are no more items.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntryGroupsResponse) Descriptor deprecated

func (*ListEntryGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEntryGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsResponse) GetEntryGroups

func (x *ListEntryGroupsResponse) GetEntryGroups() []*EntryGroup

func (*ListEntryGroupsResponse) GetNextPageToken

func (x *ListEntryGroupsResponse) GetNextPageToken() string

func (*ListEntryGroupsResponse) ProtoMessage

func (*ListEntryGroupsResponse) ProtoMessage()

func (*ListEntryGroupsResponse) ProtoReflect

func (x *ListEntryGroupsResponse) ProtoReflect() protoreflect.Message

func (*ListEntryGroupsResponse) Reset

func (x *ListEntryGroupsResponse) Reset()

func (*ListEntryGroupsResponse) String

func (x *ListEntryGroupsResponse) String() string

type ListPolicyTagsRequest

type ListPolicyTagsRequest struct {

	// Required. Resource name of the taxonomy to list the policy tags of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000
	// inclusively.
	// If not set, defaults to 50.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 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.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListPolicyTagsRequest) Descriptor deprecated

func (*ListPolicyTagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyTagsRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsRequest) GetPageSize

func (x *ListPolicyTagsRequest) GetPageSize() int32

func (*ListPolicyTagsRequest) GetPageToken

func (x *ListPolicyTagsRequest) GetPageToken() string

func (*ListPolicyTagsRequest) GetParent

func (x *ListPolicyTagsRequest) GetParent() string

func (*ListPolicyTagsRequest) ProtoMessage

func (*ListPolicyTagsRequest) ProtoMessage()

func (*ListPolicyTagsRequest) ProtoReflect

func (x *ListPolicyTagsRequest) ProtoReflect() protoreflect.Message

func (*ListPolicyTagsRequest) Reset

func (x *ListPolicyTagsRequest) Reset()

func (*ListPolicyTagsRequest) String

func (x *ListPolicyTagsRequest) String() string

type ListPolicyTagsResponse

type ListPolicyTagsResponse struct {

	// The policy tags that belong to the taxonomy.
	PolicyTags []*PolicyTag `protobuf:"bytes,1,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
	// Pagination token of the next results page. Empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListPolicyTagsResponse) Descriptor deprecated

func (*ListPolicyTagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyTagsResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsResponse) GetNextPageToken

func (x *ListPolicyTagsResponse) GetNextPageToken() string

func (*ListPolicyTagsResponse) GetPolicyTags

func (x *ListPolicyTagsResponse) GetPolicyTags() []*PolicyTag

func (*ListPolicyTagsResponse) ProtoMessage

func (*ListPolicyTagsResponse) ProtoMessage()

func (*ListPolicyTagsResponse) ProtoReflect

func (x *ListPolicyTagsResponse) ProtoReflect() protoreflect.Message

func (*ListPolicyTagsResponse) Reset

func (x *ListPolicyTagsResponse) Reset()

func (*ListPolicyTagsResponse) String

func (x *ListPolicyTagsResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {

	// 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).
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of tags to return. Default is 10. Maximum limit is 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token that specifies the next page to return. If empty, the
	// first page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListTagsRequest) Descriptor deprecated

func (*ListTagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

func (x *ListTagsRequest) ProtoReflect() protoreflect.Message

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {

	// [Tag][google.cloud.datacatalog.v1.Tag] details.
	Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// Pagination token of the next results page. Empty if there are
	// no more items in results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListTagsResponse) Descriptor deprecated

func (*ListTagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

func (x *ListTagsResponse) GetTags() []*Tag

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

func (x *ListTagsResponse) ProtoReflect() protoreflect.Message

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

type ListTaxonomiesRequest

type ListTaxonomiesRequest struct {

	// Required. Resource name of the project to list the taxonomies of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000
	// inclusively. If not set, defaults to 50.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 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.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListTaxonomiesRequest) Descriptor deprecated

func (*ListTaxonomiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ListTaxonomiesRequest) GetPageSize

func (x *ListTaxonomiesRequest) GetPageSize() int32

func (*ListTaxonomiesRequest) GetPageToken

func (x *ListTaxonomiesRequest) GetPageToken() string

func (*ListTaxonomiesRequest) GetParent

func (x *ListTaxonomiesRequest) GetParent() string

func (*ListTaxonomiesRequest) ProtoMessage

func (*ListTaxonomiesRequest) ProtoMessage()

func (*ListTaxonomiesRequest) ProtoReflect

func (x *ListTaxonomiesRequest) ProtoReflect() protoreflect.Message

func (*ListTaxonomiesRequest) Reset

func (x *ListTaxonomiesRequest) Reset()

func (*ListTaxonomiesRequest) String

func (x *ListTaxonomiesRequest) String() string

type ListTaxonomiesResponse

type ListTaxonomiesResponse struct {

	// Taxonomies that the project contains.
	Taxonomies []*Taxonomy `protobuf:"bytes,1,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// Pagination token of the next results page. Empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListTaxonomiesResponse) Descriptor deprecated

func (*ListTaxonomiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ListTaxonomiesResponse) GetNextPageToken

func (x *ListTaxonomiesResponse) GetNextPageToken() string

func (*ListTaxonomiesResponse) GetTaxonomies

func (x *ListTaxonomiesResponse) GetTaxonomies() []*Taxonomy

func (*ListTaxonomiesResponse) ProtoMessage

func (*ListTaxonomiesResponse) ProtoMessage()

func (*ListTaxonomiesResponse) ProtoReflect

func (x *ListTaxonomiesResponse) ProtoReflect() protoreflect.Message

func (*ListTaxonomiesResponse) Reset

func (x *ListTaxonomiesResponse) Reset()

func (*ListTaxonomiesResponse) String

func (x *ListTaxonomiesResponse) String() string

type LookupEntryRequest

type LookupEntryRequest struct {

	// Required. A full name, SQL name, or a fully qualified name of a
	// Google Cloud Platform resource.
	//
	// Types that are assignable to TargetName:
	//	*LookupEntryRequest_LinkedResource
	//	*LookupEntryRequest_SqlResource
	//	*LookupEntryRequest_FullyQualifiedName
	TargetName isLookupEntryRequest_TargetName `protobuf_oneof:"target_name"`
	// contains filtered or unexported fields
}

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

func (*LookupEntryRequest) Descriptor deprecated

func (*LookupEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupEntryRequest.ProtoReflect.Descriptor instead.

func (*LookupEntryRequest) GetFullyQualifiedName

func (x *LookupEntryRequest) GetFullyQualifiedName() string

func (*LookupEntryRequest) GetLinkedResource

func (x *LookupEntryRequest) GetLinkedResource() string

func (*LookupEntryRequest) GetSqlResource

func (x *LookupEntryRequest) GetSqlResource() string

func (*LookupEntryRequest) GetTargetName

func (m *LookupEntryRequest) GetTargetName() isLookupEntryRequest_TargetName

func (*LookupEntryRequest) ProtoMessage

func (*LookupEntryRequest) ProtoMessage()

func (*LookupEntryRequest) ProtoReflect

func (x *LookupEntryRequest) ProtoReflect() protoreflect.Message

func (*LookupEntryRequest) Reset

func (x *LookupEntryRequest) Reset()

func (*LookupEntryRequest) String

func (x *LookupEntryRequest) String() string

type LookupEntryRequest_FullyQualifiedName

type LookupEntryRequest_FullyQualifiedName struct {
	// 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}`
	FullyQualifiedName string `protobuf:"bytes,5,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3,oneof"`
}

type LookupEntryRequest_LinkedResource

type LookupEntryRequest_LinkedResource struct {
	// 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}`
	LinkedResource string `protobuf:"bytes,1,opt,name=linked_resource,json=linkedResource,proto3,oneof"`
}

type LookupEntryRequest_SqlResource

type LookupEntryRequest_SqlResource struct {
	// 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).
	SqlResource string `protobuf:"bytes,3,opt,name=sql_resource,json=sqlResource,proto3,oneof"`
}

type