Variables
BigQueryConnectionSpec_ConnectionType_name, BigQueryConnectionSpec_ConnectionType_value
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.
CloudSqlBigQueryConnectionSpec_DatabaseType_name, CloudSqlBigQueryConnectionSpec_DatabaseType_value
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.
IntegratedSystem_name, IntegratedSystem_value
var (
IntegratedSystem_name = map[int32]string{
0: "INTEGRATED_SYSTEM_UNSPECIFIED",
1: "BIGQUERY",
2: "CLOUD_PUBSUB",
3: "DATAPROC_METASTORE",
4: "DATAPLEX",
6: "CLOUD_SPANNER",
7: "CLOUD_BIGTABLE",
8: "CLOUD_SQL",
9: "LOOKER",
}
IntegratedSystem_value = map[string]int32{
"INTEGRATED_SYSTEM_UNSPECIFIED": 0,
"BIGQUERY": 1,
"CLOUD_PUBSUB": 2,
"DATAPROC_METASTORE": 3,
"DATAPLEX": 4,
"CLOUD_SPANNER": 6,
"CLOUD_BIGTABLE": 7,
"CLOUD_SQL": 8,
"LOOKER": 9,
}
)
Enum value maps for IntegratedSystem.
ManagingSystem_name, ManagingSystem_value
var (
ManagingSystem_name = map[int32]string{
0: "MANAGING_SYSTEM_UNSPECIFIED",
1: "MANAGING_SYSTEM_DATAPLEX",
2: "MANAGING_SYSTEM_OTHER",
}
ManagingSystem_value = map[string]int32{
"MANAGING_SYSTEM_UNSPECIFIED": 0,
"MANAGING_SYSTEM_DATAPLEX": 1,
"MANAGING_SYSTEM_OTHER": 2,
}
)
Enum value maps for ManagingSystem.
DataSource_Service_name, DataSource_Service_value
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.
EntryType_name, EntryType_value
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",
10: "LAKE",
11: "ZONE",
14: "SERVICE",
15: "DATABASE_SCHEMA",
16: "DASHBOARD",
17: "EXPLORE",
18: "LOOK",
}
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,
"LAKE": 10,
"ZONE": 11,
"SERVICE": 14,
"DATABASE_SCHEMA": 15,
"DASHBOARD": 16,
"EXPLORE": 17,
"LOOK": 18,
}
)
Enum value maps for EntryType.
DatabaseTableSpec_TableType_name, DatabaseTableSpec_TableType_value
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.
DatabaseTableSpec_DatabaseViewSpec_ViewType_name, DatabaseTableSpec_DatabaseViewSpec_ViewType_value
var (
DatabaseTableSpec_DatabaseViewSpec_ViewType_name = map[int32]string{
0: "VIEW_TYPE_UNSPECIFIED",
1: "STANDARD_VIEW",
2: "MATERIALIZED_VIEW",
}
DatabaseTableSpec_DatabaseViewSpec_ViewType_value = map[string]int32{
"VIEW_TYPE_UNSPECIFIED": 0,
"STANDARD_VIEW": 1,
"MATERIALIZED_VIEW": 2,
}
)
Enum value maps for DatabaseTableSpec_DatabaseViewSpec_ViewType.
RoutineSpec_RoutineType_name, RoutineSpec_RoutineType_value
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.
RoutineSpec_Argument_Mode_name, RoutineSpec_Argument_Mode_value
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.
ReconcileTagsMetadata_ReconciliationState_name, ReconcileTagsMetadata_ReconciliationState_value
var (
ReconcileTagsMetadata_ReconciliationState_name = map[int32]string{
0: "RECONCILIATION_STATE_UNSPECIFIED",
1: "RECONCILIATION_QUEUED",
2: "RECONCILIATION_IN_PROGRESS",
3: "RECONCILIATION_DONE",
}
ReconcileTagsMetadata_ReconciliationState_value = map[string]int32{
"RECONCILIATION_STATE_UNSPECIFIED": 0,
"RECONCILIATION_QUEUED": 1,
"RECONCILIATION_IN_PROGRESS": 2,
"RECONCILIATION_DONE": 3,
}
)
Enum value maps for ReconcileTagsMetadata_ReconciliationState.
ImportEntriesMetadata_ImportState_name, ImportEntriesMetadata_ImportState_value
var (
ImportEntriesMetadata_ImportState_name = map[int32]string{
0: "IMPORT_STATE_UNSPECIFIED",
1: "IMPORT_QUEUED",
2: "IMPORT_IN_PROGRESS",
3: "IMPORT_DONE",
4: "IMPORT_OBSOLETE",
}
ImportEntriesMetadata_ImportState_value = map[string]int32{
"IMPORT_STATE_UNSPECIFIED": 0,
"IMPORT_QUEUED": 1,
"IMPORT_IN_PROGRESS": 2,
"IMPORT_DONE": 3,
"IMPORT_OBSOLETE": 4,
}
)
Enum value maps for ImportEntriesMetadata_ImportState.
Taxonomy_PolicyType_name, Taxonomy_PolicyType_value
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.
ColumnSchema_IndexingType_name, ColumnSchema_IndexingType_value
var (
ColumnSchema_IndexingType_name = map[int32]string{
0: "INDEXING_TYPE_UNSPECIFIED",
1: "INDEXING_TYPE_NONE",
2: "INDEXING_TYPE_NON_UNIQUE",
3: "INDEXING_TYPE_UNIQUE",
4: "INDEXING_TYPE_PRIMARY_KEY",
}
ColumnSchema_IndexingType_value = map[string]int32{
"INDEXING_TYPE_UNSPECIFIED": 0,
"INDEXING_TYPE_NONE": 1,
"INDEXING_TYPE_NON_UNIQUE": 2,
"INDEXING_TYPE_UNIQUE": 3,
"INDEXING_TYPE_PRIMARY_KEY": 4,
}
)
Enum value maps for ColumnSchema_IndexingType.
ColumnSchema_LookerColumnSpec_LookerColumnType_name, ColumnSchema_LookerColumnSpec_LookerColumnType_value
var (
ColumnSchema_LookerColumnSpec_LookerColumnType_name = map[int32]string{
0: "LOOKER_COLUMN_TYPE_UNSPECIFIED",
1: "DIMENSION",
2: "DIMENSION_GROUP",
3: "FILTER",
4: "MEASURE",
5: "PARAMETER",
}
ColumnSchema_LookerColumnSpec_LookerColumnType_value = map[string]int32{
"LOOKER_COLUMN_TYPE_UNSPECIFIED": 0,
"DIMENSION": 1,
"DIMENSION_GROUP": 2,
"FILTER": 3,
"MEASURE": 4,
"PARAMETER": 5,
}
)
Enum value maps for ColumnSchema_LookerColumnSpec_LookerColumnType.
SearchResultType_name, SearchResultType_value
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.
TableSourceType_name, TableSourceType_value
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.
FieldType_PrimitiveType_name, FieldType_PrimitiveType_value
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.
File_google_cloud_datacatalog_v1_bigquery_proto
var File_google_cloud_datacatalog_v1_bigquery_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_common_proto
var File_google_cloud_datacatalog_v1_common_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_data_source_proto
var File_google_cloud_datacatalog_v1_data_source_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_datacatalog_proto
var File_google_cloud_datacatalog_v1_datacatalog_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_dataplex_spec_proto
var File_google_cloud_datacatalog_v1_dataplex_spec_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_dump_content_proto
var File_google_cloud_datacatalog_v1_dump_content_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_gcs_fileset_spec_proto
var File_google_cloud_datacatalog_v1_gcs_fileset_spec_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_physical_schema_proto
var File_google_cloud_datacatalog_v1_physical_schema_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_policytagmanager_proto
var File_google_cloud_datacatalog_v1_policytagmanager_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_policytagmanagerserialization_proto
var File_google_cloud_datacatalog_v1_policytagmanagerserialization_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_schema_proto
var File_google_cloud_datacatalog_v1_schema_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_search_proto
var File_google_cloud_datacatalog_v1_search_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_table_spec_proto
var File_google_cloud_datacatalog_v1_table_spec_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_tags_proto
var File_google_cloud_datacatalog_v1_tags_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_timestamps_proto
var File_google_cloud_datacatalog_v1_timestamps_proto protoreflect.FileDescriptor
File_google_cloud_datacatalog_v1_usage_proto
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)
BigQueryConnectionSpec
type BigQueryConnectionSpec struct {
ConnectionType BigQueryConnectionSpec_ConnectionType "" /* 175 byte string literal not displayed */
ConnectionSpec isBigQueryConnectionSpec_ConnectionSpec `protobuf_oneof:"connection_spec"`
HasCredential bool `protobuf:"varint,3,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"`
}
Specification for the BigQuery connection.
func (*BigQueryConnectionSpec) Descriptor
func (*BigQueryConnectionSpec) Descriptor() ([]byte, []int)
Deprecated: Use BigQueryConnectionSpec.ProtoReflect.Descriptor instead.
func (*BigQueryConnectionSpec) GetCloudSql
func (x *BigQueryConnectionSpec) GetCloudSql() *CloudSqlBigQueryConnectionSpec
func (*BigQueryConnectionSpec) GetConnectionSpec
func (m *BigQueryConnectionSpec) GetConnectionSpec() isBigQueryConnectionSpec_ConnectionSpec
func (*BigQueryConnectionSpec) GetConnectionType
func (x *BigQueryConnectionSpec) GetConnectionType() BigQueryConnectionSpec_ConnectionType
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
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"`
}
BigQueryConnectionSpec_ConnectionType
type BigQueryConnectionSpec_ConnectionType int32
The type of the BigQuery connection.
BigQueryConnectionSpec_CONNECTION_TYPE_UNSPECIFIED, BigQueryConnectionSpec_CLOUD_SQL
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) Descriptor() protoreflect.EnumDescriptor
func (BigQueryConnectionSpec_ConnectionType) Enum
func (BigQueryConnectionSpec_ConnectionType) EnumDescriptor
func (BigQueryConnectionSpec_ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BigQueryConnectionSpec_ConnectionType.Descriptor instead.
func (BigQueryConnectionSpec_ConnectionType) Number
func (x BigQueryConnectionSpec_ConnectionType) Number() protoreflect.EnumNumber
func (BigQueryConnectionSpec_ConnectionType) String
func (x BigQueryConnectionSpec_ConnectionType) String() string
func (BigQueryConnectionSpec_ConnectionType) Type
func (BigQueryConnectionSpec_ConnectionType) Type() protoreflect.EnumType
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.
func (*BigQueryDateShardedSpec) Descriptor
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
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
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
BigQueryTableSpec
type BigQueryTableSpec struct {
TableSourceType TableSourceType "" /* 158 byte string literal not displayed */
TypeSpec isBigQueryTableSpec_TypeSpec `protobuf_oneof:"type_spec"`
}
Describes a BigQuery table.
func (*BigQueryTableSpec) Descriptor
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
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"`
}
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"`
}
BusinessContext
type BusinessContext struct {
// Entry overview fields for rich text descriptions of entries.
EntryOverview *EntryOverview `protobuf:"bytes,1,opt,name=entry_overview,json=entryOverview,proto3" json:"entry_overview,omitempty"`
// Contact people for the entry.
Contacts *Contacts `protobuf:"bytes,2,opt,name=contacts,proto3" json:"contacts,omitempty"`
// contains filtered or unexported fields
}
Business Context of the entry.
func (*BusinessContext) Descriptor
func (*BusinessContext) Descriptor() ([]byte, []int)
Deprecated: Use BusinessContext.ProtoReflect.Descriptor instead.
func (*BusinessContext) GetContacts
func (x *BusinessContext) GetContacts() *Contacts
func (*BusinessContext) GetEntryOverview
func (x *BusinessContext) GetEntryOverview() *EntryOverview
func (*BusinessContext) ProtoMessage
func (*BusinessContext) ProtoMessage()
func (*BusinessContext) ProtoReflect
func (x *BusinessContext) ProtoReflect() protoreflect.Message
func (*BusinessContext) Reset
func (x *BusinessContext) Reset()
func (*BusinessContext) String
func (x *BusinessContext) String() string
CloudBigtableInstanceSpec
type CloudBigtableInstanceSpec struct {
CloudBigtableClusterSpecs []*CloudBigtableInstanceSpec_CloudBigtableClusterSpec "" /* 140 byte string literal not displayed */
}
Specification that applies to Instance
entries that are part of CLOUD_BIGTABLE
system.
(user_specified_type)
func (*CloudBigtableInstanceSpec) Descriptor
func (*CloudBigtableInstanceSpec) Descriptor() ([]byte, []int)
Deprecated: Use CloudBigtableInstanceSpec.ProtoReflect.Descriptor instead.
func (*CloudBigtableInstanceSpec) GetCloudBigtableClusterSpecs
func (x *CloudBigtableInstanceSpec) GetCloudBigtableClusterSpecs() []*CloudBigtableInstanceSpec_CloudBigtableClusterSpec
func (*CloudBigtableInstanceSpec) ProtoMessage
func (*CloudBigtableInstanceSpec) ProtoMessage()
func (*CloudBigtableInstanceSpec) ProtoReflect
func (x *CloudBigtableInstanceSpec) ProtoReflect() protoreflect.Message
func (*CloudBigtableInstanceSpec) Reset
func (x *CloudBigtableInstanceSpec) Reset()
func (*CloudBigtableInstanceSpec) String
func (x *CloudBigtableInstanceSpec) String() string
CloudBigtableInstanceSpec_CloudBigtableClusterSpec
type CloudBigtableInstanceSpec_CloudBigtableClusterSpec struct {
// Name of the cluster.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Location of the cluster, typically a Cloud zone.
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// Type of the resource. For a cluster this would be "CLUSTER".
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// A link back to the parent resource, in this case Instance.
LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
// contains filtered or unexported fields
}
Spec that applies to clusters of an Instance of Cloud Bigtable.
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) Descriptor
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) Descriptor() ([]byte, []int)
Deprecated: Use CloudBigtableInstanceSpec_CloudBigtableClusterSpec.ProtoReflect.Descriptor instead.
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetDisplayName
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetDisplayName() string
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetLinkedResource
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetLinkedResource() string
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetLocation
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetLocation() string
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetType
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) GetType() string
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) ProtoMessage
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) ProtoMessage()
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) ProtoReflect
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) ProtoReflect() protoreflect.Message
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) Reset
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) Reset()
func (*CloudBigtableInstanceSpec_CloudBigtableClusterSpec) String
func (x *CloudBigtableInstanceSpec_CloudBigtableClusterSpec) String() string
CloudBigtableSystemSpec
type CloudBigtableSystemSpec struct {
// Display name of the Instance. This is user specified and different from
// the resource name.
InstanceDisplayName string `protobuf:"bytes,1,opt,name=instance_display_name,json=instanceDisplayName,proto3" json:"instance_display_name,omitempty"`
// contains filtered or unexported fields
}
Specification that applies to
all entries that are part of CLOUD_BIGTABLE
system
(user_specified_type)
func (*CloudBigtableSystemSpec) Descriptor
func (*CloudBigtableSystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use CloudBigtableSystemSpec.ProtoReflect.Descriptor instead.
func (*CloudBigtableSystemSpec) GetInstanceDisplayName
func (x *CloudBigtableSystemSpec) GetInstanceDisplayName() string
func (*CloudBigtableSystemSpec) ProtoMessage
func (*CloudBigtableSystemSpec) ProtoMessage()
func (*CloudBigtableSystemSpec) ProtoReflect
func (x *CloudBigtableSystemSpec) ProtoReflect() protoreflect.Message
func (*CloudBigtableSystemSpec) Reset
func (x *CloudBigtableSystemSpec) Reset()
func (*CloudBigtableSystemSpec) String
func (x *CloudBigtableSystemSpec) String() string
CloudSqlBigQueryConnectionSpec
type CloudSqlBigQueryConnectionSpec struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
Type CloudSqlBigQueryConnectionSpec_DatabaseType "" /* 139 byte string literal not displayed */
}
Specification for the BigQuery connection to a Cloud SQL instance.
func (*CloudSqlBigQueryConnectionSpec) Descriptor
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 (x *CloudSqlBigQueryConnectionSpec) GetType() CloudSqlBigQueryConnectionSpec_DatabaseType
func (*CloudSqlBigQueryConnectionSpec) ProtoMessage
func (*CloudSqlBigQueryConnectionSpec) ProtoMessage()
func (*CloudSqlBigQueryConnectionSpec) ProtoReflect
func (x *CloudSqlBigQueryConnectionSpec) ProtoReflect() protoreflect.Message
func (*CloudSqlBigQueryConnectionSpec) Reset
func (x *CloudSqlBigQueryConnectionSpec) Reset()
func (*CloudSqlBigQueryConnectionSpec) String
func (x *CloudSqlBigQueryConnectionSpec) String() string
CloudSqlBigQueryConnectionSpec_DatabaseType
type CloudSqlBigQueryConnectionSpec_DatabaseType int32
Supported Cloud SQL database types.
CloudSqlBigQueryConnectionSpec_DATABASE_TYPE_UNSPECIFIED, CloudSqlBigQueryConnectionSpec_POSTGRES, CloudSqlBigQueryConnectionSpec_MYSQL
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) Descriptor() protoreflect.EnumDescriptor
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Enum
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) Enum() *CloudSqlBigQueryConnectionSpec_DatabaseType
func (CloudSqlBigQueryConnectionSpec_DatabaseType) EnumDescriptor
func (CloudSqlBigQueryConnectionSpec_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudSqlBigQueryConnectionSpec_DatabaseType.Descriptor instead.
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Number
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) Number() protoreflect.EnumNumber
func (CloudSqlBigQueryConnectionSpec_DatabaseType) String
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) String() string
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Type
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Type() protoreflect.EnumType
ColumnSchema
type ColumnSchema struct {
Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
DefaultValue string `protobuf:"bytes,8,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
OrdinalPosition int32 `protobuf:"varint,9,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"`
HighestIndexingType ColumnSchema_IndexingType "" /* 181 byte string literal not displayed */
Subcolumns []*ColumnSchema `protobuf:"bytes,7,rep,name=subcolumns,proto3" json:"subcolumns,omitempty"`
SystemSpec isColumnSchema_SystemSpec `protobuf_oneof:"system_spec"`
GcRule string `protobuf:"bytes,11,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"`
}
A column within a schema. Columns can be nested inside other columns.
func (*ColumnSchema) Descriptor
func (*ColumnSchema) Descriptor() ([]byte, []int)
Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.
func (*ColumnSchema) GetColumn
func (x *ColumnSchema) GetColumn() string
func (*ColumnSchema) GetDefaultValue
func (x *ColumnSchema) GetDefaultValue() string
func (*ColumnSchema) GetDescription
func (x *ColumnSchema) GetDescription() string
func (*ColumnSchema) GetGcRule
func (x *ColumnSchema) GetGcRule() string
func (*ColumnSchema) GetHighestIndexingType
func (x *ColumnSchema) GetHighestIndexingType() ColumnSchema_IndexingType
func (*ColumnSchema) GetLookerColumnSpec
func (x *ColumnSchema) GetLookerColumnSpec() *ColumnSchema_LookerColumnSpec
func (*ColumnSchema) GetMode
func (x *ColumnSchema) GetMode() string
func (*ColumnSchema) GetOrdinalPosition
func (x *ColumnSchema) GetOrdinalPosition() int32
func (*ColumnSchema) GetSubcolumns
func (x *ColumnSchema) GetSubcolumns() []*ColumnSchema
func (*ColumnSchema) GetSystemSpec
func (m *ColumnSchema) GetSystemSpec() isColumnSchema_SystemSpec
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
ColumnSchema_IndexingType
type ColumnSchema_IndexingType int32
Specifies inclusion of the column in an index
ColumnSchema_INDEXING_TYPE_UNSPECIFIED, ColumnSchema_INDEXING_TYPE_NONE, ColumnSchema_INDEXING_TYPE_NON_UNIQUE, ColumnSchema_INDEXING_TYPE_UNIQUE, ColumnSchema_INDEXING_TYPE_PRIMARY_KEY
const (
// Unspecified.
ColumnSchema_INDEXING_TYPE_UNSPECIFIED ColumnSchema_IndexingType = 0
// Column not a part of an index.
ColumnSchema_INDEXING_TYPE_NONE ColumnSchema_IndexingType = 1
// Column Part of non unique index.
ColumnSchema_INDEXING_TYPE_NON_UNIQUE ColumnSchema_IndexingType = 2
// Column part of unique index.
ColumnSchema_INDEXING_TYPE_UNIQUE ColumnSchema_IndexingType = 3
// Column part of the primary key.
ColumnSchema_INDEXING_TYPE_PRIMARY_KEY ColumnSchema_IndexingType = 4
)
func (ColumnSchema_IndexingType) Descriptor
func (ColumnSchema_IndexingType) Descriptor() protoreflect.EnumDescriptor
func (ColumnSchema_IndexingType) Enum
func (x ColumnSchema_IndexingType) Enum() *ColumnSchema_IndexingType
func (ColumnSchema_IndexingType) EnumDescriptor
func (ColumnSchema_IndexingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnSchema_IndexingType.Descriptor instead.
func (ColumnSchema_IndexingType) Number
func (x ColumnSchema_IndexingType) Number() protoreflect.EnumNumber
func (ColumnSchema_IndexingType) String
func (x ColumnSchema_IndexingType) String() string
func (ColumnSchema_IndexingType) Type
func (ColumnSchema_IndexingType) Type() protoreflect.EnumType
ColumnSchema_LookerColumnSpec
type ColumnSchema_LookerColumnSpec struct {
Type ColumnSchema_LookerColumnSpec_LookerColumnType "" /* 142 byte string literal not displayed */
}
Column info specific to Looker System.
func (*ColumnSchema_LookerColumnSpec) Descriptor
func (*ColumnSchema_LookerColumnSpec) Descriptor() ([]byte, []int)
Deprecated: Use ColumnSchema_LookerColumnSpec.ProtoReflect.Descriptor instead.
func (*ColumnSchema_LookerColumnSpec) GetType
func (x *ColumnSchema_LookerColumnSpec) GetType() ColumnSchema_LookerColumnSpec_LookerColumnType
func (*ColumnSchema_LookerColumnSpec) ProtoMessage
func (*ColumnSchema_LookerColumnSpec) ProtoMessage()
func (*ColumnSchema_LookerColumnSpec) ProtoReflect
func (x *ColumnSchema_LookerColumnSpec) ProtoReflect() protoreflect.Message
func (*ColumnSchema_LookerColumnSpec) Reset
func (x *ColumnSchema_LookerColumnSpec) Reset()
func (*ColumnSchema_LookerColumnSpec) String
func (x *ColumnSchema_LookerColumnSpec) String() string
ColumnSchema_LookerColumnSpec_
type ColumnSchema_LookerColumnSpec_ struct {
// Looker specific column info of this column.
LookerColumnSpec *ColumnSchema_LookerColumnSpec `protobuf:"bytes,18,opt,name=looker_column_spec,json=lookerColumnSpec,proto3,oneof"`
}
ColumnSchema_LookerColumnSpec_LookerColumnType
type ColumnSchema_LookerColumnSpec_LookerColumnType int32
Column type in Looker.
ColumnSchema_LookerColumnSpec_LOOKER_COLUMN_TYPE_UNSPECIFIED, ColumnSchema_LookerColumnSpec_DIMENSION, ColumnSchema_LookerColumnSpec_DIMENSION_GROUP, ColumnSchema_LookerColumnSpec_FILTER, ColumnSchema_LookerColumnSpec_MEASURE, ColumnSchema_LookerColumnSpec_PARAMETER
const (
// Unspecified.
ColumnSchema_LookerColumnSpec_LOOKER_COLUMN_TYPE_UNSPECIFIED ColumnSchema_LookerColumnSpec_LookerColumnType = 0
// Dimension.
ColumnSchema_LookerColumnSpec_DIMENSION ColumnSchema_LookerColumnSpec_LookerColumnType = 1
// Dimension group - parent for Dimension.
ColumnSchema_LookerColumnSpec_DIMENSION_GROUP ColumnSchema_LookerColumnSpec_LookerColumnType = 2
// Filter.
ColumnSchema_LookerColumnSpec_FILTER ColumnSchema_LookerColumnSpec_LookerColumnType = 3
// Measure.
ColumnSchema_LookerColumnSpec_MEASURE ColumnSchema_LookerColumnSpec_LookerColumnType = 4
// Parameter.
ColumnSchema_LookerColumnSpec_PARAMETER ColumnSchema_LookerColumnSpec_LookerColumnType = 5
)
func (ColumnSchema_LookerColumnSpec_LookerColumnType) Descriptor
func (ColumnSchema_LookerColumnSpec_LookerColumnType) Descriptor() protoreflect.EnumDescriptor
func (ColumnSchema_LookerColumnSpec_LookerColumnType) Enum
func (x ColumnSchema_LookerColumnSpec_LookerColumnType) Enum() *ColumnSchema_LookerColumnSpec_LookerColumnType
func (ColumnSchema_LookerColumnSpec_LookerColumnType) EnumDescriptor
func (ColumnSchema_LookerColumnSpec_LookerColumnType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColumnSchema_LookerColumnSpec_LookerColumnType.Descriptor instead.
func (ColumnSchema_LookerColumnSpec_LookerColumnType) Number
func (x ColumnSchema_LookerColumnSpec_LookerColumnType) Number() protoreflect.EnumNumber
func (ColumnSchema_LookerColumnSpec_LookerColumnType) String
func (x ColumnSchema_LookerColumnSpec_LookerColumnType) String() string
func (ColumnSchema_LookerColumnSpec_LookerColumnType) Type
CommonUsageStats
type CommonUsageStats struct {
// View count in source system.
ViewCount *int64 `protobuf:"varint,1,opt,name=view_count,json=viewCount,proto3,oneof" json:"view_count,omitempty"`
// contains filtered or unexported fields
}
Common statistics on the entry's usage.
They can be set on any system.
func (*CommonUsageStats) Descriptor
func (*CommonUsageStats) Descriptor() ([]byte, []int)
Deprecated: Use CommonUsageStats.ProtoReflect.Descriptor instead.
func (*CommonUsageStats) GetViewCount
func (x *CommonUsageStats) GetViewCount() int64
func (*CommonUsageStats) ProtoMessage
func (*CommonUsageStats) ProtoMessage()
func (*CommonUsageStats) ProtoReflect
func (x *CommonUsageStats) ProtoReflect() protoreflect.Message
func (*CommonUsageStats) Reset
func (x *CommonUsageStats) Reset()
func (*CommonUsageStats) String
func (x *CommonUsageStats) String() string
Contacts
type Contacts struct {
// The list of contact people for the entry.
People []*Contacts_Person `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"`
// contains filtered or unexported fields
}
Contact people for the entry.
func (*Contacts) Descriptor
Deprecated: Use Contacts.ProtoReflect.Descriptor instead.
func (*Contacts) GetPeople
func (x *Contacts) GetPeople() []*Contacts_Person
func (*Contacts) ProtoMessage
func (*Contacts) ProtoMessage()
func (*Contacts) ProtoReflect
func (x *Contacts) ProtoReflect() protoreflect.Message
func (*Contacts) Reset
func (x *Contacts) Reset()
func (*Contacts) String
Contacts_Person
type Contacts_Person struct {
// Designation of the person, for example, Data Steward.
Designation string `protobuf:"bytes,1,opt,name=designation,proto3" json:"designation,omitempty"`
// Email of the person in the format of `john.doe@xyz`,
// `
A contact person for the entry.
func (*Contacts_Person) Descriptor
func (*Contacts_Person) Descriptor() ([]byte, []int)
Deprecated: Use Contacts_Person.ProtoReflect.Descriptor instead.
func (*Contacts_Person) GetDesignation
func (x *Contacts_Person) GetDesignation() string
func (*Contacts_Person) GetEmail
func (x *Contacts_Person) GetEmail() string
func (*Contacts_Person) ProtoMessage
func (*Contacts_Person) ProtoMessage()
func (*Contacts_Person) ProtoReflect
func (x *Contacts_Person) ProtoReflect() protoreflect.Message
func (*Contacts_Person) Reset
func (x *Contacts_Person) Reset()
func (*Contacts_Person) String
func (x *Contacts_Person) String() string
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
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
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
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
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
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
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
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
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
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 (x *CreateTagTemplateFieldRequest) ProtoReflect() protoreflect.Message
func (*CreateTagTemplateFieldRequest) Reset
func (x *CreateTagTemplateFieldRequest) Reset()
func (*CreateTagTemplateFieldRequest) String
func (x *CreateTagTemplateFieldRequest) String() string
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
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
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
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
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
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
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)
// Modifies entry overview, part of the business context of an
// [Entry][google.cloud.datacatalog.v1.Entry].
//
// To call this method, you must have the `datacatalog.entries.updateOverview`
// IAM permission on the corresponding project.
ModifyEntryOverview(ctx context.Context, in *ModifyEntryOverviewRequest, opts ...grpc.CallOption) (*EntryOverview, error)
// Modifies contacts, part of the business context of an
// [Entry][google.cloud.datacatalog.v1.Entry].
//
// To call this method, you must have the `datacatalog.entries.updateContacts`
// IAM permission on the corresponding project.
ModifyEntryContacts(ctx context.Context, in *ModifyEntryContactsRequest, opts ...grpc.CallOption) (*Contacts, 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].
// The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
// lowercased.
ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
// `ReconcileTags` creates or updates a list of tags on the entry.
// If the
// [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
// parameter is set, the operation deletes tags not included in the input tag
// list.
//
// `ReconcileTags` returns a [long-running operation]
// [google.longrunning.Operation] resource that can be queried with
// [Operations.GetOperation][google.longrunning.Operations.GetOperation]
// to return [ReconcileTagsMetadata]
// [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
// a [ReconcileTagsResponse]
// [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
ReconcileTags(ctx context.Context, in *ReconcileTagsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
// the current user. Starring information is private to each user.
StarEntry(ctx context.Context, in *StarEntryRequest, opts ...grpc.CallOption) (*StarEntryResponse, error)
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
// the current user. Starring information is private to each user.
UnstarEntry(ctx context.Context, in *UnstarEntryRequest, opts ...grpc.CallOption) (*UnstarEntryResponse, 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 *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.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 *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.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 *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
// Imports entries from a source, such as data previously dumped into a
// Cloud Storage bucket, into Data Catalog. Import of entries
// is a sync operation that reconciles the state of the third-party system
// with the Data Catalog.
//
// `ImportEntries` accepts source data snapshots of a third-party system.
// Snapshot should be delivered as a .wire or base65-encoded .txt file
// containing a sequence of Protocol Buffer messages of
// [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
//
// `ImportEntries` returns a [long-running operation]
// [google.longrunning.Operation] resource that can be queried with
// [Operations.GetOperation][google.longrunning.Operations.GetOperation]
// to return
// [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
// and an
// [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
// message.
ImportEntries(ctx context.Context, in *ImportEntriesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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.
func NewDataCatalogClient
func NewDataCatalogClient(cc grpc.ClientConnInterface) DataCatalogClient
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)
// Modifies entry overview, part of the business context of an
// [Entry][google.cloud.datacatalog.v1.Entry].
//
// To call this method, you must have the `datacatalog.entries.updateOverview`
// IAM permission on the corresponding project.
ModifyEntryOverview(context.Context, *ModifyEntryOverviewRequest) (*EntryOverview, error)
// Modifies contacts, part of the business context of an
// [Entry][google.cloud.datacatalog.v1.Entry].
//
// To call this method, you must have the `datacatalog.entries.updateContacts`
// IAM permission on the corresponding project.
ModifyEntryContacts(context.Context, *ModifyEntryContactsRequest) (*Contacts, 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].
// The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
// lowercased.
ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
// `ReconcileTags` creates or updates a list of tags on the entry.
// If the
// [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]
// parameter is set, the operation deletes tags not included in the input tag
// list.
//
// `ReconcileTags` returns a [long-running operation]
// [google.longrunning.Operation] resource that can be queried with
// [Operations.GetOperation][google.longrunning.Operations.GetOperation]
// to return [ReconcileTagsMetadata]
// [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
// a [ReconcileTagsResponse]
// [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
ReconcileTags(context.Context, *ReconcileTagsRequest) (*longrunningpb.Operation, error)
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
// the current user. Starring information is private to each user.
StarEntry(context.Context, *StarEntryRequest) (*StarEntryResponse, error)
// Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
// the current user. Starring information is private to each user.
UnstarEntry(context.Context, *UnstarEntryRequest) (*UnstarEntryResponse, 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, *iampb.SetIamPolicyRequest) (*iampb.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, *iampb.GetIamPolicyRequest) (*iampb.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, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
// Imports entries from a source, such as data previously dumped into a
// Cloud Storage bucket, into Data Catalog. Import of entries
// is a sync operation that reconciles the state of the third-party system
// with the Data Catalog.
//
// `ImportEntries` accepts source data snapshots of a third-party system.
// Snapshot should be delivered as a .wire or base65-encoded .txt file
// containing a sequence of Protocol Buffer messages of
// [DumpItem][google.cloud.datacatalog.v1.DumpItem] type.
//
// `ImportEntries` returns a [long-running operation]
// [google.longrunning.Operation] resource that can be queried with
// [Operations.GetOperation][google.longrunning.Operations.GetOperation]
// to return
// [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]
// and an
// [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]
// message.
ImportEntries(context.Context, *ImportEntriesRequest) (*longrunningpb.Operation, error)
}
DataCatalogServer is the server API for DataCatalog service.
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"`
// Output only. Data Catalog entry name, if applicable.
SourceEntry string `protobuf:"bytes,3,opt,name=source_entry,json=sourceEntry,proto3" json:"source_entry,omitempty"`
// Types that are assignable to Properties:
// *DataSource_StorageProperties
Properties isDataSource_Properties `protobuf_oneof:"properties"`
// contains filtered or unexported fields
}
Physical location of an entry.
func (*DataSource) Descriptor
func (*DataSource) Descriptor() ([]byte, []int)
Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetProperties
func (m *DataSource) GetProperties() isDataSource_Properties
func (*DataSource) GetResource
func (x *DataSource) GetResource() string
func (*DataSource) GetService
func (x *DataSource) GetService() DataSource_Service
func (*DataSource) GetSourceEntry
func (x *DataSource) GetSourceEntry() string
func (*DataSource) GetStorageProperties
func (x *DataSource) GetStorageProperties() *StorageProperties
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
DataSourceConnectionSpec
type DataSourceConnectionSpec struct {
BigqueryConnectionSpec *BigQueryConnectionSpec "" /* 129 byte string literal not displayed */
}
Specification that applies to a data source connection. Valid only for
entries with the DATA_SOURCE_CONNECTION
type.
Only one of internal specs can be set at the time, and cannot
be changed later.
func (*DataSourceConnectionSpec) Descriptor
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
DataSource_Service
type DataSource_Service int32
Name of a service that stores the data.
DataSource_SERVICE_UNSPECIFIED, DataSource_CLOUD_STORAGE, DataSource_BIGQUERY
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) Descriptor() protoreflect.EnumDescriptor
func (DataSource_Service) Enum
func (x DataSource_Service) Enum() *DataSource_Service
func (DataSource_Service) EnumDescriptor
func (DataSource_Service) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSource_Service.Descriptor instead.
func (DataSource_Service) Number
func (x DataSource_Service) Number() protoreflect.EnumNumber
func (DataSource_Service) String
func (x DataSource_Service) String() string
func (DataSource_Service) Type
func (DataSource_Service) Type() protoreflect.EnumType
DataSource_StorageProperties
type DataSource_StorageProperties struct {
// Detailed properties of the underlying storage.
StorageProperties *StorageProperties `protobuf:"bytes,4,opt,name=storage_properties,json=storageProperties,proto3,oneof"`
}
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"`
// Output only. Fields specific to a Dataplex table and present only in the
// Dataplex table entries.
DataplexTable *DataplexTableSpec `protobuf:"bytes,2,opt,name=dataplex_table,json=dataplexTable,proto3" json:"dataplex_table,omitempty"`
// Spec what aplies to tables that are actually views.
// Not set for "real" tables.
DatabaseViewSpec *DatabaseTableSpec_DatabaseViewSpec `protobuf:"bytes,3,opt,name=database_view_spec,json=databaseViewSpec,proto3" json:"database_view_spec,omitempty"`
// contains filtered or unexported fields
}
Specification that applies to a table resource. Valid only
for entries with the TABLE
type.
func (*DatabaseTableSpec) Descriptor
func (*DatabaseTableSpec) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseTableSpec.ProtoReflect.Descriptor instead.
func (*DatabaseTableSpec) GetDatabaseViewSpec
func (x *DatabaseTableSpec) GetDatabaseViewSpec() *DatabaseTableSpec_DatabaseViewSpec
func (*DatabaseTableSpec) GetDataplexTable
func (x *DatabaseTableSpec) GetDataplexTable() *DataplexTableSpec
func (*DatabaseTableSpec) GetType
func (x *DatabaseTableSpec) GetType() DatabaseTableSpec_TableType
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
DatabaseTableSpec_DatabaseViewSpec
type DatabaseTableSpec_DatabaseViewSpec struct {
ViewType DatabaseTableSpec_DatabaseViewSpec_ViewType "" /* 163 byte string literal not displayed */
SourceDefinition isDatabaseTableSpec_DatabaseViewSpec_SourceDefinition `protobuf_oneof:"source_definition"`
}
Specification that applies to database view.
func (*DatabaseTableSpec_DatabaseViewSpec) Descriptor
func (*DatabaseTableSpec_DatabaseViewSpec) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseTableSpec_DatabaseViewSpec.ProtoReflect.Descriptor instead.
func (*DatabaseTableSpec_DatabaseViewSpec) GetBaseTable
func (x *DatabaseTableSpec_DatabaseViewSpec) GetBaseTable() string
func (*DatabaseTableSpec_DatabaseViewSpec) GetSourceDefinition
func (m *DatabaseTableSpec_DatabaseViewSpec) GetSourceDefinition() isDatabaseTableSpec_DatabaseViewSpec_SourceDefinition
func (*DatabaseTableSpec_DatabaseViewSpec) GetSqlQuery
func (x *DatabaseTableSpec_DatabaseViewSpec) GetSqlQuery() string
func (*DatabaseTableSpec_DatabaseViewSpec) GetViewType
func (x *DatabaseTableSpec_DatabaseViewSpec) GetViewType() DatabaseTableSpec_DatabaseViewSpec_ViewType
func (*DatabaseTableSpec_DatabaseViewSpec) ProtoMessage
func (*DatabaseTableSpec_DatabaseViewSpec) ProtoMessage()
func (*DatabaseTableSpec_DatabaseViewSpec) ProtoReflect
func (x *DatabaseTableSpec_DatabaseViewSpec) ProtoReflect() protoreflect.Message
func (*DatabaseTableSpec_DatabaseViewSpec) Reset
func (x *DatabaseTableSpec_DatabaseViewSpec) Reset()
func (*DatabaseTableSpec_DatabaseViewSpec) String
func (x *DatabaseTableSpec_DatabaseViewSpec) String() string
DatabaseTableSpec_DatabaseViewSpec_BaseTable
type DatabaseTableSpec_DatabaseViewSpec_BaseTable struct {
// Name of a singular table this view reflects one to one.
BaseTable string `protobuf:"bytes,2,opt,name=base_table,json=baseTable,proto3,oneof"`
}
DatabaseTableSpec_DatabaseViewSpec_SqlQuery
type DatabaseTableSpec_DatabaseViewSpec_SqlQuery struct {
// SQL query used to generate this view.
SqlQuery string `protobuf:"bytes,3,opt,name=sql_query,json=sqlQuery,proto3,oneof"`
}
DatabaseTableSpec_DatabaseViewSpec_ViewType
type DatabaseTableSpec_DatabaseViewSpec_ViewType int32
Concrete type of the view.
DatabaseTableSpec_DatabaseViewSpec_VIEW_TYPE_UNSPECIFIED, DatabaseTableSpec_DatabaseViewSpec_STANDARD_VIEW, DatabaseTableSpec_DatabaseViewSpec_MATERIALIZED_VIEW
const (
// Default unknown view type.
DatabaseTableSpec_DatabaseViewSpec_VIEW_TYPE_UNSPECIFIED DatabaseTableSpec_DatabaseViewSpec_ViewType = 0
// Standard view.
DatabaseTableSpec_DatabaseViewSpec_STANDARD_VIEW DatabaseTableSpec_DatabaseViewSpec_ViewType = 1
// Materialized view.
DatabaseTableSpec_DatabaseViewSpec_MATERIALIZED_VIEW DatabaseTableSpec_DatabaseViewSpec_ViewType = 2
)
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Descriptor
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Descriptor() protoreflect.EnumDescriptor
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Enum
func (x DatabaseTableSpec_DatabaseViewSpec_ViewType) Enum() *DatabaseTableSpec_DatabaseViewSpec_ViewType
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) EnumDescriptor
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseTableSpec_DatabaseViewSpec_ViewType.Descriptor instead.
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Number
func (x DatabaseTableSpec_DatabaseViewSpec_ViewType) Number() protoreflect.EnumNumber
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) String
func (x DatabaseTableSpec_DatabaseViewSpec_ViewType) String() string
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Type
func (DatabaseTableSpec_DatabaseViewSpec_ViewType) Type() protoreflect.EnumType
DatabaseTableSpec_TableType
type DatabaseTableSpec_TableType int32
Type of the table.
DatabaseTableSpec_TABLE_TYPE_UNSPECIFIED, DatabaseTableSpec_NATIVE, DatabaseTableSpec_EXTERNAL
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) Descriptor() protoreflect.EnumDescriptor
func (DatabaseTableSpec_TableType) Enum
func (x DatabaseTableSpec_TableType) Enum() *DatabaseTableSpec_TableType
func (DatabaseTableSpec_TableType) EnumDescriptor
func (DatabaseTableSpec_TableType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseTableSpec_TableType.Descriptor instead.
func (DatabaseTableSpec_TableType) Number
func (x DatabaseTableSpec_TableType) Number() protoreflect.EnumNumber
func (DatabaseTableSpec_TableType) String
func (x DatabaseTableSpec_TableType) String() string
func (DatabaseTableSpec_TableType) Type
func (DatabaseTableSpec_TableType) Type() protoreflect.EnumType
DataplexExternalTable
type DataplexExternalTable struct {
// Service in which the external table is registered.
System IntegratedSystem `protobuf:"varint,1,opt,name=system,proto3,enum=google.cloud.datacatalog.v1.IntegratedSystem" json:"system,omitempty"`
// Fully qualified name (FQN) of the external table.
FullyQualifiedName string `protobuf:"bytes,28,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"`
// Google Cloud resource name of the external table.
GoogleCloudResource string `protobuf:"bytes,3,opt,name=google_cloud_resource,json=googleCloudResource,proto3" json:"google_cloud_resource,omitempty"`
// Name of the Data Catalog entry representing the external table.
DataCatalogEntry string `protobuf:"bytes,4,opt,name=data_catalog_entry,json=dataCatalogEntry,proto3" json:"data_catalog_entry,omitempty"`
// contains filtered or unexported fields
}
External table registered by Dataplex. Dataplex publishes data discovered from an asset into multiple other systems (BigQuery, DPMS) in form of tables. We call them "external tables". External tables are also synced into the Data Catalog. This message contains pointers to those external tables (fully qualified name, resource name et cetera) within the Data Catalog.
func (*DataplexExternalTable) Descriptor
func (*DataplexExternalTable) Descriptor() ([]byte, []int)
Deprecated: Use DataplexExternalTable.ProtoReflect.Descriptor instead.
func (*DataplexExternalTable) GetDataCatalogEntry
func (x *DataplexExternalTable) GetDataCatalogEntry() string
func (*DataplexExternalTable) GetFullyQualifiedName
func (x *DataplexExternalTable) GetFullyQualifiedName() string
func (*DataplexExternalTable) GetGoogleCloudResource
func (x *DataplexExternalTable) GetGoogleCloudResource() string
func (*DataplexExternalTable) GetSystem
func (x *DataplexExternalTable) GetSystem() IntegratedSystem
func (*DataplexExternalTable) ProtoMessage
func (*DataplexExternalTable) ProtoMessage()
func (*DataplexExternalTable) ProtoReflect
func (x *DataplexExternalTable) ProtoReflect() protoreflect.Message
func (*DataplexExternalTable) Reset
func (x *DataplexExternalTable) Reset()
func (*DataplexExternalTable) String
func (x *DataplexExternalTable) String() string
DataplexFilesetSpec
type DataplexFilesetSpec struct {
// Common Dataplex fields.
DataplexSpec *DataplexSpec `protobuf:"bytes,1,opt,name=dataplex_spec,json=dataplexSpec,proto3" json:"dataplex_spec,omitempty"`
// contains filtered or unexported fields
}
Entry specyfication for a Dataplex fileset.
func (*DataplexFilesetSpec) Descriptor
func (*DataplexFilesetSpec) Descriptor() ([]byte, []int)
Deprecated: Use DataplexFilesetSpec.ProtoReflect.Descriptor instead.
func (*DataplexFilesetSpec) GetDataplexSpec
func (x *DataplexFilesetSpec) GetDataplexSpec() *DataplexSpec
func (*DataplexFilesetSpec) ProtoMessage
func (*DataplexFilesetSpec) ProtoMessage()
func (*DataplexFilesetSpec) ProtoReflect
func (x *DataplexFilesetSpec) ProtoReflect() protoreflect.Message
func (*DataplexFilesetSpec) Reset
func (x *DataplexFilesetSpec) Reset()
func (*DataplexFilesetSpec) String
func (x *DataplexFilesetSpec) String() string
DataplexSpec
type DataplexSpec struct {
// Fully qualified resource name of an asset in Dataplex, to which the
// underlying data source (Cloud Storage bucket or BigQuery dataset) of the
// entity is attached.
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
// Format of the data.
DataFormat *PhysicalSchema `protobuf:"bytes,2,opt,name=data_format,json=dataFormat,proto3" json:"data_format,omitempty"`
// Compression format of the data, e.g., zip, gzip etc.
CompressionFormat string `protobuf:"bytes,3,opt,name=compression_format,json=compressionFormat,proto3" json:"compression_format,omitempty"`
// Project ID of the underlying Cloud Storage or BigQuery data. Note that
// this may not be the same project as the correspondingly Dataplex lake /
// zone / asset.
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// contains filtered or unexported fields
}
Common Dataplex fields.
func (*DataplexSpec) Descriptor
func (*DataplexSpec) Descriptor() ([]byte, []int)
Deprecated: Use DataplexSpec.ProtoReflect.Descriptor instead.
func (*DataplexSpec) GetAsset
func (x *DataplexSpec) GetAsset() string
func (*DataplexSpec) GetCompressionFormat
func (x *DataplexSpec) GetCompressionFormat() string
func (*DataplexSpec) GetDataFormat
func (x *DataplexSpec) GetDataFormat() *PhysicalSchema
func (*DataplexSpec) GetProjectId
func (x *DataplexSpec) GetProjectId() string
func (*DataplexSpec) ProtoMessage
func (*DataplexSpec) ProtoMessage()
func (*DataplexSpec) ProtoReflect
func (x *DataplexSpec) ProtoReflect() protoreflect.Message
func (*DataplexSpec) Reset
func (x *DataplexSpec) Reset()
func (*DataplexSpec) String
func (x *DataplexSpec) String() string
DataplexTableSpec
type DataplexTableSpec struct {
// List of external tables registered by Dataplex in other systems based on
// the same underlying data.
//
// External tables allow to query this data in those systems.
ExternalTables []*DataplexExternalTable `protobuf:"bytes,1,rep,name=external_tables,json=externalTables,proto3" json:"external_tables,omitempty"`
// Common Dataplex fields.
DataplexSpec *DataplexSpec `protobuf:"bytes,2,opt,name=dataplex_spec,json=dataplexSpec,proto3" json:"dataplex_spec,omitempty"`
// Indicates if the table schema is managed by the user or not.
UserManaged bool `protobuf:"varint,3,opt,name=user_managed,json=userManaged,proto3" json:"user_managed,omitempty"`
// contains filtered or unexported fields
}
Entry specification for a Dataplex table.
func (*DataplexTableSpec) Descriptor
func (*DataplexTableSpec) Descriptor() ([]byte, []int)
Deprecated: Use DataplexTableSpec.ProtoReflect.Descriptor instead.
func (*DataplexTableSpec) GetDataplexSpec
func (x *DataplexTableSpec) GetDataplexSpec() *DataplexSpec
func (*DataplexTableSpec) GetExternalTables
func (x *DataplexTableSpec) GetExternalTables() []*DataplexExternalTable
func (*DataplexTableSpec) GetUserManaged
func (x *DataplexTableSpec) GetUserManaged() bool
func (*DataplexTableSpec) ProtoMessage
func (*DataplexTableSpec) ProtoMessage()
func (*DataplexTableSpec) ProtoReflect
func (x *DataplexTableSpec) ProtoReflect() protoreflect.Message
func (*DataplexTableSpec) Reset
func (x *DataplexTableSpec) Reset()
func (*DataplexTableSpec) String
func (x *DataplexTableSpec) String() string
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
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
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
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
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
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
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
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
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
func (*DeleteTagTemplateFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagTemplateFieldRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagTemplateFieldRequest) GetForce
func (x *DeleteTagTemplateFieldRequest) GetForce() bool
func (*DeleteTagTemplateFieldRequest) GetName
func (x *DeleteTagTemplateFieldRequest) GetName() string
func (*DeleteTagTemplateFieldRequest) ProtoMessage
func (*DeleteTagTemplateFieldRequest) ProtoMessage()
func (*DeleteTagTemplateFieldRequest) ProtoReflect
func (x *DeleteTagTemplateFieldRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagTemplateFieldRequest) Reset
func (x *DeleteTagTemplateFieldRequest) Reset()
func (*DeleteTagTemplateFieldRequest) String
func (x *DeleteTagTemplateFieldRequest) String() string
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
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
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
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
DumpItem
type DumpItem struct {
// Types that are assignable to Item:
// *DumpItem_TaggedEntry
Item isDumpItem_Item `protobuf_oneof:"item"`
// contains filtered or unexported fields
}
Wrapper for any item that can be contained in the dump.
func (*DumpItem) Descriptor
Deprecated: Use DumpItem.ProtoReflect.Descriptor instead.
func (*DumpItem) GetItem
func (m *DumpItem) GetItem() isDumpItem_Item
func (*DumpItem) GetTaggedEntry
func (x *DumpItem) GetTaggedEntry() *TaggedEntry
func (*DumpItem) ProtoMessage
func (*DumpItem) ProtoMessage()
func (*DumpItem) ProtoReflect
func (x *DumpItem) ProtoReflect() protoreflect.Message
func (*DumpItem) Reset
func (x *DumpItem) Reset()
func (*DumpItem) String
DumpItem_TaggedEntry
type DumpItem_TaggedEntry struct {
// Entry and its tags.
TaggedEntry *TaggedEntry `protobuf:"bytes,1,opt,name=tagged_entry,json=taggedEntry,proto3,oneof"`
}
Entry
type Entry struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
LinkedResource string `protobuf:"bytes,9,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
FullyQualifiedName string `protobuf:"bytes,29,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"`
EntryType isEntry_EntryType `protobuf_oneof:"entry_type"`
System isEntry_System `protobuf_oneof:"system"`
SystemSpec isEntry_SystemSpec `protobuf_oneof:"system_spec"`
TypeSpec isEntry_TypeSpec `protobuf_oneof:"type_spec"`
Spec isEntry_Spec `protobuf_oneof:"spec"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
BusinessContext *BusinessContext `protobuf:"bytes,37,opt,name=business_context,json=businessContext,proto3" json:"business_context,omitempty"`
Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
SourceSystemTimestamps *SystemTimestamps "" /* 129 byte string literal not displayed */
UsageSignal *UsageSignal `protobuf:"bytes,13,opt,name=usage_signal,json=usageSignal,proto3" json:"usage_signal,omitempty"`
Labels map[string]string "" /* 154 byte string literal not displayed */
DataSource *DataSource `protobuf:"bytes,20,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
PersonalDetails *PersonalDetails `protobuf:"bytes,26,opt,name=personal_details,json=personalDetails,proto3" json:"personal_details,omitempty"`
}
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: Use Entry.ProtoReflect.Descriptor instead.
func (*Entry) GetBigqueryDateShardedSpec
func (x *Entry) GetBigqueryDateShardedSpec() *BigQueryDateShardedSpec
func (*Entry) GetBigqueryTableSpec
func (x *Entry) GetBigqueryTableSpec() *BigQueryTableSpec
func (*Entry) GetBusinessContext
func (x *Entry) GetBusinessContext() *BusinessContext
func (*Entry) GetCloudBigtableSystemSpec
func (x *Entry) GetCloudBigtableSystemSpec() *CloudBigtableSystemSpec
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 (*Entry) GetDisplayName
func (*Entry) GetEntryType
func (m *Entry) GetEntryType() isEntry_EntryType
func (*Entry) GetFilesetSpec
func (x *Entry) GetFilesetSpec() *FilesetSpec
func (*Entry) GetFullyQualifiedName
func (*Entry) GetGcsFilesetSpec
func (x *Entry) GetGcsFilesetSpec() *GcsFilesetSpec
func (*Entry) GetIntegratedSystem
func (x *Entry) GetIntegratedSystem() IntegratedSystem
func (*Entry) GetLabels
func (*Entry) GetLinkedResource
func (*Entry) GetLookerSystemSpec
func (x *Entry) GetLookerSystemSpec() *LookerSystemSpec
func (*Entry) GetName
func (*Entry) GetPersonalDetails
func (x *Entry) GetPersonalDetails() *PersonalDetails
func (*Entry) GetRoutineSpec
func (x *Entry) GetRoutineSpec() *RoutineSpec
func (*Entry) GetSchema
func (*Entry) GetServiceSpec
func (x *Entry) GetServiceSpec() *ServiceSpec
func (*Entry) GetSourceSystemTimestamps
func (x *Entry) GetSourceSystemTimestamps() *SystemTimestamps
func (*Entry) GetSpec
func (m *Entry) GetSpec() isEntry_Spec
func (*Entry) GetSqlDatabaseSystemSpec
func (x *Entry) GetSqlDatabaseSystemSpec() *SqlDatabaseSystemSpec
func (*Entry) GetSystem
func (m *Entry) GetSystem() isEntry_System
func (*Entry) GetSystemSpec
func (m *Entry) GetSystemSpec() isEntry_SystemSpec
func (*Entry) GetType
func (*Entry) GetTypeSpec
func (m *Entry) GetTypeSpec() isEntry_TypeSpec
func (*Entry) GetUsageSignal
func (x *Entry) GetUsageSignal() *UsageSignal
func (*Entry) GetUserSpecifiedSystem
func (*Entry) GetUserSpecifiedType
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
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 `protobuf:"bytes,4,opt,name=data_catalog_timestamps,json=dataCatalogTimestamps,proto3" json:"data_catalog_timestamps,omitempty"`
// 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
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
EntryOverview
type EntryOverview struct {
// Entry overview with support for rich text.
//
// The overview must only contain Unicode characters, and should be
// formatted using HTML.
// The maximum length is 10 MiB as this value holds HTML descriptions
// including encoded images. The maximum length of the text without images
// is 100 KiB.
Overview string `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
// contains filtered or unexported fields
}
Entry overview fields for rich text descriptions of entries.
func (*EntryOverview) Descriptor
func (*EntryOverview) Descriptor() ([]byte, []int)
Deprecated: Use EntryOverview.ProtoReflect.Descriptor instead.
func (*EntryOverview) GetOverview
func (x *EntryOverview) GetOverview() string
func (*EntryOverview) ProtoMessage
func (*EntryOverview) ProtoMessage()
func (*EntryOverview) ProtoReflect
func (x *EntryOverview) ProtoReflect() protoreflect.Message
func (*EntryOverview) Reset
func (x *EntryOverview) Reset()
func (*EntryOverview) String
func (x *EntryOverview) String() string
EntryType
type EntryType int32
Metadata automatically ingested from Google Cloud resources like BigQuery
tables or Pub/Sub topics always uses enum values from EntryType
as the type
of entry.
Other sources of metadata like Hive or Oracle databases can identify the type
by either using one of the enum values from EntryType
(for example,
FILESET
for a Cloud Storage fileset) or specifying a custom value using
the Entry
field user_specified_type
. For more
information, see
Surface files from Cloud Storage with fileset
entries or Create custom entries for
your data sources.
EntryType_ENTRY_TYPE_UNSPECIFIED, EntryType_TABLE, EntryType_MODEL, EntryType_DATA_STREAM, EntryType_FILESET, EntryType_CLUSTER, EntryType_DATABASE, EntryType_DATA_SOURCE_CONNECTION, EntryType_ROUTINE, EntryType_LAKE, EntryType_ZONE, EntryType_SERVICE, EntryType_DATABASE_SCHEMA, EntryType_DASHBOARD, EntryType_EXPLORE, EntryType_LOOK
const (
// Default unknown type.
EntryType_ENTRY_TYPE_UNSPECIFIED EntryType = 0
// The entry type that has a GoogleSQL schema, including
// logical views.
EntryType_TABLE EntryType = 2
// The type of models.
//
// For more information, see [Supported models in BigQuery
// ML](/bigquery/docs/bqml-introduction#supported_models).
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
// Connection to a data source. For example, a BigQuery
// connection.
EntryType_DATA_SOURCE_CONNECTION EntryType = 8
// Routine, for example, a BigQuery routine.
EntryType_ROUTINE EntryType = 9
// A Dataplex lake.
EntryType_LAKE EntryType = 10
// A Dataplex zone.
EntryType_ZONE EntryType = 11
// A service, for example, a Dataproc Metastore service.
EntryType_SERVICE EntryType = 14
// Schema within a relational database.
EntryType_DATABASE_SCHEMA EntryType = 15
// A Dashboard, for example from Looker.
EntryType_DASHBOARD EntryType = 16
// A Looker Explore.
//
// For more information, see [Looker Explore API]
// (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore).
EntryType_EXPLORE EntryType = 17
// A Looker Look.
//
// For more information, see [Looker Look API]
// (https://developers.looker.com/api/explorer/4.0/methods/Look).
EntryType_LOOK EntryType = 18
)
func (EntryType) Descriptor
func (EntryType) Descriptor() protoreflect.EnumDescriptor
func (EntryType) Enum
func (EntryType) EnumDescriptor
Deprecated: Use EntryType.Descriptor instead.
func (EntryType) Number
func (x EntryType) Number() protoreflect.EnumNumber
func (EntryType) String
func (EntryType) Type
func (EntryType) Type() protoreflect.EnumType
Entry_BigqueryDateShardedSpec
type Entry_BigqueryDateShardedSpec struct {
// Output only. Specification for a group of BigQuery tables with
// the `[prefix]YYYYMMDD` name pattern.
//
// For more information, see [Introduction to partitioned tables]
// (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
BigqueryDateShardedSpec *BigQueryDateShardedSpec `protobuf:"bytes,15,opt,name=bigquery_date_sharded_spec,json=bigqueryDateShardedSpec,proto3,oneof"`
}
Entry_BigqueryTableSpec
type Entry_BigqueryTableSpec struct {
// Output only. 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"`
}
Entry_CloudBigtableSystemSpec
type Entry_CloudBigtableSystemSpec struct {
// Specification that applies to Cloud Bigtable system. Only settable when
// `integrated_system` is equal to `CLOUD_BIGTABLE`
CloudBigtableSystemSpec *CloudBigtableSystemSpec `protobuf:"bytes,41,opt,name=cloud_bigtable_system_spec,json=cloudBigtableSystemSpec,proto3,oneof"`
}
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"`
}
Entry_DatabaseTableSpec
type Entry_DatabaseTableSpec struct {
// Specification that applies to a table resource. Valid only
// for entries with the `TABLE` or `EXPLORE` type.
DatabaseTableSpec *DatabaseTableSpec `protobuf:"bytes,24,opt,name=database_table_spec,json=databaseTableSpec,proto3,oneof"`
}
Entry_FilesetSpec
type Entry_FilesetSpec struct {
// Specification that applies to a fileset resource. Valid only
// for entries with the `FILESET` type.
FilesetSpec *FilesetSpec `protobuf:"bytes,33,opt,name=fileset_spec,json=filesetSpec,proto3,oneof"`
}
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"`
}
Entry_IntegratedSystem
type Entry_IntegratedSystem struct {
IntegratedSystem IntegratedSystem "" /* 132 byte string literal not displayed */
}
Entry_LookerSystemSpec
type Entry_LookerSystemSpec struct {
// Specification that applies to Looker sysstem. Only settable when
// `user_specified_system` is equal to `LOOKER`
LookerSystemSpec *LookerSystemSpec `protobuf:"bytes,40,opt,name=looker_system_spec,json=lookerSystemSpec,proto3,oneof"`
}
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"`
}
Entry_ServiceSpec
type Entry_ServiceSpec struct {
// Specification that applies to a Service resource.
ServiceSpec *ServiceSpec `protobuf:"bytes,42,opt,name=service_spec,json=serviceSpec,proto3,oneof"`
}
Entry_SqlDatabaseSystemSpec
type Entry_SqlDatabaseSystemSpec struct {
// Specification that applies to a relational database system. Only settable
// when `user_specified_system` is equal to `SQL_DATABASE`
SqlDatabaseSystemSpec *SqlDatabaseSystemSpec `protobuf:"bytes,39,opt,name=sql_database_system_spec,json=sqlDatabaseSystemSpec,proto3,oneof"`
}
Entry_Type
type Entry_Type struct {
// The type of the entry.
//
// For details, see [`EntryType`](#entrytype).
Type EntryType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.datacatalog.v1.EntryType,oneof"`
}
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"`
}
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"`
}
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
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
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"`
}
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
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
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: 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
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
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
FieldType_EnumType_
type FieldType_EnumType_ struct {
// An enum type.
EnumType *FieldType_EnumType `protobuf:"bytes,2,opt,name=enum_type,json=enumType,proto3,oneof"`
}
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
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 (x *FieldType_EnumType_EnumValue) ProtoReflect() protoreflect.Message
func (*FieldType_EnumType_EnumValue) Reset
func (x *FieldType_EnumType_EnumValue) Reset()
func (*FieldType_EnumType_EnumValue) String
func (x *FieldType_EnumType_EnumValue) String() string
FieldType_PrimitiveType
type FieldType_PrimitiveType int32
FieldType_PRIMITIVE_TYPE_UNSPECIFIED, FieldType_DOUBLE, FieldType_STRING, FieldType_BOOL, FieldType_TIMESTAMP, FieldType_RICHTEXT
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) Descriptor() protoreflect.EnumDescriptor
func (FieldType_PrimitiveType) Enum
func (x FieldType_PrimitiveType) Enum() *FieldType_PrimitiveType
func (FieldType_PrimitiveType) EnumDescriptor
func (FieldType_PrimitiveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldType_PrimitiveType.Descriptor instead.
func (FieldType_PrimitiveType) Number
func (x FieldType_PrimitiveType) Number() protoreflect.EnumNumber
func (FieldType_PrimitiveType) String
func (x FieldType_PrimitiveType) String() string
func (FieldType_PrimitiveType) Type
func (FieldType_PrimitiveType) Type() protoreflect.EnumType
FieldType_PrimitiveType_
type FieldType_PrimitiveType_ struct {
PrimitiveType FieldType_PrimitiveType "" /* 132 byte string literal not displayed */
}
FilesetSpec
type FilesetSpec struct {
// Fields specific to a Dataplex fileset and present only in the Dataplex
// fileset entries.
DataplexFileset *DataplexFilesetSpec `protobuf:"bytes,1,opt,name=dataplex_fileset,json=dataplexFileset,proto3" json:"dataplex_fileset,omitempty"`
// contains filtered or unexported fields
}
Specification that applies to a fileset. Valid only for entries with the 'FILESET' type.
func (*FilesetSpec) Descriptor
func (*FilesetSpec) Descriptor() ([]byte, []int)
Deprecated: Use FilesetSpec.ProtoReflect.Descriptor instead.
func (*FilesetSpec) GetDataplexFileset
func (x *FilesetSpec) GetDataplexFileset() *DataplexFilesetSpec
func (*FilesetSpec) ProtoMessage
func (*FilesetSpec) ProtoMessage()
func (*FilesetSpec) ProtoReflect
func (x *FilesetSpec) ProtoReflect() protoreflect.Message
func (*FilesetSpec) Reset
func (x *FilesetSpec) Reset()
func (*FilesetSpec) String
func (x *FilesetSpec) String() string
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ImportEntriesMetadata
type ImportEntriesMetadata struct {
State ImportEntriesMetadata_ImportState "" /* 131 byte string literal not displayed */
Errors []*status.Status `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
}
Metadata message for [long-running operation][google.longrunning.Operation] returned by the [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries].
func (*ImportEntriesMetadata) Descriptor
func (*ImportEntriesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntriesMetadata.ProtoReflect.Descriptor instead.
func (*ImportEntriesMetadata) GetErrors
func (x *ImportEntriesMetadata) GetErrors() []*status.Status
func (*ImportEntriesMetadata) GetState
func (x *ImportEntriesMetadata) GetState() ImportEntriesMetadata_ImportState
func (*ImportEntriesMetadata) ProtoMessage
func (*ImportEntriesMetadata) ProtoMessage()
func (*ImportEntriesMetadata) ProtoReflect
func (x *ImportEntriesMetadata) ProtoReflect() protoreflect.Message
func (*ImportEntriesMetadata) Reset
func (x *ImportEntriesMetadata) Reset()
func (*ImportEntriesMetadata) String
func (x *ImportEntriesMetadata) String() string
ImportEntriesMetadata_ImportState
type ImportEntriesMetadata_ImportState int32
Enum holding possible states of the import operation.
ImportEntriesMetadata_IMPORT_STATE_UNSPECIFIED, ImportEntriesMetadata_IMPORT_QUEUED, ImportEntriesMetadata_IMPORT_IN_PROGRESS, ImportEntriesMetadata_IMPORT_DONE, ImportEntriesMetadata_IMPORT_OBSOLETE
const (
// Default value. This value is unused.
ImportEntriesMetadata_IMPORT_STATE_UNSPECIFIED ImportEntriesMetadata_ImportState = 0
// The dump with entries has been queued for import.
ImportEntriesMetadata_IMPORT_QUEUED ImportEntriesMetadata_ImportState = 1
// The import of entries is in progress.
ImportEntriesMetadata_IMPORT_IN_PROGRESS ImportEntriesMetadata_ImportState = 2
// The import of entries has been finished.
ImportEntriesMetadata_IMPORT_DONE ImportEntriesMetadata_ImportState = 3
// The import of entries has been abandoned in favor of a newer request.
ImportEntriesMetadata_IMPORT_OBSOLETE ImportEntriesMetadata_ImportState = 4
)
func (ImportEntriesMetadata_ImportState) Descriptor
func (ImportEntriesMetadata_ImportState) Descriptor() protoreflect.EnumDescriptor
func (ImportEntriesMetadata_ImportState) Enum
func (x ImportEntriesMetadata_ImportState) Enum() *ImportEntriesMetadata_ImportState
func (ImportEntriesMetadata_ImportState) EnumDescriptor
func (ImportEntriesMetadata_ImportState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEntriesMetadata_ImportState.Descriptor instead.
func (ImportEntriesMetadata_ImportState) Number
func (x ImportEntriesMetadata_ImportState) Number() protoreflect.EnumNumber
func (ImportEntriesMetadata_ImportState) String
func (x ImportEntriesMetadata_ImportState) String() string
func (ImportEntriesMetadata_ImportState) Type
func (ImportEntriesMetadata_ImportState) Type() protoreflect.EnumType
ImportEntriesRequest
type ImportEntriesRequest struct {
// Required. Target entry group for ingested entries.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Source of imported entries, e.g. dump stored in a Cloud Storage
//
// Types that are assignable to Source:
// *ImportEntriesRequest_GcsBucketPath
Source isImportEntriesRequest_Source `protobuf_oneof:"source"`
// Optional. (Optional) Dataplex task job id, if specified will be used as
// part of ImportEntries LRO ID
JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries] method.
func (*ImportEntriesRequest) Descriptor
func (*ImportEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntriesRequest.ProtoReflect.Descriptor instead.
func (*ImportEntriesRequest) GetGcsBucketPath
func (x *ImportEntriesRequest) GetGcsBucketPath() string
func (*ImportEntriesRequest) GetJobId
func (x *ImportEntriesRequest) GetJobId() string
func (*ImportEntriesRequest) GetParent
func (x *ImportEntriesRequest) GetParent() string
func (*ImportEntriesRequest) GetSource
func (m *ImportEntriesRequest) GetSource() isImportEntriesRequest_Source
func (*ImportEntriesRequest) ProtoMessage
func (*ImportEntriesRequest) ProtoMessage()
func (*ImportEntriesRequest) ProtoReflect
func (x *ImportEntriesRequest) ProtoReflect() protoreflect.Message
func (*ImportEntriesRequest) Reset
func (x *ImportEntriesRequest) Reset()
func (*ImportEntriesRequest) String
func (x *ImportEntriesRequest) String() string
ImportEntriesRequest_GcsBucketPath
type ImportEntriesRequest_GcsBucketPath struct {
// Path to a Cloud Storage bucket that contains a dump ready for ingestion.
GcsBucketPath string `protobuf:"bytes,2,opt,name=gcs_bucket_path,json=gcsBucketPath,proto3,oneof"`
}
ImportEntriesResponse
type ImportEntriesResponse struct {
UpsertedEntriesCount *int64 "" /* 130 byte string literal not displayed */
DeletedEntriesCount *int64 "" /* 127 byte string literal not displayed */
}
Response message for [long-running operation][google.longrunning.Operation] returned by the [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries].
func (*ImportEntriesResponse) Descriptor
func (*ImportEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntriesResponse.ProtoReflect.Descriptor instead.
func (*ImportEntriesResponse) GetDeletedEntriesCount
func (x *ImportEntriesResponse) GetDeletedEntriesCount() int64
func (*ImportEntriesResponse) GetUpsertedEntriesCount
func (x *ImportEntriesResponse) GetUpsertedEntriesCount() int64
func (*ImportEntriesResponse) ProtoMessage
func (*ImportEntriesResponse) ProtoMessage()
func (*ImportEntriesResponse) ProtoReflect
func (x *ImportEntriesResponse) ProtoReflect() protoreflect.Message
func (*ImportEntriesResponse) Reset
func (x *ImportEntriesResponse) Reset()
func (*ImportEntriesResponse) String
func (x *ImportEntriesResponse) String() string
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
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
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"`
}
ImportTaxonomiesRequest_InlineSource
type ImportTaxonomiesRequest_InlineSource struct {
// Inline source taxonomy to import.
InlineSource *InlineSource `protobuf:"bytes,2,opt,name=inline_source,json=inlineSource,proto3,oneof"`
}
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
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
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
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
IntegratedSystem
type IntegratedSystem int32
This enum lists all the systems that Data Catalog integrates with.
IntegratedSystem_INTEGRATED_SYSTEM_UNSPECIFIED, IntegratedSystem_BIGQUERY, IntegratedSystem_CLOUD_PUBSUB, IntegratedSystem_DATAPROC_METASTORE, IntegratedSystem_DATAPLEX, IntegratedSystem_CLOUD_SPANNER, IntegratedSystem_CLOUD_BIGTABLE, IntegratedSystem_CLOUD_SQL, IntegratedSystem_LOOKER
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
// Dataplex.
IntegratedSystem_DATAPLEX IntegratedSystem = 4
// Cloud Spanner
IntegratedSystem_CLOUD_SPANNER IntegratedSystem = 6
// Cloud Bigtable
IntegratedSystem_CLOUD_BIGTABLE IntegratedSystem = 7
// Cloud Sql
IntegratedSystem_CLOUD_SQL IntegratedSystem = 8
// Looker
IntegratedSystem_LOOKER IntegratedSystem = 9
)
func (IntegratedSystem) Descriptor
func (IntegratedSystem) Descriptor() protoreflect.EnumDescriptor
func (IntegratedSystem) Enum
func (x IntegratedSystem) Enum() *IntegratedSystem
func (IntegratedSystem) EnumDescriptor
func (IntegratedSystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntegratedSystem.Descriptor instead.
func (IntegratedSystem) Number
func (x IntegratedSystem) Number() protoreflect.EnumNumber
func (IntegratedSystem) String
func (x IntegratedSystem) String() string
func (IntegratedSystem) Type
func (IntegratedSystem) Type() protoreflect.EnumType
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"`
// Supported field for filter is 'service' and value is 'dataplex'.
// Eg: service=dataplex.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
func (*ListTaxonomiesRequest) Descriptor
func (*ListTaxonomiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTaxonomiesRequest.ProtoReflect.Descriptor instead.
func (*ListTaxonomiesRequest) GetFilter
func (x *ListTaxonomiesRequest) GetFilter() string
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
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
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
LookerSystemSpec
type LookerSystemSpec struct {
ParentInstanceId string `protobuf:"bytes,1,opt,name=parent_instance_id,json=parentInstanceId,proto3" json:"parent_instance_id,omitempty"`
ParentInstanceDisplayName string "" /* 140 byte string literal not displayed */
ParentModelId string `protobuf:"bytes,3,opt,name=parent_model_id,json=parentModelId,proto3" json:"parent_model_id,omitempty"`
ParentModelDisplayName string "" /* 131 byte string literal not displayed */
ParentViewId string `protobuf:"bytes,5,opt,name=parent_view_id,json=parentViewId,proto3" json:"parent_view_id,omitempty"`
ParentViewDisplayName string "" /* 128 byte string literal not displayed */
}
Specification that applies to
entries that are part LOOKER
system
(user_specified_type)
func (*LookerSystemSpec) Descriptor
func (*LookerSystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use LookerSystemSpec.ProtoReflect.Descriptor instead.
func (*LookerSystemSpec) GetParentInstanceDisplayName
func (x *LookerSystemSpec) GetParentInstanceDisplayName() string
func (*LookerSystemSpec) GetParentInstanceId
func (x *LookerSystemSpec) GetParentInstanceId() string
func (*LookerSystemSpec) GetParentModelDisplayName
func (x *LookerSystemSpec) GetParentModelDisplayName() string
func (*LookerSystemSpec) GetParentModelId
func (x *LookerSystemSpec) GetParentModelId() string
func (*LookerSystemSpec) GetParentViewDisplayName
func (x *LookerSystemSpec) GetParentViewDisplayName() string
func (*LookerSystemSpec) GetParentViewId
func (x *LookerSystemSpec) GetParentViewId() string
func (*LookerSystemSpec) ProtoMessage
func (*LookerSystemSpec) ProtoMessage()
func (*LookerSystemSpec) ProtoReflect
func (x *LookerSystemSpec) ProtoReflect() protoreflect.Message
func (*LookerSystemSpec) Reset
func (x *LookerSystemSpec) Reset()
func (*LookerSystemSpec) String
func (x *LookerSystemSpec) String() string
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"`
// Project where the lookup should be performed. Required to lookup
// entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
// using its `fully_qualified_name`. Ignored in other cases.
Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
// Location where the lookup should be performed. Required to lookup
// entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system`
// using its `fully_qualified_name`. Ignored in other cases.
Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
Request message for [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
func (*LookupEntryRequest) Descriptor
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) GetLocation
func (x *LookupEntryRequest) GetLocation() string
func (*LookupEntryRequest) GetProject
func (x *LookupEntryRequest) GetProject() 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
LookupEntryRequest_FullyQualifiedName
type LookupEntryRequest_FullyQualifiedName struct {
// [Fully Qualified Name
// (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
// 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"`
}
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"`
}
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"`
}
ManagingSystem
type ManagingSystem int32
This enum describes all the systems that manage Taxonomy and PolicyTag resources in DataCatalog.
ManagingSystem_MANAGING_SYSTEM_UNSPECIFIED, ManagingSystem_MANAGING_SYSTEM_DATAPLEX, ManagingSystem_MANAGING_SYSTEM_OTHER
const (
// Default value
ManagingSystem_MANAGING_SYSTEM_UNSPECIFIED ManagingSystem = 0
// Dataplex.
ManagingSystem_MANAGING_SYSTEM_DATAPLEX ManagingSystem = 1
// Other
ManagingSystem_MANAGING_SYSTEM_OTHER ManagingSystem = 2
)
func (ManagingSystem) Descriptor
func (ManagingSystem) Descriptor() protoreflect.EnumDescriptor
func (ManagingSystem) Enum
func (x ManagingSystem) Enum() *ManagingSystem
func (ManagingSystem) EnumDescriptor
func (ManagingSystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagingSystem.Descriptor instead.
func (ManagingSystem) Number
func (x ManagingSystem) Number() protoreflect.EnumNumber
func (ManagingSystem) String
func (x ManagingSystem) String() string
func (ManagingSystem) Type
func (ManagingSystem) Type() protoreflect.EnumType
ModifyEntryContactsRequest
type ModifyEntryContactsRequest struct {
// Required. The full resource name of the entry.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new value for the Contacts.
Contacts *Contacts `protobuf:"bytes,2,opt,name=contacts,proto3" json:"contacts,omitempty"`
// contains filtered or unexported fields
}
Request message for [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
func (*ModifyEntryContactsRequest) Descriptor
func (*ModifyEntryContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyEntryContactsRequest.ProtoReflect.Descriptor instead.
func (*ModifyEntryContactsRequest) GetContacts
func (x *ModifyEntryContactsRequest) GetContacts() *Contacts
func (*ModifyEntryContactsRequest) GetName
func (x *ModifyEntryContactsRequest) GetName() string
func (*ModifyEntryContactsRequest) ProtoMessage
func (*ModifyEntryContactsRequest) ProtoMessage()
func (*ModifyEntryContactsRequest) ProtoReflect
func (x *ModifyEntryContactsRequest) ProtoReflect() protoreflect.Message
func (*ModifyEntryContactsRequest) Reset
func (x *ModifyEntryContactsRequest) Reset()
func (*ModifyEntryContactsRequest) String
func (x *ModifyEntryContactsRequest) String() string
ModifyEntryOverviewRequest
type ModifyEntryOverviewRequest struct {
// Required. The full resource name of the entry.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new value for the Entry Overview.
EntryOverview *EntryOverview `protobuf:"bytes,2,opt,name=entry_overview,json=entryOverview,proto3" json:"entry_overview,omitempty"`
// contains filtered or unexported fields
}
Request message for [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
func (*ModifyEntryOverviewRequest) Descriptor
func (*ModifyEntryOverviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyEntryOverviewRequest.ProtoReflect.Descriptor instead.
func (*ModifyEntryOverviewRequest) GetEntryOverview
func (x *ModifyEntryOverviewRequest) GetEntryOverview() *EntryOverview
func (*ModifyEntryOverviewRequest) GetName
func (x *ModifyEntryOverviewRequest) GetName() string
func (*ModifyEntryOverviewRequest) ProtoMessage
func (*ModifyEntryOverviewRequest) ProtoMessage()
func (*ModifyEntryOverviewRequest) ProtoReflect
func (x *ModifyEntryOverviewRequest) ProtoReflect() protoreflect.Message
func (*ModifyEntryOverviewRequest) Reset
func (x *ModifyEntryOverviewRequest) Reset()
func (*ModifyEntryOverviewRequest) String
func (x *ModifyEntryOverviewRequest) String() string
PersonalDetails
type PersonalDetails struct {
// True if the entry is starred by the user; false otherwise.
Starred bool `protobuf:"varint,1,opt,name=starred,proto3" json:"starred,omitempty"`
// Set if the entry is starred; unset otherwise.
StarTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=star_time,json=starTime,proto3" json:"star_time,omitempty"`
// contains filtered or unexported fields
}
Entry metadata relevant only to the user and private to them.
func (*PersonalDetails) Descriptor
func (*PersonalDetails) Descriptor() ([]byte, []int)
Deprecated: Use PersonalDetails.ProtoReflect.Descriptor instead.
func (*PersonalDetails) GetStarTime
func (x *PersonalDetails) GetStarTime() *timestamppb.Timestamp
func (*PersonalDetails) GetStarred
func (x *PersonalDetails) GetStarred() bool
func (*PersonalDetails) ProtoMessage
func (*PersonalDetails) ProtoMessage()
func (*PersonalDetails) ProtoReflect
func (x *PersonalDetails) ProtoReflect() protoreflect.Message
func (*PersonalDetails) Reset
func (x *PersonalDetails) Reset()
func (*PersonalDetails) String
func (x *PersonalDetails) String() string
PhysicalSchema
type PhysicalSchema struct {
// Types that are assignable to Schema:
// *PhysicalSchema_Avro
// *PhysicalSchema_Thrift
// *PhysicalSchema_Protobuf
// *PhysicalSchema_Parquet
// *PhysicalSchema_Orc
// *PhysicalSchema_Csv
Schema isPhysicalSchema_Schema `protobuf_oneof:"schema"`
// contains filtered or unexported fields
}
Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.
func (*PhysicalSchema) Descriptor
func (*PhysicalSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema) GetAvro
func (x *PhysicalSchema) GetAvro() *PhysicalSchema_AvroSchema
func (*PhysicalSchema) GetCsv
func (x *PhysicalSchema) GetCsv() *PhysicalSchema_CsvSchema
func (*PhysicalSchema) GetOrc
func (x *PhysicalSchema) GetOrc() *PhysicalSchema_OrcSchema
func (*PhysicalSchema) GetParquet
func (x *PhysicalSchema) GetParquet() *PhysicalSchema_ParquetSchema
func (*PhysicalSchema) GetProtobuf
func (x *PhysicalSchema) GetProtobuf() *PhysicalSchema_ProtobufSchema
func (*PhysicalSchema) GetSchema
func (m *PhysicalSchema) GetSchema() isPhysicalSchema_Schema
func (*PhysicalSchema) GetThrift
func (x *PhysicalSchema) GetThrift() *PhysicalSchema_ThriftSchema
func (*PhysicalSchema) ProtoMessage
func (*PhysicalSchema) ProtoMessage()
func (*PhysicalSchema) ProtoReflect
func (x *PhysicalSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema) Reset
func (x *PhysicalSchema) Reset()
func (*PhysicalSchema) String
func (x *PhysicalSchema) String() string
PhysicalSchema_Avro
type PhysicalSchema_Avro struct {
// Schema in Avro JSON format.
Avro *PhysicalSchema_AvroSchema `protobuf:"bytes,1,opt,name=avro,proto3,oneof"`
}
PhysicalSchema_AvroSchema
type PhysicalSchema_AvroSchema struct {
// JSON source of the Avro schema.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
Schema in Avro JSON format.
func (*PhysicalSchema_AvroSchema) Descriptor
func (*PhysicalSchema_AvroSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_AvroSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_AvroSchema) GetText
func (x *PhysicalSchema_AvroSchema) GetText() string
func (*PhysicalSchema_AvroSchema) ProtoMessage
func (*PhysicalSchema_AvroSchema) ProtoMessage()
func (*PhysicalSchema_AvroSchema) ProtoReflect
func (x *PhysicalSchema_AvroSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_AvroSchema) Reset
func (x *PhysicalSchema_AvroSchema) Reset()
func (*PhysicalSchema_AvroSchema) String
func (x *PhysicalSchema_AvroSchema) String() string
PhysicalSchema_Csv
type PhysicalSchema_Csv struct {
// Marks a CSV-encoded data source.
Csv *PhysicalSchema_CsvSchema `protobuf:"bytes,6,opt,name=csv,proto3,oneof"`
}
PhysicalSchema_CsvSchema
type PhysicalSchema_CsvSchema struct {
// contains filtered or unexported fields
}
Marks a CSV-encoded data source.
func (*PhysicalSchema_CsvSchema) Descriptor
func (*PhysicalSchema_CsvSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_CsvSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_CsvSchema) ProtoMessage
func (*PhysicalSchema_CsvSchema) ProtoMessage()
func (*PhysicalSchema_CsvSchema) ProtoReflect
func (x *PhysicalSchema_CsvSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_CsvSchema) Reset
func (x *PhysicalSchema_CsvSchema) Reset()
func (*PhysicalSchema_CsvSchema) String
func (x *PhysicalSchema_CsvSchema) String() string
PhysicalSchema_Orc
type PhysicalSchema_Orc struct {
// Marks an ORC-encoded data source.
Orc *PhysicalSchema_OrcSchema `protobuf:"bytes,5,opt,name=orc,proto3,oneof"`
}
PhysicalSchema_OrcSchema
type PhysicalSchema_OrcSchema struct {
// contains filtered or unexported fields
}
Marks an ORC-encoded data source.
func (*PhysicalSchema_OrcSchema) Descriptor
func (*PhysicalSchema_OrcSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_OrcSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_OrcSchema) ProtoMessage
func (*PhysicalSchema_OrcSchema) ProtoMessage()
func (*PhysicalSchema_OrcSchema) ProtoReflect
func (x *PhysicalSchema_OrcSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_OrcSchema) Reset
func (x *PhysicalSchema_OrcSchema) Reset()
func (*PhysicalSchema_OrcSchema) String
func (x *PhysicalSchema_OrcSchema) String() string
PhysicalSchema_Parquet
type PhysicalSchema_Parquet struct {
// Marks a Parquet-encoded data source.
Parquet *PhysicalSchema_ParquetSchema `protobuf:"bytes,4,opt,name=parquet,proto3,oneof"`
}
PhysicalSchema_ParquetSchema
type PhysicalSchema_ParquetSchema struct {
// contains filtered or unexported fields
}
Marks a Parquet-encoded data source.
func (*PhysicalSchema_ParquetSchema) Descriptor
func (*PhysicalSchema_ParquetSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_ParquetSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_ParquetSchema) ProtoMessage
func (*PhysicalSchema_ParquetSchema) ProtoMessage()
func (*PhysicalSchema_ParquetSchema) ProtoReflect
func (x *PhysicalSchema_ParquetSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_ParquetSchema) Reset
func (x *PhysicalSchema_ParquetSchema) Reset()
func (*PhysicalSchema_ParquetSchema) String
func (x *PhysicalSchema_ParquetSchema) String() string
PhysicalSchema_Protobuf
type PhysicalSchema_Protobuf struct {
// Schema in protocol buffer format.
Protobuf *PhysicalSchema_ProtobufSchema `protobuf:"bytes,3,opt,name=protobuf,proto3,oneof"`
}
PhysicalSchema_ProtobufSchema
type PhysicalSchema_ProtobufSchema struct {
// Protocol buffer source of the schema.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
Schema in protocol buffer format.
func (*PhysicalSchema_ProtobufSchema) Descriptor
func (*PhysicalSchema_ProtobufSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_ProtobufSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_ProtobufSchema) GetText
func (x *PhysicalSchema_ProtobufSchema) GetText() string
func (*PhysicalSchema_ProtobufSchema) ProtoMessage
func (*PhysicalSchema_ProtobufSchema) ProtoMessage()
func (*PhysicalSchema_ProtobufSchema) ProtoReflect
func (x *PhysicalSchema_ProtobufSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_ProtobufSchema) Reset
func (x *PhysicalSchema_ProtobufSchema) Reset()
func (*PhysicalSchema_ProtobufSchema) String
func (x *PhysicalSchema_ProtobufSchema) String() string
PhysicalSchema_Thrift
type PhysicalSchema_Thrift struct {
// Schema in Thrift format.
Thrift *PhysicalSchema_ThriftSchema `protobuf:"bytes,2,opt,name=thrift,proto3,oneof"`
}
PhysicalSchema_ThriftSchema
type PhysicalSchema_ThriftSchema struct {
// Thrift IDL source of the schema.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
Schema in Thrift format.
func (*PhysicalSchema_ThriftSchema) Descriptor
func (*PhysicalSchema_ThriftSchema) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalSchema_ThriftSchema.ProtoReflect.Descriptor instead.
func (*PhysicalSchema_ThriftSchema) GetText
func (x *PhysicalSchema_ThriftSchema) GetText() string
func (*PhysicalSchema_ThriftSchema) ProtoMessage
func (*PhysicalSchema_ThriftSchema) ProtoMessage()
func (*PhysicalSchema_ThriftSchema) ProtoReflect
func (x *PhysicalSchema_ThriftSchema) ProtoReflect() protoreflect.Message
func (*PhysicalSchema_ThriftSchema) Reset
func (x *PhysicalSchema_ThriftSchema) Reset()
func (*PhysicalSchema_ThriftSchema) String
func (x *PhysicalSchema_ThriftSchema) String() string
PolicyTag
type PolicyTag struct {
// Output only. Resource name of this policy tag in the URL format.
//
// The policy tag manager generates unique taxonomy IDs and policy tag IDs.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. User-defined name of this policy tag.
//
// The name can't start or end with spaces and must be unique within the
// parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
// and spaces, and be at most 200 bytes long when encoded in UTF-8.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Description of this policy tag. If not set, defaults to empty.
//
// The description must contain only Unicode characters,
// tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
// long when encoded in UTF-8.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Resource name of this policy tag's parent policy tag. If empty, this is a
// top level tag. If not set, defaults to an empty string.
//
// For example, for the "LatLong" policy tag in the example above, this field
// contains the resource name of the "Geolocation" policy tag, and, for
// "Geolocation", this field is empty.
ParentPolicyTag string `protobuf:"bytes,4,opt,name=parent_policy_tag,json=parentPolicyTag,proto3" json:"parent_policy_tag,omitempty"`
// Output only. Resource names of child policy tags of this policy tag.
ChildPolicyTags []string `protobuf:"bytes,5,rep,name=child_policy_tags,json=childPolicyTags,proto3" json:"child_policy_tags,omitempty"`
// contains filtered or unexported fields
}
Denotes one policy tag in a taxonomy, for example, SSN.
Policy tags can be defined in a hierarchy. For example:
+ Geolocation
- LatLong
- City
- ZipCode
Where the "Geolocation" policy tag contains three children.
func (*PolicyTag) Descriptor
Deprecated: Use PolicyTag.ProtoReflect.Descriptor instead.
func (*PolicyTag) GetChildPolicyTags
func (*PolicyTag) GetDescription
func (*PolicyTag) GetDisplayName
func (*PolicyTag) GetName
func (*PolicyTag) GetParentPolicyTag
func (*PolicyTag) ProtoMessage
func (*PolicyTag) ProtoMessage()
func (*PolicyTag) ProtoReflect
func (x *PolicyTag) ProtoReflect() protoreflect.Message
func (*PolicyTag) Reset
func (x *PolicyTag) Reset()
func (*PolicyTag) String
PolicyTagManagerClient
type PolicyTagManagerClient interface {
// Creates a taxonomy in a specified project.
//
// The taxonomy is initially empty, that is, it doesn't contain policy tags.
CreateTaxonomy(ctx context.Context, in *CreateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
// Deletes a taxonomy, including all policy tags in this
// taxonomy, their associated policies, and the policy tags references from
// BigQuery columns.
DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Updates a taxonomy, including its display name,
// description, and activated policy types.
UpdateTaxonomy(ctx context.Context, in *UpdateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
// Lists all taxonomies in a project in a particular location that you
// have a permission to view.
ListTaxonomies(ctx context.Context, in *ListTaxonomiesRequest, opts ...grpc.CallOption) (*ListTaxonomiesResponse, error)
// Gets a taxonomy.
GetTaxonomy(ctx context.Context, in *GetTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
// Creates a policy tag in a taxonomy.
CreatePolicyTag(ctx context.Context, in *CreatePolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error)
// Deletes a policy tag together with the following:
//
// * All of its descendant policy tags, if any
// * Policies associated with the policy tag and its descendants
// * References from BigQuery table schema of the policy tag and its
// descendants
DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Updates a policy tag, including its display
// name, description, and parent policy tag.
UpdatePolicyTag(ctx context.Context, in *UpdatePolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error)
// Lists all policy tags in a taxonomy.
ListPolicyTags(ctx context.Context, in *ListPolicyTagsRequest, opts ...grpc.CallOption) (*ListPolicyTagsResponse, error)
// Gets a policy tag.
GetPolicyTag(ctx context.Context, in *GetPolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error)
// Gets the IAM policy for a policy tag or a taxonomy.
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the IAM policy for a policy tag or a taxonomy.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Returns your permissions on a specified policy tag or
// taxonomy.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}
PolicyTagManagerClient is the client API for PolicyTagManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPolicyTagManagerClient
func NewPolicyTagManagerClient(cc grpc.ClientConnInterface) PolicyTagManagerClient
PolicyTagManagerSerializationClient
type PolicyTagManagerSerializationClient interface {
// Replaces (updates) a taxonomy and all its policy tags.
//
// The taxonomy and its entire hierarchy of policy tags must be
// represented literally by `SerializedTaxonomy` and the nested
// `SerializedPolicyTag` messages.
//
// This operation automatically does the following:
//
// - Deletes the existing policy tags that are missing from the
// `SerializedPolicyTag`.
// - Creates policy tags that don't have resource names. They are considered
// new.
// - Updates policy tags with valid resources names accordingly.
ReplaceTaxonomy(ctx context.Context, in *ReplaceTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
// Creates new taxonomies (including their policy tags) in a given project
// by importing from inlined or cross-regional sources.
//
// For a cross-regional source, new taxonomies are created by copying
// from a source in another region.
//
// For an inlined source, taxonomies and policy tags are created in bulk using
// nested protocol buffer structures.
ImportTaxonomies(ctx context.Context, in *ImportTaxonomiesRequest, opts ...grpc.CallOption) (*ImportTaxonomiesResponse, error)
// Exports taxonomies in the requested type and returns them,
// including their policy tags. The requested taxonomies must belong to the
// same project.
//
// This method generates `SerializedTaxonomy` protocol buffers with nested
// policy tags that can be used as input for `ImportTaxonomies` calls.
ExportTaxonomies(ctx context.Context, in *ExportTaxonomiesRequest, opts ...grpc.CallOption) (*ExportTaxonomiesResponse, error)
}
PolicyTagManagerSerializationClient is the client API for PolicyTagManagerSerialization service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPolicyTagManagerSerializationClient
func NewPolicyTagManagerSerializationClient(cc grpc.ClientConnInterface) PolicyTagManagerSerializationClient
PolicyTagManagerSerializationServer
type PolicyTagManagerSerializationServer interface {
// Replaces (updates) a taxonomy and all its policy tags.
//
// The taxonomy and its entire hierarchy of policy tags must be
// represented literally by `SerializedTaxonomy` and the nested
// `SerializedPolicyTag` messages.
//
// This operation automatically does the following:
//
// - Deletes the existing policy tags that are missing from the
// `SerializedPolicyTag`.
// - Creates policy tags that don't have resource names. They are considered
// new.
// - Updates policy tags with valid resources names accordingly.
ReplaceTaxonomy(context.Context, *ReplaceTaxonomyRequest) (*Taxonomy, error)
// Creates new taxonomies (including their policy tags) in a given project
// by importing from inlined or cross-regional sources.
//
// For a cross-regional source, new taxonomies are created by copying
// from a source in another region.
//
// For an inlined source, taxonomies and policy tags are created in bulk using
// nested protocol buffer structures.
ImportTaxonomies(context.Context, *ImportTaxonomiesRequest) (*ImportTaxonomiesResponse, error)
// Exports taxonomies in the requested type and returns them,
// including their policy tags. The requested taxonomies must belong to the
// same project.
//
// This method generates `SerializedTaxonomy` protocol buffers with nested
// policy tags that can be used as input for `ImportTaxonomies` calls.
ExportTaxonomies(context.Context, *ExportTaxonomiesRequest) (*ExportTaxonomiesResponse, error)
}
PolicyTagManagerSerializationServer is the server API for PolicyTagManagerSerialization service.
PolicyTagManagerServer
type PolicyTagManagerServer interface {
// Creates a taxonomy in a specified project.
//
// The taxonomy is initially empty, that is, it doesn't contain policy tags.
CreateTaxonomy(context.Context, *CreateTaxonomyRequest) (*Taxonomy, error)
// Deletes a taxonomy, including all policy tags in this
// taxonomy, their associated policies, and the policy tags references from
// BigQuery columns.
DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*emptypb.Empty, error)
// Updates a taxonomy, including its display name,
// description, and activated policy types.
UpdateTaxonomy(context.Context, *UpdateTaxonomyRequest) (*Taxonomy, error)
// Lists all taxonomies in a project in a particular location that you
// have a permission to view.
ListTaxonomies(context.Context, *ListTaxonomiesRequest) (*ListTaxonomiesResponse, error)
// Gets a taxonomy.
GetTaxonomy(context.Context, *GetTaxonomyRequest) (*Taxonomy, error)
// Creates a policy tag in a taxonomy.
CreatePolicyTag(context.Context, *CreatePolicyTagRequest) (*PolicyTag, error)
// Deletes a policy tag together with the following:
//
// * All of its descendant policy tags, if any
// * Policies associated with the policy tag and its descendants
// * References from BigQuery table schema of the policy tag and its
// descendants
DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*emptypb.Empty, error)
// Updates a policy tag, including its display
// name, description, and parent policy tag.
UpdatePolicyTag(context.Context, *UpdatePolicyTagRequest) (*PolicyTag, error)
// Lists all policy tags in a taxonomy.
ListPolicyTags(context.Context, *ListPolicyTagsRequest) (*ListPolicyTagsResponse, error)
// Gets a policy tag.
GetPolicyTag(context.Context, *GetPolicyTagRequest) (*PolicyTag, error)
// Gets the IAM policy for a policy tag or a taxonomy.
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the IAM policy for a policy tag or a taxonomy.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Returns your permissions on a specified policy tag or
// taxonomy.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}
PolicyTagManagerServer is the server API for PolicyTagManager service.
ReconcileTagsMetadata
type ReconcileTagsMetadata struct {
State ReconcileTagsMetadata_ReconciliationState "" /* 139 byte string literal not displayed */
Errors map[string]*status.Status "" /* 153 byte string literal not displayed */
}
[Long-running operation][google.longrunning.Operation] metadata message returned by the [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
func (*ReconcileTagsMetadata) Descriptor
func (*ReconcileTagsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileTagsMetadata.ProtoReflect.Descriptor instead.
func (*ReconcileTagsMetadata) GetErrors
func (x *ReconcileTagsMetadata) GetErrors() map[string]*status.Status
func (*ReconcileTagsMetadata) GetState
func (x *ReconcileTagsMetadata) GetState() ReconcileTagsMetadata_ReconciliationState
func (*ReconcileTagsMetadata) ProtoMessage
func (*ReconcileTagsMetadata) ProtoMessage()
func (*ReconcileTagsMetadata) ProtoReflect
func (x *ReconcileTagsMetadata) ProtoReflect() protoreflect.Message
func (*ReconcileTagsMetadata) Reset
func (x *ReconcileTagsMetadata) Reset()
func (*ReconcileTagsMetadata) String
func (x *ReconcileTagsMetadata) String() string
ReconcileTagsMetadata_ReconciliationState
type ReconcileTagsMetadata_ReconciliationState int32
Enum holding possible states of the reconciliation operation.
ReconcileTagsMetadata_RECONCILIATION_STATE_UNSPECIFIED, ReconcileTagsMetadata_RECONCILIATION_QUEUED, ReconcileTagsMetadata_RECONCILIATION_IN_PROGRESS, ReconcileTagsMetadata_RECONCILIATION_DONE
const (
// Default value. This value is unused.
ReconcileTagsMetadata_RECONCILIATION_STATE_UNSPECIFIED ReconcileTagsMetadata_ReconciliationState = 0
// The reconciliation has been queued and awaits for execution.
ReconcileTagsMetadata_RECONCILIATION_QUEUED ReconcileTagsMetadata_ReconciliationState = 1
// The reconciliation is in progress.
ReconcileTagsMetadata_RECONCILIATION_IN_PROGRESS ReconcileTagsMetadata_ReconciliationState = 2
// The reconciliation has been finished.
ReconcileTagsMetadata_RECONCILIATION_DONE ReconcileTagsMetadata_ReconciliationState = 3
)
func (ReconcileTagsMetadata_ReconciliationState) Descriptor
func (ReconcileTagsMetadata_ReconciliationState) Descriptor() protoreflect.EnumDescriptor
func (ReconcileTagsMetadata_ReconciliationState) Enum
func (x ReconcileTagsMetadata_ReconciliationState) Enum() *ReconcileTagsMetadata_ReconciliationState
func (ReconcileTagsMetadata_ReconciliationState) EnumDescriptor
func (ReconcileTagsMetadata_ReconciliationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReconcileTagsMetadata_ReconciliationState.Descriptor instead.
func (ReconcileTagsMetadata_ReconciliationState) Number
func (x ReconcileTagsMetadata_ReconciliationState) Number() protoreflect.EnumNumber
func (ReconcileTagsMetadata_ReconciliationState) String
func (x ReconcileTagsMetadata_ReconciliationState) String() string
func (ReconcileTagsMetadata_ReconciliationState) Type
func (ReconcileTagsMetadata_ReconciliationState) Type() protoreflect.EnumType
ReconcileTagsRequest
type ReconcileTagsRequest struct {
// Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The name of the tag template, which is used for reconciliation.
TagTemplate string `protobuf:"bytes,2,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"`
// If set to `true`, deletes entry tags related to a tag template
// not listed in the tags source from an entry. If set to `false`,
// unlisted tags are retained.
ForceDeleteMissing bool `protobuf:"varint,3,opt,name=force_delete_missing,json=forceDeleteMissing,proto3" json:"force_delete_missing,omitempty"`
// A list of tags to apply to an entry. A tag can specify a
// tag template, which must be the template specified in the
// `ReconcileTagsRequest`.
// The sole entry and each of its columns must be mentioned at most once.
Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
Request message for [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
func (*ReconcileTagsRequest) Descriptor
func (*ReconcileTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileTagsRequest.ProtoReflect.Descriptor instead.
func (*ReconcileTagsRequest) GetForceDeleteMissing
func (x *ReconcileTagsRequest) GetForceDeleteMissing() bool
func (*ReconcileTagsRequest) GetParent
func (x *ReconcileTagsRequest) GetParent() string
func (*ReconcileTagsRequest) GetTagTemplate
func (x *ReconcileTagsRequest) GetTagTemplate() string
func (*ReconcileTagsRequest) GetTags
func (x *ReconcileTagsRequest) GetTags() []*Tag
func (*ReconcileTagsRequest) ProtoMessage
func (*ReconcileTagsRequest) ProtoMessage()
func (*ReconcileTagsRequest) ProtoReflect
func (x *ReconcileTagsRequest) ProtoReflect() protoreflect.Message
func (*ReconcileTagsRequest) Reset
func (x *ReconcileTagsRequest) Reset()
func (*ReconcileTagsRequest) String
func (x *ReconcileTagsRequest) String() string
ReconcileTagsResponse
type ReconcileTagsResponse struct {
// Number of tags created in the request.
CreatedTagsCount int64 `protobuf:"varint,1,opt,name=created_tags_count,json=createdTagsCount,proto3" json:"created_tags_count,omitempty"`
// Number of tags updated in the request.
UpdatedTagsCount int64 `protobuf:"varint,2,opt,name=updated_tags_count,json=updatedTagsCount,proto3" json:"updated_tags_count,omitempty"`
// Number of tags deleted in the request.
DeletedTagsCount int64 `protobuf:"varint,3,opt,name=deleted_tags_count,json=deletedTagsCount,proto3" json:"deleted_tags_count,omitempty"`
// contains filtered or unexported fields
}
[Long-running operation][google.longrunning.Operation] response message returned by [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags].
func (*ReconcileTagsResponse) Descriptor
func (*ReconcileTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileTagsResponse.ProtoReflect.Descriptor instead.
func (*ReconcileTagsResponse) GetCreatedTagsCount
func (x *ReconcileTagsResponse) GetCreatedTagsCount() int64
func (*ReconcileTagsResponse) GetDeletedTagsCount
func (x *ReconcileTagsResponse) GetDeletedTagsCount() int64
func (*ReconcileTagsResponse) GetUpdatedTagsCount
func (x *ReconcileTagsResponse) GetUpdatedTagsCount() int64
func (*ReconcileTagsResponse) ProtoMessage
func (*ReconcileTagsResponse) ProtoMessage()
func (*ReconcileTagsResponse) ProtoReflect
func (x *ReconcileTagsResponse) ProtoReflect() protoreflect.Message
func (*ReconcileTagsResponse) Reset
func (x *ReconcileTagsResponse) Reset()
func (*ReconcileTagsResponse) String
func (x *ReconcileTagsResponse) String() string
RenameTagTemplateFieldEnumValueRequest
type RenameTagTemplateFieldEnumValueRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
NewEnumValueDisplayName string "" /* 136 byte string literal not displayed */
}
Request message for [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
func (*RenameTagTemplateFieldEnumValueRequest) Descriptor
func (*RenameTagTemplateFieldEnumValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameTagTemplateFieldEnumValueRequest.ProtoReflect.Descriptor instead.
func (*RenameTagTemplateFieldEnumValueRequest) GetName
func (x *RenameTagTemplateFieldEnumValueRequest) GetName() string
func (*RenameTagTemplateFieldEnumValueRequest) GetNewEnumValueDisplayName
func (x *RenameTagTemplateFieldEnumValueRequest) GetNewEnumValueDisplayName() string
func (*RenameTagTemplateFieldEnumValueRequest) ProtoMessage
func (*RenameTagTemplateFieldEnumValueRequest) ProtoMessage()
func (*RenameTagTemplateFieldEnumValueRequest) ProtoReflect
func (x *RenameTagTemplateFieldEnumValueRequest) ProtoReflect() protoreflect.Message
func (*RenameTagTemplateFieldEnumValueRequest) Reset
func (x *RenameTagTemplateFieldEnumValueRequest) Reset()
func (*RenameTagTemplateFieldEnumValueRequest) String
func (x *RenameTagTemplateFieldEnumValueRequest) String() string
RenameTagTemplateFieldRequest
type RenameTagTemplateFieldRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
NewTagTemplateFieldId string "" /* 130 byte string literal not displayed */
}
Request message for [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
func (*RenameTagTemplateFieldRequest) Descriptor
func (*RenameTagTemplateFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameTagTemplateFieldRequest.ProtoReflect.Descriptor instead.
func (*RenameTagTemplateFieldRequest) GetName
func (x *RenameTagTemplateFieldRequest) GetName() string
func (*RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId
func (x *RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId() string
func (*RenameTagTemplateFieldRequest) ProtoMessage
func (*RenameTagTemplateFieldRequest) ProtoMessage()
func (*RenameTagTemplateFieldRequest) ProtoReflect
func (x *RenameTagTemplateFieldRequest) ProtoReflect() protoreflect.Message
func (*RenameTagTemplateFieldRequest) Reset
func (x *RenameTagTemplateFieldRequest) Reset()
func (*RenameTagTemplateFieldRequest) String
func (x *RenameTagTemplateFieldRequest) String() string
ReplaceTaxonomyRequest
type ReplaceTaxonomyRequest struct {
// Required. Resource name of the taxonomy to update.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Taxonomy to update along with its child policy tags.
SerializedTaxonomy *SerializedTaxonomy `protobuf:"bytes,2,opt,name=serialized_taxonomy,json=serializedTaxonomy,proto3" json:"serialized_taxonomy,omitempty"`
// contains filtered or unexported fields
}
Request message for [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
func (*ReplaceTaxonomyRequest) Descriptor
func (*ReplaceTaxonomyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceTaxonomyRequest.ProtoReflect.Descriptor instead.
func (*ReplaceTaxonomyRequest) GetName
func (x *ReplaceTaxonomyRequest) GetName() string
func (*ReplaceTaxonomyRequest) GetSerializedTaxonomy
func (x *ReplaceTaxonomyRequest) GetSerializedTaxonomy() *SerializedTaxonomy
func (*ReplaceTaxonomyRequest) ProtoMessage
func (*ReplaceTaxonomyRequest) ProtoMessage()
func (*ReplaceTaxonomyRequest) ProtoReflect
func (x *ReplaceTaxonomyRequest) ProtoReflect() protoreflect.Message
func (*ReplaceTaxonomyRequest) Reset
func (x *ReplaceTaxonomyRequest) Reset()
func (*ReplaceTaxonomyRequest) String
func (x *ReplaceTaxonomyRequest) String() string
RoutineSpec
type RoutineSpec struct {
RoutineType RoutineSpec_RoutineType "" /* 152 byte string literal not displayed */
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
RoutineArguments []*RoutineSpec_Argument `protobuf:"bytes,3,rep,name=routine_arguments,json=routineArguments,proto3" json:"routine_arguments,omitempty"`
ReturnType string `protobuf:"bytes,4,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"`
DefinitionBody string `protobuf:"bytes,5,opt,name=definition_body,json=definitionBody,proto3" json:"definition_body,omitempty"`
SystemSpec isRoutineSpec_SystemSpec `protobuf_oneof:"system_spec"`
}
Specification that applies to a routine. Valid only for
entries with the ROUTINE
type.
func (*RoutineSpec) Descriptor
func (*RoutineSpec) Descriptor() ([]byte, []int)
Deprecated: Use RoutineSpec.ProtoReflect.Descriptor instead.
func (*RoutineSpec) GetBigqueryRoutineSpec
func (x *RoutineSpec) GetBigqueryRoutineSpec() *BigQueryRoutineSpec
func (*RoutineSpec) GetDefinitionBody
func (x *RoutineSpec) GetDefinitionBody() string
func (*RoutineSpec) GetLanguage
func (x *RoutineSpec) GetLanguage() string
func (*RoutineSpec) GetReturnType
func (x *RoutineSpec) GetReturnType() string
func (*RoutineSpec) GetRoutineArguments
func (x *RoutineSpec) GetRoutineArguments() []*RoutineSpec_Argument
func (*RoutineSpec) GetRoutineType
func (x *RoutineSpec) GetRoutineType() RoutineSpec_RoutineType
func (*RoutineSpec) GetSystemSpec
func (m *RoutineSpec) GetSystemSpec() isRoutineSpec_SystemSpec
func (*RoutineSpec) ProtoMessage
func (*RoutineSpec) ProtoMessage()
func (*RoutineSpec) ProtoReflect
func (x *RoutineSpec) ProtoReflect() protoreflect.Message
func (*RoutineSpec) Reset
func (x *RoutineSpec) Reset()
func (*RoutineSpec) String
func (x *RoutineSpec) String() string
RoutineSpec_Argument
type RoutineSpec_Argument struct {
// The name of the argument. A return argument of a function might not have
// a name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Specifies whether the argument is input or output.
Mode RoutineSpec_Argument_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.cloud.datacatalog.v1.RoutineSpec_Argument_Mode" json:"mode,omitempty"`
// Type of the argument. The exact value depends on the source system and
// the language.
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
Input or output argument of a function or stored procedure.
func (*RoutineSpec_Argument) Descriptor
func (*RoutineSpec_Argument) Descriptor() ([]byte, []int)
Deprecated: Use RoutineSpec_Argument.ProtoReflect.Descriptor instead.
func (*RoutineSpec_Argument) GetMode
func (x *RoutineSpec_Argument) GetMode() RoutineSpec_Argument_Mode
func (*RoutineSpec_Argument) GetName
func (x *RoutineSpec_Argument) GetName() string
func (*RoutineSpec_Argument) GetType
func (x *RoutineSpec_Argument) GetType() string
func (*RoutineSpec_Argument) ProtoMessage
func (*RoutineSpec_Argument) ProtoMessage()
func (*RoutineSpec_Argument) ProtoReflect
func (x *RoutineSpec_Argument) ProtoReflect() protoreflect.Message
func (*RoutineSpec_Argument) Reset
func (x *RoutineSpec_Argument) Reset()
func (*RoutineSpec_Argument) String
func (x *RoutineSpec_Argument) String() string
RoutineSpec_Argument_Mode
type RoutineSpec_Argument_Mode int32
The input or output mode of the argument.
RoutineSpec_Argument_MODE_UNSPECIFIED, RoutineSpec_Argument_IN, RoutineSpec_Argument_OUT, RoutineSpec_Argument_INOUT
const (
// Unspecified mode.
RoutineSpec_Argument_MODE_UNSPECIFIED RoutineSpec_Argument_Mode = 0
// The argument is input-only.
RoutineSpec_Argument_IN RoutineSpec_Argument_Mode = 1
// The argument is output-only.
RoutineSpec_Argument_OUT RoutineSpec_Argument_Mode = 2
// The argument is both an input and an output.
RoutineSpec_Argument_INOUT RoutineSpec_Argument_Mode = 3
)
func (RoutineSpec_Argument_Mode) Descriptor
func (RoutineSpec_Argument_Mode) Descriptor() protoreflect.EnumDescriptor
func (RoutineSpec_Argument_Mode) Enum
func (x RoutineSpec_Argument_Mode) Enum() *RoutineSpec_Argument_Mode
func (RoutineSpec_Argument_Mode) EnumDescriptor
func (RoutineSpec_Argument_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoutineSpec_Argument_Mode.Descriptor instead.
func (RoutineSpec_Argument_Mode) Number
func (x RoutineSpec_Argument_Mode) Number() protoreflect.EnumNumber
func (RoutineSpec_Argument_Mode) String
func (x RoutineSpec_Argument_Mode) String() string
func (RoutineSpec_Argument_Mode) Type
func (RoutineSpec_Argument_Mode) Type() protoreflect.EnumType
RoutineSpec_BigqueryRoutineSpec
type RoutineSpec_BigqueryRoutineSpec struct {
// Fields specific for BigQuery routines.
BigqueryRoutineSpec *BigQueryRoutineSpec `protobuf:"bytes,6,opt,name=bigquery_routine_spec,json=bigqueryRoutineSpec,proto3,oneof"`
}
RoutineSpec_RoutineType
type RoutineSpec_RoutineType int32
The fine-grained type of the routine.
RoutineSpec_ROUTINE_TYPE_UNSPECIFIED, RoutineSpec_SCALAR_FUNCTION, RoutineSpec_PROCEDURE
const (
// Unspecified type.
RoutineSpec_ROUTINE_TYPE_UNSPECIFIED RoutineSpec_RoutineType = 0
// Non-builtin permanent scalar function.
RoutineSpec_SCALAR_FUNCTION RoutineSpec_RoutineType = 1
// Stored procedure.
RoutineSpec_PROCEDURE RoutineSpec_RoutineType = 2
)
func (RoutineSpec_RoutineType) Descriptor
func (RoutineSpec_RoutineType) Descriptor() protoreflect.EnumDescriptor
func (RoutineSpec_RoutineType) Enum
func (x RoutineSpec_RoutineType) Enum() *RoutineSpec_RoutineType
func (RoutineSpec_RoutineType) EnumDescriptor
func (RoutineSpec_RoutineType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoutineSpec_RoutineType.Descriptor instead.
func (RoutineSpec_RoutineType) Number
func (x RoutineSpec_RoutineType) Number() protoreflect.EnumNumber
func (RoutineSpec_RoutineType) String
func (x RoutineSpec_RoutineType) String() string
func (RoutineSpec_RoutineType) Type
func (RoutineSpec_RoutineType) Type() protoreflect.EnumType
Schema
type Schema struct {
// The unified GoogleSQL-like schema of columns.
//
// The overall maximum number of columns and nested columns is 10,000.
// The maximum nested depth is 15 levels.
Columns []*ColumnSchema `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
// contains filtered or unexported fields
}
Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
func (*Schema) Descriptor
Deprecated: Use Schema.ProtoReflect.Descriptor instead.
func (*Schema) GetColumns
func (x *Schema) GetColumns() []*ColumnSchema
func (*Schema) ProtoMessage
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect
func (x *Schema) ProtoReflect() protoreflect.Message
func (*Schema) Reset
func (x *Schema) Reset()
func (*Schema) String
SearchCatalogRequest
type SearchCatalogRequest struct {
// Required. The scope of this search request.
//
// The `scope` is invalid if `include_org_ids`, `include_project_ids` are
// empty AND `include_gcp_public_datasets` is set to `false`. In this case,
// the request returns an error.
Scope *SearchCatalogRequest_Scope `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
// Optional. The query string with a minimum of 3 characters and specific
// syntax. For more information, see [Data Catalog search
// syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
//
// An empty query string returns all data assets (in the specified scope)
// that you have access to.
//
// A query string can be a simple `xyz` or qualified by predicates:
//
// * `name:x`
// * `column:y`
// * `description:z`
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// Upper bound on the number of results you can get in a single response.
//
// Can't be negative or 0, defaults to 10 in this case.
// The maximum number is 1000. If exceeded, throws an "invalid argument"
// exception.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Pagination token that, if specified, returns the next page of
// search results. If empty, returns the first page.
//
// This token is returned in the
// [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
// field of the response to a previous
// [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Specifies the order of results.
//
// Currently supported case-sensitive values are:
//
// * `relevance` that can only be descending
// * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
// * `default` that can only be descending
//
// Search queries don't guarantee full recall. Results that match your query
// might not be returned, even in subsequent result pages. Additionally,
// returned (and not returned) results can vary if you repeat search queries.
// If you are experiencing recall issues and you don't have to fetch the
// results in any specific order, consider setting this parameter to
// `default`.
//
// If this parameter is omitted, it defaults to the descending `relevance`.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
func (*SearchCatalogRequest) Descriptor
func (*SearchCatalogRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatalogRequest.ProtoReflect.Descriptor instead.
func (*SearchCatalogRequest) GetOrderBy
func (x *SearchCatalogRequest) GetOrderBy() string
func (*SearchCatalogRequest) GetPageSize
func (x *SearchCatalogRequest) GetPageSize() int32
func (*SearchCatalogRequest) GetPageToken
func (x *SearchCatalogRequest) GetPageToken() string
func (*SearchCatalogRequest) GetQuery
func (x *SearchCatalogRequest) GetQuery() string
func (*SearchCatalogRequest) GetScope
func (x *SearchCatalogRequest) GetScope() *SearchCatalogRequest_Scope
func (*SearchCatalogRequest) ProtoMessage
func (*SearchCatalogRequest) ProtoMessage()
func (*SearchCatalogRequest) ProtoReflect
func (x *SearchCatalogRequest) ProtoReflect() protoreflect.Message
func (*SearchCatalogRequest) Reset
func (x *SearchCatalogRequest) Reset()
func (*SearchCatalogRequest) String
func (x *SearchCatalogRequest) String() string
SearchCatalogRequest_Scope
type SearchCatalogRequest_Scope struct {
IncludeOrgIds []string `protobuf:"bytes,2,rep,name=include_org_ids,json=includeOrgIds,proto3" json:"include_org_ids,omitempty"`
IncludeProjectIds []string `protobuf:"bytes,3,rep,name=include_project_ids,json=includeProjectIds,proto3" json:"include_project_ids,omitempty"`
IncludeGcpPublicDatasets bool "" /* 138 byte string literal not displayed */
RestrictedLocations []string `protobuf:"bytes,16,rep,name=restricted_locations,json=restrictedLocations,proto3" json:"restricted_locations,omitempty"`
StarredOnly bool `protobuf:"varint,18,opt,name=starred_only,json=starredOnly,proto3" json:"starred_only,omitempty"`
IncludePublicTagTemplates bool "" /* 142 byte string literal not displayed */
}
The criteria that select the subspace used for query matching.
func (*SearchCatalogRequest_Scope) Descriptor
func (*SearchCatalogRequest_Scope) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatalogRequest_Scope.ProtoReflect.Descriptor instead.
func (*SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets
func (x *SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets() bool
func (*SearchCatalogRequest_Scope) GetIncludeOrgIds
func (x *SearchCatalogRequest_Scope) GetIncludeOrgIds() []string
func (*SearchCatalogRequest_Scope) GetIncludeProjectIds
func (x *SearchCatalogRequest_Scope) GetIncludeProjectIds() []string
func (*SearchCatalogRequest_Scope) GetIncludePublicTagTemplates
func (x *SearchCatalogRequest_Scope) GetIncludePublicTagTemplates() bool
Deprecated: Marked as deprecated in google/cloud/datacatalog/v1/datacatalog.proto.
func (*SearchCatalogRequest_Scope) GetRestrictedLocations
func (x *SearchCatalogRequest_Scope) GetRestrictedLocations() []string
func (*SearchCatalogRequest_Scope) GetStarredOnly
func (x *SearchCatalogRequest_Scope) GetStarredOnly() bool
func (*SearchCatalogRequest_Scope) ProtoMessage
func (*SearchCatalogRequest_Scope) ProtoMessage()
func (*SearchCatalogRequest_Scope) ProtoReflect
func (x *SearchCatalogRequest_Scope) ProtoReflect() protoreflect.Message
func (*SearchCatalogRequest_Scope) Reset
func (x *SearchCatalogRequest_Scope) Reset()
func (*SearchCatalogRequest_Scope) String
func (x *SearchCatalogRequest_Scope) String() string
SearchCatalogResponse
type SearchCatalogResponse struct {
// Search results.
Results []*SearchCatalogResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// The approximate total number of entries matched by the query.
TotalSize int32 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// Pagination token that can be used in subsequent calls to retrieve the next
// page of results.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable locations. Search results don't include data from those
// locations.
//
// To get additional information on an error, repeat the search request and
// restrict it to specific locations by setting the
// `SearchCatalogRequest.scope.restricted_locations` parameter.
Unreachable []string `protobuf:"bytes,6,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
func (*SearchCatalogResponse) Descriptor
func (*SearchCatalogResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatalogResponse.ProtoReflect.Descriptor instead.
func (*SearchCatalogResponse) GetNextPageToken
func (x *SearchCatalogResponse) GetNextPageToken() string
func (*SearchCatalogResponse) GetResults
func (x *SearchCatalogResponse) GetResults() []*SearchCatalogResult
func (*SearchCatalogResponse) GetTotalSize
func (x *SearchCatalogResponse) GetTotalSize() int32
func (*SearchCatalogResponse) GetUnreachable
func (x *SearchCatalogResponse) GetUnreachable() []string
func (*SearchCatalogResponse) ProtoMessage
func (*SearchCatalogResponse) ProtoMessage()
func (*SearchCatalogResponse) ProtoReflect
func (x *SearchCatalogResponse) ProtoReflect() protoreflect.Message
func (*SearchCatalogResponse) Reset
func (x *SearchCatalogResponse) Reset()
func (*SearchCatalogResponse) String
func (x *SearchCatalogResponse) String() string
SearchCatalogResult
type SearchCatalogResult struct {
SearchResultType SearchResultType "" /* 162 byte string literal not displayed */
SearchResultSubtype string `protobuf:"bytes,2,opt,name=search_result_subtype,json=searchResultSubtype,proto3" json:"search_result_subtype,omitempty"`
RelativeResourceName string `protobuf:"bytes,3,opt,name=relative_resource_name,json=relativeResourceName,proto3" json:"relative_resource_name,omitempty"`
LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
ModifyTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"`
System isSearchCatalogResult_System `protobuf_oneof:"system"`
FullyQualifiedName string `protobuf:"bytes,10,opt,name=fully_qualified_name,json=fullyQualifiedName,proto3" json:"fully_qualified_name,omitempty"`
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
}
Result in the response to a search request.
Each result captures details of one entry that matches the search.
func (*SearchCatalogResult) Descriptor
func (*SearchCatalogResult) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead.
func (*SearchCatalogResult) GetDescription
func (x *SearchCatalogResult) GetDescription() string
func (*SearchCatalogResult) GetDisplayName
func (x *SearchCatalogResult) GetDisplayName() string
func (*SearchCatalogResult) GetFullyQualifiedName
func (x *SearchCatalogResult) GetFullyQualifiedName() string
func (*SearchCatalogResult) GetIntegratedSystem
func (x *SearchCatalogResult) GetIntegratedSystem() IntegratedSystem
func (*SearchCatalogResult) GetLinkedResource
func (x *SearchCatalogResult) GetLinkedResource() string
func (*SearchCatalogResult) GetModifyTime
func (x *SearchCatalogResult) GetModifyTime() *timestamppb.Timestamp
func (*SearchCatalogResult) GetRelativeResourceName
func (x *SearchCatalogResult) GetRelativeResourceName() string
func (*SearchCatalogResult) GetSearchResultSubtype
func (x *SearchCatalogResult) GetSearchResultSubtype() string
func (*SearchCatalogResult) GetSearchResultType
func (x *SearchCatalogResult) GetSearchResultType() SearchResultType
func (*SearchCatalogResult) GetSystem
func (m *SearchCatalogResult) GetSystem() isSearchCatalogResult_System
func (*SearchCatalogResult) GetUserSpecifiedSystem
func (x *SearchCatalogResult) GetUserSpecifiedSystem() string
func (*SearchCatalogResult) ProtoMessage
func (*SearchCatalogResult) ProtoMessage()
func (*SearchCatalogResult) ProtoReflect
func (x *SearchCatalogResult) ProtoReflect() protoreflect.Message
func (*SearchCatalogResult) Reset
func (x *SearchCatalogResult) Reset()
func (*SearchCatalogResult) String
func (x *SearchCatalogResult) String() string
SearchCatalogResult_IntegratedSystem
type SearchCatalogResult_IntegratedSystem struct {
IntegratedSystem IntegratedSystem "" /* 131 byte string literal not displayed */
}
SearchCatalogResult_UserSpecifiedSystem
type SearchCatalogResult_UserSpecifiedSystem struct {
// Custom source system that you can manually integrate Data Catalog with.
UserSpecifiedSystem string `protobuf:"bytes,9,opt,name=user_specified_system,json=userSpecifiedSystem,proto3,oneof"`
}
SearchResultType
type SearchResultType int32
The resource types that can be returned in search results.
SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED, SearchResultType_ENTRY, SearchResultType_TAG_TEMPLATE, SearchResultType_ENTRY_GROUP
const (
// Default unknown type.
SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED SearchResultType = 0
// An [Entry][google.cloud.datacatalog.v1.Entry].
SearchResultType_ENTRY SearchResultType = 1
// A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
SearchResultType_TAG_TEMPLATE SearchResultType = 2
// An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
SearchResultType_ENTRY_GROUP SearchResultType = 3
)
func (SearchResultType) Descriptor
func (SearchResultType) Descriptor() protoreflect.EnumDescriptor
func (SearchResultType) Enum
func (x SearchResultType) Enum() *SearchResultType
func (SearchResultType) EnumDescriptor
func (SearchResultType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchResultType.Descriptor instead.
func (SearchResultType) Number
func (x SearchResultType) Number() protoreflect.EnumNumber
func (SearchResultType) String
func (x SearchResultType) String() string
func (SearchResultType) Type
func (SearchResultType) Type() protoreflect.EnumType
SerializedPolicyTag
type SerializedPolicyTag struct {
// Resource name of the policy tag.
//
// This field is ignored when calling `ImportTaxonomies`.
PolicyTag string `protobuf:"bytes,1,opt,name=policy_tag,json=policyTag,proto3" json:"policy_tag,omitempty"`
// Required. Display name of the policy tag. At most 200 bytes when encoded
// in UTF-8.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Description of the serialized policy tag. At most
// 2000 bytes when encoded in UTF-8. If not set, defaults to an
// empty description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Children of the policy tag, if any.
ChildPolicyTags []*SerializedPolicyTag `protobuf:"bytes,4,rep,name=child_policy_tags,json=childPolicyTags,proto3" json:"child_policy_tags,omitempty"`
// contains filtered or unexported fields
}
A nested protocol buffer that represents a policy tag and all its descendants.
func (*SerializedPolicyTag) Descriptor
func (*SerializedPolicyTag) Descriptor() ([]byte, []int)
Deprecated: Use SerializedPolicyTag.ProtoReflect.Descriptor instead.
func (*SerializedPolicyTag) GetChildPolicyTags
func (x *SerializedPolicyTag) GetChildPolicyTags() []*SerializedPolicyTag
func (*SerializedPolicyTag) GetDescription
func (x *SerializedPolicyTag) GetDescription() string
func (*SerializedPolicyTag) GetDisplayName
func (x *SerializedPolicyTag) GetDisplayName() string
func (*SerializedPolicyTag) GetPolicyTag
func (x *SerializedPolicyTag) GetPolicyTag() string
func (*SerializedPolicyTag) ProtoMessage
func (*SerializedPolicyTag) ProtoMessage()
func (*SerializedPolicyTag) ProtoReflect
func (x *SerializedPolicyTag) ProtoReflect() protoreflect.Message
func (*SerializedPolicyTag) Reset
func (x *SerializedPolicyTag) Reset()
func (*SerializedPolicyTag) String
func (x *SerializedPolicyTag) String() string
SerializedTaxonomy
type SerializedTaxonomy struct {
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
PolicyTags []*SerializedPolicyTag `protobuf:"bytes,3,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
ActivatedPolicyTypes []Taxonomy_PolicyType "" /* 184 byte string literal not displayed */
}
A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.
func (*SerializedTaxonomy) Descriptor
func (*SerializedTaxonomy) Descriptor() ([]byte, []int)
Deprecated: Use SerializedTaxonomy.ProtoReflect.Descriptor instead.
func (*SerializedTaxonomy) GetActivatedPolicyTypes
func (x *SerializedTaxonomy) GetActivatedPolicyTypes() []Taxonomy_PolicyType
func (*SerializedTaxonomy) GetDescription
func (x *SerializedTaxonomy) GetDescription() string
func (*SerializedTaxonomy) GetDisplayName
func (x *SerializedTaxonomy) GetDisplayName() string
func (*SerializedTaxonomy) GetPolicyTags
func (x *SerializedTaxonomy) GetPolicyTags() []*SerializedPolicyTag
func (*SerializedTaxonomy) ProtoMessage
func (*SerializedTaxonomy) ProtoMessage()
func (*SerializedTaxonomy) ProtoReflect
func (x *SerializedTaxonomy) ProtoReflect() protoreflect.Message
func (*SerializedTaxonomy) Reset
func (x *SerializedTaxonomy) Reset()
func (*SerializedTaxonomy) String
func (x *SerializedTaxonomy) String() string
ServiceSpec
type ServiceSpec struct {
// System spec
//
// Types that are assignable to SystemSpec:
// *ServiceSpec_CloudBigtableInstanceSpec
SystemSpec isServiceSpec_SystemSpec `protobuf_oneof:"system_spec"`
// contains filtered or unexported fields
}
Specification that applies to a Service resource. Valid only
for entries with the SERVICE
type.
func (*ServiceSpec) Descriptor
func (*ServiceSpec) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.
func (*ServiceSpec) GetCloudBigtableInstanceSpec
func (x *ServiceSpec) GetCloudBigtableInstanceSpec() *CloudBigtableInstanceSpec
func (*ServiceSpec) GetSystemSpec
func (m *ServiceSpec) GetSystemSpec() isServiceSpec_SystemSpec
func (*ServiceSpec) ProtoMessage
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) ProtoReflect
func (x *ServiceSpec) ProtoReflect() protoreflect.Message
func (*ServiceSpec) Reset
func (x *ServiceSpec) Reset()
func (*ServiceSpec) String
func (x *ServiceSpec) String() string
ServiceSpec_CloudBigtableInstanceSpec
type ServiceSpec_CloudBigtableInstanceSpec struct {
// Specification that applies to Instance entries of `CLOUD_BIGTABLE`
// system.
CloudBigtableInstanceSpec *CloudBigtableInstanceSpec `protobuf:"bytes,1,opt,name=cloud_bigtable_instance_spec,json=cloudBigtableInstanceSpec,proto3,oneof"`
}
SqlDatabaseSystemSpec
type SqlDatabaseSystemSpec struct {
// SQL Database Engine.
// enum SqlEngine {
// UNDEFINED = 0;
// MY_SQL = 1;
// POSTGRE_SQL = 2;
// SQL_SERVER = 3;
// }
// Engine of the enclosing database instance.
SqlEngine string `protobuf:"bytes,1,opt,name=sql_engine,json=sqlEngine,proto3" json:"sql_engine,omitempty"`
// Version of the database engine.
DatabaseVersion string `protobuf:"bytes,2,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"`
// Host of the SQL database
// enum InstanceHost {
// UNDEFINED = 0;
// SELF_HOSTED = 1;
// CLOUD_SQL = 2;
// AMAZON_RDS = 3;
// AZURE_SQL = 4;
// }
// Host of the enclousing database instance.
InstanceHost string `protobuf:"bytes,3,opt,name=instance_host,json=instanceHost,proto3" json:"instance_host,omitempty"`
// contains filtered or unexported fields
}
Specification that applies to
entries that are part SQL_DATABASE
system
(user_specified_type)
func (*SqlDatabaseSystemSpec) Descriptor
func (*SqlDatabaseSystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use SqlDatabaseSystemSpec.ProtoReflect.Descriptor instead.
func (*SqlDatabaseSystemSpec) GetDatabaseVersion
func (x *SqlDatabaseSystemSpec) GetDatabaseVersion() string
func (*SqlDatabaseSystemSpec) GetInstanceHost
func (x *SqlDatabaseSystemSpec) GetInstanceHost() string
func (*SqlDatabaseSystemSpec) GetSqlEngine
func (x *SqlDatabaseSystemSpec) GetSqlEngine() string
func (*SqlDatabaseSystemSpec) ProtoMessage
func (*SqlDatabaseSystemSpec) ProtoMessage()
func (*SqlDatabaseSystemSpec) ProtoReflect
func (x *SqlDatabaseSystemSpec) ProtoReflect() protoreflect.Message
func (*SqlDatabaseSystemSpec) Reset
func (x *SqlDatabaseSystemSpec) Reset()
func (*SqlDatabaseSystemSpec) String
func (x *SqlDatabaseSystemSpec) String() string
StarEntryRequest
type StarEntryRequest struct {
// Required. The name of the entry to mark as starred.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
func (*StarEntryRequest) Descriptor
func (*StarEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use StarEntryRequest.ProtoReflect.Descriptor instead.
func (*StarEntryRequest) GetName
func (x *StarEntryRequest) GetName() string
func (*StarEntryRequest) ProtoMessage
func (*StarEntryRequest) ProtoMessage()
func (*StarEntryRequest) ProtoReflect
func (x *StarEntryRequest) ProtoReflect() protoreflect.Message
func (*StarEntryRequest) Reset
func (x *StarEntryRequest) Reset()
func (*StarEntryRequest) String
func (x *StarEntryRequest) String() string
StarEntryResponse
type StarEntryResponse struct {
// contains filtered or unexported fields
}
Response message for [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry]. Empty for now
func (*StarEntryResponse) Descriptor
func (*StarEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use StarEntryResponse.ProtoReflect.Descriptor instead.
func (*StarEntryResponse) ProtoMessage
func (*StarEntryResponse) ProtoMessage()
func (*StarEntryResponse) ProtoReflect
func (x *StarEntryResponse) ProtoReflect() protoreflect.Message
func (*StarEntryResponse) Reset
func (x *StarEntryResponse) Reset()
func (*StarEntryResponse) String
func (x *StarEntryResponse) String() string
StorageProperties
type StorageProperties struct {
// Patterns to identify a set of files for this fileset.
//
// Examples of a valid `file_pattern`:
//
// * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
// directory
// * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
// and all subdirectories recursively
// * `gs://bucket_name/file*`: matches files prefixed by `file` in
// `bucket_name`
// * `gs://bucket_name/??.txt`: matches files with two characters followed by
// `.txt` in `bucket_name`
// * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
// vowel character followed by `.txt` in
// `bucket_name`
// * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
// or `m` followed by `.txt` in `bucket_name`
// * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
// the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
// * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
FilePattern []string `protobuf:"bytes,1,rep,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
// File type in MIME format, for example, `text/plain`.
FileType string `protobuf:"bytes,2,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"`
// contains filtered or unexported fields
}
Details the properties of the underlying storage.
func (*StorageProperties) Descriptor
func (*StorageProperties) Descriptor() ([]byte, []int)
Deprecated: Use StorageProperties.ProtoReflect.Descriptor instead.
func (*StorageProperties) GetFilePattern
func (x *StorageProperties) GetFilePattern() []string
func (*StorageProperties) GetFileType
func (x *StorageProperties) GetFileType() string
func (*StorageProperties) ProtoMessage
func (*StorageProperties) ProtoMessage()
func (*StorageProperties) ProtoReflect
func (x *StorageProperties) ProtoReflect() protoreflect.Message
func (*StorageProperties) Reset
func (x *StorageProperties) Reset()
func (*StorageProperties) String
func (x *StorageProperties) String() string
SystemTimestamps
type SystemTimestamps struct {
// Creation timestamp of the resource within the given system.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Timestamp of the last modification of the resource or its metadata within
// a given system.
//
// Note: Depending on the source system, not every modification updates this
// timestamp.
// For example, BigQuery timestamps every metadata modification but not data
// or permission changes.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Expiration timestamp of the resource within the given system.
//
// Currently only applicable to BigQuery resources.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
Timestamps associated with this resource in a particular system.
func (*SystemTimestamps) Descriptor
func (*SystemTimestamps) Descriptor() ([]byte, []int)
Deprecated: Use SystemTimestamps.ProtoReflect.Descriptor instead.
func (*SystemTimestamps) GetCreateTime
func (x *SystemTimestamps) GetCreateTime() *timestamppb.Timestamp
func (*SystemTimestamps) GetExpireTime
func (x *SystemTimestamps) GetExpireTime() *timestamppb.Timestamp
func (*SystemTimestamps) GetUpdateTime
func (x *SystemTimestamps) GetUpdateTime() *timestamppb.Timestamp
func (*SystemTimestamps) ProtoMessage
func (*SystemTimestamps) ProtoMessage()
func (*SystemTimestamps) ProtoReflect
func (x *SystemTimestamps) ProtoReflect() protoreflect.Message
func (*SystemTimestamps) Reset
func (x *SystemTimestamps) Reset()
func (*SystemTimestamps) String
func (x *SystemTimestamps) String() string
TableSourceType
type TableSourceType int32
Table source type.
TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED, TableSourceType_BIGQUERY_VIEW, TableSourceType_BIGQUERY_TABLE, TableSourceType_BIGQUERY_MATERIALIZED_VIEW
const (
// Default unknown type.
TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED TableSourceType = 0
// Table view.
TableSourceType_BIGQUERY_VIEW TableSourceType = 2
// BigQuery native table.
TableSourceType_BIGQUERY_TABLE TableSourceType = 5
// BigQuery materialized view.
TableSourceType_BIGQUERY_MATERIALIZED_VIEW TableSourceType = 7
)
func (TableSourceType) Descriptor
func (TableSourceType) Descriptor() protoreflect.EnumDescriptor
func (TableSourceType) Enum
func (x TableSourceType) Enum() *TableSourceType
func (TableSourceType) EnumDescriptor
func (TableSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TableSourceType.Descriptor instead.
func (TableSourceType) Number
func (x TableSourceType) Number() protoreflect.EnumNumber
func (TableSourceType) String
func (x TableSourceType) String() string
func (TableSourceType) Type
func (TableSourceType) Type() protoreflect.EnumType
TableSpec
type TableSpec struct {
// Output only. If the table is date-sharded, that is, it matches the
// `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
// name of the date-sharded grouped entry. For example:
//
// `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
//
// Otherwise, `grouped_entry` is empty.
GroupedEntry string `protobuf:"bytes,1,opt,name=grouped_entry,json=groupedEntry,proto3" json:"grouped_entry,omitempty"`
// contains filtered or unexported fields
}
Normal BigQuery table specification.
func (*TableSpec) Descriptor
Deprecated: Use TableSpec.ProtoReflect.Descriptor instead.
func (*TableSpec) GetGroupedEntry
func (*TableSpec) ProtoMessage
func (*TableSpec) ProtoMessage()
func (*TableSpec) ProtoReflect
func (x *TableSpec) ProtoReflect() protoreflect.Message
func (*TableSpec) Reset
func (x *TableSpec) Reset()
func (*TableSpec) String
Tag
type Tag struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
TemplateDisplayName string `protobuf:"bytes,5,opt,name=template_display_name,json=templateDisplayName,proto3" json:"template_display_name,omitempty"`
Scope isTag_Scope `protobuf_oneof:"scope"`
Fields map[string]*TagField "" /* 153 byte string literal not displayed */
}
Tags contain custom metadata and are attached to Data Catalog resources. Tags conform with the specification of their tag template.
See Data Catalog IAM for information on the permissions needed to create or view tags.
func (*Tag) Descriptor
Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (*Tag) GetColumn
func (*Tag) GetFields
func (*Tag) GetName
func (*Tag) GetScope
func (m *Tag) GetScope() isTag_Scope
func (*Tag) GetTemplate
func (*Tag) GetTemplateDisplayName
func (*Tag) ProtoMessage
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Reset
func (x *Tag) Reset()
func (*Tag) String
TagField
type TagField struct {
// Output only. The display name of this field.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. The value of this field.
//
// Types that are assignable to Kind:
// *TagField_DoubleValue
// *TagField_StringValue
// *TagField_BoolValue
// *TagField_TimestampValue
// *TagField_EnumValue_
// *TagField_RichtextValue
Kind isTagField_Kind `protobuf_oneof:"kind"`
// Output only. The order of this field with respect to other fields in this
// tag. Can be set by
// [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
//
// For example, a higher value can indicate a more important field.
// The value can be negative. Multiple fields can have the same order, and
// field orders within a tag don't have to be sequential.
Order int32 `protobuf:"varint,7,opt,name=order,proto3" json:"order,omitempty"`
// contains filtered or unexported fields
}
Contains the value and additional information on a field within a [Tag][google.cloud.datacatalog.v1.Tag].
func (*TagField) Descriptor
Deprecated: Use TagField.ProtoReflect.Descriptor instead.
func (*TagField) GetBoolValue
func (*TagField) GetDisplayName
func (*TagField) GetDoubleValue
func (*TagField) GetEnumValue
func (x *TagField) GetEnumValue() *TagField_EnumValue
func (*TagField) GetKind
func (m *TagField) GetKind() isTagField_Kind
func (*TagField) GetOrder
func (*TagField) GetRichtextValue
func (*TagField) GetStringValue
func (*TagField) GetTimestampValue
func (x *TagField) GetTimestampValue() *timestamppb.Timestamp
func (*TagField) ProtoMessage
func (*TagField) ProtoMessage()
func (*TagField) ProtoReflect
func (x *TagField) ProtoReflect() protoreflect.Message
func (*TagField) Reset
func (x *TagField) Reset()
func (*TagField) String
TagField_BoolValue
type TagField_BoolValue struct {
// The value of a tag field with a boolean type.
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
TagField_DoubleValue
type TagField_DoubleValue struct {
// The value of a tag field with a double type.
DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
TagField_EnumValue
type TagField_EnumValue struct {
// The display name of the enum value.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
An enum value.
func (*TagField_EnumValue) Descriptor
func (*TagField_EnumValue) Descriptor() ([]byte, []int)
Deprecated: Use TagField_EnumValue.ProtoReflect.Descriptor instead.
func (*TagField_EnumValue) GetDisplayName
func (x *TagField_EnumValue) GetDisplayName() string
func (*TagField_EnumValue) ProtoMessage
func (*TagField_EnumValue) ProtoMessage()
func (*TagField_EnumValue) ProtoReflect
func (x *TagField_EnumValue) ProtoReflect() protoreflect.Message
func (*TagField_EnumValue) Reset
func (x *TagField_EnumValue) Reset()
func (*TagField_EnumValue) String
func (x *TagField_EnumValue) String() string
TagField_EnumValue_
type TagField_EnumValue_ struct {
// The value of a tag field with an enum type.
//
// This value must be one of the allowed values listed in this enum.
EnumValue *TagField_EnumValue `protobuf:"bytes,6,opt,name=enum_value,json=enumValue,proto3,oneof"`
}
TagField_RichtextValue
type TagField_RichtextValue struct {
// The value of a tag field with a rich text type.
//
// The maximum length is 10 MiB as this value holds HTML descriptions
// including encoded images. The maximum length of the text without images
// is 100 KiB.
RichtextValue string `protobuf:"bytes,8,opt,name=richtext_value,json=richtextValue,proto3,oneof"`
}
TagField_StringValue
type TagField_StringValue struct {
// The value of a tag field with a string type.
//
// The maximum length is 2000 UTF-8 characters.
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
TagField_TimestampValue
type TagField_TimestampValue struct {
// The value of a tag field with a timestamp type.
TimestampValue *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
}
TagTemplate
type TagTemplate struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
IsPubliclyReadable bool `protobuf:"varint,5,opt,name=is_publicly_readable,json=isPubliclyReadable,proto3" json:"is_publicly_readable,omitempty"`
Fields map[string]*TagTemplateField "" /* 153 byte string literal not displayed */
}
A tag template defines a tag that can have one or more typed fields.
The template is used to create tags that are attached to Google Cloud
resources. [Tag template roles]
(https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the TagTemplate User role that includes a permission to use the tag template to tag resources.
func (*TagTemplate) Descriptor
func (*TagTemplate) Descriptor() ([]byte, []int)
Deprecated: Use TagTemplate.ProtoReflect.Descriptor instead.
func (*TagTemplate) GetDisplayName
func (x *TagTemplate) GetDisplayName() string
func (*TagTemplate) GetFields
func (x *TagTemplate) GetFields() map[string]*TagTemplateField
func (*TagTemplate) GetIsPubliclyReadable
func (x *TagTemplate) GetIsPubliclyReadable() bool
func (*TagTemplate) GetName
func (x *TagTemplate) GetName() string
func (*TagTemplate) ProtoMessage
func (*TagTemplate) ProtoMessage()
func (*TagTemplate) ProtoReflect
func (x *TagTemplate) ProtoReflect() protoreflect.Message
func (*TagTemplate) Reset
func (x *TagTemplate) Reset()
func (*TagTemplate) String
func (x *TagTemplate) String() string
TagTemplateField
type TagTemplateField struct {
// Output only. The resource name of the tag template field in URL format.
// Example:
//
// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
//
// Note: The tag template field itself might not be stored in the location
// specified in its name.
//
// The name must contain only letters (a-z, A-Z), numbers (0-9),
// or underscores (_), and must start with a letter or underscore.
// The maximum length is 64 characters.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// The display name for this field. Defaults to an empty string.
//
// The name must contain only Unicode letters, numbers (0-9), underscores (_),
// dashes (-), spaces ( ), and can't start or end with spaces.
// The maximum length is 200 characters.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. The type of value this tag field can contain.
Type *FieldType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// If true, this field is required. Defaults to false.
IsRequired bool `protobuf:"varint,3,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
// The description for this field. Defaults to an empty string.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// The order of this field with respect to other fields in this tag
// template.
//
// For example, a higher value can indicate a more important field.
// The value can be negative. Multiple fields can have the same order and
// field orders within a tag don't have to be sequential.
Order int32 `protobuf:"varint,5,opt,name=order,proto3" json:"order,omitempty"`
// contains filtered or unexported fields
}
The template for an individual field within a tag template.
func (*TagTemplateField) Descriptor
func (*TagTemplateField) Descriptor() ([]byte, []int)
Deprecated: Use TagTemplateField.ProtoReflect.Descriptor instead.
func (*TagTemplateField) GetDescription
func (x *TagTemplateField) GetDescription() string
func (*TagTemplateField) GetDisplayName
func (x *TagTemplateField) GetDisplayName() string
func (*TagTemplateField) GetIsRequired
func (x *TagTemplateField) GetIsRequired() bool
func (*TagTemplateField) GetName
func (x *TagTemplateField) GetName() string
func (*TagTemplateField) GetOrder
func (x *TagTemplateField) GetOrder() int32
func (*TagTemplateField) GetType
func (x *TagTemplateField) GetType() *FieldType
func (*TagTemplateField) ProtoMessage
func (*TagTemplateField) ProtoMessage()
func (*TagTemplateField) ProtoReflect
func (x *TagTemplateField) ProtoReflect() protoreflect.Message
func (*TagTemplateField) Reset
func (x *TagTemplateField) Reset()
func (*TagTemplateField) String
func (x *TagTemplateField) String() string
Tag_Column
type Tag_Column struct {
// Resources like entry can have schemas associated with them. This scope
// allows you to attach tags to an individual column based on that schema.
//
// To attach a tag to a nested column, separate column names with a dot
// (`.`). Example: `column.nested_column`.
Column string `protobuf:"bytes,4,opt,name=column,proto3,oneof"`
}
TaggedEntry
type TaggedEntry struct {
// Required. Entry to be ingested.
//
// Types that are assignable to Entry:
// *TaggedEntry_V1Entry
Entry isTaggedEntry_Entry `protobuf_oneof:"entry"`
// Optional. Tags that should be ingested into the Data Catalog.
// Caller should populate template name, column and fields.
PresentTags []*Tag `protobuf:"bytes,2,rep,name=present_tags,json=presentTags,proto3" json:"present_tags,omitempty"`
// Optional. Tags that should be deleted from the Data Catalog.
// Caller should populate template name and column only.
AbsentTags []*Tag `protobuf:"bytes,3,rep,name=absent_tags,json=absentTags,proto3" json:"absent_tags,omitempty"`
// contains filtered or unexported fields
}
Wrapper containing Entry and information about Tags that should and should not be attached to it.
func (*TaggedEntry) Descriptor
func (*TaggedEntry) Descriptor() ([]byte, []int)
Deprecated: Use TaggedEntry.ProtoReflect.Descriptor instead.
func (*TaggedEntry) GetAbsentTags
func (x *TaggedEntry) GetAbsentTags() []*Tag
func (*TaggedEntry) GetEntry
func (m *TaggedEntry) GetEntry() isTaggedEntry_Entry
func (*TaggedEntry) GetPresentTags
func (x *TaggedEntry) GetPresentTags() []*Tag
func (*TaggedEntry) GetV1Entry
func (x *TaggedEntry) GetV1Entry() *Entry
func (*TaggedEntry) ProtoMessage
func (*TaggedEntry) ProtoMessage()
func (*TaggedEntry) ProtoReflect
func (x *TaggedEntry) ProtoReflect() protoreflect.Message
func (*TaggedEntry) Reset
func (x *TaggedEntry) Reset()
func (*TaggedEntry) String
func (x *TaggedEntry) String() string
TaggedEntry_V1Entry
type TaggedEntry_V1Entry struct {
// Non-encrypted Data Catalog v1 Entry.
V1Entry *Entry `protobuf:"bytes,1,opt,name=v1_entry,json=v1Entry,proto3,oneof"`
}
Taxonomy
type Taxonomy struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
PolicyTagCount int32 `protobuf:"varint,4,opt,name=policy_tag_count,json=policyTagCount,proto3" json:"policy_tag_count,omitempty"`
TaxonomyTimestamps *SystemTimestamps `protobuf:"bytes,5,opt,name=taxonomy_timestamps,json=taxonomyTimestamps,proto3" json:"taxonomy_timestamps,omitempty"`
ActivatedPolicyTypes []Taxonomy_PolicyType "" /* 184 byte string literal not displayed */
Service *Taxonomy_Service `protobuf:"bytes,7,opt,name=service,proto3" json:"service,omitempty"`
}
A taxonomy is a collection of hierarchical policy tags that classify data along a common axis.
For example, a "data sensitivity" taxonomy might contain the following policy tags:
+ PII
- Account number
- Age
- SSN
- Zipcode
+ Financials
- Revenue
A "data origin" taxonomy might contain the following policy tags:
+ User data
+ Employee data
+ Partner data
+ Public data
func (*Taxonomy) Descriptor
Deprecated: Use Taxonomy.ProtoReflect.Descriptor instead.
func (*Taxonomy) GetActivatedPolicyTypes
func (x *Taxonomy) GetActivatedPolicyTypes() []Taxonomy_PolicyType
func (*Taxonomy) GetDescription
func (*Taxonomy) GetDisplayName
func (*Taxonomy) GetName
func (*Taxonomy) GetPolicyTagCount
func (*Taxonomy) GetService
func (x *Taxonomy) GetService() *Taxonomy_Service
func (*Taxonomy) GetTaxonomyTimestamps
func (x *Taxonomy) GetTaxonomyTimestamps() *SystemTimestamps
func (*Taxonomy) ProtoMessage
func (*Taxonomy) ProtoMessage()
func (*Taxonomy) ProtoReflect
func (x *Taxonomy) ProtoReflect() protoreflect.Message
func (*Taxonomy) Reset
func (x *Taxonomy) Reset()
func (*Taxonomy) String
Taxonomy_PolicyType
type Taxonomy_PolicyType int32
Defines policy types where the policy tags can be used for.
Taxonomy_POLICY_TYPE_UNSPECIFIED, Taxonomy_FINE_GRAINED_ACCESS_CONTROL
const (
// Unspecified policy type.
Taxonomy_POLICY_TYPE_UNSPECIFIED Taxonomy_PolicyType = 0
// Fine-grained access control policy that enables access control on
// tagged sub-resources.
Taxonomy_FINE_GRAINED_ACCESS_CONTROL Taxonomy_PolicyType = 1
)
func (Taxonomy_PolicyType) Descriptor
func (Taxonomy_PolicyType) Descriptor() protoreflect.EnumDescriptor
func (Taxonomy_PolicyType) Enum
func (x Taxonomy_PolicyType) Enum() *Taxonomy_PolicyType
func (Taxonomy_PolicyType) EnumDescriptor
func (Taxonomy_PolicyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Taxonomy_PolicyType.Descriptor instead.
func (Taxonomy_PolicyType) Number
func (x Taxonomy_PolicyType) Number() protoreflect.EnumNumber
func (Taxonomy_PolicyType) String
func (x Taxonomy_PolicyType) String() string
func (Taxonomy_PolicyType) Type
func (Taxonomy_PolicyType) Type() protoreflect.EnumType
Taxonomy_Service
type Taxonomy_Service struct {
// The Google Cloud service name.
Name ManagingSystem `protobuf:"varint,1,opt,name=name,proto3,enum=google.cloud.datacatalog.v1.ManagingSystem" json:"name,omitempty"`
// The service agent for the service.
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
The source system of the Taxonomy.
func (*Taxonomy_Service) Descriptor
func (*Taxonomy_Service) Descriptor() ([]byte, []int)
Deprecated: Use Taxonomy_Service.ProtoReflect.Descriptor instead.
func (*Taxonomy_Service) GetIdentity
func (x *Taxonomy_Service) GetIdentity() string
func (*Taxonomy_Service) GetName
func (x *Taxonomy_Service) GetName() ManagingSystem
func (*Taxonomy_Service) ProtoMessage
func (*Taxonomy_Service) ProtoMessage()
func (*Taxonomy_Service) ProtoReflect
func (x *Taxonomy_Service) ProtoReflect() protoreflect.Message
func (*Taxonomy_Service) Reset
func (x *Taxonomy_Service) Reset()
func (*Taxonomy_Service) String
func (x *Taxonomy_Service) String() string
UnimplementedDataCatalogServer
type UnimplementedDataCatalogServer struct {
}
UnimplementedDataCatalogServer can be embedded to have forward compatible implementations.
func (*UnimplementedDataCatalogServer) CreateEntry
func (*UnimplementedDataCatalogServer) CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error)
func (*UnimplementedDataCatalogServer) CreateEntryGroup
func (*UnimplementedDataCatalogServer) CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error)
func (*UnimplementedDataCatalogServer) CreateTag
func (*UnimplementedDataCatalogServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (*UnimplementedDataCatalogServer) CreateTagTemplate
func (*UnimplementedDataCatalogServer) CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error)
func (*UnimplementedDataCatalogServer) CreateTagTemplateField
func (*UnimplementedDataCatalogServer) CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error)
func (*UnimplementedDataCatalogServer) DeleteEntry
func (*UnimplementedDataCatalogServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error)
func (*UnimplementedDataCatalogServer) DeleteEntryGroup
func (*UnimplementedDataCatalogServer) DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error)
func (*UnimplementedDataCatalogServer) DeleteTag
func (*UnimplementedDataCatalogServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
func (*UnimplementedDataCatalogServer) DeleteTagTemplate
func (*UnimplementedDataCatalogServer) DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error)
func (*UnimplementedDataCatalogServer) DeleteTagTemplateField
func (*UnimplementedDataCatalogServer) DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error)
func (*UnimplementedDataCatalogServer) GetEntry
func (*UnimplementedDataCatalogServer) GetEntry(context.Context, *GetEntryRequest) (*Entry, error)
func (*UnimplementedDataCatalogServer) GetEntryGroup
func (*UnimplementedDataCatalogServer) GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error)
func (*UnimplementedDataCatalogServer) GetIamPolicy
func (*UnimplementedDataCatalogServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedDataCatalogServer) GetTagTemplate
func (*UnimplementedDataCatalogServer) GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error)
func (*UnimplementedDataCatalogServer) ImportEntries
func (*UnimplementedDataCatalogServer) ImportEntries(context.Context, *ImportEntriesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataCatalogServer) ListEntries
func (*UnimplementedDataCatalogServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
func (*UnimplementedDataCatalogServer) ListEntryGroups
func (*UnimplementedDataCatalogServer) ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error)
func (*UnimplementedDataCatalogServer) ListTags
func (*UnimplementedDataCatalogServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (*UnimplementedDataCatalogServer) LookupEntry
func (*UnimplementedDataCatalogServer) LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error)
func (*UnimplementedDataCatalogServer) ModifyEntryContacts
func (*UnimplementedDataCatalogServer) ModifyEntryContacts(context.Context, *ModifyEntryContactsRequest) (*Contacts, error)
func (*UnimplementedDataCatalogServer) ModifyEntryOverview
func (*UnimplementedDataCatalogServer) ModifyEntryOverview(context.Context, *ModifyEntryOverviewRequest) (*EntryOverview, error)
func (*UnimplementedDataCatalogServer) ReconcileTags
func (*UnimplementedDataCatalogServer) ReconcileTags(context.Context, *ReconcileTagsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDataCatalogServer) RenameTagTemplateField
func (*UnimplementedDataCatalogServer) RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error)
func (*UnimplementedDataCatalogServer) RenameTagTemplateFieldEnumValue
func (*UnimplementedDataCatalogServer) RenameTagTemplateFieldEnumValue(context.Context, *RenameTagTemplateFieldEnumValueRequest) (*TagTemplateField, error)
func (*UnimplementedDataCatalogServer) SearchCatalog
func (*UnimplementedDataCatalogServer) SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error)
func (*UnimplementedDataCatalogServer) SetIamPolicy
func (*UnimplementedDataCatalogServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedDataCatalogServer) StarEntry
func (*UnimplementedDataCatalogServer) StarEntry(context.Context, *StarEntryRequest) (*StarEntryResponse, error)
func (*UnimplementedDataCatalogServer) TestIamPermissions
func (*UnimplementedDataCatalogServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedDataCatalogServer) UnstarEntry
func (*UnimplementedDataCatalogServer) UnstarEntry(context.Context, *UnstarEntryRequest) (*UnstarEntryResponse, error)
func (*UnimplementedDataCatalogServer) UpdateEntry
func (*UnimplementedDataCatalogServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error)
func (*UnimplementedDataCatalogServer) UpdateEntryGroup
func (*UnimplementedDataCatalogServer) UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error)
func (*UnimplementedDataCatalogServer) UpdateTag
func (*UnimplementedDataCatalogServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
func (*UnimplementedDataCatalogServer) UpdateTagTemplate
func (*UnimplementedDataCatalogServer) UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error)
func (*UnimplementedDataCatalogServer) UpdateTagTemplateField
func (*UnimplementedDataCatalogServer) UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error)
UnimplementedPolicyTagManagerSerializationServer
type UnimplementedPolicyTagManagerSerializationServer struct {
}
UnimplementedPolicyTagManagerSerializationServer can be embedded to have forward compatible implementations.
func (*UnimplementedPolicyTagManagerSerializationServer) ExportTaxonomies
func (*UnimplementedPolicyTagManagerSerializationServer) ExportTaxonomies(context.Context, *ExportTaxonomiesRequest) (*ExportTaxonomiesResponse, error)
func (*UnimplementedPolicyTagManagerSerializationServer) ImportTaxonomies
func (*UnimplementedPolicyTagManagerSerializationServer) ImportTaxonomies(context.Context, *ImportTaxonomiesRequest) (*ImportTaxonomiesResponse, error)
func (*UnimplementedPolicyTagManagerSerializationServer) ReplaceTaxonomy
func (*UnimplementedPolicyTagManagerSerializationServer) ReplaceTaxonomy(context.Context, *ReplaceTaxonomyRequest) (*Taxonomy, error)
UnimplementedPolicyTagManagerServer
type UnimplementedPolicyTagManagerServer struct {
}
UnimplementedPolicyTagManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedPolicyTagManagerServer) CreatePolicyTag
func (*UnimplementedPolicyTagManagerServer) CreatePolicyTag(context.Context, *CreatePolicyTagRequest) (*PolicyTag, error)
func (*UnimplementedPolicyTagManagerServer) CreateTaxonomy
func (*UnimplementedPolicyTagManagerServer) CreateTaxonomy(context.Context, *CreateTaxonomyRequest) (*Taxonomy, error)
func (*UnimplementedPolicyTagManagerServer) DeletePolicyTag
func (*UnimplementedPolicyTagManagerServer) DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*emptypb.Empty, error)
func (*UnimplementedPolicyTagManagerServer) DeleteTaxonomy
func (*UnimplementedPolicyTagManagerServer) DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*emptypb.Empty, error)
func (*UnimplementedPolicyTagManagerServer) GetIamPolicy
func (*UnimplementedPolicyTagManagerServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedPolicyTagManagerServer) GetPolicyTag
func (*UnimplementedPolicyTagManagerServer) GetPolicyTag(context.Context, *GetPolicyTagRequest) (*PolicyTag, error)
func (*UnimplementedPolicyTagManagerServer) GetTaxonomy
func (*UnimplementedPolicyTagManagerServer) GetTaxonomy(context.Context, *GetTaxonomyRequest) (*Taxonomy, error)
func (*UnimplementedPolicyTagManagerServer) ListPolicyTags
func (*UnimplementedPolicyTagManagerServer) ListPolicyTags(context.Context, *ListPolicyTagsRequest) (*ListPolicyTagsResponse, error)
func (*UnimplementedPolicyTagManagerServer) ListTaxonomies
func (*UnimplementedPolicyTagManagerServer) ListTaxonomies(context.Context, *ListTaxonomiesRequest) (*ListTaxonomiesResponse, error)
func (*UnimplementedPolicyTagManagerServer) SetIamPolicy
func (*UnimplementedPolicyTagManagerServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedPolicyTagManagerServer) TestIamPermissions
func (*UnimplementedPolicyTagManagerServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedPolicyTagManagerServer) UpdatePolicyTag
func (*UnimplementedPolicyTagManagerServer) UpdatePolicyTag(context.Context, *UpdatePolicyTagRequest) (*PolicyTag, error)
func (*UnimplementedPolicyTagManagerServer) UpdateTaxonomy
func (*UnimplementedPolicyTagManagerServer) UpdateTaxonomy(context.Context, *UpdateTaxonomyRequest) (*Taxonomy, error)
UnstarEntryRequest
type UnstarEntryRequest struct {
// Required. The name of the entry to mark as **not** starred.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
func (*UnstarEntryRequest) Descriptor
func (*UnstarEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnstarEntryRequest.ProtoReflect.Descriptor instead.
func (*UnstarEntryRequest) GetName
func (x *UnstarEntryRequest) GetName() string
func (*UnstarEntryRequest) ProtoMessage
func (*UnstarEntryRequest) ProtoMessage()
func (*UnstarEntryRequest) ProtoReflect
func (x *UnstarEntryRequest) ProtoReflect() protoreflect.Message
func (*UnstarEntryRequest) Reset
func (x *UnstarEntryRequest) Reset()
func (*UnstarEntryRequest) String
func (x *UnstarEntryRequest) String() string
UnstarEntryResponse
type UnstarEntryResponse struct {
// contains filtered or unexported fields
}
Response message for [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry]. Empty for now
func (*UnstarEntryResponse) Descriptor
func (*UnstarEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnstarEntryResponse.ProtoReflect.Descriptor instead.
func (*UnstarEntryResponse) ProtoMessage
func (*UnstarEntryResponse) ProtoMessage()
func (*UnstarEntryResponse) ProtoReflect
func (x *UnstarEntryResponse) ProtoReflect() protoreflect.Message
func (*UnstarEntryResponse) Reset
func (x *UnstarEntryResponse) Reset()
func (*UnstarEntryResponse) String
func (x *UnstarEntryResponse) String() string
UpdateEntryGroupRequest
type UpdateEntryGroupRequest struct {
// Required. Updates for the entry group. The `name` field must be set.
EntryGroup *EntryGroup `protobuf:"bytes,1,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"`
// Names of fields whose values to overwrite on an entry group.
//
// If this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
func (*UpdateEntryGroupRequest) Descriptor
func (*UpdateEntryGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntryGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntryGroupRequest) GetEntryGroup
func (x *UpdateEntryGroupRequest) GetEntryGroup() *EntryGroup
func (*UpdateEntryGroupRequest) GetUpdateMask
func (x *UpdateEntryGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEntryGroupRequest) ProtoMessage
func (*UpdateEntryGroupRequest) ProtoMessage()
func (*UpdateEntryGroupRequest) ProtoReflect
func (x *UpdateEntryGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateEntryGroupRequest) Reset
func (x *UpdateEntryGroupRequest) Reset()
func (*UpdateEntryGroupRequest) String
func (x *UpdateEntryGroupRequest) String() string
UpdateEntryRequest
type UpdateEntryRequest struct {
// Required. Updates for the entry. The `name` field must be set.
Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
// Names of fields whose values to overwrite on an entry.
//
// If this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
//
// You can modify only the fields listed below.
//
// For entries with type `DATA_STREAM`:
//
// * `schema`
//
// For entries with type `FILESET`:
//
// * `schema`
// * `display_name`
// * `description`
// * `gcs_fileset_spec`
// * `gcs_fileset_spec.file_patterns`
//
// For entries with `user_specified_type`:
//
// * `schema`
// * `display_name`
// * `description`
// * `user_specified_type`
// * `user_specified_system`
// * `linked_resource`
// * `source_system_timestamps`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
func (*UpdateEntryRequest) Descriptor
func (*UpdateEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntryRequest) GetEntry
func (x *UpdateEntryRequest) GetEntry() *Entry
func (*UpdateEntryRequest) GetUpdateMask
func (x *UpdateEntryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEntryRequest) ProtoMessage
func (*UpdateEntryRequest) ProtoMessage()
func (*UpdateEntryRequest) ProtoReflect
func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message
func (*UpdateEntryRequest) Reset
func (x *UpdateEntryRequest) Reset()
func (*UpdateEntryRequest) String
func (x *UpdateEntryRequest) String() string
UpdatePolicyTagRequest
type UpdatePolicyTagRequest struct {
// The policy tag to update. You can update only its description, display
// name, and parent policy tag fields.
PolicyTag *PolicyTag `protobuf:"bytes,1,opt,name=policy_tag,json=policyTag,proto3" json:"policy_tag,omitempty"`
// Specifies the fields to update.
//
// You can update only display name, description, and parent policy tag.
// If not set, defaults to all updatable fields.
// For more information, see [FieldMask]
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
func (*UpdatePolicyTagRequest) Descriptor
func (*UpdatePolicyTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyTagRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicyTagRequest) GetPolicyTag
func (x *UpdatePolicyTagRequest) GetPolicyTag() *PolicyTag
func (*UpdatePolicyTagRequest) GetUpdateMask
func (x *UpdatePolicyTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePolicyTagRequest) ProtoMessage
func (*UpdatePolicyTagRequest) ProtoMessage()
func (*UpdatePolicyTagRequest) ProtoReflect
func (x *UpdatePolicyTagRequest) ProtoReflect() protoreflect.Message
func (*UpdatePolicyTagRequest) Reset
func (x *UpdatePolicyTagRequest) Reset()
func (*UpdatePolicyTagRequest) String
func (x *UpdatePolicyTagRequest) String() string
UpdateTagRequest
type UpdateTagRequest struct {
// Required. The updated tag. The "name" field must be set.
Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// Names of fields whose values to overwrite on a tag. Currently, a tag has
// the only modifiable field with the name `fields`.
//
// In general, if this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
func (*UpdateTagRequest) Descriptor
func (*UpdateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagRequest) GetTag
func (x *UpdateTagRequest) GetTag() *Tag
func (*UpdateTagRequest) GetUpdateMask
func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagRequest) ProtoMessage
func (*UpdateTagRequest) ProtoMessage()
func (*UpdateTagRequest) ProtoReflect
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagRequest) Reset
func (x *UpdateTagRequest) Reset()
func (*UpdateTagRequest) String
func (x *UpdateTagRequest) String() string
UpdateTagTemplateFieldRequest
type UpdateTagTemplateFieldRequest struct {
// Required. The name of the tag template field.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The template to update.
TagTemplateField *TagTemplateField `protobuf:"bytes,2,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"`
// Optional. Names of fields whose values to overwrite on an individual field
// of a tag template. The following fields are modifiable:
//
// * `display_name`
// * `type.enum_type`
// * `is_required`
//
// If this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the request
// body, their values are emptied with one exception: when updating an enum
// type, the provided values are merged with the existing values. Therefore,
// enum values can only be added, existing enum values cannot be deleted or
// renamed.
//
// Additionally, updating a template field from optional to required is
// *not* allowed.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
func (*UpdateTagTemplateFieldRequest) Descriptor
func (*UpdateTagTemplateFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagTemplateFieldRequest) GetName
func (x *UpdateTagTemplateFieldRequest) GetName() string
func (*UpdateTagTemplateFieldRequest) GetTagTemplateField
func (x *UpdateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField
func (*UpdateTagTemplateFieldRequest) GetUpdateMask
func (x *UpdateTagTemplateFieldRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagTemplateFieldRequest) ProtoMessage
func (*UpdateTagTemplateFieldRequest) ProtoMessage()
func (*UpdateTagTemplateFieldRequest) ProtoReflect
func (x *UpdateTagTemplateFieldRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagTemplateFieldRequest) Reset
func (x *UpdateTagTemplateFieldRequest) Reset()
func (*UpdateTagTemplateFieldRequest) String
func (x *UpdateTagTemplateFieldRequest) String() string
UpdateTagTemplateRequest
type UpdateTagTemplateRequest struct {
// Required. The template to update. The `name` field must be set.
TagTemplate *TagTemplate `protobuf:"bytes,1,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"`
// Names of fields whose values to overwrite on a tag template. Currently,
// only `display_name` and `is_publicly_readable` can be overwritten.
//
// If this parameter is absent or empty, all modifiable fields
// are overwritten. If such fields are non-required and omitted in the
// request body, their values are emptied.
//
// Note: Updating the `is_publicly_readable` field may require up to 12
// hours to take effect in search results.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
func (*UpdateTagTemplateRequest) Descriptor
func (*UpdateTagTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagTemplateRequest) GetTagTemplate
func (x *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate
func (*UpdateTagTemplateRequest) GetUpdateMask
func (x *UpdateTagTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagTemplateRequest) ProtoMessage
func (*UpdateTagTemplateRequest) ProtoMessage()
func (*UpdateTagTemplateRequest) ProtoReflect
func (x *UpdateTagTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagTemplateRequest) Reset
func (x *UpdateTagTemplateRequest) Reset()
func (*UpdateTagTemplateRequest) String
func (x *UpdateTagTemplateRequest) String() string
UpdateTaxonomyRequest
type UpdateTaxonomyRequest struct {
// The taxonomy to update. You can update only its description, display name,
// and activated policy types.
Taxonomy *Taxonomy `protobuf:"bytes,1,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"`
// Specifies fields to update. If not set, defaults to all fields you can
// update.
//
// For more information, see [FieldMask]
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
func (*UpdateTaxonomyRequest) Descriptor
func (*UpdateTaxonomyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaxonomyRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaxonomyRequest) GetTaxonomy
func (x *UpdateTaxonomyRequest) GetTaxonomy() *Taxonomy
func (*UpdateTaxonomyRequest) GetUpdateMask
func (x *UpdateTaxonomyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTaxonomyRequest) ProtoMessage
func (*UpdateTaxonomyRequest) ProtoMessage()
func (*UpdateTaxonomyRequest) ProtoReflect
func (x *UpdateTaxonomyRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaxonomyRequest) Reset
func (x *UpdateTaxonomyRequest) Reset()
func (*UpdateTaxonomyRequest) String
func (x *UpdateTaxonomyRequest) String() string
UsageSignal
type UsageSignal struct {
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
UsageWithinTimeRange map[string]*UsageStats "" /* 213 byte string literal not displayed */
CommonUsageWithinTimeRange map[string]*CommonUsageStats "" /* 233 byte string literal not displayed */
FavoriteCount *int64 `protobuf:"varint,4,opt,name=favorite_count,json=favoriteCount,proto3,oneof" json:"favorite_count,omitempty"`
}
The set of all usage signals that Data Catalog stores.
Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.
func (*UsageSignal) Descriptor
func (*UsageSignal) Descriptor() ([]byte, []int)
Deprecated: Use UsageSignal.ProtoReflect.Descriptor instead.
func (*UsageSignal) GetCommonUsageWithinTimeRange
func (x *UsageSignal) GetCommonUsageWithinTimeRange() map[string]*CommonUsageStats
func (*UsageSignal) GetFavoriteCount
func (x *UsageSignal) GetFavoriteCount() int64
func (*UsageSignal) GetUpdateTime
func (x *UsageSignal) GetUpdateTime() *timestamppb.Timestamp
func (*UsageSignal) GetUsageWithinTimeRange
func (x *UsageSignal) GetUsageWithinTimeRange() map[string]*UsageStats
func (*UsageSignal) ProtoMessage
func (*UsageSignal) ProtoMessage()
func (*UsageSignal) ProtoReflect
func (x *UsageSignal) ProtoReflect() protoreflect.Message
func (*UsageSignal) Reset
func (x *UsageSignal) Reset()
func (*UsageSignal) String
func (x *UsageSignal) String() string
UsageStats
type UsageStats struct {
TotalCompletions float32 `protobuf:"fixed32,1,opt,name=total_completions,json=totalCompletions,proto3" json:"total_completions,omitempty"`
TotalFailures float32 `protobuf:"fixed32,2,opt,name=total_failures,json=totalFailures,proto3" json:"total_failures,omitempty"`
TotalCancellations float32 `protobuf:"fixed32,3,opt,name=total_cancellations,json=totalCancellations,proto3" json:"total_cancellations,omitempty"`
TotalExecutionTimeForCompletionsMillis float32 "" /* 185 byte string literal not displayed */
}
Detailed statistics on the entry's usage.
Usage statistics have the following limitations:
- Only BigQuery tables have them.
- They only include BigQuery query jobs.
- They might be underestimated because wildcard table references are not yet counted. For more information, see Querying multiple tables using a wildcard table
func (*UsageStats) Descriptor
func (*UsageStats) Descriptor() ([]byte, []int)
Deprecated: Use UsageStats.ProtoReflect.Descriptor instead.
func (*UsageStats) GetTotalCancellations
func (x *UsageStats) GetTotalCancellations() float32
func (*UsageStats) GetTotalCompletions
func (x *UsageStats) GetTotalCompletions() float32
func (*UsageStats) GetTotalExecutionTimeForCompletionsMillis
func (x *UsageStats) GetTotalExecutionTimeForCompletionsMillis() float32
func (*UsageStats) GetTotalFailures
func (x *UsageStats) GetTotalFailures() float32
func (*UsageStats) ProtoMessage
func (*UsageStats) ProtoMessage()
func (*UsageStats) ProtoReflect
func (x *UsageStats) ProtoReflect() protoreflect.Message
func (*UsageStats) Reset
func (x *UsageStats) Reset()
func (*UsageStats) String
func (x *UsageStats) String() string
ViewSpec
type ViewSpec struct {
// Output only. The query that defines the table view.
ViewQuery string `protobuf:"bytes,1,opt,name=view_query,json=viewQuery,proto3" json:"view_query,omitempty"`
// contains filtered or unexported fields
}
Table view specification.
func (*ViewSpec) Descriptor
Deprecated: Use ViewSpec.ProtoReflect.Descriptor instead.
func (*ViewSpec) GetViewQuery
func (*ViewSpec) ProtoMessage
func (*ViewSpec) ProtoMessage()
func (*ViewSpec) ProtoReflect
func (x *ViewSpec) ProtoReflect() protoreflect.Message
func (*ViewSpec) Reset
func (x *ViewSpec) Reset()