Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for IntegratedSystem.

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

Enum value maps for EntryType.

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

Enum value maps for SearchResultType.

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

Enum value maps for TableSourceType.

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

Enum value maps for FieldType_PrimitiveType.

View Source
var File_google_cloud_datacatalog_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_datacatalog_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_gcs_fileset_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_schema_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_search_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_table_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_tags_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_datacatalog_v1_timestamps_proto protoreflect.FileDescriptor

Functions

func RegisterDataCatalogServer

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

Types

type BigQueryDateShardedSpec

type BigQueryDateShardedSpec struct {

	// Output only. The Data Catalog resource name of the dataset entry the current table
	// belongs to, for example,
	// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Output only. The table name prefix of the shards. The name of any given shard is
	// `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
	// `table_prefix` is `MyTable`.
	TablePrefix string `protobuf:"bytes,2,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`
	// Output only. Total number of shards.
	ShardCount int64 `protobuf:"varint,3,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BigQueryDateShardedSpec) Descriptor

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

Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead.

func (*BigQueryDateShardedSpec) GetDataset

func (x *BigQueryDateShardedSpec) GetDataset() string

func (*BigQueryDateShardedSpec) GetShardCount

func (x *BigQueryDateShardedSpec) GetShardCount() int64

func (*BigQueryDateShardedSpec) GetTablePrefix

func (x *BigQueryDateShardedSpec) GetTablePrefix() string

func (*BigQueryDateShardedSpec) ProtoMessage

func (*BigQueryDateShardedSpec) ProtoMessage()

func (*BigQueryDateShardedSpec) ProtoReflect

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

func (*BigQueryDateShardedSpec) Reset

func (x *BigQueryDateShardedSpec) Reset()

func (*BigQueryDateShardedSpec) String

func (x *BigQueryDateShardedSpec) String() string

type BigQueryTableSpec

type BigQueryTableSpec struct {

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

Describes a BigQuery table.

func (*BigQueryTableSpec) Descriptor

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

Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.

func (*BigQueryTableSpec) GetTableSourceType

func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType

func (*BigQueryTableSpec) GetTableSpec

func (x *BigQueryTableSpec) GetTableSpec() *TableSpec

func (*BigQueryTableSpec) GetTypeSpec

func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec

func (*BigQueryTableSpec) GetViewSpec

func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec

func (*BigQueryTableSpec) ProtoMessage

func (*BigQueryTableSpec) ProtoMessage()

func (*BigQueryTableSpec) ProtoReflect

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

func (*BigQueryTableSpec) Reset

func (x *BigQueryTableSpec) Reset()

func (*BigQueryTableSpec) String

func (x *BigQueryTableSpec) String() string

type BigQueryTableSpec_TableSpec

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

type BigQueryTableSpec_ViewSpec

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

type ColumnSchema

type ColumnSchema struct {

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

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

func (*ColumnSchema) Descriptor

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

Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.

func (*ColumnSchema) GetColumn

func (x *ColumnSchema) GetColumn() string

func (*ColumnSchema) GetDescription

func (x *ColumnSchema) GetDescription() string

func (*ColumnSchema) GetMode

func (x *ColumnSchema) GetMode() string

func (*ColumnSchema) GetSubcolumns

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

func (*ColumnSchema) GetType

func (x *ColumnSchema) GetType() string

func (*ColumnSchema) ProtoMessage

func (*ColumnSchema) ProtoMessage()

func (*ColumnSchema) ProtoReflect

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

func (*ColumnSchema) Reset

func (x *ColumnSchema) Reset()

func (*ColumnSchema) String

func (x *ColumnSchema) String() string

type CreateEntryGroupRequest

type CreateEntryGroupRequest struct {

	// Required. The name of the project this entry group is in. Example:
	//
	// * projects/{project_id}/locations/{location}
	//
	// Note that this EntryGroup and its child resources may not actually be
	// stored in the location in this name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the entry group to create.
	// The id must begin with a letter or underscore, contain only English
	// letters, numbers and underscores, and be at most 64 characters.
	EntryGroupId string `protobuf:"bytes,3,opt,name=entry_group_id,json=entryGroupId,proto3" json:"entry_group_id,omitempty"`
	// The entry group to create. Defaults to an empty entry group.
	EntryGroup *EntryGroup `protobuf:"bytes,2,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateEntryGroupRequest) Descriptor

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

Deprecated: Use CreateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryGroupRequest) GetEntryGroup

func (x *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*CreateEntryGroupRequest) GetEntryGroupId

func (x *CreateEntryGroupRequest) GetEntryGroupId() string

func (*CreateEntryGroupRequest) GetParent

func (x *CreateEntryGroupRequest) GetParent() string

func (*CreateEntryGroupRequest) ProtoMessage

func (*CreateEntryGroupRequest) ProtoMessage()

func (*CreateEntryGroupRequest) ProtoReflect

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

func (*CreateEntryGroupRequest) Reset

func (x *CreateEntryGroupRequest) Reset()

func (*CreateEntryGroupRequest) String

func (x *CreateEntryGroupRequest) String() string

type CreateEntryRequest

