datacatalogpb

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for IntegratedSystem.

View Source
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.

View Source
var (
	EntryType_name = map[int32]string{
		0: "ENTRY_TYPE_UNSPECIFIED",
		2: "TABLE",
		5: "MODEL",
		3: "DATA_STREAM",
		4: "FILESET",
	}
	EntryType_value = map[string]int32{
		"ENTRY_TYPE_UNSPECIFIED": 0,
		"TABLE":                  2,
		"MODEL":                  5,
		"DATA_STREAM":            3,
		"FILESET":                4,
	}
)

Enum value maps for EntryType.

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

Enum value maps for Taxonomy_PolicyType.

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

Enum value maps for SearchResultType.

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

Enum value maps for TableSourceType.

View Source
var (
	TagTemplate_DataplexTransferStatus_name = map[int32]string{
		0: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED",
		1: "MIGRATED",
	}
	TagTemplate_DataplexTransferStatus_value = map[string]int32{
		"DATAPLEX_TRANSFER_STATUS_UNSPECIFIED": 0,
		"MIGRATED":                             1,
	}
)

Enum value maps for TagTemplate_DataplexTransferStatus.

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

Enum value maps for FieldType_PrimitiveType.

View Source
var File_google_cloud_datacatalog_v1beta1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_datacatalog_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_gcs_fileset_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_policytagmanager_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_policytagmanagerserialization_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_schema_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_search_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_table_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_tags_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_timestamps_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1beta1_usage_proto protoreflect.FileDescriptor

Functions

func RegisterDataCatalogServer

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

func RegisterPolicyTagManagerSerializationServer

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

func RegisterPolicyTagManagerServer

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

Types

type 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 shard `MyTable20180101`, 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"`
	// contains filtered or unexported fields
}

Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding

func (*BigQueryDateShardedSpec) Descriptor deprecated

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

Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead.

func (*BigQueryDateShardedSpec) GetDataset

func (x *BigQueryDateShardedSpec) GetDataset() string

func (*BigQueryDateShardedSpec) GetShardCount

func (x *BigQueryDateShardedSpec) GetShardCount() int64

func (*BigQueryDateShardedSpec) GetTablePrefix

func (x *BigQueryDateShardedSpec) GetTablePrefix() string

func (*BigQueryDateShardedSpec) ProtoMessage

func (*BigQueryDateShardedSpec) ProtoMessage()

func (*BigQueryDateShardedSpec) ProtoReflect

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

func (*BigQueryDateShardedSpec) Reset

func (x *BigQueryDateShardedSpec) Reset()

func (*BigQueryDateShardedSpec) String

func (x *BigQueryDateShardedSpec) String() string

type BigQueryTableSpec

type BigQueryTableSpec struct {

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

Describes a BigQuery table.

func (*BigQueryTableSpec) Descriptor deprecated

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

Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.

func (*BigQueryTableSpec) GetTableSourceType

func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType

func (*BigQueryTableSpec) GetTableSpec

func (x *BigQueryTableSpec) GetTableSpec() *TableSpec

func (*BigQueryTableSpec) GetTypeSpec

func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec

func (*BigQueryTableSpec) GetViewSpec

func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec

func (*BigQueryTableSpec) ProtoMessage

func (*BigQueryTableSpec) ProtoMessage()

func (*BigQueryTableSpec) ProtoReflect

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

func (*BigQueryTableSpec) Reset

func (x *BigQueryTableSpec) Reset()

func (*BigQueryTableSpec) String

func (x *BigQueryTableSpec) String() string

type BigQueryTableSpec_TableSpec

type BigQueryTableSpec_TableSpec struct {
	// Spec of a BigQuery table. This field should only be populated if
	// `table_source_type` is `BIGQUERY_TABLE`.
	TableSpec *TableSpec `protobuf:"bytes,3,opt,name=table_spec,json=tableSpec,proto3,oneof"`
}

type BigQueryTableSpec_ViewSpec

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

type ColumnSchema

type ColumnSchema struct {

	// Required. Name of the column.
	Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"`
	// Required. Type of the column.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Optional. Description of the column. Default value is an empty string.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. A column's mode indicates whether the values in this column are
	// required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
	// supported. Default mode is `NULLABLE`.
	Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// Optional. Schema of sub-columns. A column can have zero or more
	// sub-columns.
	Subcolumns []*ColumnSchema `protobuf:"bytes,7,rep,name=subcolumns,proto3" json:"subcolumns,omitempty"`
	// contains filtered or unexported fields
}

Representation of a column within a schema. Columns could be nested inside other columns.

func (*ColumnSchema) Descriptor deprecated

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

Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.

func (*ColumnSchema) GetColumn

func (x *ColumnSchema) GetColumn() string

func (*ColumnSchema) GetDescription

func (x *ColumnSchema) GetDescription() string

func (*ColumnSchema) GetMode

func (x *ColumnSchema) GetMode() string

func (*ColumnSchema) GetSubcolumns

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

func (*ColumnSchema) GetType

func (x *ColumnSchema) GetType() string

func (*ColumnSchema) ProtoMessage

func (*ColumnSchema) ProtoMessage()

func (*ColumnSchema) ProtoReflect

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

func (*ColumnSchema) Reset

func (x *ColumnSchema) Reset()

func (*ColumnSchema) String

func (x *ColumnSchema) String() string

type CreateEntryGroupRequest

type CreateEntryGroupRequest struct {

	// Required. The name of the project this entry group is in. Example:
	//
	// * projects/{project_id}/locations/{location}
	//
	// Note that this EntryGroup and its child resources may not actually be
	// stored in the location in this name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the entry group to create.
	// The id must begin with a letter or underscore, contain only English
	// letters, numbers and underscores, and be at most 64 characters.
	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 an empty entry group.
	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.v1beta1.DataCatalog.CreateEntryGroup].

func (*CreateEntryGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryGroupRequest) GetEntryGroup

func (x *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*CreateEntryGroupRequest) GetEntryGroupId

func (x *CreateEntryGroupRequest) GetEntryGroupId() string

func (*CreateEntryGroupRequest) GetParent

func (x *CreateEntryGroupRequest) GetParent() string

func (*CreateEntryGroupRequest) ProtoMessage

func (*CreateEntryGroupRequest) ProtoMessage()

func (*CreateEntryGroupRequest) ProtoReflect

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

func (*CreateEntryGroupRequest) Reset

func (x *CreateEntryGroupRequest) Reset()

func (*CreateEntryGroupRequest) String

func (x *CreateEntryGroupRequest) String() string

type CreateEntryRequest

type CreateEntryRequest struct {

	// Required. The name of the entry group this entry is in. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	//
	// Note that this Entry and its child resources may not actually be stored in
	// the location in this name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the entry to create.
	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.v1beta1.DataCatalog.CreateEntry].

func (*CreateEntryRequest) Descriptor deprecated

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

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetEntry

func (x *CreateEntryRequest) GetEntry() *Entry

func (*CreateEntryRequest) GetEntryId

func (x *CreateEntryRequest) GetEntryId() string

func (*CreateEntryRequest) GetParent

func (x *CreateEntryRequest) GetParent() string

func (*CreateEntryRequest) ProtoMessage

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect

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

func (*CreateEntryRequest) Reset

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String

func (x *CreateEntryRequest) String() string

type CreatePolicyTagRequest

type CreatePolicyTagRequest struct {

	// Required. Resource name of the taxonomy that the policy tag will belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The policy tag to be created.
	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.v1beta1.PolicyTagManager.CreatePolicyTag].

func (*CreatePolicyTagRequest) Descriptor deprecated

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

Deprecated: Use CreatePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyTagRequest) GetParent

func (x *CreatePolicyTagRequest) GetParent() string

func (*CreatePolicyTagRequest) GetPolicyTag

func (x *CreatePolicyTagRequest) GetPolicyTag() *PolicyTag

func (*CreatePolicyTagRequest) ProtoMessage

func (*CreatePolicyTagRequest) ProtoMessage()

func (*CreatePolicyTagRequest) ProtoReflect

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

func (*CreatePolicyTagRequest) Reset

func (x *CreatePolicyTagRequest) Reset()

func (*CreatePolicyTagRequest) String

func (x *CreatePolicyTagRequest) String() string

type CreateTagRequest

type CreateTagRequest struct {

	// Required. The name of the resource to attach this tag to. Tags can be
	// attached to Entries. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	//
	// Note that this Tag and its child resources may not actually be stored in
	// the location in this name.
	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.v1beta1.DataCatalog.CreateTag].

func (*CreateTagRequest) Descriptor deprecated

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

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

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type CreateTagTemplateFieldRequest

type CreateTagTemplateFieldRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	//
	// Example:
	//
	// * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the tag template field to create.
	// Field ids can contain letters (both uppercase and lowercase), numbers
	// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1
	// character long and at most 128 characters long. Field IDs must also be
	// unique within their template.
	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.v1beta1.DataCatalog.CreateTagTemplateField].

func (*CreateTagTemplateFieldRequest) Descriptor deprecated

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

Deprecated: Use CreateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateFieldRequest) GetParent

func (x *CreateTagTemplateFieldRequest) GetParent() string

func (*CreateTagTemplateFieldRequest) GetTagTemplateField

func (x *CreateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*CreateTagTemplateFieldRequest) GetTagTemplateFieldId

func (x *CreateTagTemplateFieldRequest) GetTagTemplateFieldId() string

func (*CreateTagTemplateFieldRequest) ProtoMessage

func (*CreateTagTemplateFieldRequest) ProtoMessage()

func (*CreateTagTemplateFieldRequest) ProtoReflect

func (*CreateTagTemplateFieldRequest) Reset

func (x *CreateTagTemplateFieldRequest) Reset()

func (*CreateTagTemplateFieldRequest) String

type CreateTagTemplateRequest

type CreateTagTemplateRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
	//
	// Example:
	//
	// * projects/{project_id}/locations/us-central1
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the tag template to create.
	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.v1beta1.DataCatalog.CreateTagTemplate].

func (*CreateTagTemplateRequest) Descriptor deprecated

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

Deprecated: Use CreateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateRequest) GetParent

func (x *CreateTagTemplateRequest) GetParent() string

func (*CreateTagTemplateRequest) GetTagTemplate

func (x *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*CreateTagTemplateRequest) GetTagTemplateId

func (x *CreateTagTemplateRequest) GetTagTemplateId() string

func (*CreateTagTemplateRequest) ProtoMessage

func (*CreateTagTemplateRequest) ProtoMessage()

func (*CreateTagTemplateRequest) ProtoReflect

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

func (*CreateTagTemplateRequest) Reset

func (x *CreateTagTemplateRequest) Reset()

func (*CreateTagTemplateRequest) String

func (x *CreateTagTemplateRequest) String() string

type CreateTaxonomyRequest

type CreateTaxonomyRequest struct {

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

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

func (*CreateTaxonomyRequest) Descriptor deprecated

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

Deprecated: Use CreateTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*CreateTaxonomyRequest) GetParent

func (x *CreateTaxonomyRequest) GetParent() string

func (*CreateTaxonomyRequest) GetTaxonomy

func (x *CreateTaxonomyRequest) GetTaxonomy() *Taxonomy

func (*CreateTaxonomyRequest) ProtoMessage

func (*CreateTaxonomyRequest) ProtoMessage()

func (*CreateTaxonomyRequest) ProtoReflect

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

func (*CreateTaxonomyRequest) Reset

func (x *CreateTaxonomyRequest) Reset()

func (*CreateTaxonomyRequest) String

func (x *CreateTaxonomyRequest) String() string

type DataCatalogClient

