Package cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb (v1.6.0)

Variables

IntegratedSystem_name, IntegratedSystem_value

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.

EntryType_name, EntryType_value

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.

Taxonomy_PolicyType_name, Taxonomy_PolicyType_value

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

Enum value maps for Taxonomy_PolicyType.

SearchResultType_name, SearchResultType_value

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

Enum value maps for SearchResultType.

TableSourceType_name, TableSourceType_value

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

Enum value maps for TableSourceType.

FieldType_PrimitiveType_name, FieldType_PrimitiveType_value

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

Enum value maps for FieldType_PrimitiveType.

File_google_cloud_datacatalog_v1beta1_common_proto

var File_google_cloud_datacatalog_v1beta1_common_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_datacatalog_proto

var File_google_cloud_datacatalog_v1beta1_datacatalog_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_gcs_fileset_spec_proto

var File_google_cloud_datacatalog_v1beta1_gcs_fileset_spec_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_policytagmanager_proto

var File_google_cloud_datacatalog_v1beta1_policytagmanager_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_policytagmanagerserialization_proto

var File_google_cloud_datacatalog_v1beta1_policytagmanagerserialization_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_schema_proto

var File_google_cloud_datacatalog_v1beta1_schema_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_search_proto

var File_google_cloud_datacatalog_v1beta1_search_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_table_spec_proto

var File_google_cloud_datacatalog_v1beta1_table_spec_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_tags_proto

var File_google_cloud_datacatalog_v1beta1_tags_proto protoreflect.FileDescriptor

File_google_cloud_datacatalog_v1beta1_timestamps_proto

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

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

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

BigQueryTableSpec

type BigQueryTableSpec struct {
	TableSourceType TableSourceType "" /* 163 byte string literal not displayed */

	TypeSpec isBigQueryTableSpec_TypeSpec `protobuf_oneof:"type_spec"`

}

Describes a BigQuery table.

func (*BigQueryTableSpec) Descriptor

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

Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.

func (*BigQueryTableSpec) GetTableSourceType

func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType

func (*BigQueryTableSpec) GetTableSpec

func (x *BigQueryTableSpec) GetTableSpec() *TableSpec

func (*BigQueryTableSpec) GetTypeSpec

func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec

func (*BigQueryTableSpec) GetViewSpec

func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec

func (*BigQueryTableSpec) ProtoMessage

func (*BigQueryTableSpec) ProtoMessage()

func (*BigQueryTableSpec) ProtoReflect

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

func (*BigQueryTableSpec) Reset

func (x *BigQueryTableSpec) Reset()

func (*BigQueryTableSpec) String

func (x *BigQueryTableSpec) String() string

BigQueryTableSpec_TableSpec

type BigQueryTableSpec_TableSpec struct {
	// 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"`
}

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"`
}

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

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

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

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

Deprecated: Use CreateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryGroupRequest) GetEntryGroup

func (x *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*CreateEntryGroupRequest) GetEntryGroupId

func (x *CreateEntryGroupRequest) GetEntryGroupId() string

func (*CreateEntryGroupRequest) GetParent

func (x *CreateEntryGroupRequest) GetParent() string

func (*CreateEntryGroupRequest) ProtoMessage

func (*CreateEntryGroupRequest) ProtoMessage()

func (*CreateEntryGroupRequest) ProtoReflect

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

func (*CreateEntryGroupRequest) Reset

func (x *CreateEntryGroupRequest) Reset()

func (*CreateEntryGroupRequest) String

func (x *CreateEntryGroupRequest) String() string

CreateEntryRequest

type CreateEntryRequest struct {

	// Required. The name of the entry group this entry 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

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

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetEntry

func (x *CreateEntryRequest) GetEntry() *Entry

func (*CreateEntryRequest) GetEntryId

func (x *CreateEntryRequest) GetEntryId() string

func (*CreateEntryRequest) GetParent

func (x *CreateEntryRequest) GetParent() string

func (*CreateEntryRequest) ProtoMessage

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect

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

func (*CreateEntryRequest) Reset

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String

func (x *CreateEntryRequest) String() string

CreatePolicyTagRequest

type CreatePolicyTagRequest struct {

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

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

Deprecated: Use CreatePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyTagRequest) GetParent

func (x *CreatePolicyTagRequest) GetParent() string

func (*CreatePolicyTagRequest) GetPolicyTag

func (x *CreatePolicyTagRequest) GetPolicyTag() *PolicyTag

func (*CreatePolicyTagRequest) ProtoMessage

func (*CreatePolicyTagRequest) ProtoMessage()

func (*CreatePolicyTagRequest) ProtoReflect

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

func (*CreatePolicyTagRequest) Reset

func (x *CreatePolicyTagRequest) Reset()

func (*CreatePolicyTagRequest) String

func (x *CreatePolicyTagRequest) String() string

CreateTagRequest

type CreateTagRequest struct {

	// Required. The name of the resource to attach this tag to. Tags can be attached to
	// Entries. 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

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

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

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

CreateTagTemplateFieldRequest

type CreateTagTemplateFieldRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	//
	// 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

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

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

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

Deprecated: Use CreateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateRequest) GetParent

func (x *CreateTagTemplateRequest) GetParent() string

func (*CreateTagTemplateRequest) GetTagTemplate

func (x *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*CreateTagTemplateRequest) GetTagTemplateId

func (x *CreateTagTemplateRequest) GetTagTemplateId() string

func (*CreateTagTemplateRequest) ProtoMessage

func (*CreateTagTemplateRequest) ProtoMessage()

func (*CreateTagTemplateRequest) ProtoReflect

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

func (*CreateTagTemplateRequest) Reset

func (x *CreateTagTemplateRequest) Reset()

func (*CreateTagTemplateRequest) String

func (x *CreateTagTemplateRequest) String() string

CreateTaxonomyRequest

type CreateTaxonomyRequest struct {

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

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

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 subsequentally 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)
	// 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 the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
	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 *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.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 *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.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 *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

DataCatalogClient is the client API for DataCatalog service.

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

func NewDataCatalogClient

func NewDataCatalogClient(cc grpc.ClientConnInterface) DataCatalogClient

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 subsequentally 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)
	// 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 the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
	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, *v1.SetIamPolicyRequest) (*v1.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, *v1.GetIamPolicyRequest) (*v1.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, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

DataCatalogServer is the server API for DataCatalog service.

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

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

Deprecated: Use DeleteEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryGroupRequest) GetForce