type CreateEntryRequest struct {

	// Required. The name of the entry group this entry is in. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	//
	// Note that this Entry and its child resources may not actually be stored in
	// the location in this name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the entry to create.
	EntryId string `protobuf:"bytes,3,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
	// Required. The entry to create.
	Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateEntryRequest) Descriptor

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

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetEntry

func (x *CreateEntryRequest) GetEntry() *Entry

func (*CreateEntryRequest) GetEntryId

func (x *CreateEntryRequest) GetEntryId() string

func (*CreateEntryRequest) GetParent

func (x *CreateEntryRequest) GetParent() string

func (*CreateEntryRequest) ProtoMessage

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect

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

func (*CreateEntryRequest) Reset

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String

func (x *CreateEntryRequest) String() string

type CreateTagRequest

type CreateTagRequest struct {

	// Required. The name of the resource to attach this tag to. Tags can be
	// attached to Entries. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
	//
	// Note that this Tag and its child resources may not actually be stored in
	// the location in this name.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The tag to create.
	Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagRequest) Descriptor

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

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

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type CreateTagTemplateFieldRequest

type CreateTagTemplateFieldRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	//
	// Example:
	//
	// * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the tag template field to create.
	// Field ids can contain letters (both uppercase and lowercase), numbers
	// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1
	// character long and at most 128 characters long. Field IDs must also be
	// unique within their template.
	TagTemplateFieldId string `protobuf:"bytes,2,opt,name=tag_template_field_id,json=tagTemplateFieldId,proto3" json:"tag_template_field_id,omitempty"`
	// Required. The tag template field to create.
	TagTemplateField *TagTemplateField `protobuf:"bytes,3,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagTemplateFieldRequest) Descriptor

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

Deprecated: Use CreateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateFieldRequest) GetParent

func (x *CreateTagTemplateFieldRequest) GetParent() string

func (*CreateTagTemplateFieldRequest) GetTagTemplateField

func (x *CreateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*CreateTagTemplateFieldRequest) GetTagTemplateFieldId

func (x *CreateTagTemplateFieldRequest) GetTagTemplateFieldId() string

func (*CreateTagTemplateFieldRequest) ProtoMessage

func (*CreateTagTemplateFieldRequest) ProtoMessage()

func (*CreateTagTemplateFieldRequest) ProtoReflect

func (*CreateTagTemplateFieldRequest) Reset

func (x *CreateTagTemplateFieldRequest) Reset()

func (*CreateTagTemplateFieldRequest) String

type CreateTagTemplateRequest