type DataCatalogClient interface {
	// Searches Data Catalog for multiple resources like entries, tags that
	// match a query.
	//
	// This is a custom method
	// (https://cloud.google.com/apis/design/custom_methods) and does not return
	// the complete resource, only the resource identifier and high level
	// fields. Clients can subsequently call `Get` methods.
	//
	// Note that Data Catalog search queries do not guarantee full recall. Query
	// results that match your query may not be returned, even in subsequent
	// result pages. Also note that results returned (and not returned) can vary
	// across repeated search queries.
	//
	// See [Data Catalog Search
	// Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
	// for more information.
	SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error)
	// A maximum of 10,000 entry groups may be created per organization across all
	// locations.
	//
	// Users should enable the Data Catalog API in the project identified by
	// the `parent` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Updates an EntryGroup. The user should enable the Data Catalog API in the
	// project identified by the `entry_group.name` parameter (see [Data Catalog
	// Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateEntryGroup(ctx context.Context, in *UpdateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Gets an EntryGroup.
	GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error)
	// Deletes an EntryGroup. Only entry groups that do not contain entries can be
	// deleted. Users should enable the Data Catalog API in the project
	// identified by the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	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. Only entries of 'FILESET' type or user-specified type can
	// be created.
	//
	// Users should enable the Data Catalog API in the project identified by
	// the `parent` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	//
	// A maximum of 100,000 entries may be created per entry group.
	CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Updates an existing entry.
	// Users should enable the Data Catalog API in the project identified by
	// the `entry.name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Deletes an existing entry. Only entries created through
	// [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
	// method can be deleted.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	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)
	// Get an entry by target resource name. This method allows clients to use
	// the resource name from the source Google Cloud Platform service to get the
	// Data Catalog Entry.
	LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error)
	// Lists entries.
	ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error)
	// Creates a tag template. The user should enable the Data Catalog API in
	// the project identified by the `parent` parameter (see [Data Catalog
	// Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	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. This method cannot be used to update the fields of
	// a template. The tag template fields are represented as separate resources
	// and should be updated using their own create/update/delete methods.
	// Users should enable the Data Catalog API in the project identified by
	// the `tag_template.name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error)
	// Deletes a tag template and all tags using the template.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a field in a tag template. The user should enable the Data Catalog
	// API in the project identified by the `parent` parameter (see
	// [Data Catalog Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Updates a field in a tag template. This method cannot be used to update the
	// field type. Users should enable the Data Catalog API in the project
	// identified by the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Renames a field in a tag template. The user should enable the Data Catalog
	// API in the project identified by the `name` parameter (see [Data Catalog
	// Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Renames an enum value in a tag template. The enum values have to be unique
	// within one enum field. Thus, an enum value cannot be renamed with a name
	// used in any other enum value within the same enum field.
	RenameTagTemplateFieldEnumValue(ctx context.Context, in *RenameTagTemplateFieldEnumValueRequest, opts ...grpc.CallOption) (*TagTemplateField, error)
	// Deletes a field in a tag template and all uses of that field.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
	// Note: The project identified by the `parent` parameter for the
	// [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the
	// [tag
	// template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be from 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.v1beta1.Entry].
	// The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
	// are lowercased.
	ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
	// Sets the access control policy for a resource. Replaces any existing
	// policy.
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// Callers must have following Google IAM permission
	//   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
	//     templates.
	//   - `datacatalog.entries.setIamPolicy` to set policies on entries.
	//   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Gets the access control policy for a resource. A `NOT_FOUND` error
	// is returned if the resource does not exist. An empty policy is returned
	// if the resource exists but does not have a policy set on it.
	//
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// Callers must have following Google IAM permission
	//   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
	//     templates.
	//   - `datacatalog.entries.getIamPolicy` to get policies on entries.
	//   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Returns the caller's permissions on a resource.
	// If the resource does not exist, an empty set of permissions is returned
	// (We don't return a `NOT_FOUND` error).
	//
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// A caller is not required to have Google IAM permission to make this
	// request.
	TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}

DataCatalogClient is the client API for DataCatalog service.

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

type DataCatalogServer

type DataCatalogServer interface {
	// Searches Data Catalog for multiple resources like entries, tags that
	// match a query.
	//
	// This is a custom method
	// (https://cloud.google.com/apis/design/custom_methods) and does not return
	// the complete resource, only the resource identifier and high level
	// fields. Clients can subsequently call `Get` methods.
	//
	// Note that Data Catalog search queries do not guarantee full recall. Query
	// results that match your query may not be returned, even in subsequent
	// result pages. Also note that results returned (and not returned) can vary
	// across repeated search queries.
	//
	// See [Data Catalog Search
	// Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
	// for more information.
	SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error)
	// A maximum of 10,000 entry groups may be created per organization across all
	// locations.
	//
	// Users should enable the Data Catalog API in the project identified by
	// the `parent` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error)
	// Updates an EntryGroup. The user should enable the Data Catalog API in the
	// project identified by the `entry_group.name` parameter (see [Data Catalog
	// Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error)
	// Gets an EntryGroup.
	GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error)
	// Deletes an EntryGroup. Only entry groups that do not contain entries can be
	// deleted. Users should enable the Data Catalog API in the project
	// identified by the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*emptypb.Empty, error)
	// Lists entry groups.
	ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error)
	// Creates an entry. Only entries of 'FILESET' type or user-specified type can
	// be created.
	//
	// Users should enable the Data Catalog API in the project identified by
	// the `parent` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	//
	// A maximum of 100,000 entries may be created per entry group.
	CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error)
	// Updates an existing entry.
	// Users should enable the Data Catalog API in the project identified by
	// the `entry.name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error)
	// Deletes an existing entry. Only entries created through
	// [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
	// method can be deleted.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteEntry(context.Context, *DeleteEntryRequest) (*emptypb.Empty, error)
	// Gets an entry.
	GetEntry(context.Context, *GetEntryRequest) (*Entry, error)
	// Get an entry by target resource name. This method allows clients to use
	// the resource name from the source Google Cloud Platform service to get the
	// Data Catalog Entry.
	LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error)
	// Lists entries.
	ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
	// Creates a tag template. The user should enable the Data Catalog API in
	// the project identified by the `parent` parameter (see [Data Catalog
	// Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error)
	// Gets a tag template.
	GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error)
	// Updates a tag template. This method cannot be used to update the fields of
	// a template. The tag template fields are represented as separate resources
	// and should be updated using their own create/update/delete methods.
	// Users should enable the Data Catalog API in the project identified by
	// the `tag_template.name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error)
	// Deletes a tag template and all tags using the template.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*emptypb.Empty, error)
	// Creates a field in a tag template. The user should enable the Data Catalog
	// API in the project identified by the `parent` parameter (see
	// [Data Catalog Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error)
	// Updates a field in a tag template. This method cannot be used to update the
	// field type. Users should enable the Data Catalog API in the project
	// identified by the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error)
	// Renames a field in a tag template. The user should enable the Data Catalog
	// API in the project identified by the `name` parameter (see [Data Catalog
	// Resource
	// Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
	// for more information).
	RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error)
	// Renames an enum value in a tag template. The enum values have to be unique
	// within one enum field. Thus, an enum value cannot be renamed with a name
	// used in any other enum value within the same enum field.
	RenameTagTemplateFieldEnumValue(context.Context, *RenameTagTemplateFieldEnumValueRequest) (*TagTemplateField, error)
	// Deletes a field in a tag template and all uses of that field.
	// Users should enable the Data Catalog API in the project identified by
	// the `name` parameter (see [Data Catalog Resource Project]
	// (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
	// more information).
	DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*emptypb.Empty, error)
	// Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
	// Note: The project identified by the `parent` parameter for the
	// [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the
	// [tag
	// template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be from 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.v1beta1.Entry].
	// The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
	// are lowercased.
	ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
	// Sets the access control policy for a resource. Replaces any existing
	// policy.
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// Callers must have following Google IAM permission
	//   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
	//     templates.
	//   - `datacatalog.entries.setIamPolicy` to set policies on entries.
	//   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Gets the access control policy for a resource. A `NOT_FOUND` error
	// is returned if the resource does not exist. An empty policy is returned
	// if the resource exists but does not have a policy set on it.
	//
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// Callers must have following Google IAM permission
	//   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
	//     templates.
	//   - `datacatalog.entries.getIamPolicy` to get policies on entries.
	//   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Returns the caller's permissions on a resource.
	// If the resource does not exist, an empty set of permissions is returned
	// (We don't return a `NOT_FOUND` error).
	//
	// Supported resources are:
	//   - Tag templates.
	//   - Entries.
	//   - Entry groups.
	//
	// Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
	// and any external Google Cloud Platform resources synced to Data Catalog.
	//
	// A caller is not required to have Google IAM permission to make this
	// request.
	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}

DataCatalogServer is the server API for DataCatalog service.

type DeleteEntryGroupRequest

type DeleteEntryGroupRequest struct {

	// Required. The name of the entry group. For example,
	// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
	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.v1beta1.DataCatalog.DeleteEntryGroup].

func (*DeleteEntryGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryGroupRequest) GetForce

func (x *DeleteEntryGroupRequest) GetForce() bool

func (*DeleteEntryGroupRequest) GetName

func (x *DeleteEntryGroupRequest) GetName() string

func (*DeleteEntryGroupRequest) ProtoMessage

func (*DeleteEntryGroupRequest) ProtoMessage()

func (*DeleteEntryGroupRequest) ProtoReflect

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

func (*DeleteEntryGroupRequest) Reset

func (x *DeleteEntryGroupRequest) Reset()

func (*DeleteEntryGroupRequest) String

func (x *DeleteEntryGroupRequest) String() string

type DeleteEntryRequest