func (x *DeleteEntryGroupRequest) GetForce() bool

func (*DeleteEntryGroupRequest) GetName

func (x *DeleteEntryGroupRequest) GetName() string

func (*DeleteEntryGroupRequest) ProtoMessage

func (*DeleteEntryGroupRequest) ProtoMessage()

func (*DeleteEntryGroupRequest) ProtoReflect

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

func (*DeleteEntryGroupRequest) Reset

func (x *DeleteEntryGroupRequest) Reset()

func (*DeleteEntryGroupRequest) String

func (x *DeleteEntryGroupRequest) String() string

DeleteEntryRequest

type DeleteEntryRequest struct {

	// Required. The name of the entry. 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

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

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetName

func (x *DeleteEntryRequest) GetName() string

func (*DeleteEntryRequest) ProtoMessage

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect

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

func (*DeleteEntryRequest) Reset

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String

func (x *DeleteEntryRequest) String() string

DeletePolicyTagRequest

type DeletePolicyTagRequest struct {

	// Required. Resource name of the policy tag to 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

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

Deprecated: Use DeletePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyTagRequest) GetName

func (x *DeletePolicyTagRequest) GetName() string

func (*DeletePolicyTagRequest) ProtoMessage

func (*DeletePolicyTagRequest) ProtoMessage()

func (*DeletePolicyTagRequest) ProtoReflect

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

func (*DeletePolicyTagRequest) Reset

func (x *DeletePolicyTagRequest) Reset()

func (*DeletePolicyTagRequest) String

func (x *DeletePolicyTagRequest) String() string

DeleteTagRequest

type DeleteTagRequest struct {

	// Required. The name of the tag to delete. 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

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

DeleteTagTemplateFieldRequest

type DeleteTagTemplateFieldRequest struct {

	// Required. The name of the tag template field to delete. 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

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

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

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

Deprecated: Use DeleteTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateRequest) GetForce

func (x *DeleteTagTemplateRequest) GetForce() bool

func (*DeleteTagTemplateRequest) GetName

func (x *DeleteTagTemplateRequest) GetName() string

func (*DeleteTagTemplateRequest) ProtoMessage

func (*DeleteTagTemplateRequest) ProtoMessage()

func (*DeleteTagTemplateRequest) ProtoReflect

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

func (*DeleteTagTemplateRequest) Reset

func (x *DeleteTagTemplateRequest) Reset()

func (*DeleteTagTemplateRequest) String

func (x *DeleteTagTemplateRequest) String() string

DeleteTaxonomyRequest

type DeleteTaxonomyRequest struct {

	// Required. Resource name of the taxonomy to 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

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

Entry

type Entry struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	LinkedResource string `protobuf:"bytes,9,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`

	EntryType isEntry_EntryType `protobuf_oneof:"entry_type"`

	System isEntry_System `protobuf_oneof:"system"`

	TypeSpec isEntry_TypeSpec `protobuf_oneof:"type_spec"`

	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`

	Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`

	SourceSystemTimestamps *SystemTimestamps "" /* 129 byte string literal not displayed */

}

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

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

EntryGroup

type EntryGroup struct {

	// 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 `protobuf:"bytes,4,opt,name=data_catalog_timestamps,json=dataCatalogTimestamps,proto3" json:"data_catalog_timestamps,omitempty"`
	// 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

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

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.

EntryType_ENTRY_TYPE_UNSPECIFIED, EntryType_TABLE, EntryType_MODEL, EntryType_DATA_STREAM, EntryType_FILESET

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

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

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"`
}

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"`
}

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"`
}

Entry_IntegratedSystem

type Entry_IntegratedSystem struct {
	IntegratedSystem IntegratedSystem "" /* 137 byte string literal not displayed */
}

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"`
}

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"`
}

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"`
}

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

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

Deprecated: Use ExportTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesRequest) GetDestination

func (m *ExportTaxonomiesRequest) GetDestination() isExportTaxonomiesRequest_Destination

func (*ExportTaxonomiesRequest) GetParent

func (x *ExportTaxonomiesRequest) GetParent() string

func (*ExportTaxonomiesRequest) GetSerializedTaxonomies

func (x *ExportTaxonomiesRequest) GetSerializedTaxonomies() bool

func (*ExportTaxonomiesRequest) GetTaxonomies

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

func (*ExportTaxonomiesRequest) ProtoMessage

func (*ExportTaxonomiesRequest) ProtoMessage()

func (*ExportTaxonomiesRequest) ProtoReflect

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

func (*ExportTaxonomiesRequest) Reset

func (x *ExportTaxonomiesRequest) Reset()

func (*ExportTaxonomiesRequest) String

func (x *ExportTaxonomiesRequest) String() string

ExportTaxonomiesRequest_SerializedTaxonomies

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

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

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

Deprecated: Use ExportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ExportTaxonomiesResponse) GetTaxonomies

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

func (*ExportTaxonomiesResponse) ProtoMessage

func (*ExportTaxonomiesResponse) ProtoMessage()

func (*ExportTaxonomiesResponse) ProtoReflect

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

func (*ExportTaxonomiesResponse) Reset

func (x *ExportTaxonomiesResponse) Reset()

func (*ExportTaxonomiesResponse) String

func (x *ExportTaxonomiesResponse) String() string

FieldType

type FieldType struct {

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

func (*FieldType) Descriptor

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

FieldType_EnumType

type FieldType_EnumType struct {

	// Required on create; optional on update. The set of allowed values for
	// this enum. This set must not be empty, the display names of the values in
	// this set must not be empty and the display names of the values must be
	// case-insensitively unique within this set. Currently, enum values can
	// only be added to the list of allowed values. Deletion and renaming of
	// enum values are not supported. Can have up to 500 allowed values.
	AllowedValues []*FieldType_EnumType_EnumValue `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType_EnumType) Descriptor

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

Deprecated: Use FieldType_EnumType.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType) GetAllowedValues

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

func (*FieldType_EnumType) ProtoMessage

func (*FieldType_EnumType) ProtoMessage()

func (*FieldType_EnumType) ProtoReflect

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

func (*FieldType_EnumType) Reset

func (x *FieldType_EnumType) Reset()

func (*FieldType_EnumType) String

func (x *FieldType_EnumType) String() string

FieldType_EnumType_

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

FieldType_EnumType_EnumValue

type FieldType_EnumType_EnumValue struct {

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

func (*FieldType_EnumType_EnumValue) Descriptor

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

Deprecated: Use FieldType_EnumType_EnumValue.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType_EnumValue) GetDisplayName

func (x *FieldType_EnumType_EnumValue) GetDisplayName() string

func (*FieldType_EnumType_EnumValue) ProtoMessage

func (*FieldType_EnumType_EnumValue) ProtoMessage()

func (*FieldType_EnumType_EnumValue) ProtoReflect

func (*FieldType_EnumType_EnumValue) Reset

func (x *FieldType_EnumType_EnumValue) Reset()

func (*FieldType_EnumType_EnumValue) String

FieldType_PrimitiveType

type FieldType_PrimitiveType int32

FieldType_PRIMITIVE_TYPE_UNSPECIFIED, FieldType_DOUBLE, FieldType_STRING, FieldType_BOOL, FieldType_TIMESTAMP

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

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

FieldType_PrimitiveType_

type FieldType_PrimitiveType_ struct {
	PrimitiveType FieldType_PrimitiveType "" /* 137 byte string literal not displayed */
}

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

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

Deprecated: Use GcsFileSpec.ProtoReflect.Descriptor instead.

func (*GcsFileSpec) GetFilePath

func (x *GcsFileSpec) GetFilePath() string

func (*GcsFileSpec) GetGcsTimestamps

func (x *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps

func (*GcsFileSpec) GetSizeBytes

func (x *GcsFileSpec) GetSizeBytes() int64

func (*GcsFileSpec) ProtoMessage

func (*GcsFileSpec) ProtoMessage()

func (*GcsFileSpec) ProtoReflect

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

func (*GcsFileSpec) Reset

func (x *GcsFileSpec) Reset()

func (*GcsFileSpec) String

func (x *GcsFileSpec) String() string

GcsFilesetSpec

type GcsFilesetSpec struct {

	// Required. Patterns to identify a set of files in Google Cloud Storage.
	// 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

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

Deprecated: Use GcsFilesetSpec.ProtoReflect.Descriptor instead.

func (*GcsFilesetSpec) GetFilePatterns

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

func (*GcsFilesetSpec) GetSampleGcsFileSpecs

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

func (*GcsFilesetSpec) ProtoMessage

func (*GcsFilesetSpec) ProtoMessage()

func (*GcsFilesetSpec) ProtoReflect

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

func (*GcsFilesetSpec) Reset

func (x *GcsFilesetSpec) Reset()

func (*GcsFilesetSpec) String

func (x *GcsFilesetSpec) String() string

GetEntryGroupRequest

type GetEntryGroupRequest struct {

	// Required. The name of the entry group. 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

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

Deprecated: Use GetEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*GetEntryGroupRequest) GetName

func (x *GetEntryGroupRequest) GetName() string

func (*GetEntryGroupRequest) GetReadMask

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

func (*GetEntryGroupRequest) ProtoMessage

func (*GetEntryGroupRequest) ProtoMessage()

func (*GetEntryGroupRequest) ProtoReflect

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

func (*GetEntryGroupRequest) Reset

func (x *GetEntryGroupRequest) Reset()

func (*GetEntryGroupRequest) String

func (x *GetEntryGroupRequest) String() string

GetEntryRequest

type GetEntryRequest struct {

	// Required. The name of the entry. 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

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

Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.

func (*GetEntryRequest) GetName

func (x *GetEntryRequest) GetName() string

func (*GetEntryRequest) ProtoMessage

func (*GetEntryRequest) ProtoMessage()

func (*GetEntryRequest) ProtoReflect

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

func (*GetEntryRequest) Reset

func (x *GetEntryRequest) Reset()

func (*GetEntryRequest) String

func (x *GetEntryRequest) String() string

GetPolicyTagRequest

type GetPolicyTagRequest struct {

	// Required. Resource name of the 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

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

Deprecated: Use GetPolicyTagRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyTagRequest) GetName

func (x *GetPolicyTagRequest) GetName() string

func (*GetPolicyTagRequest) ProtoMessage

func (*GetPolicyTagRequest) ProtoMessage()

func (*GetPolicyTagRequest) ProtoReflect

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

func (*GetPolicyTagRequest) Reset

func (x *GetPolicyTagRequest) Reset()

func (*GetPolicyTagRequest) String

func (x *GetPolicyTagRequest) String() string

GetTagTemplateRequest

type GetTagTemplateRequest struct {

	// Required. The name of the tag template. 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

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

Deprecated: Use GetTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTagTemplateRequest) GetName

func (x *GetTagTemplateRequest) GetName() string

func (*GetTagTemplateRequest) ProtoMessage

func (*GetTagTemplateRequest) ProtoMessage()

func (*GetTagTemplateRequest) ProtoReflect

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

func (*GetTagTemplateRequest) Reset

func (x *GetTagTemplateRequest) Reset()

func (*GetTagTemplateRequest) String

func (x *GetTagTemplateRequest) String() string

GetTaxonomyRequest

type GetTaxonomyRequest struct {

	// Required. Resource name of the 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

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

ImportTaxonomiesRequest

type ImportTaxonomiesRequest struct {

	// Required. Resource name of project that the newly created taxonomies will
	// belong to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Source taxonomies to be imported in a tree structure.
	//
	// 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

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

ImportTaxonomiesRequest_InlineSource

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

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

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

Deprecated: Use ImportTaxonomiesResponse.ProtoReflect.Descriptor instead.

func (*ImportTaxonomiesResponse) GetTaxonomies

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

func (*ImportTaxonomiesResponse) ProtoMessage

func (*ImportTaxonomiesResponse) ProtoMessage()

func (*ImportTaxonomiesResponse) ProtoReflect

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

func (*ImportTaxonomiesResponse) Reset

func (x *ImportTaxonomiesResponse) Reset()

func (*ImportTaxonomiesResponse) String

func (x *ImportTaxonomiesResponse) String() string

InlineSource

type InlineSource struct {

	// Required. Taxonomies to 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

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

Deprecated: Use InlineSource.ProtoReflect.Descriptor instead.

func (*InlineSource) GetTaxonomies

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

func (*InlineSource) ProtoMessage

func (*InlineSource) ProtoMessage()

func (*InlineSource) ProtoReflect

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

func (*InlineSource) Reset

func (x *InlineSource) Reset()

func (*InlineSource) String

func (x *InlineSource) String() string

IntegratedSystem

type IntegratedSystem int32

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

IntegratedSystem_INTEGRATED_SYSTEM_UNSPECIFIED, IntegratedSystem_BIGQUERY, IntegratedSystem_CLOUD_PUBSUB

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

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

Deprecated: Use IntegratedSystem.Descriptor instead.

func (IntegratedSystem) Number

func (IntegratedSystem) String

func (x IntegratedSystem) String() string

func (IntegratedSystem) 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

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

Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListEntriesRequest) GetPageSize

func (x *ListEntriesRequest) GetPageSize() int32

func (*ListEntriesRequest) GetPageToken

func (x *ListEntriesRequest) GetPageToken() string

func (*ListEntriesRequest) GetParent

func (x *ListEntriesRequest) GetParent() string

func (*ListEntriesRequest) GetReadMask

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

func (*ListEntriesRequest) ProtoMessage

func (*ListEntriesRequest) ProtoMessage()

func (*ListEntriesRequest) ProtoReflect

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

func (*ListEntriesRequest) Reset

func (x *ListEntriesRequest) Reset()

func (*ListEntriesRequest) String

func (x *ListEntriesRequest) String() string

ListEntriesResponse

type ListEntriesResponse struct {

	// Entry details.
	Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// 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

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

Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListEntriesResponse) GetEntries

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

func (*ListEntriesResponse) GetNextPageToken

func (x *ListEntriesResponse) GetNextPageToken() string

func (*ListEntriesResponse) ProtoMessage

func (*ListEntriesResponse) ProtoMessage()

func (*ListEntriesResponse) ProtoReflect

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

func (*ListEntriesResponse) Reset

func (x *ListEntriesResponse) Reset()

func (*ListEntriesResponse) String

func (x *ListEntriesResponse) String() string

ListEntryGroupsRequest

type ListEntryGroupsRequest struct {

	// Required. The name of the location that contains the entry groups, 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

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

Deprecated: Use ListEntryGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsRequest) GetPageSize

func (x *ListEntryGroupsRequest) GetPageSize() int32

func (*ListEntryGroupsRequest) GetPageToken

func (x *ListEntryGroupsRequest) GetPageToken() string

func (*ListEntryGroupsRequest) GetParent

func (x *ListEntryGroupsRequest) GetParent() string

func (*ListEntryGroupsRequest) ProtoMessage

func (*ListEntryGroupsRequest) ProtoMessage()

func (*ListEntryGroupsRequest) ProtoReflect

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

func (*ListEntryGroupsRequest) Reset

func (x *ListEntryGroupsRequest) Reset()

func (*ListEntryGroupsRequest) String

func (x *ListEntryGroupsRequest) String() string

ListEntryGroupsResponse

type ListEntryGroupsResponse struct {

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

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

Deprecated: Use ListEntryGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsResponse) GetEntryGroups

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

func (*ListEntryGroupsResponse) GetNextPageToken

func (x *ListEntryGroupsResponse) GetNextPageToken() string

func (*ListEntryGroupsResponse) ProtoMessage

func (*ListEntryGroupsResponse) ProtoMessage()

func (*ListEntryGroupsResponse) ProtoReflect

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

func (*ListEntryGroupsResponse) Reset

func (x *ListEntryGroupsResponse) Reset()

func (*ListEntryGroupsResponse) String

func (x *ListEntryGroupsResponse) String() string

ListPolicyTagsRequest

type ListPolicyTagsRequest struct {

	// Required. Resource name of the taxonomy to list the policy tags of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000.
	// 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

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

Deprecated: Use ListPolicyTagsRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsRequest) GetPageSize

func (x *ListPolicyTagsRequest) GetPageSize() int32

func (*ListPolicyTagsRequest) GetPageToken

func (x *ListPolicyTagsRequest) GetPageToken() string

func (*ListPolicyTagsRequest) GetParent

func (x *ListPolicyTagsRequest) GetParent() string

func (*ListPolicyTagsRequest) ProtoMessage

func (*ListPolicyTagsRequest) ProtoMessage()

func (*ListPolicyTagsRequest) ProtoReflect

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

func (*ListPolicyTagsRequest) Reset

func (x *ListPolicyTagsRequest) Reset()

func (*ListPolicyTagsRequest) String

func (x *ListPolicyTagsRequest) String() string

ListPolicyTagsResponse

type ListPolicyTagsResponse struct {

	// The policy tags that 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

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

Deprecated: Use ListPolicyTagsResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyTagsResponse) GetNextPageToken

func (x *ListPolicyTagsResponse) GetNextPageToken() string

func (*ListPolicyTagsResponse) GetPolicyTags

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

func (*ListPolicyTagsResponse) ProtoMessage

func (*ListPolicyTagsResponse) ProtoMessage()

func (*ListPolicyTagsResponse) ProtoReflect

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

func (*ListPolicyTagsResponse) Reset

func (x *ListPolicyTagsResponse) Reset()

func (*ListPolicyTagsResponse) String

func (x *ListPolicyTagsResponse) String() string

ListTagsRequest

type ListTagsRequest struct {

	// Required. The name of the Data Catalog resource to list the tags of. The resource
	// 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

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

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

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

ListTagsResponse

type ListTagsResponse struct {

	// [Tag][google.cloud.datacatalog.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

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

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

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

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

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

ListTaxonomiesRequest

type ListTaxonomiesRequest struct {

	// Required. Resource name of the project to list the taxonomies of.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Must be a value between 1 and 1000.
	// 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 [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].

func (*ListTaxonomiesRequest) Descriptor

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

Deprecated: Use ListTaxonomiesRequest.ProtoReflect.Descriptor instead.

func (*ListTaxonomiesRequest) GetPageSize

func (x *ListTaxonomiesRequest) GetPageSize() int32

func (*ListTaxonomiesRequest) GetPageToken

func (x *ListTaxonomiesRequest) GetPageToken() string

func (*ListTaxonomiesRequest) GetParent

func (x *ListTaxonomiesRequest) GetParent() string

func (*ListTaxonomiesRequest) ProtoMessage

func (*ListTaxonomiesRequest) ProtoMessage()

func (*ListTaxonomiesRequest) ProtoReflect

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

func (*ListTaxonomiesRequest) Reset

func (x *ListTaxonomiesRequest) Reset()

func (*ListTaxonomiesRequest) String

func (x *ListTaxonomiesRequest) String() string

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

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

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

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

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"`
}

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 shoud 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"`
}

PolicyTag

type PolicyTag struct {

	// Output only. 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

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

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 *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Sets the IAM policy for a taxonomy or a policy tag.
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Returns the permissions that a caller has on the specified taxonomy or
	// policy tag.
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

PolicyTagManagerClient is the client API for PolicyTagManager service.

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

func NewPolicyTagManagerClient

func NewPolicyTagManagerClient(cc grpc.ClientConnInterface) PolicyTagManagerClient

PolicyTagManagerSerializationClient

type PolicyTagManagerSerializationClient interface {
	// 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.

func NewPolicyTagManagerSerializationClient

func NewPolicyTagManagerSerializationClient(cc grpc.ClientConnInterface) PolicyTagManagerSerializationClient

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.

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, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Sets the IAM policy for a taxonomy or a policy tag.
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Returns the permissions that a caller has on the specified taxonomy or
	// policy tag.
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

PolicyTagManagerServer is the server API for PolicyTagManager service.

RenameTagTemplateFieldRequest

type RenameTagTemplateFieldRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	NewTagTemplateFieldId string "" /* 130 byte string literal not displayed */

}

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

func (*RenameTagTemplateFieldRequest) Descriptor

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

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

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

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"`
	// Required. The query string in search query syntax. The query must be non-empty.
	//
	// 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
	//
	// 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

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

SearchCatalogRequest_Scope

type SearchCatalogRequest_Scope struct {
	IncludeOrgIds []string `protobuf:"bytes,2,rep,name=include_org_ids,json=includeOrgIds,proto3" json:"include_org_ids,omitempty"`

	IncludeProjectIds []string `protobuf:"bytes,3,rep,name=include_project_ids,json=includeProjectIds,proto3" json:"include_project_ids,omitempty"`

	IncludeGcpPublicDatasets bool "" /* 138 byte string literal not displayed */

}

The criteria that select the subspace used for query matching.

func (*SearchCatalogRequest_Scope) Descriptor

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

Deprecated: Use SearchCatalogRequest_Scope.ProtoReflect.Descriptor instead.

func (*SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets

func (x *SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets() bool

func (*SearchCatalogRequest_Scope) GetIncludeOrgIds

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

func (*SearchCatalogRequest_Scope) GetIncludeProjectIds

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

func (*SearchCatalogRequest_Scope) 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

SearchCatalogResponse

type SearchCatalogResponse struct {

	// Search results.
	Results []*SearchCatalogResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,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"`
	// contains filtered or unexported fields
}

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

func (*SearchCatalogResponse) Descriptor

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

Deprecated: Use SearchCatalogResponse.ProtoReflect.Descriptor instead.

func (*SearchCatalogResponse) GetNextPageToken

func (x *SearchCatalogResponse) GetNextPageToken() string

func (*SearchCatalogResponse) GetResults

func (x *SearchCatalogResponse) GetResults() []*SearchCatalogResult

func (*SearchCatalogResponse) ProtoMessage

func (*SearchCatalogResponse) ProtoMessage()

func (*SearchCatalogResponse) ProtoReflect

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

func (*SearchCatalogResponse) Reset

func (x *SearchCatalogResponse) Reset()

func (*SearchCatalogResponse) String

func (x *SearchCatalogResponse) String() string

SearchCatalogResult

type SearchCatalogResult struct {
	SearchResultType SearchResultType "" /* 167 byte string literal not displayed */

	SearchResultSubtype string `protobuf:"bytes,2,opt,name=search_result_subtype,json=searchResultSubtype,proto3" json:"search_result_subtype,omitempty"`

	RelativeResourceName string `protobuf:"bytes,3,opt,name=relative_resource_name,json=relativeResourceName,proto3" json:"relative_resource_name,omitempty"`

	LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`

}

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

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

Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead.

func (*SearchCatalogResult) GetLinkedResource

func (x *SearchCatalogResult) GetLinkedResource() string

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

SearchResultType

type SearchResultType int32

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

SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED, SearchResultType_ENTRY, SearchResultType_TAG_TEMPLATE, SearchResultType_ENTRY_GROUP

const (
	// Default unknown type.
	SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED SearchResultType = 0
	// An [Entry][google.cloud.datacatalog.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

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

Deprecated: Use SearchResultType.Descriptor instead.

func (SearchResultType) Number

func (SearchResultType) String

func (x SearchResultType) String() string

func (SearchResultType) Type

SerializedPolicyTag

type SerializedPolicyTag struct {

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

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

func (*SerializedPolicyTag) ProtoMessage()

func (*SerializedPolicyTag) ProtoReflect

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

func (*SerializedPolicyTag) Reset

func (x *SerializedPolicyTag) Reset()

func (*SerializedPolicyTag) String

func (x *SerializedPolicyTag) String() string

SerializedTaxonomy

type SerializedTaxonomy struct {

	// 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"`
	// 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

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

Deprecated: Use SerializedTaxonomy.ProtoReflect.Descriptor instead.

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

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

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

Deprecated: Use SystemTimestamps.ProtoReflect.Descriptor instead.

func (*SystemTimestamps) GetCreateTime

func (x *SystemTimestamps) GetCreateTime() *timestamppb.Timestamp

func (*SystemTimestamps) GetExpireTime

func (x *SystemTimestamps) GetExpireTime() *timestamppb.Timestamp

func (*SystemTimestamps) GetUpdateTime

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

func (*SystemTimestamps) ProtoMessage

func (*SystemTimestamps) ProtoMessage()

func (*SystemTimestamps) ProtoReflect

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

func (*SystemTimestamps) Reset

func (x *SystemTimestamps) Reset()

func (*SystemTimestamps) String

func (x *SystemTimestamps) String() string

TableSourceType

type TableSourceType int32

Table source type.

TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED, TableSourceType_BIGQUERY_VIEW, TableSourceType_BIGQUERY_TABLE

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
)

func (TableSourceType) Descriptor

func (TableSourceType) Enum

func (x TableSourceType) Enum() *TableSourceType

func (TableSourceType) EnumDescriptor

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

Deprecated: Use TableSourceType.Descriptor instead.

func (TableSourceType) Number

func (TableSourceType) String

func (x TableSourceType) String() string

func (TableSourceType) 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

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

Tag

type Tag struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`

	TemplateDisplayName string `protobuf:"bytes,5,opt,name=template_display_name,json=templateDisplayName,proto3" json:"template_display_name,omitempty"`

	Scope isTag_Scope `protobuf_oneof:"scope"`

	Fields map[string]*TagField "" /* 153 byte string literal not displayed */

}

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

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

func (*Tag) Descriptor

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

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

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

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"`
}

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"`
}

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

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

Deprecated: Use TagField_EnumValue.ProtoReflect.Descriptor instead.

func (*TagField_EnumValue) GetDisplayName

func (x *TagField_EnumValue) GetDisplayName() string

func (*TagField_EnumValue) ProtoMessage

func (*TagField_EnumValue) ProtoMessage()

func (*TagField_EnumValue) ProtoReflect

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

func (*TagField_EnumValue) Reset

func (x *TagField_EnumValue) Reset()

func (*TagField_EnumValue) String

func (x *TagField_EnumValue) String() string

TagField_EnumValue_

type TagField_EnumValue_ struct {
	// 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"`
}

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"`
}

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"`
}

TagTemplate

type TagTemplate struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Fields map[string]*TagTemplateField "" /* 153 byte string literal not displayed */

}

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 GCP resources. Tag template roles provide permissions to create, edit, and use the template. See, for example, the TagTemplate User role, which includes permission to use the tag template to tag resources.

func (*TagTemplate) Descriptor

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

Deprecated: Use TagTemplate.ProtoReflect.Descriptor instead.

func (*TagTemplate) GetDisplayName

func (x *TagTemplate) GetDisplayName() string

func (*TagTemplate) GetFields

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

func (*TagTemplate) GetName

func (x *TagTemplate) GetName() string

func (*TagTemplate) ProtoMessage

func (*TagTemplate) ProtoMessage()

func (*TagTemplate) ProtoReflect

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

func (*TagTemplate) Reset

func (x *TagTemplate) Reset()

func (*TagTemplate) String

func (x *TagTemplate) String() string

TagTemplateField

type TagTemplateField struct {

	// Output only. The resource name of the tag template field in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
	//
	// Note 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 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

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

Deprecated: Use TagTemplateField.ProtoReflect.Descriptor instead.

func (*TagTemplateField) GetDisplayName

func (x *TagTemplateField) GetDisplayName() string

func (*TagTemplateField) GetIsRequired

func (x *TagTemplateField) GetIsRequired() bool

func (*TagTemplateField) GetName

func (x *TagTemplateField) GetName() string

func (*TagTemplateField) GetOrder

func (x *TagTemplateField) GetOrder() int32

func (*TagTemplateField) GetType

func (x *TagTemplateField) GetType() *FieldType

func (*TagTemplateField) ProtoMessage

func (*TagTemplateField) ProtoMessage()

func (*TagTemplateField) ProtoReflect

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

func (*TagTemplateField) Reset

func (x *TagTemplateField) Reset()

func (*TagTemplateField) String

func (x *TagTemplateField) String() string

Tag_Column

type Tag_Column struct {
	// Resources like Entry can have schemas associated with them. This scope
	// allows 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"`
}

Taxonomy

type Taxonomy struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`

	ActivatedPolicyTypes []Taxonomy_PolicyType "" /* 189 byte string literal not displayed */

}

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

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

Taxonomy_PolicyType

type Taxonomy_PolicyType int32

Defines policy types where policy tag can be used for.

Taxonomy_POLICY_TYPE_UNSPECIFIED, Taxonomy_FINE_GRAINED_ACCESS_CONTROL

const (
	// Unspecified policy type.
	Taxonomy_POLICY_TYPE_UNSPECIFIED Taxonomy_PolicyType = 0
	// Fine grained access control policy, 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

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

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) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedDataCatalogServer) GetTagTemplate

func (*UnimplementedDataCatalogServer) ListEntries

func (*UnimplementedDataCatalogServer) ListEntryGroups

func (*UnimplementedDataCatalogServer) ListTags

func (*UnimplementedDataCatalogServer) LookupEntry

func (*UnimplementedDataCatalogServer) RenameTagTemplateField

func (*UnimplementedDataCatalogServer) SearchCatalog

func (*UnimplementedDataCatalogServer) SetIamPolicy

func (*UnimplementedDataCatalogServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedDataCatalogServer) TestIamPermissions

func (*UnimplementedDataCatalogServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedDataCatalogServer) UpdateEntry

func (*UnimplementedDataCatalogServer) UpdateEntryGroup

func (*UnimplementedDataCatalogServer) UpdateTag

func (*UnimplementedDataCatalogServer) UpdateTagTemplate

func (*UnimplementedDataCatalogServer) UpdateTagTemplateField

UnimplementedPolicyTagManagerSerializationServer

type UnimplementedPolicyTagManagerSerializationServer struct {
}

UnimplementedPolicyTagManagerSerializationServer can be embedded to have forward compatible implementations.

func (*UnimplementedPolicyTagManagerSerializationServer) ExportTaxonomies

func (*UnimplementedPolicyTagManagerSerializationServer) ImportTaxonomies

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) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedPolicyTagManagerServer) GetPolicyTag

func (*UnimplementedPolicyTagManagerServer) GetTaxonomy

func (*UnimplementedPolicyTagManagerServer) ListPolicyTags

func (*UnimplementedPolicyTagManagerServer) ListTaxonomies

func (*UnimplementedPolicyTagManagerServer) SetIamPolicy

func (*UnimplementedPolicyTagManagerServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedPolicyTagManagerServer) TestIamPermissions

func (*UnimplementedPolicyTagManagerServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedPolicyTagManagerServer) UpdatePolicyTag

func (*UnimplementedPolicyTagManagerServer) UpdateTaxonomy

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"`
	// The fields to update on the entry group. If absent or empty, all modifiable
	// fields are updated.
	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

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

Deprecated: Use UpdateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryGroupRequest) GetEntryGroup

func (x *UpdateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*UpdateEntryGroupRequest) GetUpdateMask

func (x *UpdateEntryGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateEntryGroupRequest) ProtoMessage

func (*UpdateEntryGroupRequest) ProtoMessage()

func (*UpdateEntryGroupRequest) ProtoReflect

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

func (*UpdateEntryGroupRequest) Reset

func (x *UpdateEntryGroupRequest) Reset()

func (*UpdateEntryGroupRequest) String

func (x *UpdateEntryGroupRequest) String() string

UpdateEntryRequest

type UpdateEntryRequest struct {

	// Required. The updated entry. The "name" field must be set.
	Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// The fields to update on the entry. If absent or empty, all modifiable
	// fields are updated.
	//
	// 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

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

Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryRequest) GetEntry

func (x *UpdateEntryRequest) GetEntry() *Entry

func (*UpdateEntryRequest) GetUpdateMask

func (x *UpdateEntryRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateEntryRequest) ProtoMessage

func (*UpdateEntryRequest) ProtoMessage()

func (*UpdateEntryRequest) ProtoReflect

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

func (*UpdateEntryRequest) Reset

func (x *UpdateEntryRequest) Reset()

func (*UpdateEntryRequest) String

func (x *UpdateEntryRequest) String() string

UpdatePolicyTagRequest

type UpdatePolicyTagRequest struct {

	// The policy tag to update. 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

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

Deprecated: Use UpdatePolicyTagRequest.ProtoReflect.Descriptor instead.

func (*UpdatePolicyTagRequest) GetPolicyTag

func (x *UpdatePolicyTagRequest) GetPolicyTag() *PolicyTag

func (*UpdatePolicyTagRequest) GetUpdateMask

func (x *UpdatePolicyTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePolicyTagRequest) ProtoMessage

func (*UpdatePolicyTagRequest) ProtoMessage()

func (*UpdatePolicyTagRequest) ProtoReflect

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

func (*UpdatePolicyTagRequest) Reset

func (x *UpdatePolicyTagRequest) Reset()

func (*UpdatePolicyTagRequest) String

func (x *UpdatePolicyTagRequest) String() string

UpdateTagRequest

type UpdateTagRequest struct {

	// Required. The updated tag. The "name" field must be set.
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// The fields to update on the Tag. If absent or empty, all modifiable fields
	// are updated. Currently the only modifiable field is the field `fields`.
	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

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

Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagRequest) GetTag

func (x *UpdateTagRequest) GetTag() *Tag

func (*UpdateTagRequest) GetUpdateMask

func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTagRequest) ProtoMessage

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) ProtoReflect

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

func (*UpdateTagRequest) Reset

func (x *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String

func (x *UpdateTagRequest) String() string

UpdateTagTemplateFieldRequest

type UpdateTagTemplateFieldRequest struct {

	// Required. The name of the tag template field. 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. The field mask specifies the parts of the template to be updated.
	// Allowed fields:
	//
	//   - `display_name`
	//   - `type.enum_type`
	//   - `is_required`
	//
	// If `update_mask` is not set or empty, all of the allowed fields above will
	// be updated.
	//
	// When updating an enum type, the provided values will be merged with the
	// existing values. Therefore, enum values can only be added, existing enum
	// values cannot be deleted nor renamed. 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

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

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"`
	// The field mask specifies the parts of the template to overwrite.
	//
	// Allowed fields:
	//
	//   - `display_name`
	//
	// If absent or empty, all of the allowed fields above will be updated.
	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

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

Deprecated: Use UpdateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagTemplateRequest) GetTagTemplate

func (x *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*UpdateTagTemplateRequest) GetUpdateMask

func (x *UpdateTagTemplateRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTagTemplateRequest) ProtoMessage

func (*UpdateTagTemplateRequest) ProtoMessage()

func (*UpdateTagTemplateRequest) ProtoReflect

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

func (*UpdateTagTemplateRequest) Reset

func (x *UpdateTagTemplateRequest) Reset()

func (*UpdateTagTemplateRequest) String

func (x *UpdateTagTemplateRequest) String() string

UpdateTaxonomyRequest

type UpdateTaxonomyRequest struct {

	// The taxonomy to update. 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

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

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

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