type CreateTagTemplateRequest struct {

	// Required. The name of the project and the template location
	// [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
	//
	// Example:
	//
	// * projects/{project_id}/locations/us-central1
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The id of the tag template to create.
	TagTemplateId string `protobuf:"bytes,3,opt,name=tag_template_id,json=tagTemplateId,proto3" json:"tag_template_id,omitempty"`
	// Required. The tag template to create.
	TagTemplate *TagTemplate `protobuf:"bytes,2,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CreateTagTemplateRequest) Descriptor

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

Deprecated: Use CreateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateRequest) GetParent

func (x *CreateTagTemplateRequest) GetParent() string

func (*CreateTagTemplateRequest) GetTagTemplate

func (x *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*CreateTagTemplateRequest) GetTagTemplateId

func (x *CreateTagTemplateRequest) GetTagTemplateId() string

func (*CreateTagTemplateRequest) ProtoMessage

func (*CreateTagTemplateRequest) ProtoMessage()

func (*CreateTagTemplateRequest) ProtoReflect

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

func (*CreateTagTemplateRequest) Reset

func (x *CreateTagTemplateRequest) Reset()

func (*CreateTagTemplateRequest) String

func (x *CreateTagTemplateRequest) String() string

type DataCatalogClient

type DataCatalogClient interface {
	// Searches Data Catalog for multiple resources like entries, tags that
	// match a query.
	//
	// This is a custom method
	// (https://cloud.google.com/apis/design/custom_methods) and does not return
	// the complete resource, only the resource identifier and high level
	// fields. Clients can 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)
	// Creates an EntryGroup.
	//
	// An entry group contains logically related entries together with Cloud
	// Identity and Access Management policies that specify the users who can
	// create, edit, and view entries within the entry group.
	//
	// Data Catalog automatically creates an entry group for BigQuery entries
	// ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
	// group to contain Cloud Storage fileset entries or custom type entries,
	// and the IAM policies associated with those entries. Entry groups, like
	// entries, can be searched.
	//
	// 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)
	// Gets an EntryGroup.
	GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, 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)
	// 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.v1.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.v1.Entry].
	// Note: The project identified by the `parent` parameter for the
	// [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the
	// [tag
	// template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be 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.v1.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.

type DataCatalogServer

type DataCatalogServer interface {
	// Searches Data Catalog for multiple resources like entries, tags that
	// match a query.
	//
	// This is a custom method
	// (https://cloud.google.com/apis/design/custom_methods) and does not return
	// the complete resource, only the resource identifier and high level
	// fields. Clients can 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)
	// Creates an EntryGroup.
	//
	// An entry group contains logically related entries together with Cloud
	// Identity and Access Management policies that specify the users who can
	// create, edit, and view entries within the entry group.
	//
	// Data Catalog automatically creates an entry group for BigQuery entries
	// ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
	// group to contain Cloud Storage fileset entries or custom type entries,
	// and the IAM policies associated with those entries. Entry groups, like
	// entries, can be searched.
	//
	// 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)
	// Gets an EntryGroup.
	GetEntryGroup(context.Context, *GetEntryGroupRequest) (*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)
	// 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.v1.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.v1.Entry].
	// Note: The project identified by the `parent` parameter for the
	// [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
	// and the
	// [tag
	// template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
	// used to create the tag must be 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.v1.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.

type DeleteEntryGroupRequest

type DeleteEntryGroupRequest struct {

	// Required. The name of the entry group. For example,
	// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If true, deletes all entries in the entry group.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeleteEntryGroupRequest) Descriptor

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

Deprecated: Use DeleteEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryGroupRequest) GetForce

func (x *DeleteEntryGroupRequest) GetForce() bool

func (*DeleteEntryGroupRequest) GetName

func (x *DeleteEntryGroupRequest) GetName() string

func (*DeleteEntryGroupRequest) ProtoMessage

func (*DeleteEntryGroupRequest) ProtoMessage()

func (*DeleteEntryGroupRequest) ProtoReflect

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

func (*DeleteEntryGroupRequest) Reset

func (x *DeleteEntryGroupRequest) Reset()

func (*DeleteEntryGroupRequest) String

func (x *DeleteEntryGroupRequest) String() string

type DeleteEntryRequest

type DeleteEntryRequest struct {

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

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

func (*DeleteEntryRequest) Descriptor

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

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetName

func (x *DeleteEntryRequest) GetName() string

func (*DeleteEntryRequest) ProtoMessage

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect

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

func (*DeleteEntryRequest) Reset

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String

func (x *DeleteEntryRequest) String() string

type DeleteTagRequest

type DeleteTagRequest struct {

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

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

func (*DeleteTagRequest) Descriptor

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type DeleteTagTemplateFieldRequest

type DeleteTagTemplateFieldRequest struct {

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

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

func (*DeleteTagTemplateFieldRequest) Descriptor

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

Deprecated: Use DeleteTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateFieldRequest) GetForce

func (x *DeleteTagTemplateFieldRequest) GetForce() bool

func (*DeleteTagTemplateFieldRequest) GetName

func (*DeleteTagTemplateFieldRequest) ProtoMessage

func (*DeleteTagTemplateFieldRequest) ProtoMessage()

func (*DeleteTagTemplateFieldRequest) ProtoReflect

func (*DeleteTagTemplateFieldRequest) Reset

func (x *DeleteTagTemplateFieldRequest) Reset()

func (*DeleteTagTemplateFieldRequest) String

type DeleteTagTemplateRequest

type DeleteTagTemplateRequest struct {

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

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

func (*DeleteTagTemplateRequest) Descriptor

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

Deprecated: Use DeleteTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateRequest) GetForce

func (x *DeleteTagTemplateRequest) GetForce() bool

func (*DeleteTagTemplateRequest) GetName

func (x *DeleteTagTemplateRequest) GetName() string

func (*DeleteTagTemplateRequest) ProtoMessage

func (*DeleteTagTemplateRequest) ProtoMessage()

func (*DeleteTagTemplateRequest) ProtoReflect

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

func (*DeleteTagTemplateRequest) Reset

func (x *DeleteTagTemplateRequest) Reset()

func (*DeleteTagTemplateRequest) String

func (x *DeleteTagTemplateRequest) String() string

type Entry

type Entry struct {

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

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

An Entry resource contains resource details, such as its schema. An Entry can also be used to attach flexible metadata, such as a [Tag][google.cloud.datacatalog.v1.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

type 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 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*EntryGroup) Descriptor

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

Deprecated: Use EntryGroup.ProtoReflect.Descriptor instead.

func (*EntryGroup) GetDataCatalogTimestamps

func (x *EntryGroup) GetDataCatalogTimestamps() *SystemTimestamps

func (*EntryGroup) GetDescription

func (x *EntryGroup) GetDescription() string

func (*EntryGroup) GetDisplayName

func (x *EntryGroup) GetDisplayName() string

func (*EntryGroup) GetName

func (x *EntryGroup) GetName() string

func (*EntryGroup) ProtoMessage

func (*EntryGroup) ProtoMessage()

func (*EntryGroup) ProtoReflect

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

func (*EntryGroup) Reset

func (x *EntryGroup) Reset()

func (*EntryGroup) String

func (x *EntryGroup) String() string

type EntryType

type EntryType int32

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

const (
	// Default unknown type.
	EntryType_ENTRY_TYPE_UNSPECIFIED EntryType = 0
	// Output only. The type of entry that has a GoogleSQL schema, including
	// logical views.
	EntryType_TABLE EntryType = 2
	// Output only. The type of models, examples include
	// 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

type Entry_BigqueryDateShardedSpec

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

type Entry_BigqueryTableSpec

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

type Entry_GcsFilesetSpec

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

type Entry_IntegratedSystem

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

type Entry_Type

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

type Entry_UserSpecifiedSystem

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

type Entry_UserSpecifiedType

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

type 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

type 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

type FieldType_EnumType_

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

type FieldType_EnumType_EnumValue

type FieldType_EnumType_EnumValue struct {

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

func (*FieldType_EnumType_EnumValue) Descriptor

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

Deprecated: Use FieldType_EnumType_EnumValue.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType_EnumValue) GetDisplayName

func (x *FieldType_EnumType_EnumValue) GetDisplayName() string

func (*FieldType_EnumType_EnumValue) ProtoMessage

func (*FieldType_EnumType_EnumValue) ProtoMessage()

func (*FieldType_EnumType_EnumValue) ProtoReflect

func (*FieldType_EnumType_EnumValue) Reset

func (x *FieldType_EnumType_EnumValue) Reset()

func (*FieldType_EnumType_EnumValue) String

type FieldType_PrimitiveType

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

func (FieldType_PrimitiveType) Descriptor

func (FieldType_PrimitiveType) Enum

func (FieldType_PrimitiveType) EnumDescriptor

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

Deprecated: Use FieldType_PrimitiveType.Descriptor instead.

func (FieldType_PrimitiveType) Number

func (FieldType_PrimitiveType) String

func (x FieldType_PrimitiveType) String() string

func (FieldType_PrimitiveType) Type

type FieldType_PrimitiveType_

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

type GcsFileSpec

type GcsFileSpec struct {

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

Specifications of a single file in Cloud Storage.

func (*GcsFileSpec) Descriptor

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

Deprecated: Use GcsFileSpec.ProtoReflect.Descriptor instead.

func (*GcsFileSpec) GetFilePath

func (x *GcsFileSpec) GetFilePath() string

func (*GcsFileSpec) GetGcsTimestamps

func (x *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps

func (*GcsFileSpec) GetSizeBytes

func (x *GcsFileSpec) GetSizeBytes() int64

func (*GcsFileSpec) ProtoMessage

func (*GcsFileSpec) ProtoMessage()

func (*GcsFileSpec) ProtoReflect

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

func (*GcsFileSpec) Reset

func (x *GcsFileSpec) Reset()

func (*GcsFileSpec) String

func (x *GcsFileSpec) String() string

type GcsFilesetSpec

type GcsFilesetSpec struct {

	// Required. Patterns to identify a set of files in Google Cloud Storage.
	// See [Cloud Storage
	// documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
	// for more information. Note that bucket wildcards are currently not
	// supported.
	//
	// Examples of valid file_patterns:
	//
	//  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
	//                              directory.
	//  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
	//                               spanning all subdirectories.
	//  * `gs://bucket_name/file*`: matches files prefixed by `file` in
	//                              `bucket_name`
	//  * `gs://bucket_name/??.txt`: matches files with two characters followed by
	//                               `.txt` in `bucket_name`
	//  * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
	//                                    vowel character followed by `.txt` in
	//                                    `bucket_name`
	//  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
	//                                  or `m` followed by `.txt` in `bucket_name`
	//  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
	//                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
	//  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
	//
	// You can combine wildcards to provide more powerful matches, for example:
	//
	//  * `gs://bucket_name/[a-m]??.j*g`
	FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"`
	// Output only. Sample files contained in this fileset, not all files
	// contained in this fileset are represented here.
	SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"`
	// contains filtered or unexported fields
}

Describes a Cloud Storage fileset entry.

func (*GcsFilesetSpec) Descriptor

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

Deprecated: Use GcsFilesetSpec.ProtoReflect.Descriptor instead.

func (*GcsFilesetSpec) GetFilePatterns

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

func (*GcsFilesetSpec) GetSampleGcsFileSpecs

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

func (*GcsFilesetSpec) ProtoMessage

func (*GcsFilesetSpec) ProtoMessage()

func (*GcsFilesetSpec) ProtoReflect

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

func (*GcsFilesetSpec) Reset

func (x *GcsFilesetSpec) Reset()

func (*GcsFilesetSpec) String

func (x *GcsFilesetSpec) String() string

type GetEntryGroupRequest

type GetEntryGroupRequest struct {

	// Required. The name of the entry group. For example,
	// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The fields to return. If not set or empty, all fields are returned.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetEntryGroupRequest) Descriptor

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

Deprecated: Use GetEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*GetEntryGroupRequest) GetName

func (x *GetEntryGroupRequest) GetName() string

func (*GetEntryGroupRequest) GetReadMask

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

func (*GetEntryGroupRequest) ProtoMessage

func (*GetEntryGroupRequest) ProtoMessage()

func (*GetEntryGroupRequest) ProtoReflect

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

func (*GetEntryGroupRequest) Reset

func (x *GetEntryGroupRequest) Reset()

func (*GetEntryGroupRequest) String

func (x *GetEntryGroupRequest) String() string

type GetEntryRequest

type GetEntryRequest struct {

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

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

func (*GetEntryRequest) Descriptor

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

Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.

func (*GetEntryRequest) GetName

func (x *GetEntryRequest) GetName() string

func (*GetEntryRequest) ProtoMessage

func (*GetEntryRequest) ProtoMessage()

func (*GetEntryRequest) ProtoReflect

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

func (*GetEntryRequest) Reset

func (x *GetEntryRequest) Reset()

func (*GetEntryRequest) String

func (x *GetEntryRequest) String() string

type GetTagTemplateRequest

type GetTagTemplateRequest struct {

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

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

func (*GetTagTemplateRequest) Descriptor

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

Deprecated: Use GetTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTagTemplateRequest) GetName

func (x *GetTagTemplateRequest) GetName() string

func (*GetTagTemplateRequest) ProtoMessage

func (*GetTagTemplateRequest) ProtoMessage()

func (*GetTagTemplateRequest) ProtoReflect

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

func (*GetTagTemplateRequest) Reset

func (x *GetTagTemplateRequest) Reset()

func (*GetTagTemplateRequest) String

func (x *GetTagTemplateRequest) String() string

type IntegratedSystem

type IntegratedSystem int32

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

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

func (IntegratedSystem) Descriptor

func (IntegratedSystem) Enum

func (IntegratedSystem) EnumDescriptor

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

Deprecated: Use IntegratedSystem.Descriptor instead.

func (IntegratedSystem) Number

func (IntegratedSystem) String

func (x IntegratedSystem) String() string

func (IntegratedSystem) Type

type ListEntriesRequest

type ListEntriesRequest struct {

	// Required. The name of the entry group that contains the entries, which can
	// be provided in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. Default is 10. Max limit is 1000.
	// Throws an invalid argument for `page_size > 1000`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Token that specifies which page is requested. If empty, the first page is
	// returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The fields to return for each Entry. If not set or empty, all
	// fields are returned.
	// For example, setting read_mask to contain only one path "name" will cause
	// ListEntries to return a list of Entries with only "name" field.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntriesRequest) Descriptor

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

Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListEntriesRequest) GetPageSize

func (x *ListEntriesRequest) GetPageSize() int32

func (*ListEntriesRequest) GetPageToken

func (x *ListEntriesRequest) GetPageToken() string

func (*ListEntriesRequest) GetParent

func (x *ListEntriesRequest) GetParent() string

func (*ListEntriesRequest) GetReadMask

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

func (*ListEntriesRequest) ProtoMessage

func (*ListEntriesRequest) ProtoMessage()

func (*ListEntriesRequest) ProtoReflect

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

func (*ListEntriesRequest) Reset

func (x *ListEntriesRequest) Reset()

func (*ListEntriesRequest) String

func (x *ListEntriesRequest) String() string

type ListEntriesResponse

type ListEntriesResponse struct {

	// Entry details.
	Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Token to retrieve the next page of results. It is set to empty if no items
	// remain in results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntriesResponse) Descriptor

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

Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListEntriesResponse) GetEntries

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

func (*ListEntriesResponse) GetNextPageToken

func (x *ListEntriesResponse) GetNextPageToken() string

func (*ListEntriesResponse) ProtoMessage

func (*ListEntriesResponse) ProtoMessage()

func (*ListEntriesResponse) ProtoReflect

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

func (*ListEntriesResponse) Reset

func (x *ListEntriesResponse) Reset()

func (*ListEntriesResponse) String

func (x *ListEntriesResponse) String() string

type ListEntryGroupsRequest

type ListEntryGroupsRequest struct {

	// Required. The name of the location that contains the entry groups, which
	// can be provided in URL format. Example:
	//
	// * projects/{project_id}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return. Default is 10. Max limit
	// is 1000. Throws an invalid argument for `page_size > 1000`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Token that specifies which page is requested. If empty, the first
	// page is returned.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntryGroupsRequest) Descriptor

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

Deprecated: Use ListEntryGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsRequest) GetPageSize

func (x *ListEntryGroupsRequest) GetPageSize() int32

func (*ListEntryGroupsRequest) GetPageToken

func (x *ListEntryGroupsRequest) GetPageToken() string

func (*ListEntryGroupsRequest) GetParent

func (x *ListEntryGroupsRequest) GetParent() string

func (*ListEntryGroupsRequest) ProtoMessage

func (*ListEntryGroupsRequest) ProtoMessage()

func (*ListEntryGroupsRequest) ProtoReflect

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

func (*ListEntryGroupsRequest) Reset

func (x *ListEntryGroupsRequest) Reset()

func (*ListEntryGroupsRequest) String

func (x *ListEntryGroupsRequest) String() string

type ListEntryGroupsResponse

type ListEntryGroupsResponse struct {

	// EntryGroup details.
	EntryGroups []*EntryGroup `protobuf:"bytes,1,rep,name=entry_groups,json=entryGroups,proto3" json:"entry_groups,omitempty"`
	// Token to retrieve the next page of results. It is set to empty if no items
	// remain in results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntryGroupsResponse) Descriptor

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

Deprecated: Use ListEntryGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsResponse) GetEntryGroups

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

func (*ListEntryGroupsResponse) GetNextPageToken

func (x *ListEntryGroupsResponse) GetNextPageToken() string

func (*ListEntryGroupsResponse) ProtoMessage

func (*ListEntryGroupsResponse) ProtoMessage()

func (*ListEntryGroupsResponse) ProtoReflect

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

func (*ListEntryGroupsResponse) Reset

func (x *ListEntryGroupsResponse) Reset()

func (*ListEntryGroupsResponse) String

func (x *ListEntryGroupsResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {

	// Required. The name of the Data Catalog resource to list the tags of. The
	// resource could be an [Entry][google.cloud.datacatalog.v1.Entry] or an
	// [EntryGroup][google.cloud.datacatalog.v1.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.v1.DataCatalog.ListTags].

func (*ListTagsRequest) Descriptor

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

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

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {

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

func (*ListTagsResponse) Descriptor

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

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

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

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

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

type LookupEntryRequest

type LookupEntryRequest struct {

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

Request message for [LookupEntry][google.cloud.datacatalog.v1.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

type LookupEntryRequest_LinkedResource

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

type LookupEntryRequest_SqlResource

type LookupEntryRequest_SqlResource struct {
	// The SQL name of the entry. SQL names are case-sensitive.
	//
	// Examples:
	//
	//   * `pubsub.project_id.topic_id`
	//   * ``pubsub.project_id.`topic.id.with.dots` ``
	//   * `bigquery.table.project_id.dataset_id.table_id`
	//   * `bigquery.dataset.project_id.dataset_id`
	//   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
	//
	// `*_id`s 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"`
}

type RenameTagTemplateFieldRequest

type RenameTagTemplateFieldRequest struct {

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

Request message for [RenameTagTemplateField][google.cloud.datacatalog.v1.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

type Schema

type Schema struct {

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

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

func (*Schema) Descriptor

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetColumns

func (x *Schema) GetColumns() []*ColumnSchema

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect

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

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) String

func (x *Schema) String() string

type SearchCatalogRequest

type SearchCatalogRequest struct {

	// Required. The scope of this search request. A `scope` that has empty
	// `include_org_ids`, `include_project_ids` AND false
	// `include_gcp_public_datasets` is considered invalid. Data Catalog will
	// return an error in such a case.
	Scope *SearchCatalogRequest_Scope `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
	// 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.v1.SearchCatalogResponse.next_page_token],
	// which indicates that this is a continuation of a prior
	// [SearchCatalogRequest][google.cloud.datacatalog.v1.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.v1.DataCatalog.SearchCatalog].

func (*SearchCatalogRequest) Descriptor

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

Deprecated: Use SearchCatalogRequest.ProtoReflect.Descriptor instead.

func (*SearchCatalogRequest) GetOrderBy

func (x *SearchCatalogRequest) GetOrderBy() string

func (*SearchCatalogRequest) GetPageSize

func (x *SearchCatalogRequest) GetPageSize() int32

func (*SearchCatalogRequest) GetPageToken

func (x *SearchCatalogRequest) GetPageToken() string

func (*SearchCatalogRequest) GetQuery

func (x *SearchCatalogRequest) GetQuery() string

func (*SearchCatalogRequest) GetScope

func (*SearchCatalogRequest) ProtoMessage

func (*SearchCatalogRequest) ProtoMessage()

func (*SearchCatalogRequest) ProtoReflect

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

func (*SearchCatalogRequest) Reset

func (x *SearchCatalogRequest) Reset()

func (*SearchCatalogRequest) String

func (x *SearchCatalogRequest) String() string

type SearchCatalogRequest_Scope

type SearchCatalogRequest_Scope struct {

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

The criteria that select the subspace used for query matching.

func (*SearchCatalogRequest_Scope) Descriptor

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

Deprecated: Use SearchCatalogRequest_Scope.ProtoReflect.Descriptor instead.

func (*SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets

func (x *SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets() bool

func (*SearchCatalogRequest_Scope) GetIncludeOrgIds

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

func (*SearchCatalogRequest_Scope) GetIncludeProjectIds

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

func (*SearchCatalogRequest_Scope) GetRestrictedLocations

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

func (*SearchCatalogRequest_Scope) ProtoMessage

func (*SearchCatalogRequest_Scope) ProtoMessage()

func (*SearchCatalogRequest_Scope) ProtoReflect

func (*SearchCatalogRequest_Scope) Reset

func (x *SearchCatalogRequest_Scope) Reset()

func (*SearchCatalogRequest_Scope) String

func (x *SearchCatalogRequest_Scope) String() string

type SearchCatalogResponse

type SearchCatalogResponse struct {

	// Search results.
	Results []*SearchCatalogResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// The token that can be used to retrieve the next page of results.
	NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Unreachable locations. Search result does not include data from those
	// locations. Users can get additional information on the error by repeating
	// the search request with a more restrictive parameter -- setting the value
	// for `SearchDataCatalogRequest.scope.include_locations`.
	Unreachable []string `protobuf:"bytes,6,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

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

func (*SearchCatalogResponse) Descriptor

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

Deprecated: Use SearchCatalogResponse.ProtoReflect.Descriptor instead.

func (*SearchCatalogResponse) GetNextPageToken

func (x *SearchCatalogResponse) GetNextPageToken() string

func (*SearchCatalogResponse) GetResults

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

func (*SearchCatalogResponse) GetUnreachable

func (x *SearchCatalogResponse) GetUnreachable() []string

func (*SearchCatalogResponse) ProtoMessage

func (*SearchCatalogResponse) ProtoMessage()

func (*SearchCatalogResponse) ProtoReflect

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

func (*SearchCatalogResponse) Reset

func (x *SearchCatalogResponse) Reset()

func (*SearchCatalogResponse) String

func (x *SearchCatalogResponse) String() string

type SearchCatalogResult

type SearchCatalogResult struct {

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

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

func (*SearchCatalogResult) Descriptor

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

Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead.

func (*SearchCatalogResult) GetIntegratedSystem

func (x *SearchCatalogResult) GetIntegratedSystem() IntegratedSystem

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

func (m *SearchCatalogResult) GetSystem() isSearchCatalogResult_System

func (*SearchCatalogResult) GetUserSpecifiedSystem

func (x *SearchCatalogResult) GetUserSpecifiedSystem() string

func (*SearchCatalogResult) ProtoMessage

func (*SearchCatalogResult) ProtoMessage()

func (*SearchCatalogResult) ProtoReflect

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

func (*SearchCatalogResult) Reset

func (x *SearchCatalogResult) Reset()

func (*SearchCatalogResult) String

func (x *SearchCatalogResult) String() string

type SearchCatalogResult_IntegratedSystem

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

type SearchCatalogResult_UserSpecifiedSystem

type SearchCatalogResult_UserSpecifiedSystem struct {
	// This field indicates the entry's source system that Data Catalog does not
	// integrate with.
	UserSpecifiedSystem string `protobuf:"bytes,9,opt,name=user_specified_system,json=userSpecifiedSystem,proto3,oneof"`
}

type SearchResultType

type SearchResultType int32

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

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

func (SearchResultType) Descriptor

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

type SystemTimestamps

type SystemTimestamps struct {

	// The creation time of the resource within the given system.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last-modified time of the resource within the given system.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The expiration time of the resource within the given system.
	// Currently only apllicable to BigQuery resources.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

Timestamps about this resource according to a particular system.

func (*SystemTimestamps) Descriptor

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

Deprecated: Use SystemTimestamps.ProtoReflect.Descriptor instead.

func (*SystemTimestamps) GetCreateTime

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

func (*SystemTimestamps) GetExpireTime

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

func (*SystemTimestamps) GetUpdateTime

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

func (*SystemTimestamps) ProtoMessage

func (*SystemTimestamps) ProtoMessage()

func (*SystemTimestamps) ProtoReflect

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

func (*SystemTimestamps) Reset

func (x *SystemTimestamps) Reset()

func (*SystemTimestamps) String

func (x *SystemTimestamps) String() string

type TableSourceType

type TableSourceType int32

Table source type.

const (
	// Default unknown type.
	TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED TableSourceType = 0
	// Table view.
	TableSourceType_BIGQUERY_VIEW TableSourceType = 2
	// BigQuery native table.
	TableSourceType_BIGQUERY_TABLE TableSourceType = 5
)

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

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

type Tag

type Tag struct {

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

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

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

func (*Tag) Descriptor

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetColumn

func (x *Tag) GetColumn() string

func (*Tag) GetFields

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

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetScope

func (m *Tag) GetScope() isTag_Scope

func (*Tag) GetTemplate

func (x *Tag) GetTemplate() string

func (*Tag) GetTemplateDisplayName

func (x *Tag) GetTemplateDisplayName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type TagField

type TagField struct {

	// Output only. The display name of this field.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The value of this field.
	//
	// Types that are assignable to Kind:
	//	*TagField_DoubleValue
	//	*TagField_StringValue
	//	*TagField_BoolValue
	//	*TagField_TimestampValue
	//	*TagField_EnumValue_
	Kind isTagField_Kind `protobuf_oneof:"kind"`
	// Output only. The order of this field with respect to other fields in this tag. It can be
	// set in [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. For
	// example, a higher value can indicate a more important field. The value can
	// be negative. Multiple fields can have the same order, and field orders
	// within a tag 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.v1.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

type TagField_BoolValue

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

type TagField_DoubleValue

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

type TagField_EnumValue

type TagField_EnumValue struct {

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

Holds an enum value.

func (*TagField_EnumValue) Descriptor

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

Deprecated: Use TagField_EnumValue.ProtoReflect.Descriptor instead.

func (*TagField_EnumValue) GetDisplayName

func (x *TagField_EnumValue) GetDisplayName() string

func (*TagField_EnumValue) ProtoMessage

func (*TagField_EnumValue) ProtoMessage()

func (*TagField_EnumValue) ProtoReflect

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

func (*TagField_EnumValue) Reset

func (x *TagField_EnumValue) Reset()

func (*TagField_EnumValue) String

func (x *TagField_EnumValue) String() string

type TagField_EnumValue_

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

type TagField_StringValue

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

type TagField_TimestampValue

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

type TagTemplate

type TagTemplate struct {

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

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

func (*TagTemplate) Descriptor

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

type 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. 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,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

type Tag_Column

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

type UnimplementedDataCatalogServer

type UnimplementedDataCatalogServer struct {
}

UnimplementedDataCatalogServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataCatalogServer) CreateEntry

func (*UnimplementedDataCatalogServer) CreateEntryGroup

func (*UnimplementedDataCatalogServer) CreateTag

func (*UnimplementedDataCatalogServer) CreateTagTemplate

func (*UnimplementedDataCatalogServer) CreateTagTemplateField

func (*UnimplementedDataCatalogServer) DeleteEntry

func (*UnimplementedDataCatalogServer) DeleteEntryGroup

func (*UnimplementedDataCatalogServer) DeleteTag

func (*UnimplementedDataCatalogServer) DeleteTagTemplate

func (*UnimplementedDataCatalogServer) DeleteTagTemplateField

func (*UnimplementedDataCatalogServer) GetEntry

func (*UnimplementedDataCatalogServer) GetEntryGroup

func (*UnimplementedDataCatalogServer) GetIamPolicy

func (*UnimplementedDataCatalogServer) GetTagTemplate

func (*UnimplementedDataCatalogServer) ListEntries

func (*UnimplementedDataCatalogServer) ListEntryGroups

func (*UnimplementedDataCatalogServer) ListTags

func (*UnimplementedDataCatalogServer) LookupEntry

func (*UnimplementedDataCatalogServer) RenameTagTemplateField

func (*UnimplementedDataCatalogServer) SearchCatalog

func (*UnimplementedDataCatalogServer) SetIamPolicy

func (*UnimplementedDataCatalogServer) TestIamPermissions

func (*UnimplementedDataCatalogServer) UpdateEntry

func (*UnimplementedDataCatalogServer) UpdateEntryGroup

func (*UnimplementedDataCatalogServer) UpdateTag

func (*UnimplementedDataCatalogServer) UpdateTagTemplate

func (*UnimplementedDataCatalogServer) UpdateTagTemplateField

type UpdateEntryGroupRequest

type UpdateEntryGroupRequest struct {

	// Required. The updated entry group. "name" field must be set.
	EntryGroup *EntryGroup `protobuf:"bytes,1,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"`
	// 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.v1.DataCatalog.UpdateEntryGroup].

func (*UpdateEntryGroupRequest) Descriptor

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

Deprecated: Use UpdateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryGroupRequest) GetEntryGroup

func (x *UpdateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*UpdateEntryGroupRequest) GetUpdateMask

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

func (*UpdateEntryGroupRequest) ProtoMessage

func (*UpdateEntryGroupRequest) ProtoMessage()

func (*UpdateEntryGroupRequest) ProtoReflect

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

func (*UpdateEntryGroupRequest) Reset

func (x *UpdateEntryGroupRequest) Reset()

func (*UpdateEntryGroupRequest) String

func (x *UpdateEntryGroupRequest) String() string

type UpdateEntryRequest

type UpdateEntryRequest struct {

	// Required. The updated entry. The "name" field must be set.
	Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// 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.v1.DataCatalog.UpdateEntry].

func (*UpdateEntryRequest) Descriptor

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

Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryRequest) GetEntry

func (x *UpdateEntryRequest) GetEntry() *Entry

func (*UpdateEntryRequest) GetUpdateMask

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

func (*UpdateEntryRequest) ProtoMessage

func (*UpdateEntryRequest) ProtoMessage()

func (*UpdateEntryRequest) ProtoReflect

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

func (*UpdateEntryRequest) Reset

func (x *UpdateEntryRequest) Reset()

func (*UpdateEntryRequest) String

func (x *UpdateEntryRequest) String() string

type UpdateTagRequest

type UpdateTagRequest struct {

	// Required. The updated tag. The "name" field must be set.
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// 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.v1.DataCatalog.UpdateTag].

func (*UpdateTagRequest) Descriptor

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

Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagRequest) GetTag

func (x *UpdateTagRequest) GetTag() *Tag

func (*UpdateTagRequest) GetUpdateMask

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

func (*UpdateTagRequest) ProtoMessage

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) ProtoReflect

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

func (*UpdateTagRequest) Reset

func (x *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String

func (x *UpdateTagRequest) String() string

type UpdateTagTemplateFieldRequest

type UpdateTagTemplateFieldRequest struct {

	// Required. The name of the tag template field. Example:
	//
	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The template to update.
	TagTemplateField *TagTemplateField `protobuf:"bytes,2,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"`
	// Optional. 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.v1.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

type UpdateTagTemplateRequest

type UpdateTagTemplateRequest struct {

	// Required. The template to update. The "name" field must be set.
	TagTemplate *TagTemplate `protobuf:"bytes,1,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"`
	// 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.v1.DataCatalog.UpdateTagTemplate].

func (*UpdateTagTemplateRequest) Descriptor

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

Deprecated: Use UpdateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagTemplateRequest) GetTagTemplate

func (x *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*UpdateTagTemplateRequest) GetUpdateMask

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

func (*UpdateTagTemplateRequest) ProtoMessage

func (*UpdateTagTemplateRequest) ProtoMessage()

func (*UpdateTagTemplateRequest) ProtoReflect

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

func (*UpdateTagTemplateRequest) Reset

func (x *UpdateTagTemplateRequest) Reset()

func (*UpdateTagTemplateRequest) String

func (x *UpdateTagTemplateRequest) String() string

type ViewSpec

type ViewSpec struct {

	// Output only. The query that defines the table view.
	ViewQuery string `protobuf:"bytes,1,opt,name=view_query,json=viewQuery,proto3" json:"view_query,omitempty"`
	// contains filtered or unexported fields
}

Table view specification.

func (*ViewSpec) Descriptor

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