type DeleteEntryRequest struct {

	// Required. The name of the entry. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteEntryRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetName

func (x *DeleteEntryRequest) GetName() string

func (*DeleteEntryRequest) ProtoMessage

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect

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

func (*DeleteEntryRequest) Reset

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String

func (x *DeleteEntryRequest) String() string

type DeletePolicyTagRequest

type DeletePolicyTagRequest struct {

	// Required. Resource name of the policy tag to be deleted. All of its
	// descendant policy tags will also be 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.v1beta1.PolicyTagManager.DeletePolicyTag].

func (*DeletePolicyTagRequest) Descriptor deprecated

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

Deprecated: Use DeletePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyTagRequest) GetName

func (x *DeletePolicyTagRequest) GetName() string

func (*DeletePolicyTagRequest) ProtoMessage

func (*DeletePolicyTagRequest) ProtoMessage()

func (*DeletePolicyTagRequest) ProtoReflect

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

func (*DeletePolicyTagRequest) Reset

func (x *DeletePolicyTagRequest) Reset()

func (*DeletePolicyTagRequest) String

func (x *DeletePolicyTagRequest) String() string

type DeleteTagRequest

type DeleteTagRequest struct {

	// Required. The name of the tag to delete. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type DeleteTagTemplateFieldRequest

type DeleteTagTemplateFieldRequest struct {

	// Required. The name of the tag template field to delete. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Currently, this field must always be set to `true`.
	// This confirms the deletion of this field from any tags using this field.
	// `force = false` will be supported in the future.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagTemplateFieldRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateFieldRequest) GetForce

func (x *DeleteTagTemplateFieldRequest) GetForce() bool

func (*DeleteTagTemplateFieldRequest) GetName

func (*DeleteTagTemplateFieldRequest) ProtoMessage

func (*DeleteTagTemplateFieldRequest) ProtoMessage()

func (*DeleteTagTemplateFieldRequest) ProtoReflect

func (*DeleteTagTemplateFieldRequest) Reset

func (x *DeleteTagTemplateFieldRequest) Reset()

func (*DeleteTagTemplateFieldRequest) String

type DeleteTagTemplateRequest

type DeleteTagTemplateRequest struct {

	// Required. The name of the tag template to delete. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Currently, this field must always be set to `true`.
	// This confirms the deletion of any possible tags using this template.
	// `force = false` will be supported in the future.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteTagTemplateRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateRequest) GetForce

func (x *DeleteTagTemplateRequest) GetForce() bool

func (*DeleteTagTemplateRequest) GetName

func (x *DeleteTagTemplateRequest) GetName() string

func (*DeleteTagTemplateRequest) ProtoMessage

func (*DeleteTagTemplateRequest) ProtoMessage()

func (*DeleteTagTemplateRequest) ProtoReflect

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

func (*DeleteTagTemplateRequest) Reset

func (x *DeleteTagTemplateRequest) Reset()

func (*DeleteTagTemplateRequest) String

func (x *DeleteTagTemplateRequest) String() string

type DeleteTaxonomyRequest

type DeleteTaxonomyRequest struct {

	// Required. Resource name of the taxonomy to be deleted. All policy tags in
	// this taxonomy will also be 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.v1beta1.PolicyTagManager.DeleteTaxonomy].

func (*DeleteTaxonomyRequest) Descriptor deprecated

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

Deprecated: Use DeleteTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*DeleteTaxonomyRequest) GetName

func (x *DeleteTaxonomyRequest) GetName() string

func (*DeleteTaxonomyRequest) ProtoMessage

func (*DeleteTaxonomyRequest) ProtoMessage()

func (*DeleteTaxonomyRequest) ProtoReflect

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

func (*DeleteTaxonomyRequest) Reset

func (x *DeleteTaxonomyRequest) Reset()

func (*DeleteTaxonomyRequest) String

func (x *DeleteTaxonomyRequest) String() string

type Entry

type Entry struct {

	// Output only. Identifier. The Data Catalog resource name of the entry in URL
	// format. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	//
	// Note that this Entry and its child resources may not actually be stored in
	// the location in this name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The resource this metadata entry refers to.
	//
	// For Google Cloud Platform resources, `linked_resource` is the [full name of
	// the
	// resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
	// For example, the `linked_resource` for a table resource from BigQuery is:
	//
	// * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
	//
	// Output only when Entry is of type in the EntryType enum. For entries with
	// user_specified_type, this field is optional and defaults to an empty
	// string.
	LinkedResource string `protobuf:"bytes,9,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
	// Required. Entry type.
	//
	// Types that are assignable to EntryType:
	//
	//	*Entry_Type
	//	*Entry_UserSpecifiedType
	EntryType isEntry_EntryType `protobuf_oneof:"entry_type"`
	// The source system of the entry.
	//
	// Types that are assignable to System:
	//
	//	*Entry_IntegratedSystem
	//	*Entry_UserSpecifiedSystem
	System isEntry_System `protobuf_oneof:"system"`
	// Type specification information.
	//
	// Types that are assignable to TypeSpec:
	//
	//	*Entry_GcsFilesetSpec
	//	*Entry_BigqueryTableSpec
	//	*Entry_BigqueryDateShardedSpec
	TypeSpec isEntry_TypeSpec `protobuf_oneof:"type_spec"`
	// Display information such as title and description. A short name to identify
	// the entry, for example, "Analytics Data - Jan 2011". Default value is an
	// empty string.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Entry description, which can consist of several sentences or paragraphs
	// that describe entry contents. Default value is an empty string.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Schema of the entry. An entry might not have any schema attached to it.
	Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	// Output only. Timestamps about the underlying resource, not about this Data
	// Catalog entry. Output only when Entry is of type in the EntryType enum. For
	// entries with user_specified_type, this field is optional and defaults to an
	// empty timestamp.
	SourceSystemTimestamps *SystemTimestamps `` /* 129-byte string literal not displayed */
	// Output only. Statistics on the usage level of the resource.
	UsageSignal *UsageSignal `protobuf:"bytes,13,opt,name=usage_signal,json=usageSignal,proto3" json:"usage_signal,omitempty"`
	// contains filtered or unexported fields
}

Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or outside of Google Cloud Platform. Clients can use the `linked_resource` field in the Entry resource to refer to the original resource ID of the source system.

An Entry resource contains resource details, such as its schema. An Entry can also be used to attach flexible metadata, such as a Tag[google.cloud.datacatalog.v1beta1.Tag].

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetBigqueryDateShardedSpec

func (x *Entry) GetBigqueryDateShardedSpec() *BigQueryDateShardedSpec

func (*Entry) GetBigqueryTableSpec

func (x *Entry) GetBigqueryTableSpec() *BigQueryTableSpec

func (*Entry) GetDescription

func (x *Entry) GetDescription() string

func (*Entry) GetDisplayName

func (x *Entry) GetDisplayName() string

func (*Entry) GetEntryType

func (m *Entry) GetEntryType() isEntry_EntryType

func (*Entry) GetGcsFilesetSpec

func (x *Entry) GetGcsFilesetSpec() *GcsFilesetSpec

func (*Entry) GetIntegratedSystem

func (x *Entry) GetIntegratedSystem() IntegratedSystem

func (*Entry) GetLinkedResource

func (x *Entry) GetLinkedResource() string

func (*Entry) GetName

func (x *Entry) GetName() string

func (*Entry) GetSchema

func (x *Entry) GetSchema() *Schema

func (*Entry) GetSourceSystemTimestamps

func (x *Entry) GetSourceSystemTimestamps() *SystemTimestamps

func (*Entry) GetSystem

func (m *Entry) GetSystem() isEntry_System

func (*Entry) GetType

func (x *Entry) GetType() EntryType

func (*Entry) GetTypeSpec

func (m *Entry) GetTypeSpec() isEntry_TypeSpec

func (*Entry) GetUsageSignal added in v1.15.0

func (x *Entry) GetUsageSignal() *UsageSignal

func (*Entry) GetUserSpecifiedSystem

func (x *Entry) GetUserSpecifiedSystem() string

func (*Entry) GetUserSpecifiedType

func (x *Entry) GetUserSpecifiedType() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type EntryGroup

type EntryGroup struct {

	// Identifier. The resource name of the entry group in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	//
	// Note that this EntryGroup and its child resources may not actually be
	// stored in the location in this name.
	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, which can consist of several sentences or
	// paragraphs that describe entry group contents. Default value is an empty
	// string.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Timestamps about this EntryGroup. Default value is empty
	// timestamps.
	DataCatalogTimestamps *SystemTimestamps `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*EntryGroup) Descriptor deprecated

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

Deprecated: Use EntryGroup.ProtoReflect.Descriptor instead.

func (*EntryGroup) GetDataCatalogTimestamps

func (x *EntryGroup) GetDataCatalogTimestamps() *SystemTimestamps

func (*EntryGroup) GetDescription

func (x *EntryGroup) GetDescription() string

func (*EntryGroup) GetDisplayName

func (x *EntryGroup) GetDisplayName() string

func (*EntryGroup) GetName

func (x *EntryGroup) GetName() string

func (*EntryGroup) ProtoMessage

func (*EntryGroup) ProtoMessage()

func (*EntryGroup) ProtoReflect

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

func (*EntryGroup) Reset

func (x *EntryGroup) Reset()

func (*EntryGroup) String

func (x *EntryGroup) String() string

type EntryType

type EntryType int32

Entry resources in Data Catalog can be of different types e.g. a BigQuery Table entry is of type `TABLE`. This enum describes all the possible types Data Catalog contains.

const (
	// Default unknown type.
	EntryType_ENTRY_TYPE_UNSPECIFIED EntryType = 0
	// Output only. The type of entry that has a GoogleSQL schema, including
	// logical views.
	EntryType_TABLE EntryType = 2
	// Output only. The type of models.
	// https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
	EntryType_MODEL EntryType = 5
	// Output only. An entry type which is used for streaming entries. Example:
	// Pub/Sub topic.
	EntryType_DATA_STREAM EntryType = 3
	// An entry type which is a set of files or objects. Example:
	// Cloud Storage fileset.
	EntryType_FILESET EntryType = 4
)

func (EntryType) Descriptor

func (EntryType) Descriptor() protoreflect.EnumDescriptor

func (EntryType) Enum

func (x EntryType) Enum() *EntryType

func (EntryType) EnumDescriptor deprecated

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

Deprecated: Use EntryType.Descriptor instead.

func (EntryType) Number

func (x EntryType) Number() protoreflect.EnumNumber

func (EntryType) String

func (x EntryType) String() string

func (EntryType) Type

type Entry_BigqueryDateShardedSpec

type Entry_BigqueryDateShardedSpec struct {
	// Specification for a group of BigQuery tables with name pattern
	// `[prefix]YYYYMMDD`. Context:
	// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
	BigqueryDateShardedSpec *BigQueryDateShardedSpec `protobuf:"bytes,15,opt,name=bigquery_date_sharded_spec,json=bigqueryDateShardedSpec,proto3,oneof"`
}

type Entry_BigqueryTableSpec

type Entry_BigqueryTableSpec struct {
	// Specification that applies to a BigQuery table. This is only valid on
	// entries of type `TABLE`.
	BigqueryTableSpec *BigQueryTableSpec `protobuf:"bytes,12,opt,name=bigquery_table_spec,json=bigqueryTableSpec,proto3,oneof"`
}

type Entry_GcsFilesetSpec

type Entry_GcsFilesetSpec struct {
	// Specification that applies to a Cloud Storage fileset. This is only valid
	// on entries of type FILESET.
	GcsFilesetSpec *GcsFilesetSpec `protobuf:"bytes,6,opt,name=gcs_fileset_spec,json=gcsFilesetSpec,proto3,oneof"`
}

type Entry_IntegratedSystem

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

type Entry_Type

type Entry_Type struct {
	// The type of the entry.
	// Only used for Entries with types in the EntryType enum.
	Type EntryType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.datacatalog.v1beta1.EntryType,oneof"`
}

type Entry_UserSpecifiedSystem

type Entry_UserSpecifiedSystem struct {
	// This field indicates the entry's source system that Data Catalog does not
	// integrate with. `user_specified_system` strings must begin with a letter
	// or underscore and can only contain letters, numbers, and underscores; are
	// case insensitive; must be at least 1 character and at most 64 characters
	// long.
	UserSpecifiedSystem string `protobuf:"bytes,18,opt,name=user_specified_system,json=userSpecifiedSystem,proto3,oneof"`
}

type Entry_UserSpecifiedType

type Entry_UserSpecifiedType struct {
	// Entry type if it does not fit any of the input-allowed values listed in
	// `EntryType` enum above. When creating an entry, users should check the
	// enum values first, if nothing matches the entry to be created, then
	// provide a custom value, for example "my_special_type".
	// `user_specified_type` strings must begin with a letter or underscore and
	// can only contain letters, numbers, and underscores; are case insensitive;
	// must be at least 1 character and at most 64 characters long.
	//
	// Currently, only FILESET enum value is allowed. All other entries created
	// through Data Catalog must use `user_specified_type`.
	UserSpecifiedType string `protobuf:"bytes,16,opt,name=user_specified_type,json=userSpecifiedType,proto3,oneof"`
}

type ExportTaxonomiesRequest

type ExportTaxonomiesRequest struct {

	// Required. Resource name of the project that taxonomies to be exported
	// will share.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Resource names of the taxonomies to be exported.
	Taxonomies []string `protobuf:"bytes,2,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// Required. Taxonomies export destination.
	//
	// 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.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].

func (*ExportTaxonomiesRequest) Descriptor deprecated

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

Deprecated: Use ExportTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesRequest) GetDestination

func (m *ExportTaxonomiesRequest) GetDestination() isExportTaxonomiesRequest_Destination

func (*ExportTaxonomiesRequest) GetParent

func (x *ExportTaxonomiesRequest) GetParent() string

func (*ExportTaxonomiesRequest) GetSerializedTaxonomies

func (x *ExportTaxonomiesRequest) GetSerializedTaxonomies() bool

func (*ExportTaxonomiesRequest) GetTaxonomies

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

func (*ExportTaxonomiesRequest) ProtoMessage

func (*ExportTaxonomiesRequest) ProtoMessage()

func (*ExportTaxonomiesRequest) ProtoReflect

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

func (*ExportTaxonomiesRequest) Reset

func (x *ExportTaxonomiesRequest) Reset()

func (*ExportTaxonomiesRequest) String

func (x *ExportTaxonomiesRequest) String() string

type ExportTaxonomiesRequest_SerializedTaxonomies

type ExportTaxonomiesRequest_SerializedTaxonomies struct {
	// Export taxonomies as serialized taxonomies.
	SerializedTaxonomies bool `protobuf:"varint,3,opt,name=serialized_taxonomies,json=serializedTaxonomies,proto3,oneof"`
}

type ExportTaxonomiesResponse

type ExportTaxonomiesResponse struct {

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

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

func (*ExportTaxonomiesResponse) Descriptor deprecated

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

Deprecated: Use ExportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesResponse) GetTaxonomies

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

func (*ExportTaxonomiesResponse) ProtoMessage

func (*ExportTaxonomiesResponse) ProtoMessage()

func (*ExportTaxonomiesResponse) ProtoReflect

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

func (*ExportTaxonomiesResponse) Reset

func (x *ExportTaxonomiesResponse) Reset()

func (*ExportTaxonomiesResponse) String

func (x *ExportTaxonomiesResponse) String() string

type FieldType

type FieldType struct {

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

func (*FieldType) Descriptor deprecated

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

Deprecated: Use FieldType.ProtoReflect.Descriptor instead.

func (*FieldType) GetEnumType

func (x *FieldType) GetEnumType() *FieldType_EnumType

func (*FieldType) GetPrimitiveType

func (x *FieldType) GetPrimitiveType() FieldType_PrimitiveType

func (*FieldType) GetTypeDecl

func (m *FieldType) GetTypeDecl() isFieldType_TypeDecl

func (*FieldType) ProtoMessage

func (*FieldType) ProtoMessage()

func (*FieldType) ProtoReflect

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

func (*FieldType) Reset

func (x *FieldType) Reset()

func (*FieldType) String

func (x *FieldType) String() string

type FieldType_EnumType

type FieldType_EnumType struct {
	AllowedValues []*FieldType_EnumType_EnumValue `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType_EnumType) Descriptor deprecated

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

Deprecated: Use FieldType_EnumType.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType) GetAllowedValues

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

func (*FieldType_EnumType) ProtoMessage

func (*FieldType_EnumType) ProtoMessage()

func (*FieldType_EnumType) ProtoReflect

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

func (*FieldType_EnumType) Reset

func (x *FieldType_EnumType) Reset()

func (*FieldType_EnumType) String

func (x *FieldType_EnumType) String() string

type FieldType_EnumType_

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

type FieldType_EnumType_EnumValue

type FieldType_EnumType_EnumValue struct {

	// Required. The display name of the enum value. Must not be an empty
	// string.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType_EnumType_EnumValue) Descriptor deprecated

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

Deprecated: Use FieldType_EnumType_EnumValue.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType_EnumValue) GetDisplayName

func (x *FieldType_EnumType_EnumValue) GetDisplayName() string

func (*FieldType_EnumType_EnumValue) ProtoMessage

func (*FieldType_EnumType_EnumValue) ProtoMessage()

func (*FieldType_EnumType_EnumValue) ProtoReflect

func (*FieldType_EnumType_EnumValue) Reset

func (x *FieldType_EnumType_EnumValue) Reset()

func (*FieldType_EnumType_EnumValue) String

type FieldType_PrimitiveType

type FieldType_PrimitiveType int32
const (
	// This is 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
)

func (FieldType_PrimitiveType) Descriptor

func (FieldType_PrimitiveType) Enum

func (FieldType_PrimitiveType) EnumDescriptor deprecated

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

Deprecated: Use FieldType_PrimitiveType.Descriptor instead.

func (FieldType_PrimitiveType) Number

func (FieldType_PrimitiveType) String

func (x FieldType_PrimitiveType) String() string

func (FieldType_PrimitiveType) Type

type FieldType_PrimitiveType_

type FieldType_PrimitiveType_ struct {
	// Represents primitive types - string, bool etc.
	PrimitiveType FieldType_PrimitiveType `` /* 137-byte string literal not displayed */
}

type GcsFileSpec

type GcsFileSpec struct {

	// Required. The 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. Timestamps about the Cloud Storage file.
	GcsTimestamps *SystemTimestamps `protobuf:"bytes,2,opt,name=gcs_timestamps,json=gcsTimestamps,proto3" json:"gcs_timestamps,omitempty"`
	// Output only. The size of the file, in bytes.
	SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

Specifications of a single file in Cloud Storage.

func (*GcsFileSpec) Descriptor deprecated

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

Deprecated: Use GcsFileSpec.ProtoReflect.Descriptor instead.

func (*GcsFileSpec) GetFilePath

func (x *GcsFileSpec) GetFilePath() string

func (*GcsFileSpec) GetGcsTimestamps

func (x *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps

func (*GcsFileSpec) GetSizeBytes

func (x *GcsFileSpec) GetSizeBytes() int64

func (*GcsFileSpec) ProtoMessage

func (*GcsFileSpec) ProtoMessage()

func (*GcsFileSpec) ProtoReflect

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

func (*GcsFileSpec) Reset

func (x *GcsFileSpec) Reset()

func (*GcsFileSpec) String

func (x *GcsFileSpec) String() string

type GcsFilesetSpec

type GcsFilesetSpec struct {

	// Required. Patterns to identify a set of files in Google Cloud Storage.
	// See [Cloud Storage
	// documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
	// for more information. Note that bucket wildcards are currently not
	// supported.
	//
	// Examples of valid file_patterns:
	//
	//   - `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
	//     directory.
	//   - `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
	//     spanning 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
	//     `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 provide more powerful matches, for example:
	//
	//   - `gs://bucket_name/[a-m]??.j*g`
	FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"`
	// Output only. Sample files contained in this fileset, not all files
	// contained in this fileset are represented here.
	SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"`
	// contains filtered or unexported fields
}

Describes a Cloud Storage fileset entry.

func (*GcsFilesetSpec) Descriptor deprecated

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

Deprecated: Use GcsFilesetSpec.ProtoReflect.Descriptor instead.

func (*GcsFilesetSpec) GetFilePatterns

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

func (*GcsFilesetSpec) GetSampleGcsFileSpecs

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

func (*GcsFilesetSpec) ProtoMessage

func (*GcsFilesetSpec) ProtoMessage()

func (*GcsFilesetSpec) ProtoReflect

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

func (*GcsFilesetSpec) Reset

func (x *GcsFilesetSpec) Reset()

func (*GcsFilesetSpec) String

func (x *GcsFilesetSpec) String() string

type GetEntryGroupRequest

type GetEntryGroupRequest struct {

	// Required. The name of the entry group. For example,
	// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The fields to return. If not set or empty, 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.v1beta1.DataCatalog.GetEntryGroup].

func (*GetEntryGroupRequest) Descriptor deprecated

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

Deprecated: Use GetEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*GetEntryGroupRequest) GetName

func (x *GetEntryGroupRequest) GetName() string

func (*GetEntryGroupRequest) GetReadMask

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

func (*GetEntryGroupRequest) ProtoMessage

func (*GetEntryGroupRequest) ProtoMessage()

func (*GetEntryGroupRequest) ProtoReflect

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

func (*GetEntryGroupRequest) Reset

func (x *GetEntryGroupRequest) Reset()

func (*GetEntryGroupRequest) String

func (x *GetEntryGroupRequest) String() string

type GetEntryRequest

type GetEntryRequest struct {

	// Required. The name of the entry. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetEntryRequest) Descriptor deprecated

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

Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.

func (*GetEntryRequest) GetName

func (x *GetEntryRequest) GetName() string

func (*GetEntryRequest) ProtoMessage

func (*GetEntryRequest) ProtoMessage()

func (*GetEntryRequest) ProtoReflect

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

func (*GetEntryRequest) Reset

func (x *GetEntryRequest) Reset()

func (*GetEntryRequest) String

func (x *GetEntryRequest) String() string

type GetPolicyTagRequest

type GetPolicyTagRequest struct {

	// Required. Resource name of the requested 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.v1beta1.PolicyTagManager.GetPolicyTag].

func (*GetPolicyTagRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyTagRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyTagRequest) GetName

func (x *GetPolicyTagRequest) GetName() string

func (*GetPolicyTagRequest) ProtoMessage

func (*GetPolicyTagRequest) ProtoMessage()

func (*GetPolicyTagRequest) ProtoReflect

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

func (*GetPolicyTagRequest) Reset

func (x *GetPolicyTagRequest) Reset()

func (*GetPolicyTagRequest) String

func (x *GetPolicyTagRequest) String() string

type GetTagTemplateRequest

type GetTagTemplateRequest struct {

	// Required. The name of the tag template. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetTagTemplateRequest) Descriptor deprecated

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

Deprecated: Use GetTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTagTemplateRequest) GetName

func (x *GetTagTemplateRequest) GetName() string

func (*GetTagTemplateRequest) ProtoMessage

func (*GetTagTemplateRequest) ProtoMessage()

func (*GetTagTemplateRequest) ProtoReflect

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

func (*GetTagTemplateRequest) Reset

func (x *GetTagTemplateRequest) Reset()

func (*GetTagTemplateRequest) String

func (x *GetTagTemplateRequest) String() string

type GetTaxonomyRequest

type GetTaxonomyRequest struct {

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

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

func (*GetTaxonomyRequest) Descriptor deprecated

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

Deprecated: Use GetTaxonomyRequest.ProtoReflect.Descriptor instead.

func (*GetTaxonomyRequest) GetName

func (x *GetTaxonomyRequest) GetName() string

func (*GetTaxonomyRequest) ProtoMessage

func (*GetTaxonomyRequest) ProtoMessage()

func (*GetTaxonomyRequest) ProtoReflect

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

func (*GetTaxonomyRequest) Reset

func (x *GetTaxonomyRequest) Reset()

func (*GetTaxonomyRequest) String

func (x *GetTaxonomyRequest) String() string

type ImportTaxonomiesRequest

type ImportTaxonomiesRequest struct {

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

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

func (*ImportTaxonomiesRequest) Descriptor deprecated

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

Deprecated: Use ImportTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ImportTaxonomiesRequest) GetInlineSource

func (x *ImportTaxonomiesRequest) GetInlineSource() *InlineSource

func (*ImportTaxonomiesRequest) GetParent

func (x *ImportTaxonomiesRequest) GetParent() string

func (*ImportTaxonomiesRequest) GetSource

func (m *ImportTaxonomiesRequest) GetSource() isImportTaxonomiesRequest_Source

func (*ImportTaxonomiesRequest) ProtoMessage

func (*ImportTaxonomiesRequest) ProtoMessage()

func (*ImportTaxonomiesRequest) ProtoReflect

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

func (*ImportTaxonomiesRequest) Reset

func (x *ImportTaxonomiesRequest) Reset()

func (*ImportTaxonomiesRequest) String

func (x *ImportTaxonomiesRequest) String() string

type ImportTaxonomiesRequest_InlineSource

type ImportTaxonomiesRequest_InlineSource struct {
	// Inline source used for taxonomies to be imported.
	InlineSource *InlineSource `protobuf:"bytes,2,opt,name=inline_source,json=inlineSource,proto3,oneof"`
}

type ImportTaxonomiesResponse

type ImportTaxonomiesResponse struct {

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

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

func (*ImportTaxonomiesResponse) Descriptor deprecated

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

Deprecated: Use ImportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ImportTaxonomiesResponse) GetTaxonomies

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

func (*ImportTaxonomiesResponse) ProtoMessage

func (*ImportTaxonomiesResponse) ProtoMessage()

func (*ImportTaxonomiesResponse) ProtoReflect

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

func (*ImportTaxonomiesResponse) Reset

func (x *ImportTaxonomiesResponse) Reset()

func (*ImportTaxonomiesResponse) String

func (x *ImportTaxonomiesResponse) String() string

type InlineSource

type InlineSource struct {

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

Inline source used for taxonomies import.

func (*InlineSource) Descriptor deprecated

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

Deprecated: Use InlineSource.ProtoReflect.Descriptor instead.

func (*InlineSource) GetTaxonomies

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

func (*InlineSource) ProtoMessage

func (*InlineSource) ProtoMessage()

func (*InlineSource) ProtoReflect

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

func (*InlineSource) Reset

func (x *InlineSource) Reset()

func (*InlineSource) String

func (x *InlineSource) String() string

type IntegratedSystem

type IntegratedSystem int32

This enum describes all the possible systems that Data Catalog integrates with.

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

func (IntegratedSystem) Descriptor

func (IntegratedSystem) Enum

func (IntegratedSystem) EnumDescriptor deprecated

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

Deprecated: Use IntegratedSystem.Descriptor instead.

func (IntegratedSystem) Number

func (IntegratedSystem) String

func (x IntegratedSystem) String() string

func (IntegratedSystem) Type

type ListEntriesRequest

type ListEntriesRequest struct {

	// Required. The name of the entry group that contains the entries, which can
	// be provided in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Default is 10. Max limit is 1000.
	// Throws an invalid argument for `page_size > 1000`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token that specifies which page is requested. 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 not set or empty, all
	// fields are returned.
	// For example, setting read_mask to contain only one path "name" will cause
	// ListEntries to return a list of Entries with only "name" field.
	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.v1beta1.DataCatalog.ListEntries].

func (*ListEntriesRequest) Descriptor deprecated

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

Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListEntriesRequest) GetPageSize

func (x *ListEntriesRequest) GetPageSize() int32

func (*ListEntriesRequest) GetPageToken

func (x *ListEntriesRequest) GetPageToken() string

func (*ListEntriesRequest) GetParent

func (x *ListEntriesRequest) GetParent() string

func (*ListEntriesRequest) GetReadMask

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

func (*ListEntriesRequest) ProtoMessage

func (*ListEntriesRequest) ProtoMessage()

func (*ListEntriesRequest) ProtoReflect

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

func (*ListEntriesRequest) Reset

func (x *ListEntriesRequest) Reset()

func (*ListEntriesRequest) String

func (x *ListEntriesRequest) String() string

type ListEntriesResponse

type ListEntriesResponse struct {

	// Entry details.
	Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Token to retrieve the next page of results. It is set to empty if no items
	// remain 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.v1beta1.DataCatalog.ListEntries].

func (*ListEntriesResponse) Descriptor deprecated

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

Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListEntriesResponse) GetEntries

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

func (*ListEntriesResponse) GetNextPageToken

func (x *ListEntriesResponse) GetNextPageToken() string

func (*ListEntriesResponse) ProtoMessage

func (*ListEntriesResponse) ProtoMessage()

func (*ListEntriesResponse) ProtoReflect

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

func (*ListEntriesResponse) Reset

func (x *ListEntriesResponse) Reset()

func (*ListEntriesResponse) String

func (x *ListEntriesResponse) String() string

type ListEntryGroupsRequest

type ListEntryGroupsRequest struct {

	// Required. The name of the location that contains the entry groups, which
	// can be provided in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return. Default is 10. Max limit
	// is 1000. Throws an invalid argument for `page_size > 1000`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Token that specifies which page is requested. 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 [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].

func (*ListEntryGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListEntryGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsRequest) GetPageSize

func (x *ListEntryGroupsRequest) GetPageSize() int32

func (*ListEntryGroupsRequest) GetPageToken

func (x *ListEntryGroupsRequest) GetPageToken() string

func (*ListEntryGroupsRequest) GetParent

func (x *ListEntryGroupsRequest) GetParent() string

func (*ListEntryGroupsRequest) ProtoMessage

func (*ListEntryGroupsRequest) ProtoMessage()

func (*ListEntryGroupsRequest) ProtoReflect

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

func (*ListEntryGroupsRequest) Reset

func (x *ListEntryGroupsRequest) Reset()

func (*ListEntryGroupsRequest) String

func (x *ListEntryGroupsRequest) String() string

type ListEntryGroupsResponse

type ListEntryGroupsResponse struct {

	// EntryGroup details.
	EntryGroups []*EntryGroup `protobuf:"bytes,1,rep,name=entry_groups,json=entryGroups,proto3" json:"entry_groups,omitempty"`
	// Token to retrieve the next page of results. It is set to empty if no items
	// remain 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 [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].

func (*ListEntryGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListEntryGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsResponse) GetEntryGroups

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

func (*ListEntryGroupsResponse) GetNextPageToken

func (x *ListEntryGroupsResponse) GetNextPageToken() string

func (*ListEntryGroupsResponse) ProtoMessage

func (*ListEntryGroupsResponse) ProtoMessage()

func (*ListEntryGroupsResponse) ProtoReflect

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

func (*ListEntryGroupsResponse) Reset

func (x *ListEntryGroupsResponse) Reset()

func (*ListEntryGroupsResponse) String

func (x *ListEntryGroupsResponse) String() string

type ListPolicyTagsRequest

type ListPolicyTagsRequest struct {

	// Required. Resource name of the taxonomy to list the policy tags of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000.
	// If not set, defaults to 50.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any. If
	// not set, defaults to an empty string.
	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.v1beta1.PolicyTagManager.ListPolicyTags].

func (*ListPolicyTagsRequest) Descriptor deprecated

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

Deprecated: Use ListPolicyTagsRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsRequest) GetPageSize

func (x *ListPolicyTagsRequest) GetPageSize() int32

func (*ListPolicyTagsRequest) GetPageToken

func (x *ListPolicyTagsRequest) GetPageToken() string

func (*ListPolicyTagsRequest) GetParent

func (x *ListPolicyTagsRequest) GetParent() string

func (*ListPolicyTagsRequest) ProtoMessage

func (*ListPolicyTagsRequest) ProtoMessage()

func (*ListPolicyTagsRequest) ProtoReflect

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

func (*ListPolicyTagsRequest) Reset

func (x *ListPolicyTagsRequest) Reset()

func (*ListPolicyTagsRequest) String

func (x *ListPolicyTagsRequest) String() string

type ListPolicyTagsResponse

type ListPolicyTagsResponse struct {

	// The policy tags that are in the requested taxonomy.
	PolicyTags []*PolicyTag `protobuf:"bytes,1,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
	// Token used to retrieve the next page of results, or 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.v1beta1.PolicyTagManager.ListPolicyTags].

func (*ListPolicyTagsResponse) Descriptor deprecated

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

Deprecated: Use ListPolicyTagsResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsResponse) GetNextPageToken

func (x *ListPolicyTagsResponse) GetNextPageToken() string

func (*ListPolicyTagsResponse) GetPolicyTags

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

func (*ListPolicyTagsResponse) ProtoMessage

func (*ListPolicyTagsResponse) ProtoMessage()

func (*ListPolicyTagsResponse) ProtoReflect

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

func (*ListPolicyTagsResponse) Reset

func (x *ListPolicyTagsResponse) Reset()

func (*ListPolicyTagsResponse) String

func (x *ListPolicyTagsResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {

	// Required. The name of the Data Catalog resource to list the tags of. The
	// resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
	// [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
	//
	// Examples:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of tags to return. Default is 10. Max limit is 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token that specifies which page is requested. 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.v1beta1.DataCatalog.ListTags].

func (*ListTagsRequest) Descriptor deprecated

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

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

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {

	// [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
	Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// Token to retrieve the next page of results. It is set to empty if no items
	// remain 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.v1beta1.DataCatalog.ListTags].

func (*ListTagsResponse) Descriptor deprecated

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

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

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

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

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

type ListTaxonomiesRequest

type ListTaxonomiesRequest struct {

	// Required. Resource name of the project to list the taxonomies of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000.
	// If not set, defaults to 50.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request, if any. If
	// not set, defaults to an empty string.
	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.v1beta1.PolicyTagManager.ListTaxonomies].

func (*ListTaxonomiesRequest) Descriptor deprecated

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

Deprecated: Use ListTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ListTaxonomiesRequest) GetFilter added in v1.15.0

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

type ListTaxonomiesResponse

type ListTaxonomiesResponse struct {

	// Taxonomies that the project contains.
	Taxonomies []*Taxonomy `protobuf:"bytes,1,rep,name=taxonomies,proto3" json:"taxonomies,omitempty"`
	// Token used to retrieve the next page of results, or 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.v1beta1.PolicyTagManager.ListTaxonomies].

func (*ListTaxonomiesResponse) Descriptor deprecated

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

Deprecated: Use ListTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ListTaxonomiesResponse) GetNextPageToken

func (x *ListTaxonomiesResponse) GetNextPageToken() string

func (*ListTaxonomiesResponse) GetTaxonomies

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

func (*ListTaxonomiesResponse) ProtoMessage

func (*ListTaxonomiesResponse) ProtoMessage()

func (*ListTaxonomiesResponse) ProtoReflect

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

func (*ListTaxonomiesResponse) Reset

func (x *ListTaxonomiesResponse) Reset()

func (*ListTaxonomiesResponse) String

func (x *ListTaxonomiesResponse) String() string

type LookupEntryRequest

type LookupEntryRequest struct {

	// Required. Represents either the Google Cloud Platform resource or SQL name
	// for a Google Cloud Platform resource.
	//
	// Types that are assignable to TargetName:
	//
	//	*LookupEntryRequest_LinkedResource
	//	*LookupEntryRequest_SqlResource
	TargetName isLookupEntryRequest_TargetName `protobuf_oneof:"target_name"`
	// contains filtered or unexported fields
}

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

func (*LookupEntryRequest) Descriptor deprecated

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

Deprecated: Use LookupEntryRequest.ProtoReflect.Descriptor instead.

func (*LookupEntryRequest) GetLinkedResource

func (x *LookupEntryRequest) GetLinkedResource() string

func (*LookupEntryRequest) GetSqlResource

func (x *LookupEntryRequest) GetSqlResource() string

func (*LookupEntryRequest) GetTargetName

func (m *LookupEntryRequest) GetTargetName() isLookupEntryRequest_TargetName

func (*LookupEntryRequest) ProtoMessage

func (*LookupEntryRequest) ProtoMessage()

func (*LookupEntryRequest) ProtoReflect

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

func (*LookupEntryRequest) Reset

func (x *LookupEntryRequest) Reset()

func (*LookupEntryRequest) String

func (x *LookupEntryRequest) String() string

type LookupEntryRequest_LinkedResource

type LookupEntryRequest_LinkedResource struct {
	// The full name of the Google Cloud Platform resource the Data Catalog
	// entry represents. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name.
	// Full names are case-sensitive.
	//
	// Examples:
	//
	//   - //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
	//   - //pubsub.googleapis.com/projects/projectId/topics/topicId
	LinkedResource string `protobuf:"bytes,1,opt,name=linked_resource,json=linkedResource,proto3,oneof"`
}

type LookupEntryRequest_SqlResource

type LookupEntryRequest_SqlResource struct {
	// The SQL name of the entry. SQL names are case-sensitive.
	//
	// Examples:
	//
	//   - `pubsub.project_id.topic_id`
	//   - “pubsub.project_id.`topic.id.with.dots` “
	//   - `bigquery.table.project_id.dataset_id.table_id`
	//   - `bigquery.dataset.project_id.dataset_id`
	//   - `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
	//
	// `*_id`s should satisfy the standard SQL rules for identifiers.
	// https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
	SqlResource string `protobuf:"bytes,3,opt,name=sql_resource,json=sqlResource,proto3,oneof"`
}

type ManagingSystem added in v1.15.0

type ManagingSystem int32

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

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 added in v1.15.0

func (ManagingSystem) Enum added in v1.15.0

func (x ManagingSystem) Enum() *ManagingSystem

func (ManagingSystem) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use ManagingSystem.Descriptor instead.

func (ManagingSystem) Number added in v1.15.0

func (ManagingSystem) String added in v1.15.0

func (x ManagingSystem) String() string

func (ManagingSystem) Type added in v1.15.0

type PolicyTag

type PolicyTag struct {

	// Identifier. Resource name of this policy tag, whose format is:
	// "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. User defined name of this policy tag. It must: be unique within
	// the parent taxonomy; contain only unicode letters, numbers, underscores,
	// dashes and spaces; not start or end with spaces; and be at most 200 bytes
	// long when encoded in UTF-8.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Description of this policy tag. It must: contain only unicode characters,
	// tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
	// long when encoded in UTF-8. If not set, defaults to an empty description.
	// If not set, defaults to an empty description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Resource name of this policy tag's parent policy tag (e.g. for the
	// "LatLong" policy tag in the example above, this field contains the
	// resource name of the "Geolocation" policy tag). If empty, it means this
	// policy tag is a top level policy tag (e.g. this field is empty for the
	// "Geolocation" policy tag in the example above). If not set, defaults to an
	// empty string.
	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 (e.g. ssn). Policy Tags can be defined in a hierarchy. For example, consider the following hierarchy: Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy tags: "LatLong", "City", and "ZipCode".

func (*PolicyTag) Descriptor deprecated

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

Deprecated: Use PolicyTag.ProtoReflect.Descriptor instead.

func (*PolicyTag) GetChildPolicyTags

func (x *PolicyTag) GetChildPolicyTags() []string

func (*PolicyTag) GetDescription

func (x *PolicyTag) GetDescription() string

func (*PolicyTag) GetDisplayName

func (x *PolicyTag) GetDisplayName() string

func (*PolicyTag) GetName

func (x *PolicyTag) GetName() string

func (*PolicyTag) GetParentPolicyTag

func (x *PolicyTag) GetParentPolicyTag() string

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

func (x *PolicyTag) String() string

type PolicyTagManagerClient

type PolicyTagManagerClient interface {
	// Creates a taxonomy in the specified project.
	CreateTaxonomy(ctx context.Context, in *CreateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
	// Deletes a taxonomy. This operation will also delete all
	// policy tags in this taxonomy along with their associated policies.
	DeleteTaxonomy(ctx context.Context, in *DeleteTaxonomyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a taxonomy.
	UpdateTaxonomy(ctx context.Context, in *UpdateTaxonomyRequest, opts ...grpc.CallOption) (*Taxonomy, error)
	// Lists all taxonomies in a project in a particular location that the caller
	// has 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 the specified taxonomy.
	CreatePolicyTag(ctx context.Context, in *CreatePolicyTagRequest, opts ...grpc.CallOption) (*PolicyTag, error)
	// Deletes a policy tag. Also deletes all of its descendant policy tags.
	DeletePolicyTag(ctx context.Context, in *DeletePolicyTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a 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 taxonomy or a policy tag.
	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Sets the IAM policy for a taxonomy or a policy tag.
	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Returns the permissions that a caller has on the specified taxonomy or
	// policy tag.
	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.

type PolicyTagManagerSerializationClient

type PolicyTagManagerSerializationClient interface {
	// Imports all taxonomies and their policy tags to a project as new
	// taxonomies.
	//
	// This method provides a bulk taxonomy / policy tag creation using nested
	// proto structure.
	ImportTaxonomies(ctx context.Context, in *ImportTaxonomiesRequest, opts ...grpc.CallOption) (*ImportTaxonomiesResponse, error)
	// Exports all taxonomies and their policy tags in a project.
	//
	// This method generates SerializedTaxonomy protos with nested policy tags
	// that can be used as an input for future ImportTaxonomies calls.
	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.

type PolicyTagManagerSerializationServer

type PolicyTagManagerSerializationServer interface {
	// Imports all taxonomies and their policy tags to a project as new
	// taxonomies.
	//
	// This method provides a bulk taxonomy / policy tag creation using nested
	// proto structure.
	ImportTaxonomies(context.Context, *ImportTaxonomiesRequest) (*ImportTaxonomiesResponse, error)
	// Exports all taxonomies and their policy tags in a project.
	//
	// This method generates SerializedTaxonomy protos with nested policy tags
	// that can be used as an input for future ImportTaxonomies calls.
	ExportTaxonomies(context.Context, *ExportTaxonomiesRequest) (*ExportTaxonomiesResponse, error)
}

PolicyTagManagerSerializationServer is the server API for PolicyTagManagerSerialization service.

type PolicyTagManagerServer

type PolicyTagManagerServer interface {
	// Creates a taxonomy in the specified project.
	CreateTaxonomy(context.Context, *CreateTaxonomyRequest) (*Taxonomy, error)
	// Deletes a taxonomy. This operation will also delete all
	// policy tags in this taxonomy along with their associated policies.
	DeleteTaxonomy(context.Context, *DeleteTaxonomyRequest) (*emptypb.Empty, error)
	// Updates a taxonomy.
	UpdateTaxonomy(context.Context, *UpdateTaxonomyRequest) (*Taxonomy, error)
	// Lists all taxonomies in a project in a particular location that the caller
	// has permission to view.
	ListTaxonomies(context.Context, *ListTaxonomiesRequest) (*ListTaxonomiesResponse, error)
	// Gets a taxonomy.
	GetTaxonomy(context.Context, *GetTaxonomyRequest) (*Taxonomy, error)
	// Creates a policy tag in the specified taxonomy.
	CreatePolicyTag(context.Context, *CreatePolicyTagRequest) (*PolicyTag, error)
	// Deletes a policy tag. Also deletes all of its descendant policy tags.
	DeletePolicyTag(context.Context, *DeletePolicyTagRequest) (*emptypb.Empty, error)
	// Updates a 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 taxonomy or a policy tag.
	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Sets the IAM policy for a taxonomy or a policy tag.
	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Returns the permissions that a caller has on the specified taxonomy or
	// policy tag.
	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}

PolicyTagManagerServer is the server API for PolicyTagManager service.

type RenameTagTemplateFieldEnumValueRequest added in v1.15.0

type RenameTagTemplateFieldEnumValueRequest struct {

	// Required. The name of the enum field value. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The new display name of the enum value. For example,
	// `my_new_enum_value`.
	NewEnumValueDisplayName string `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*RenameTagTemplateFieldEnumValueRequest) Descriptor deprecated added in v1.15.0

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

Deprecated: Use RenameTagTemplateFieldEnumValueRequest.ProtoReflect.Descriptor instead.

func (*RenameTagTemplateFieldEnumValueRequest) GetName added in v1.15.0

func (*RenameTagTemplateFieldEnumValueRequest) GetNewEnumValueDisplayName added in v1.15.0

func (x *RenameTagTemplateFieldEnumValueRequest) GetNewEnumValueDisplayName() string

func (*RenameTagTemplateFieldEnumValueRequest) ProtoMessage added in v1.15.0

func (*RenameTagTemplateFieldEnumValueRequest) ProtoReflect added in v1.15.0

func (*RenameTagTemplateFieldEnumValueRequest) Reset added in v1.15.0

func (*RenameTagTemplateFieldEnumValueRequest) String added in v1.15.0

type RenameTagTemplateFieldRequest

type RenameTagTemplateFieldRequest struct {

	// Required. The name of the tag template. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The new ID of this tag template field. For example,
	// `my_new_field`.
	NewTagTemplateFieldId string `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*RenameTagTemplateFieldRequest) Descriptor deprecated

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

Deprecated: Use RenameTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*RenameTagTemplateFieldRequest) GetName

func (*RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId

func (x *RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId() string

func (*RenameTagTemplateFieldRequest) ProtoMessage

func (*RenameTagTemplateFieldRequest) ProtoMessage()

func (*RenameTagTemplateFieldRequest) ProtoReflect

func (*RenameTagTemplateFieldRequest) Reset

func (x *RenameTagTemplateFieldRequest) Reset()

func (*RenameTagTemplateFieldRequest) String

type Schema

type Schema struct {

	// Required. Schema of columns. A maximum of 10,000 columns and sub-columns
	// can be specified.
	Columns []*ColumnSchema `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	// contains filtered or unexported fields
}

Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).

func (*Schema) Descriptor deprecated

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

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

func (x *Schema) String() string

type SearchCatalogRequest

type SearchCatalogRequest struct {

	// Required. The scope of this search request. A `scope` that has empty
	// `include_org_ids`, `include_project_ids` AND false
	// `include_gcp_public_datasets` is considered invalid. Data Catalog will
	// return an error in such a case.
	Scope *SearchCatalogRequest_Scope `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional. The query string in search query syntax. An empty query string
	// will result in all data assets (in the specified scope) that the user has
	// access to. Query strings can be simple as "x" or more qualified as:
	//
	// * name:x
	// * column:x
	// * description:y
	//
	// Note: Query tokens need to have a minimum of 3 characters for substring
	// matching to work correctly. See [Data Catalog Search
	// Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
	// for more information.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Number of results in the search page. If <=0 then defaults to 10. Max limit
	// for page_size is 1000. Throws an invalid argument for page_size > 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Pagination token returned in an earlier
	// [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
	// which indicates that this is a continuation of a prior
	// [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
	// call, and that the system should return the next page of data. If empty,
	// the first page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Specifies the ordering of results, currently supported case-sensitive
	// choices are:
	//
	//   - `relevance`, only supports descending
	//   - `last_modified_timestamp [asc|desc]`, defaults to descending if not
	//     specified
	//   - `default` that can only be descending
	//
	// If not specified, defaults to `relevance` descending.
	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.v1beta1.DataCatalog.SearchCatalog].

func (*SearchCatalogRequest) Descriptor deprecated

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 (*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

type SearchCatalogRequest_Scope

type SearchCatalogRequest_Scope struct {

	// The list of organization IDs to search within. To find your organization
	// ID, follow instructions in
	// https://cloud.google.com/resource-manager/docs/creating-managing-organization.
	IncludeOrgIds []string `protobuf:"bytes,2,rep,name=include_org_ids,json=includeOrgIds,proto3" json:"include_org_ids,omitempty"`
	// The list of project IDs to search within. To learn more about the
	// distinction between project names/IDs/numbers, go to
	// https://cloud.google.com/docs/overview/#projects.
	IncludeProjectIds []string `protobuf:"bytes,3,rep,name=include_project_ids,json=includeProjectIds,proto3" json:"include_project_ids,omitempty"`
	// If `true`, include Google Cloud public datasets in the
	// search results. Info on Google Cloud public datasets is available at
	// https://cloud.google.com/public-datasets/. By default, Google Cloud
	// public datasets are excluded.
	IncludeGcpPublicDatasets bool `` /* 138-byte string literal not displayed */
	// Optional. The list of locations to search within.
	// 1. If empty, search will be performed in all locations;
	// 2. If any of the locations are NOT in the valid locations list, error
	// will be returned;
	// 3. Otherwise, search only the given locations for matching results.
	// Typical usage is to leave this field empty. When a location is
	// unreachable as returned in the `SearchCatalogResponse.unreachable` field,
	// users can repeat the search request with this parameter set to get
	// additional information on the error.
	//
	// Valid locations:
	//   - asia-east1
	//   - asia-east2
	//   - asia-northeast1
	//   - asia-northeast2
	//   - asia-northeast3
	//   - asia-south1
	//   - asia-southeast1
	//   - australia-southeast1
	//   - eu
	//   - europe-north1
	//   - europe-west1
	//   - europe-west2
	//   - europe-west3
	//   - europe-west4
	//   - europe-west6
	//   - global
	//   - northamerica-northeast1
	//   - southamerica-east1
	//   - us
	//   - us-central1
	//   - us-east1
	//   - us-east4
	//   - us-west1
	//   - us-west2
	RestrictedLocations []string `protobuf:"bytes,16,rep,name=restricted_locations,json=restrictedLocations,proto3" json:"restricted_locations,omitempty"`
	// contains filtered or unexported fields
}

The criteria that select the subspace used for query matching.

func (*SearchCatalogRequest_Scope) Descriptor deprecated

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) GetRestrictedLocations added in v1.15.0

func (x *SearchCatalogRequest_Scope) GetRestrictedLocations() []string

func (*SearchCatalogRequest_Scope) ProtoMessage

func (*SearchCatalogRequest_Scope) ProtoMessage()

func (*SearchCatalogRequest_Scope) ProtoReflect

func (*SearchCatalogRequest_Scope) Reset

func (x *SearchCatalogRequest_Scope) Reset()

func (*SearchCatalogRequest_Scope) String

func (x *SearchCatalogRequest_Scope) String() string

type 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"`
	// The token that can be used 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 result does not include data from those
	// locations. Users can get additional information on the error by repeating
	// the search request with a more restrictive parameter -- setting the value
	// for `SearchDataCatalogRequest.scope.restricted_locations`.
	Unreachable []string `protobuf:"bytes,6,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

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

func (*SearchCatalogResponse) Descriptor deprecated

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 added in v1.15.0

func (x *SearchCatalogResponse) GetTotalSize() int32

func (*SearchCatalogResponse) GetUnreachable added in v1.15.0

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

type SearchCatalogResult

type SearchCatalogResult struct {

	// Type of the search result. This field can be used to determine which Get
	// method to call to fetch the full resource.
	SearchResultType SearchResultType `` /* 167-byte string literal not displayed */
	// Sub-type of the search result. This is a dot-delimited description of the
	// resource's full type, and is the same as the value callers would provide in
	// the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
	// `tagTemplate`.
	SearchResultSubtype string `protobuf:"bytes,2,opt,name=search_result_subtype,json=searchResultSubtype,proto3" json:"search_result_subtype,omitempty"`
	// The relative resource name of the resource in URL format.
	// Examples:
	//
	//   - `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
	//   - `projects/{project_id}/tagTemplates/{tag_template_id}`
	RelativeResourceName string `protobuf:"bytes,3,opt,name=relative_resource_name,json=relativeResourceName,proto3" json:"relative_resource_name,omitempty"`
	// The full name of the cloud resource the entry belongs to. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name.
	// Example:
	//
	//   - `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
	LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
	// Last-modified timestamp of the entry from the managing system.
	ModifyTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"`
	// contains filtered or unexported fields
}

A result that appears in the response of a search request. Each result captures details of one entry that matches the search.

func (*SearchCatalogResult) Descriptor deprecated

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

Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead.

func (*SearchCatalogResult) GetLinkedResource

func (x *SearchCatalogResult) GetLinkedResource() string

func (*SearchCatalogResult) GetModifyTime added in v1.15.0

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

type SearchResultType

type SearchResultType int32

The different types of resources that can be returned in search.

const (
	// Default unknown type.
	SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED SearchResultType = 0
	// An [Entry][google.cloud.datacatalog.v1beta1.Entry].
	SearchResultType_ENTRY SearchResultType = 1
	// A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
	SearchResultType_TAG_TEMPLATE SearchResultType = 2
	// An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
	SearchResultType_ENTRY_GROUP SearchResultType = 3
)

func (SearchResultType) Descriptor

func (SearchResultType) Enum

func (SearchResultType) EnumDescriptor deprecated

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

Deprecated: Use SearchResultType.Descriptor instead.

func (SearchResultType) Number

func (SearchResultType) String

func (x SearchResultType) String() string

func (SearchResultType) Type

type SerializedPolicyTag

type SerializedPolicyTag struct {

	// Resource name of the policy tag.
	//
	// This field will be 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. Max 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. The length of the
	// description is limited to 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
}

Message representing one policy tag when exported as a nested proto.

func (*SerializedPolicyTag) Descriptor deprecated

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 added in v1.15.0

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

type SerializedTaxonomy

type SerializedTaxonomy struct {

	// Required. Display name of the taxonomy. Max 200 bytes when encoded in
	// UTF-8.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Description of the serialized taxonomy. The length of the
	// description is limited to 2000 bytes when encoded in UTF-8. If not set,
	// defaults to an empty description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Top level policy tags associated with the taxonomy if any.
	PolicyTags []*SerializedPolicyTag `protobuf:"bytes,3,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
	// A list of policy types that are activated for a taxonomy.
	ActivatedPolicyTypes []Taxonomy_PolicyType `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.

func (*SerializedTaxonomy) Descriptor deprecated

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

Deprecated: Use SerializedTaxonomy.ProtoReflect.Descriptor instead.

func (*SerializedTaxonomy) GetActivatedPolicyTypes added in v1.15.0

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

type SystemTimestamps

type SystemTimestamps struct {

	// The creation time of the resource within the given system.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last-modified time of the resource within the given system.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The expiration time of the resource within the given system.
	// Currently only apllicable 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 about this resource according to a particular system.

func (*SystemTimestamps) Descriptor deprecated

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

type TableSourceType

type TableSourceType int32

Table source type.

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

func (x TableSourceType) Enum() *TableSourceType

func (TableSourceType) EnumDescriptor deprecated

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

Deprecated: Use TableSourceType.Descriptor instead.

func (TableSourceType) Number

func (TableSourceType) String

func (x TableSourceType) String() string

func (TableSourceType) Type

type TableSpec

type TableSpec struct {

	// Output only. If the table is a dated shard, i.e., with name pattern
	// `[prefix]YYYYMMDD`, `grouped_entry` 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 spec.

func (*TableSpec) Descriptor deprecated

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

Deprecated: Use TableSpec.ProtoReflect.Descriptor instead.

func (*TableSpec) GetGroupedEntry

func (x *TableSpec) GetGroupedEntry() string

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

func (x *TableSpec) String() string

type Tag

type Tag struct {

	// Identifier. The resource name of the tag in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
	//
	// where `tag_id` is a system-generated identifier.
	// Note that this Tag may not actually be stored in the location in this name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The resource name of the tag template that this tag uses.
	// Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
	//
	// This field cannot be modified after creation.
	Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// Output only. The display name of the tag template.
	TemplateDisplayName string `protobuf:"bytes,5,opt,name=template_display_name,json=templateDisplayName,proto3" json:"template_display_name,omitempty"`
	// The scope within the parent resource that this tag is attached to. If not
	// provided, the tag is attached to the parent resource itself.
	// Deleting the scope from the parent resource will delete all tags attached
	// to that scope. These fields cannot be updated after creation.
	//
	// Types that are assignable to Scope:
	//
	//	*Tag_Column
	Scope isTag_Scope `protobuf_oneof:"scope"`
	// Required. This maps the ID of a tag field to the value of and additional
	// information about that field. Valid field IDs are defined by the tag's
	// template. A tag must have at least 1 field and at most 500 fields.
	Fields map[string]*TagField `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template.

See [Data Catalog IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information on the permissions needed to create or view tags.

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetColumn

func (x *Tag) GetColumn() string

func (*Tag) GetFields

func (x *Tag) GetFields() map[string]*TagField

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetScope

func (m *Tag) GetScope() isTag_Scope

func (*Tag) GetTemplate

func (x *Tag) GetTemplate() string

func (*Tag) GetTemplateDisplayName

func (x *Tag) GetTemplateDisplayName() string

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

func (x *Tag) String() string

type 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_
	Kind isTagField_Kind `protobuf_oneof:"kind"`
	// Output only. The order of this field with respect to other fields in this
	// tag. It can be set in
	// [Tag][google.cloud.datacatalog.v1beta1.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 do not 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 supporting information for a field within a Tag[google.cloud.datacatalog.v1beta1.Tag].

func (*TagField) Descriptor deprecated

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

Deprecated: Use TagField.ProtoReflect.Descriptor instead.

func (*TagField) GetBoolValue

func (x *TagField) GetBoolValue() bool

func (*TagField) GetDisplayName

func (x *TagField) GetDisplayName() string

func (*TagField) GetDoubleValue

func (x *TagField) GetDoubleValue() float64

func (*TagField) GetEnumValue

func (x *TagField) GetEnumValue() *TagField_EnumValue

func (*TagField) GetKind

func (m *TagField) GetKind() isTagField_Kind

func (*TagField) GetOrder

func (x *TagField) GetOrder() int32

func (*TagField) GetStringValue

func (x *TagField) GetStringValue() string

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

func (x *TagField) String() string

type TagField_BoolValue

type TagField_BoolValue struct {
	// Holds the value for a tag field with boolean type.
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type TagField_DoubleValue

type TagField_DoubleValue struct {
	// Holds the value for a tag field with double type.
	DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type 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
}

Holds an enum value.

func (*TagField_EnumValue) Descriptor deprecated

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

type TagField_EnumValue_

type TagField_EnumValue_ struct {
	// Holds the value for a tag field with enum type. This value must be
	// one of the allowed values in the definition of this enum.
	EnumValue *TagField_EnumValue `protobuf:"bytes,6,opt,name=enum_value,json=enumValue,proto3,oneof"`
}

type TagField_StringValue

type TagField_StringValue struct {
	// Holds the value for a tag field with string type.
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type TagField_TimestampValue

type TagField_TimestampValue struct {
	// Holds the value for a tag field with timestamp type.
	TimestampValue *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
}

type TagTemplate

type TagTemplate struct {

	// Identifier. The resource name of the tag template in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
	//
	// Note that this TagTemplate and its child resources may not actually be
	// stored in the location in this name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The display name for this template. Defaults to an empty string.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. Map of tag template field IDs to the settings for the field.
	// This map is an exhaustive list of the allowed fields. This map must contain
	// at least one field and at most 500 fields.
	//
	// The keys to this map are tag template field IDs. Field IDs can contain
	// letters (both uppercase and lowercase), numbers (0-9) and underscores (_).
	// Field IDs must be at least 1 character long and at most
	// 64 characters long. Field IDs must start with a letter or underscore.
	Fields map[string]*TagTemplateField `` /* 153-byte string literal not displayed */
	// Output only. Transfer status of the TagTemplate
	DataplexTransferStatus TagTemplate_DataplexTransferStatus `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.

func (*TagTemplate) Descriptor deprecated

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

Deprecated: Use TagTemplate.ProtoReflect.Descriptor instead.

func (*TagTemplate) GetDataplexTransferStatus added in v1.21.0

func (x *TagTemplate) GetDataplexTransferStatus() TagTemplate_DataplexTransferStatus

func (*TagTemplate) GetDisplayName

func (x *TagTemplate) GetDisplayName() string

func (*TagTemplate) GetFields

func (x *TagTemplate) GetFields() map[string]*TagTemplateField

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

type TagTemplateField

type TagTemplateField struct {

	// Output only. Identifier. The resource name of the tag template field in URL
	// format. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
	//
	// Note that this TagTemplateField may not actually be stored in the location
	// in this name.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// The display name for this field. Defaults to an empty string.
	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"`
	// Whether this is a required field. 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.  A higher value indicates a more important field. The value can
	// be negative. Multiple fields can have the same order, and field orders
	// within a tag do not have to be sequential.
	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 deprecated

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

Deprecated: Use TagTemplateField.ProtoReflect.Descriptor instead.

func (*TagTemplateField) GetDescription added in v1.15.0

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

type TagTemplate_DataplexTransferStatus added in v1.21.0

type TagTemplate_DataplexTransferStatus int32

This enum describes TagTemplate transfer status to Dataplex service.

const (
	// Default value. TagTemplate and its tags are only visible and editable in
	// DataCatalog.
	TagTemplate_DATAPLEX_TRANSFER_STATUS_UNSPECIFIED TagTemplate_DataplexTransferStatus = 0
	// TagTemplate and its tags are auto-copied to Dataplex service.
	// Visible in both services. Editable in DataCatalog, read-only in Dataplex.
	// Deprecated: Individual TagTemplate migration is deprecated in favor of
	// organization or project wide TagTemplate migration opt-in.
	//
	// Deprecated: Marked as deprecated in google/cloud/datacatalog/v1beta1/tags.proto.
	TagTemplate_MIGRATED TagTemplate_DataplexTransferStatus = 1
)

func (TagTemplate_DataplexTransferStatus) Descriptor added in v1.21.0

func (TagTemplate_DataplexTransferStatus) Enum added in v1.21.0

func (TagTemplate_DataplexTransferStatus) EnumDescriptor deprecated added in v1.21.0

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

Deprecated: Use TagTemplate_DataplexTransferStatus.Descriptor instead.

func (TagTemplate_DataplexTransferStatus) Number added in v1.21.0

func (TagTemplate_DataplexTransferStatus) String added in v1.21.0

func (TagTemplate_DataplexTransferStatus) Type added in v1.21.0

type Tag_Column

type Tag_Column struct {
	// Resources like Entry can have schemas associated with them. This scope
	// allows users to attach tags to an individual column based on that schema.
	//
	// For attaching a tag to a nested column, use `.` to separate the column
	// names. Example:
	//
	// * `outer_column.inner_column`
	Column string `protobuf:"bytes,4,opt,name=column,proto3,oneof"`
}

type Taxonomy

type Taxonomy struct {

	// Identifier. Resource name of this taxonomy, whose format is:
	// "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. User defined name of this taxonomy. It must: contain only unicode
	// letters, numbers, underscores, dashes and spaces; not start or end with
	// spaces; and be at most 200 bytes long when encoded in UTF-8.
	//
	// The taxonomy display name must be unique within an organization.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description of this taxonomy. It must: contain only unicode
	// characters, tabs, newlines, carriage returns and page breaks; and be at
	// most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
	// empty description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Number of policy tags contained in this taxonomy.
	PolicyTagCount int32 `protobuf:"varint,4,opt,name=policy_tag_count,json=policyTagCount,proto3" json:"policy_tag_count,omitempty"`
	// Output only. Timestamps about this taxonomy. Only create_time and
	// update_time are used.
	TaxonomyTimestamps *SystemTimestamps `protobuf:"bytes,5,opt,name=taxonomy_timestamps,json=taxonomyTimestamps,proto3" json:"taxonomy_timestamps,omitempty"`
	// Optional. A list of policy types that are activated for this taxonomy. If
	// not set, defaults to an empty list.
	ActivatedPolicyTypes []Taxonomy_PolicyType `` /* 189-byte string literal not displayed */
	// Output only. Identity of the service which owns the Taxonomy. This field is
	// only populated when the taxonomy is created by a Google Cloud service.
	// Currently only 'DATAPLEX' is supported.
	Service *Taxonomy_Service `protobuf:"bytes,7,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data *sensitivity* taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.

func (*Taxonomy) Descriptor deprecated

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

Deprecated: Use Taxonomy.ProtoReflect.Descriptor instead.

func (*Taxonomy) GetActivatedPolicyTypes

func (x *Taxonomy) GetActivatedPolicyTypes() []Taxonomy_PolicyType

func (*Taxonomy) GetDescription

func (x *Taxonomy) GetDescription() string

func (*Taxonomy) GetDisplayName

func (x *Taxonomy) GetDisplayName() string

func (*Taxonomy) GetName

func (x *Taxonomy) GetName() string

func (*Taxonomy) GetPolicyTagCount added in v1.15.0

func (x *Taxonomy) GetPolicyTagCount() int32

func (*Taxonomy) GetService added in v1.15.0

func (x *Taxonomy) GetService() *Taxonomy_Service

func (*Taxonomy) GetTaxonomyTimestamps added in v1.15.0

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

func (x *Taxonomy) String() string

type Taxonomy_PolicyType

type Taxonomy_PolicyType int32

Defines policy types where policy tag can be used for.

const (
	// Unspecified policy type.
	Taxonomy_POLICY_TYPE_UNSPECIFIED Taxonomy_PolicyType = 0
	// Fine grained access control policy, which enables access control on
	// tagged resources.
	Taxonomy_FINE_GRAINED_ACCESS_CONTROL Taxonomy_PolicyType = 1
)

func (Taxonomy_PolicyType) Descriptor

func (Taxonomy_PolicyType) Enum

func (Taxonomy_PolicyType) EnumDescriptor deprecated

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

Deprecated: Use Taxonomy_PolicyType.Descriptor instead.

func (Taxonomy_PolicyType) Number

func (Taxonomy_PolicyType) String

func (x Taxonomy_PolicyType) String() string

func (Taxonomy_PolicyType) Type

type Taxonomy_Service added in v1.15.0

type Taxonomy_Service struct {

	// The Google Cloud service name.
	Name ManagingSystem `protobuf:"varint,1,opt,name=name,proto3,enum=google.cloud.datacatalog.v1beta1.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 deprecated added in v1.15.0

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

Deprecated: Use Taxonomy_Service.ProtoReflect.Descriptor instead.

func (*Taxonomy_Service) GetIdentity added in v1.15.0

func (x *Taxonomy_Service) GetIdentity() string

func (*Taxonomy_Service) GetName added in v1.15.0

func (x *Taxonomy_Service) GetName() ManagingSystem

func (*Taxonomy_Service) ProtoMessage added in v1.15.0

func (*Taxonomy_Service) ProtoMessage()

func (*Taxonomy_Service) ProtoReflect added in v1.15.0

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

func (*Taxonomy_Service) Reset added in v1.15.0

func (x *Taxonomy_Service) Reset()

func (*Taxonomy_Service) String added in v1.15.0

func (x *Taxonomy_Service) String() string

type UnimplementedDataCatalogServer

type UnimplementedDataCatalogServer struct {
}

UnimplementedDataCatalogServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataCatalogServer) CreateEntry

func (*UnimplementedDataCatalogServer) CreateEntryGroup

func (*UnimplementedDataCatalogServer) CreateTag

func (*UnimplementedDataCatalogServer) CreateTagTemplate

func (*UnimplementedDataCatalogServer) CreateTagTemplateField

func (*UnimplementedDataCatalogServer) DeleteEntry

func (*UnimplementedDataCatalogServer) DeleteEntryGroup

func (*UnimplementedDataCatalogServer) DeleteTag

func (*UnimplementedDataCatalogServer) DeleteTagTemplate

func (*UnimplementedDataCatalogServer) DeleteTagTemplateField

func (*UnimplementedDataCatalogServer) GetEntry

func (*UnimplementedDataCatalogServer) GetEntryGroup

func (*UnimplementedDataCatalogServer) GetIamPolicy

func (*UnimplementedDataCatalogServer) GetTagTemplate

func (*UnimplementedDataCatalogServer) ListEntries

func (*UnimplementedDataCatalogServer) ListEntryGroups

func (*UnimplementedDataCatalogServer) ListTags

func (*UnimplementedDataCatalogServer) LookupEntry

func (*UnimplementedDataCatalogServer) RenameTagTemplateField

func (*UnimplementedDataCatalogServer) RenameTagTemplateFieldEnumValue added in v1.15.0

func (*UnimplementedDataCatalogServer) SearchCatalog

func (*UnimplementedDataCatalogServer) SetIamPolicy

func (*UnimplementedDataCatalogServer) UpdateEntry

func (*UnimplementedDataCatalogServer) UpdateEntryGroup

func (*UnimplementedDataCatalogServer) UpdateTag

func (*UnimplementedDataCatalogServer) UpdateTagTemplate

func (*UnimplementedDataCatalogServer) UpdateTagTemplateField

type UnimplementedPolicyTagManagerSerializationServer

type UnimplementedPolicyTagManagerSerializationServer struct {
}

UnimplementedPolicyTagManagerSerializationServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyTagManagerSerializationServer) ExportTaxonomies

func (*UnimplementedPolicyTagManagerSerializationServer) ImportTaxonomies

type UnimplementedPolicyTagManagerServer

type UnimplementedPolicyTagManagerServer struct {
}

UnimplementedPolicyTagManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyTagManagerServer) CreatePolicyTag

func (*UnimplementedPolicyTagManagerServer) CreateTaxonomy

func (*UnimplementedPolicyTagManagerServer) DeletePolicyTag

func (*UnimplementedPolicyTagManagerServer) DeleteTaxonomy

func (*UnimplementedPolicyTagManagerServer) GetIamPolicy

func (*UnimplementedPolicyTagManagerServer) GetPolicyTag

func (*UnimplementedPolicyTagManagerServer) GetTaxonomy

func (*UnimplementedPolicyTagManagerServer) ListPolicyTags

func (*UnimplementedPolicyTagManagerServer) ListTaxonomies

func (*UnimplementedPolicyTagManagerServer) SetIamPolicy

func (*UnimplementedPolicyTagManagerServer) UpdatePolicyTag

func (*UnimplementedPolicyTagManagerServer) UpdateTaxonomy

type UpdateEntryGroupRequest

type UpdateEntryGroupRequest struct {

	// Required. The updated entry group. "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.v1beta1.DataCatalog.UpdateEntryGroup].

func (*UpdateEntryGroupRequest) Descriptor deprecated

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

type UpdateEntryRequest

type UpdateEntryRequest struct {

	// Required. The updated 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.
	//
	// The following fields are modifiable:
	//
	// * For entries with type `DATA_STREAM`:
	//   - `schema`
	//
	// * For entries with type `FILESET`:
	//   - `schema`
	//   - `display_name`
	//   - `description`
	//   - `gcs_fileset_spec`
	//   - `gcs_fileset_spec.file_patterns`
	//
	// * For entries with `user_specified_type`:
	//   - `schema`
	//   - `display_name`
	//   - `description`
	//   - `user_specified_type`
	//   - `user_specified_system`
	//   - `linked_resource`
	//   - `source_system_timestamps`
	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.v1beta1.DataCatalog.UpdateEntry].

func (*UpdateEntryRequest) Descriptor deprecated

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

type UpdatePolicyTagRequest

type UpdatePolicyTagRequest struct {

	// The policy tag to update. Only the description, display_name, and
	// parent_policy_tag fields can be updated.
	PolicyTag *PolicyTag `protobuf:"bytes,1,opt,name=policy_tag,json=policyTag,proto3" json:"policy_tag,omitempty"`
	// The update mask applies to the resource. Only display_name, description and
	// parent_policy_tag can be updated and thus can be listed in the mask. If
	// update_mask is not provided, all allowed fields (i.e. display_name,
	// description and parent) will be updated. For more information including the
	// `FieldMask` definition, see
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	// If not set, defaults to all of the fields that are allowed to update.
	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.v1beta1.PolicyTagManager.UpdatePolicyTag].

func (*UpdatePolicyTagRequest) Descriptor deprecated

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

type 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"`
	// Note: Currently, this parameter can only take `"fields"` as value.
	//
	// 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.v1beta1.DataCatalog.UpdateTag].

func (*UpdateTagRequest) Descriptor deprecated

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

type UpdateTagTemplateFieldRequest

type UpdateTagTemplateFieldRequest struct {

	// Required. The name of the tag template field. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
	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.v1beta1.DataCatalog.UpdateTagTemplateField].

func (*UpdateTagTemplateFieldRequest) Descriptor deprecated

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

Deprecated: Use UpdateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagTemplateFieldRequest) GetName

func (*UpdateTagTemplateFieldRequest) GetTagTemplateField

func (x *UpdateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*UpdateTagTemplateFieldRequest) GetUpdateMask

func (*UpdateTagTemplateFieldRequest) ProtoMessage

func (*UpdateTagTemplateFieldRequest) ProtoMessage()

func (*UpdateTagTemplateFieldRequest) ProtoReflect

func (*UpdateTagTemplateFieldRequest) Reset

func (x *UpdateTagTemplateFieldRequest) Reset()

func (*UpdateTagTemplateFieldRequest) String

type 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` can be overwritten.
	//
	// 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 [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].

func (*UpdateTagTemplateRequest) Descriptor deprecated

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

type UpdateTaxonomyRequest

type UpdateTaxonomyRequest struct {

	// The taxonomy to update. Only description, display_name, and activated
	// policy types can be updated.
	Taxonomy *Taxonomy `protobuf:"bytes,1,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"`
	// The update mask applies to the resource. For the `FieldMask` definition,
	// see
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	// If not set, defaults to all of the fields that are allowed to update.
	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.v1beta1.PolicyTagManager.UpdateTaxonomy].

func (*UpdateTaxonomyRequest) Descriptor deprecated

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

type UsageSignal added in v1.15.0

type UsageSignal struct {

	// The timestamp of the end of the usage statistics duration.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Usage statistics over each of the pre-defined time ranges, supported
	// strings for time ranges are {"24H", "7D", "30D"}.
	UsageWithinTimeRange map[string]*UsageStats `` /* 213-byte string literal not displayed */
	// contains filtered or unexported fields
}

The set of all usage signals that we store in Data Catalog.

func (*UsageSignal) Descriptor deprecated added in v1.15.0

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

Deprecated: Use UsageSignal.ProtoReflect.Descriptor instead.

func (*UsageSignal) GetUpdateTime added in v1.15.0

func (x *UsageSignal) GetUpdateTime() *timestamppb.Timestamp

func (*UsageSignal) GetUsageWithinTimeRange added in v1.15.0

func (x *UsageSignal) GetUsageWithinTimeRange() map[string]*UsageStats

func (*UsageSignal) ProtoMessage added in v1.15.0

func (*UsageSignal) ProtoMessage()

func (*UsageSignal) ProtoReflect added in v1.15.0

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

func (*UsageSignal) Reset added in v1.15.0

func (x *UsageSignal) Reset()

func (*UsageSignal) String added in v1.15.0

func (x *UsageSignal) String() string

type UsageStats added in v1.15.0

type UsageStats struct {

	// The number of times that the underlying entry was successfully used.
	TotalCompletions float32 `protobuf:"fixed32,1,opt,name=total_completions,json=totalCompletions,proto3" json:"total_completions,omitempty"`
	// The number of times that the underlying entry was attempted to be used
	// but failed.
	TotalFailures float32 `protobuf:"fixed32,2,opt,name=total_failures,json=totalFailures,proto3" json:"total_failures,omitempty"`
	// The number of times that the underlying entry was attempted to be used
	// but was cancelled by the user.
	TotalCancellations float32 `protobuf:"fixed32,3,opt,name=total_cancellations,json=totalCancellations,proto3" json:"total_cancellations,omitempty"`
	// Total time spent (in milliseconds) during uses the resulted in completions.
	TotalExecutionTimeForCompletionsMillis float32 `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying-wildcard-tables

func (*UsageStats) Descriptor deprecated added in v1.15.0

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

Deprecated: Use UsageStats.ProtoReflect.Descriptor instead.

func (*UsageStats) GetTotalCancellations added in v1.15.0

func (x *UsageStats) GetTotalCancellations() float32

func (*UsageStats) GetTotalCompletions added in v1.15.0

func (x *UsageStats) GetTotalCompletions() float32

func (*UsageStats) GetTotalExecutionTimeForCompletionsMillis added in v1.15.0

func (x *UsageStats) GetTotalExecutionTimeForCompletionsMillis() float32

func (*UsageStats) GetTotalFailures added in v1.15.0

func (x *UsageStats) GetTotalFailures() float32

func (*UsageStats) ProtoMessage added in v1.15.0

func (*UsageStats) ProtoMessage()

func (*UsageStats) ProtoReflect added in v1.15.0

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

func (*UsageStats) Reset added in v1.15.0

func (x *UsageStats) Reset()

func (*UsageStats) String added in v1.15.0

func (x *UsageStats) String() string

type 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

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

Deprecated: Use ViewSpec.ProtoReflect.Descriptor instead.

func (*ViewSpec) GetViewQuery

func (x *ViewSpec) GetViewQuery() string

func (*ViewSpec) ProtoMessage

func (*ViewSpec) ProtoMessage()

func (*ViewSpec) ProtoReflect

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

func (*ViewSpec) Reset

func (x *ViewSpec) Reset()

func (*ViewSpec) String

func (x *ViewSpec) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL