genproto: google.golang.org/genproto/googleapis/cloud/datacatalog/v1 Index | Files

package datacatalog

import "google.golang.org/genproto/googleapis/cloud/datacatalog/v1"

Index

Package Files

common.pb.go datacatalog.pb.go gcs_fileset_spec.pb.go schema.pb.go search.pb.go table_spec.pb.go tags.pb.go timestamps.pb.go

Variables

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.

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.

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.

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.

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.

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

func RegisterDataCatalogServer Uses

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

type BigQueryDateShardedSpec Uses

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 Uses

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

Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead.

func (*BigQueryDateShardedSpec) GetDataset Uses

func (x *BigQueryDateShardedSpec) GetDataset() string

func (*BigQueryDateShardedSpec) GetShardCount Uses

func (x *BigQueryDateShardedSpec) GetShardCount() int64

func (*BigQueryDateShardedSpec) GetTablePrefix Uses

func (x *BigQueryDateShardedSpec) GetTablePrefix() string

func (*BigQueryDateShardedSpec) ProtoMessage Uses

func (*BigQueryDateShardedSpec) ProtoMessage()

func (*BigQueryDateShardedSpec) ProtoReflect Uses

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

func (*BigQueryDateShardedSpec) Reset Uses

func (x *BigQueryDateShardedSpec) Reset()

func (*BigQueryDateShardedSpec) String Uses

func (x *BigQueryDateShardedSpec) String() string

type BigQueryTableSpec Uses

type BigQueryTableSpec struct {

    // Output only. The table source type.
    TableSourceType TableSourceType `protobuf:"varint,1,opt,name=table_source_type,json=tableSourceType,proto3,enum=google.cloud.datacatalog.v1.TableSourceType" json:"table_source_type,omitempty"`
    // 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 Uses

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

Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.

func (*BigQueryTableSpec) GetTableSourceType Uses

func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType

func (*BigQueryTableSpec) GetTableSpec Uses

func (x *BigQueryTableSpec) GetTableSpec() *TableSpec

func (*BigQueryTableSpec) GetTypeSpec Uses

func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec

func (*BigQueryTableSpec) GetViewSpec Uses

func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec

func (*BigQueryTableSpec) ProtoMessage Uses

func (*BigQueryTableSpec) ProtoMessage()

func (*BigQueryTableSpec) ProtoReflect Uses

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

func (*BigQueryTableSpec) Reset Uses

func (x *BigQueryTableSpec) Reset()

func (*BigQueryTableSpec) String Uses

func (x *BigQueryTableSpec) String() string

type BigQueryTableSpec_TableSpec Uses

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 Uses

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 Uses

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 Uses

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

Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.

func (*ColumnSchema) GetColumn Uses

func (x *ColumnSchema) GetColumn() string

func (*ColumnSchema) GetDescription Uses

func (x *ColumnSchema) GetDescription() string

func (*ColumnSchema) GetMode Uses

func (x *ColumnSchema) GetMode() string

func (*ColumnSchema) GetSubcolumns Uses

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

func (*ColumnSchema) GetType Uses

func (x *ColumnSchema) GetType() string

func (*ColumnSchema) ProtoMessage Uses

func (*ColumnSchema) ProtoMessage()

func (*ColumnSchema) ProtoReflect Uses

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

func (*ColumnSchema) Reset Uses

func (x *ColumnSchema) Reset()

func (*ColumnSchema) String Uses

func (x *ColumnSchema) String() string

type CreateEntryGroupRequest Uses

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 Uses

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

Deprecated: Use CreateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryGroupRequest) GetEntryGroup Uses

func (x *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*CreateEntryGroupRequest) GetEntryGroupId Uses

func (x *CreateEntryGroupRequest) GetEntryGroupId() string

func (*CreateEntryGroupRequest) GetParent Uses

func (x *CreateEntryGroupRequest) GetParent() string

func (*CreateEntryGroupRequest) ProtoMessage Uses

func (*CreateEntryGroupRequest) ProtoMessage()

func (*CreateEntryGroupRequest) ProtoReflect Uses

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

func (*CreateEntryGroupRequest) Reset Uses

func (x *CreateEntryGroupRequest) Reset()

func (*CreateEntryGroupRequest) String Uses

func (x *CreateEntryGroupRequest) String() string

type CreateEntryRequest Uses

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 Uses

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

Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead.

func (*CreateEntryRequest) GetEntry Uses

func (x *CreateEntryRequest) GetEntry() *Entry

func (*CreateEntryRequest) GetEntryId Uses

func (x *CreateEntryRequest) GetEntryId() string

func (*CreateEntryRequest) GetParent Uses

func (x *CreateEntryRequest) GetParent() string

func (*CreateEntryRequest) ProtoMessage Uses

func (*CreateEntryRequest) ProtoMessage()

func (*CreateEntryRequest) ProtoReflect Uses

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

func (*CreateEntryRequest) Reset Uses

func (x *CreateEntryRequest) Reset()

func (*CreateEntryRequest) String Uses

func (x *CreateEntryRequest) String() string

type CreateTagRequest Uses

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 Uses

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent Uses

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag Uses

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage Uses

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect Uses

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

func (*CreateTagRequest) Reset Uses

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String Uses

func (x *CreateTagRequest) String() string

type CreateTagTemplateFieldRequest Uses

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 Uses

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

Deprecated: Use CreateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateFieldRequest) GetParent Uses

func (x *CreateTagTemplateFieldRequest) GetParent() string

func (*CreateTagTemplateFieldRequest) GetTagTemplateField Uses

func (x *CreateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*CreateTagTemplateFieldRequest) GetTagTemplateFieldId Uses

func (x *CreateTagTemplateFieldRequest) GetTagTemplateFieldId() string

func (*CreateTagTemplateFieldRequest) ProtoMessage Uses

func (*CreateTagTemplateFieldRequest) ProtoMessage()

func (*CreateTagTemplateFieldRequest) ProtoReflect Uses

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

func (*CreateTagTemplateFieldRequest) Reset Uses

func (x *CreateTagTemplateFieldRequest) Reset()

func (*CreateTagTemplateFieldRequest) String Uses

func (x *CreateTagTemplateFieldRequest) String() string

type CreateTagTemplateRequest Uses

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 Uses

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

Deprecated: Use CreateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTagTemplateRequest) GetParent Uses

func (x *CreateTagTemplateRequest) GetParent() string

func (*CreateTagTemplateRequest) GetTagTemplate Uses

func (x *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*CreateTagTemplateRequest) GetTagTemplateId Uses

func (x *CreateTagTemplateRequest) GetTagTemplateId() string

func (*CreateTagTemplateRequest) ProtoMessage Uses

func (*CreateTagTemplateRequest) ProtoMessage()

func (*CreateTagTemplateRequest) ProtoReflect Uses

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

func (*CreateTagTemplateRequest) Reset Uses

func (x *CreateTagTemplateRequest) Reset()

func (*CreateTagTemplateRequest) String Uses

func (x *CreateTagTemplateRequest) String() string

type DataCatalogClient Uses

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) (*empty.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) (*empty.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) (*empty.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) (*empty.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) (*empty.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.

func NewDataCatalogClient Uses

func NewDataCatalogClient(cc grpc.ClientConnInterface) DataCatalogClient

type DataCatalogServer Uses

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) (*empty.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) (*empty.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) (*empty.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) (*empty.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) (*empty.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 Uses

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 Uses

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

Deprecated: Use DeleteEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryGroupRequest) GetForce Uses

func (x *DeleteEntryGroupRequest) GetForce() bool

func (*DeleteEntryGroupRequest) GetName Uses

func (x *DeleteEntryGroupRequest) GetName() string

func (*DeleteEntryGroupRequest) ProtoMessage Uses

func (*DeleteEntryGroupRequest) ProtoMessage()

func (*DeleteEntryGroupRequest) ProtoReflect Uses

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

func (*DeleteEntryGroupRequest) Reset Uses

func (x *DeleteEntryGroupRequest) Reset()

func (*DeleteEntryGroupRequest) String Uses

func (x *DeleteEntryGroupRequest) String() string

type DeleteEntryRequest Uses

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 Uses

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

Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntryRequest) GetName Uses

func (x *DeleteEntryRequest) GetName() string

func (*DeleteEntryRequest) ProtoMessage Uses

func (*DeleteEntryRequest) ProtoMessage()

func (*DeleteEntryRequest) ProtoReflect Uses

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

func (*DeleteEntryRequest) Reset Uses

func (x *DeleteEntryRequest) Reset()

func (*DeleteEntryRequest) String Uses

func (x *DeleteEntryRequest) String() string

type DeleteTagRequest Uses

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 Uses

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName Uses

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage Uses

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect Uses

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

func (*DeleteTagRequest) Reset Uses

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String Uses

func (x *DeleteTagRequest) String() string

type DeleteTagTemplateFieldRequest Uses

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 Uses

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

Deprecated: Use DeleteTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateFieldRequest) GetForce Uses

func (x *DeleteTagTemplateFieldRequest) GetForce() bool

func (*DeleteTagTemplateFieldRequest) GetName Uses

func (x *DeleteTagTemplateFieldRequest) GetName() string

func (*DeleteTagTemplateFieldRequest) ProtoMessage Uses

func (*DeleteTagTemplateFieldRequest) ProtoMessage()

func (*DeleteTagTemplateFieldRequest) ProtoReflect Uses

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

func (*DeleteTagTemplateFieldRequest) Reset Uses

func (x *DeleteTagTemplateFieldRequest) Reset()

func (*DeleteTagTemplateFieldRequest) String Uses

func (x *DeleteTagTemplateFieldRequest) String() string

type DeleteTagTemplateRequest Uses

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 Uses

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

Deprecated: Use DeleteTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagTemplateRequest) GetForce Uses

func (x *DeleteTagTemplateRequest) GetForce() bool

func (*DeleteTagTemplateRequest) GetName Uses

func (x *DeleteTagTemplateRequest) GetName() string

func (*DeleteTagTemplateRequest) ProtoMessage Uses

func (*DeleteTagTemplateRequest) ProtoMessage()

func (*DeleteTagTemplateRequest) ProtoReflect Uses

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

func (*DeleteTagTemplateRequest) Reset Uses

func (x *DeleteTagTemplateRequest) Reset()

func (*DeleteTagTemplateRequest) String Uses

func (x *DeleteTagTemplateRequest) String() string

type Entry Uses

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 `protobuf:"bytes,7,opt,name=source_system_timestamps,json=sourceSystemTimestamps,proto3" json:"source_system_timestamps,omitempty"`
    // contains filtered or unexported fields
}

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

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

func (*Entry) Descriptor Uses

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetBigqueryDateShardedSpec Uses

func (x *Entry) GetBigqueryDateShardedSpec() *BigQueryDateShardedSpec

func (*Entry) GetBigqueryTableSpec Uses

func (x *Entry) GetBigqueryTableSpec() *BigQueryTableSpec

func (*Entry) GetDescription Uses

func (x *Entry) GetDescription() string

func (*Entry) GetDisplayName Uses

func (x *Entry) GetDisplayName() string

func (*Entry) GetEntryType Uses

func (m *Entry) GetEntryType() isEntry_EntryType

func (*Entry) GetGcsFilesetSpec Uses

func (x *Entry) GetGcsFilesetSpec() *GcsFilesetSpec

func (*Entry) GetIntegratedSystem Uses

func (x *Entry) GetIntegratedSystem() IntegratedSystem

func (*Entry) GetLinkedResource Uses

func (x *Entry) GetLinkedResource() string

func (*Entry) GetName Uses

func (x *Entry) GetName() string

func (*Entry) GetSchema Uses

func (x *Entry) GetSchema() *Schema

func (*Entry) GetSourceSystemTimestamps Uses

func (x *Entry) GetSourceSystemTimestamps() *SystemTimestamps

func (*Entry) GetSystem Uses

func (m *Entry) GetSystem() isEntry_System

func (*Entry) GetType Uses

func (x *Entry) GetType() EntryType

func (*Entry) GetTypeSpec Uses

func (m *Entry) GetTypeSpec() isEntry_TypeSpec

func (*Entry) GetUserSpecifiedSystem Uses

func (x *Entry) GetUserSpecifiedSystem() string

func (*Entry) GetUserSpecifiedType Uses

func (x *Entry) GetUserSpecifiedType() string

func (*Entry) ProtoMessage Uses

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect Uses

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

func (*Entry) Reset Uses

func (x *Entry) Reset()

func (*Entry) String Uses

func (x *Entry) String() string

type EntryGroup Uses

type EntryGroup struct {

    // The resource name of the entry group in URL format. Example:
    //
    // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
    //
    // Note that this EntryGroup and its child resources may not actually be
    // stored in the location in this name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A short name to identify the entry group, for example,
    // "analytics data - jan 2011". Default value is an empty string.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Entry group description, which can consist of several sentences or
    // paragraphs that describe entry group contents. Default value is an empty
    // string.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // Output only. Timestamps about this EntryGroup. Default value is empty
    // timestamps.
    DataCatalogTimestamps *SystemTimestamps `protobuf:"bytes,4,opt,name=data_catalog_timestamps,json=dataCatalogTimestamps,proto3" json:"data_catalog_timestamps,omitempty"`
    // contains filtered or unexported fields
}

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

func (*EntryGroup) Descriptor Uses

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

Deprecated: Use EntryGroup.ProtoReflect.Descriptor instead.

func (*EntryGroup) GetDataCatalogTimestamps Uses

func (x *EntryGroup) GetDataCatalogTimestamps() *SystemTimestamps

func (*EntryGroup) GetDescription Uses

func (x *EntryGroup) GetDescription() string

func (*EntryGroup) GetDisplayName Uses

func (x *EntryGroup) GetDisplayName() string

func (*EntryGroup) GetName Uses

func (x *EntryGroup) GetName() string

func (*EntryGroup) ProtoMessage Uses

func (*EntryGroup) ProtoMessage()

func (*EntryGroup) ProtoReflect Uses

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

func (*EntryGroup) Reset Uses

func (x *EntryGroup) Reset()

func (*EntryGroup) String Uses

func (x *EntryGroup) String() string

type EntryType Uses

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 Uses

func (EntryType) Descriptor() protoreflect.EnumDescriptor

func (EntryType) Enum Uses

func (x EntryType) Enum() *EntryType

func (EntryType) EnumDescriptor Uses

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

Deprecated: Use EntryType.Descriptor instead.

func (EntryType) Number Uses

func (x EntryType) Number() protoreflect.EnumNumber

func (EntryType) String Uses

func (x EntryType) String() string

func (EntryType) Type Uses

func (EntryType) Type() protoreflect.EnumType

type Entry_BigqueryDateShardedSpec Uses

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 Uses

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 Uses

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 Uses

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 `protobuf:"varint,17,opt,name=integrated_system,json=integratedSystem,proto3,enum=google.cloud.datacatalog.v1.IntegratedSystem,oneof"`
}

type Entry_Type Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

Deprecated: Use FieldType.ProtoReflect.Descriptor instead.

func (*FieldType) GetEnumType Uses

func (x *FieldType) GetEnumType() *FieldType_EnumType

func (*FieldType) GetPrimitiveType Uses

func (x *FieldType) GetPrimitiveType() FieldType_PrimitiveType

func (*FieldType) GetTypeDecl Uses

func (m *FieldType) GetTypeDecl() isFieldType_TypeDecl

func (*FieldType) ProtoMessage Uses

func (*FieldType) ProtoMessage()

func (*FieldType) ProtoReflect Uses

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

func (*FieldType) Reset Uses

func (x *FieldType) Reset()

func (*FieldType) String Uses

func (x *FieldType) String() string

type FieldType_EnumType Uses

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 Uses

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

Deprecated: Use FieldType_EnumType.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType) GetAllowedValues Uses

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

func (*FieldType_EnumType) ProtoMessage Uses

func (*FieldType_EnumType) ProtoMessage()

func (*FieldType_EnumType) ProtoReflect Uses

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

func (*FieldType_EnumType) Reset Uses

func (x *FieldType_EnumType) Reset()

func (*FieldType_EnumType) String Uses

func (x *FieldType_EnumType) String() string

type FieldType_EnumType_ Uses

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 Uses

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 Uses

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

Deprecated: Use FieldType_EnumType_EnumValue.ProtoReflect.Descriptor instead.

func (*FieldType_EnumType_EnumValue) GetDisplayName Uses

func (x *FieldType_EnumType_EnumValue) GetDisplayName() string

func (*FieldType_EnumType_EnumValue) ProtoMessage Uses

func (*FieldType_EnumType_EnumValue) ProtoMessage()

func (*FieldType_EnumType_EnumValue) ProtoReflect Uses

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

func (*FieldType_EnumType_EnumValue) Reset Uses

func (x *FieldType_EnumType_EnumValue) Reset()

func (*FieldType_EnumType_EnumValue) String Uses

func (x *FieldType_EnumType_EnumValue) String() string

type FieldType_PrimitiveType Uses

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 Uses

func (FieldType_PrimitiveType) Descriptor() protoreflect.EnumDescriptor

func (FieldType_PrimitiveType) Enum Uses

func (x FieldType_PrimitiveType) Enum() *FieldType_PrimitiveType

func (FieldType_PrimitiveType) EnumDescriptor Uses

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

Deprecated: Use FieldType_PrimitiveType.Descriptor instead.

func (FieldType_PrimitiveType) Number Uses

func (x FieldType_PrimitiveType) Number() protoreflect.EnumNumber

func (FieldType_PrimitiveType) String Uses

func (x FieldType_PrimitiveType) String() string

func (FieldType_PrimitiveType) Type Uses

func (FieldType_PrimitiveType) Type() protoreflect.EnumType

type FieldType_PrimitiveType_ Uses

type FieldType_PrimitiveType_ struct {
    // Represents primitive types - string, bool etc.
    PrimitiveType FieldType_PrimitiveType `protobuf:"varint,1,opt,name=primitive_type,json=primitiveType,proto3,enum=google.cloud.datacatalog.v1.FieldType_PrimitiveType,oneof"`
}

type GcsFileSpec Uses

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 Uses

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

Deprecated: Use GcsFileSpec.ProtoReflect.Descriptor instead.

func (*GcsFileSpec) GetFilePath Uses

func (x *GcsFileSpec) GetFilePath() string

func (*GcsFileSpec) GetGcsTimestamps Uses

func (x *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps

func (*GcsFileSpec) GetSizeBytes Uses

func (x *GcsFileSpec) GetSizeBytes() int64

func (*GcsFileSpec) ProtoMessage Uses

func (*GcsFileSpec) ProtoMessage()

func (*GcsFileSpec) ProtoReflect Uses

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

func (*GcsFileSpec) Reset Uses

func (x *GcsFileSpec) Reset()

func (*GcsFileSpec) String Uses

func (x *GcsFileSpec) String() string

type GcsFilesetSpec Uses

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 Uses

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

Deprecated: Use GcsFilesetSpec.ProtoReflect.Descriptor instead.

func (*GcsFilesetSpec) GetFilePatterns Uses

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

func (*GcsFilesetSpec) GetSampleGcsFileSpecs Uses

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

func (*GcsFilesetSpec) ProtoMessage Uses

func (*GcsFilesetSpec) ProtoMessage()

func (*GcsFilesetSpec) ProtoReflect Uses

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

func (*GcsFilesetSpec) Reset Uses

func (x *GcsFilesetSpec) Reset()

func (*GcsFilesetSpec) String Uses

func (x *GcsFilesetSpec) String() string

type GetEntryGroupRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use GetEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*GetEntryGroupRequest) GetName Uses

func (x *GetEntryGroupRequest) GetName() string

func (*GetEntryGroupRequest) GetReadMask Uses

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

func (*GetEntryGroupRequest) ProtoMessage Uses

func (*GetEntryGroupRequest) ProtoMessage()

func (*GetEntryGroupRequest) ProtoReflect Uses

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

func (*GetEntryGroupRequest) Reset Uses

func (x *GetEntryGroupRequest) Reset()

func (*GetEntryGroupRequest) String Uses

func (x *GetEntryGroupRequest) String() string

type GetEntryRequest Uses

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 Uses

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

Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.

func (*GetEntryRequest) GetName Uses

func (x *GetEntryRequest) GetName() string

func (*GetEntryRequest) ProtoMessage Uses

func (*GetEntryRequest) ProtoMessage()

func (*GetEntryRequest) ProtoReflect Uses

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

func (*GetEntryRequest) Reset Uses

func (x *GetEntryRequest) Reset()

func (*GetEntryRequest) String Uses

func (x *GetEntryRequest) String() string

type GetTagTemplateRequest Uses

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 Uses

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

Deprecated: Use GetTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetTagTemplateRequest) GetName Uses

func (x *GetTagTemplateRequest) GetName() string

func (*GetTagTemplateRequest) ProtoMessage Uses

func (*GetTagTemplateRequest) ProtoMessage()

func (*GetTagTemplateRequest) ProtoReflect Uses

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

func (*GetTagTemplateRequest) Reset Uses

func (x *GetTagTemplateRequest) Reset()

func (*GetTagTemplateRequest) String Uses

func (x *GetTagTemplateRequest) String() string

type IntegratedSystem Uses

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 Uses

func (IntegratedSystem) Descriptor() protoreflect.EnumDescriptor

func (IntegratedSystem) Enum Uses

func (x IntegratedSystem) Enum() *IntegratedSystem

func (IntegratedSystem) EnumDescriptor Uses

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

Deprecated: Use IntegratedSystem.Descriptor instead.

func (IntegratedSystem) Number Uses

func (x IntegratedSystem) Number() protoreflect.EnumNumber

func (IntegratedSystem) String Uses

func (x IntegratedSystem) String() string

func (IntegratedSystem) Type Uses

func (IntegratedSystem) Type() protoreflect.EnumType

type ListEntriesRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.

func (*ListEntriesRequest) GetPageSize Uses

func (x *ListEntriesRequest) GetPageSize() int32

func (*ListEntriesRequest) GetPageToken Uses

func (x *ListEntriesRequest) GetPageToken() string

func (*ListEntriesRequest) GetParent Uses

func (x *ListEntriesRequest) GetParent() string

func (*ListEntriesRequest) GetReadMask Uses

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

func (*ListEntriesRequest) ProtoMessage Uses

func (*ListEntriesRequest) ProtoMessage()

func (*ListEntriesRequest) ProtoReflect Uses

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

func (*ListEntriesRequest) Reset Uses

func (x *ListEntriesRequest) Reset()

func (*ListEntriesRequest) String Uses

func (x *ListEntriesRequest) String() string

type ListEntriesResponse Uses

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 Uses

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

Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.

func (*ListEntriesResponse) GetEntries Uses

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

func (*ListEntriesResponse) GetNextPageToken Uses

func (x *ListEntriesResponse) GetNextPageToken() string

func (*ListEntriesResponse) ProtoMessage Uses

func (*ListEntriesResponse) ProtoMessage()

func (*ListEntriesResponse) ProtoReflect Uses

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

func (*ListEntriesResponse) Reset Uses

func (x *ListEntriesResponse) Reset()

func (*ListEntriesResponse) String Uses

func (x *ListEntriesResponse) String() string

type ListEntryGroupsRequest Uses

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 Uses

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

Deprecated: Use ListEntryGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsRequest) GetPageSize Uses

func (x *ListEntryGroupsRequest) GetPageSize() int32

func (*ListEntryGroupsRequest) GetPageToken Uses

func (x *ListEntryGroupsRequest) GetPageToken() string

func (*ListEntryGroupsRequest) GetParent Uses

func (x *ListEntryGroupsRequest) GetParent() string

func (*ListEntryGroupsRequest) ProtoMessage Uses

func (*ListEntryGroupsRequest) ProtoMessage()

func (*ListEntryGroupsRequest) ProtoReflect Uses

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

func (*ListEntryGroupsRequest) Reset Uses

func (x *ListEntryGroupsRequest) Reset()

func (*ListEntryGroupsRequest) String Uses

func (x *ListEntryGroupsRequest) String() string

type ListEntryGroupsResponse Uses

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 Uses

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

Deprecated: Use ListEntryGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListEntryGroupsResponse) GetEntryGroups Uses

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

func (*ListEntryGroupsResponse) GetNextPageToken Uses

func (x *ListEntryGroupsResponse) GetNextPageToken() string

func (*ListEntryGroupsResponse) ProtoMessage Uses

func (*ListEntryGroupsResponse) ProtoMessage()

func (*ListEntryGroupsResponse) ProtoReflect Uses

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

func (*ListEntryGroupsResponse) Reset Uses

func (x *ListEntryGroupsResponse) Reset()

func (*ListEntryGroupsResponse) String Uses

func (x *ListEntryGroupsResponse) String() string

type ListTagsRequest Uses

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 Uses

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize Uses

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken Uses

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent Uses

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage Uses

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect Uses

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

func (*ListTagsRequest) Reset Uses

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String Uses

func (x *ListTagsRequest) String() string

type ListTagsResponse Uses

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 Uses

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken Uses

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags Uses

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

func (*ListTagsResponse) ProtoMessage Uses

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect Uses

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

func (*ListTagsResponse) Reset Uses

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String Uses

func (x *ListTagsResponse) String() string

type LookupEntryRequest Uses

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 Uses

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

Deprecated: Use LookupEntryRequest.ProtoReflect.Descriptor instead.

func (*LookupEntryRequest) GetLinkedResource Uses

func (x *LookupEntryRequest) GetLinkedResource() string

func (*LookupEntryRequest) GetSqlResource Uses

func (x *LookupEntryRequest) GetSqlResource() string

func (*LookupEntryRequest) GetTargetName Uses

func (m *LookupEntryRequest) GetTargetName() isLookupEntryRequest_TargetName

func (*LookupEntryRequest) ProtoMessage Uses

func (*LookupEntryRequest) ProtoMessage()

func (*LookupEntryRequest) ProtoReflect Uses

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

func (*LookupEntryRequest) Reset Uses

func (x *LookupEntryRequest) Reset()

func (*LookupEntryRequest) String Uses

func (x *LookupEntryRequest) String() string

type LookupEntryRequest_LinkedResource Uses

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 Uses

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 Uses

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 `protobuf:"bytes,2,opt,name=new_tag_template_field_id,json=newTagTemplateFieldId,proto3" json:"new_tag_template_field_id,omitempty"`
    // contains filtered or unexported fields
}

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

func (*RenameTagTemplateFieldRequest) Descriptor Uses

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

Deprecated: Use RenameTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*RenameTagTemplateFieldRequest) GetName Uses

func (x *RenameTagTemplateFieldRequest) GetName() string

func (*RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId Uses

func (x *RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId() string

func (*RenameTagTemplateFieldRequest) ProtoMessage Uses

func (*RenameTagTemplateFieldRequest) ProtoMessage()

func (*RenameTagTemplateFieldRequest) ProtoReflect Uses

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

func (*RenameTagTemplateFieldRequest) Reset Uses

func (x *RenameTagTemplateFieldRequest) Reset()

func (*RenameTagTemplateFieldRequest) String Uses

func (x *RenameTagTemplateFieldRequest) String() string

type Schema Uses

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 Uses

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetColumns Uses

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

func (*Schema) ProtoMessage Uses

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect Uses

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

func (*Schema) Reset Uses

func (x *Schema) Reset()

func (*Schema) String Uses

func (x *Schema) String() string

type SearchCatalogRequest Uses

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 Uses

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

Deprecated: Use SearchCatalogRequest.ProtoReflect.Descriptor instead.

func (*SearchCatalogRequest) GetOrderBy Uses

func (x *SearchCatalogRequest) GetOrderBy() string

func (*SearchCatalogRequest) GetPageSize Uses

func (x *SearchCatalogRequest) GetPageSize() int32

func (*SearchCatalogRequest) GetPageToken Uses

func (x *SearchCatalogRequest) GetPageToken() string

func (*SearchCatalogRequest) GetQuery Uses

func (x *SearchCatalogRequest) GetQuery() string

func (*SearchCatalogRequest) GetScope Uses

func (x *SearchCatalogRequest) GetScope() *SearchCatalogRequest_Scope

func (*SearchCatalogRequest) ProtoMessage Uses

func (*SearchCatalogRequest) ProtoMessage()

func (*SearchCatalogRequest) ProtoReflect Uses

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

func (*SearchCatalogRequest) Reset Uses

func (x *SearchCatalogRequest) Reset()

func (*SearchCatalogRequest) String Uses

func (x *SearchCatalogRequest) String() string

type SearchCatalogRequest_Scope Uses

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 `protobuf:"varint,7,opt,name=include_gcp_public_datasets,json=includeGcpPublicDatasets,proto3" json:"include_gcp_public_datasets,omitempty"`
    // 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 Uses

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

Deprecated: Use SearchCatalogRequest_Scope.ProtoReflect.Descriptor instead.

func (*SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets Uses

func (x *SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets() bool

func (*SearchCatalogRequest_Scope) GetIncludeOrgIds Uses

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

func (*SearchCatalogRequest_Scope) GetIncludeProjectIds Uses

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

func (*SearchCatalogRequest_Scope) GetRestrictedLocations Uses

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

func (*SearchCatalogRequest_Scope) ProtoMessage Uses

func (*SearchCatalogRequest_Scope) ProtoMessage()

func (*SearchCatalogRequest_Scope) ProtoReflect Uses

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

func (*SearchCatalogRequest_Scope) Reset Uses

func (x *SearchCatalogRequest_Scope) Reset()

func (*SearchCatalogRequest_Scope) String Uses

func (x *SearchCatalogRequest_Scope) String() string

type SearchCatalogResponse Uses

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 Uses

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

Deprecated: Use SearchCatalogResponse.ProtoReflect.Descriptor instead.

func (*SearchCatalogResponse) GetNextPageToken Uses

func (x *SearchCatalogResponse) GetNextPageToken() string

func (*SearchCatalogResponse) GetResults Uses

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

func (*SearchCatalogResponse) GetUnreachable Uses

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

func (*SearchCatalogResponse) ProtoMessage Uses

func (*SearchCatalogResponse) ProtoMessage()

func (*SearchCatalogResponse) ProtoReflect Uses

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

func (*SearchCatalogResponse) Reset Uses

func (x *SearchCatalogResponse) Reset()

func (*SearchCatalogResponse) String Uses

func (x *SearchCatalogResponse) String() string

type SearchCatalogResult Uses

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 `protobuf:"varint,1,opt,name=search_result_type,json=searchResultType,proto3,enum=google.cloud.datacatalog.v1.SearchResultType" json:"search_result_type,omitempty"`
    // 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 Uses

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

Deprecated: Use SearchCatalogResult.ProtoReflect.Descriptor instead.

func (*SearchCatalogResult) GetIntegratedSystem Uses

func (x *SearchCatalogResult) GetIntegratedSystem() IntegratedSystem

func (*SearchCatalogResult) GetLinkedResource Uses

func (x *SearchCatalogResult) GetLinkedResource() string

func (*SearchCatalogResult) GetRelativeResourceName Uses

func (x *SearchCatalogResult) GetRelativeResourceName() string

func (*SearchCatalogResult) GetSearchResultSubtype Uses

func (x *SearchCatalogResult) GetSearchResultSubtype() string

func (*SearchCatalogResult) GetSearchResultType Uses

func (x *SearchCatalogResult) GetSearchResultType() SearchResultType

func (*SearchCatalogResult) GetSystem Uses

func (m *SearchCatalogResult) GetSystem() isSearchCatalogResult_System

func (*SearchCatalogResult) GetUserSpecifiedSystem Uses

func (x *SearchCatalogResult) GetUserSpecifiedSystem() string

func (*SearchCatalogResult) ProtoMessage Uses

func (*SearchCatalogResult) ProtoMessage()

func (*SearchCatalogResult) ProtoReflect Uses

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

func (*SearchCatalogResult) Reset Uses

func (x *SearchCatalogResult) Reset()

func (*SearchCatalogResult) String Uses

func (x *SearchCatalogResult) String() string

type SearchCatalogResult_IntegratedSystem Uses

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 `protobuf:"varint,8,opt,name=integrated_system,json=integratedSystem,proto3,enum=google.cloud.datacatalog.v1.IntegratedSystem,oneof"`
}

type SearchCatalogResult_UserSpecifiedSystem Uses

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 Uses

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 Uses

func (SearchResultType) Descriptor() protoreflect.EnumDescriptor

func (SearchResultType) Enum Uses

func (x SearchResultType) Enum() *SearchResultType

func (SearchResultType) EnumDescriptor Uses

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

Deprecated: Use SearchResultType.Descriptor instead.

func (SearchResultType) Number Uses

func (x SearchResultType) Number() protoreflect.EnumNumber

func (SearchResultType) String Uses

func (x SearchResultType) String() string

func (SearchResultType) Type Uses

func (SearchResultType) Type() protoreflect.EnumType

type SystemTimestamps Uses

type SystemTimestamps struct {

    // The creation time of the resource within the given system.
    CreateTime *timestamp.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 *timestamp.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 *timestamp.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 Uses

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

Deprecated: Use SystemTimestamps.ProtoReflect.Descriptor instead.

func (*SystemTimestamps) GetCreateTime Uses

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

func (*SystemTimestamps) GetExpireTime Uses

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

func (*SystemTimestamps) GetUpdateTime Uses

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

func (*SystemTimestamps) ProtoMessage Uses

func (*SystemTimestamps) ProtoMessage()

func (*SystemTimestamps) ProtoReflect Uses

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

func (*SystemTimestamps) Reset Uses

func (x *SystemTimestamps) Reset()

func (*SystemTimestamps) String Uses

func (x *SystemTimestamps) String() string

type TableSourceType Uses

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 Uses

func (TableSourceType) Descriptor() protoreflect.EnumDescriptor

func (TableSourceType) Enum Uses

func (x TableSourceType) Enum() *TableSourceType

func (TableSourceType) EnumDescriptor Uses

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

Deprecated: Use TableSourceType.Descriptor instead.

func (TableSourceType) Number Uses

func (x TableSourceType) Number() protoreflect.EnumNumber

func (TableSourceType) String Uses

func (x TableSourceType) String() string

func (TableSourceType) Type Uses

func (TableSourceType) Type() protoreflect.EnumType

type TableSpec Uses

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 Uses

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

Deprecated: Use TableSpec.ProtoReflect.Descriptor instead.

func (*TableSpec) GetGroupedEntry Uses

func (x *TableSpec) GetGroupedEntry() string

func (*TableSpec) ProtoMessage Uses

func (*TableSpec) ProtoMessage()

func (*TableSpec) ProtoReflect Uses

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

func (*TableSpec) Reset Uses

func (x *TableSpec) Reset()

func (*TableSpec) String Uses

func (x *TableSpec) String() string

type Tag Uses

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 `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetColumn Uses

func (x *Tag) GetColumn() string

func (*Tag) GetFields Uses

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

func (*Tag) GetName Uses

func (x *Tag) GetName() string

func (*Tag) GetScope Uses

func (m *Tag) GetScope() isTag_Scope

func (*Tag) GetTemplate Uses

func (x *Tag) GetTemplate() string

func (*Tag) GetTemplateDisplayName Uses

func (x *Tag) GetTemplateDisplayName() string

func (*Tag) ProtoMessage Uses

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect Uses

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

func (*Tag) Reset Uses

func (x *Tag) Reset()

func (*Tag) String Uses

func (x *Tag) String() string

type TagField Uses

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 Uses

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

Deprecated: Use TagField.ProtoReflect.Descriptor instead.

func (*TagField) GetBoolValue Uses

func (x *TagField) GetBoolValue() bool

func (*TagField) GetDisplayName Uses

func (x *TagField) GetDisplayName() string

func (*TagField) GetDoubleValue Uses

func (x *TagField) GetDoubleValue() float64

func (*TagField) GetEnumValue Uses

func (x *TagField) GetEnumValue() *TagField_EnumValue

func (*TagField) GetKind Uses

func (m *TagField) GetKind() isTagField_Kind

func (*TagField) GetOrder Uses

func (x *TagField) GetOrder() int32

func (*TagField) GetStringValue Uses

func (x *TagField) GetStringValue() string

func (*TagField) GetTimestampValue Uses

func (x *TagField) GetTimestampValue() *timestamp.Timestamp

func (*TagField) ProtoMessage Uses

func (*TagField) ProtoMessage()

func (*TagField) ProtoReflect Uses

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

func (*TagField) Reset Uses

func (x *TagField) Reset()

func (*TagField) String Uses

func (x *TagField) String() string

type TagField_BoolValue Uses

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 Uses

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 Uses

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 Uses

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

Deprecated: Use TagField_EnumValue.ProtoReflect.Descriptor instead.

func (*TagField_EnumValue) GetDisplayName Uses

func (x *TagField_EnumValue) GetDisplayName() string

func (*TagField_EnumValue) ProtoMessage Uses

func (*TagField_EnumValue) ProtoMessage()

func (*TagField_EnumValue) ProtoReflect Uses

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

func (*TagField_EnumValue) Reset Uses

func (x *TagField_EnumValue) Reset()

func (*TagField_EnumValue) String Uses

func (x *TagField_EnumValue) String() string

type TagField_EnumValue_ Uses

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 Uses

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 Uses

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

type TagTemplate Uses

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 `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

Deprecated: Use TagTemplate.ProtoReflect.Descriptor instead.

func (*TagTemplate) GetDisplayName Uses

func (x *TagTemplate) GetDisplayName() string

func (*TagTemplate) GetFields Uses

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

func (*TagTemplate) GetName Uses

func (x *TagTemplate) GetName() string

func (*TagTemplate) ProtoMessage Uses

func (*TagTemplate) ProtoMessage()

func (*TagTemplate) ProtoReflect Uses

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

func (*TagTemplate) Reset Uses

func (x *TagTemplate) Reset()

func (*TagTemplate) String Uses

func (x *TagTemplate) String() string

type TagTemplateField Uses

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 Uses

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

Deprecated: Use TagTemplateField.ProtoReflect.Descriptor instead.

func (*TagTemplateField) GetDisplayName Uses

func (x *TagTemplateField) GetDisplayName() string

func (*TagTemplateField) GetIsRequired Uses

func (x *TagTemplateField) GetIsRequired() bool

func (*TagTemplateField) GetName Uses

func (x *TagTemplateField) GetName() string

func (*TagTemplateField) GetOrder Uses

func (x *TagTemplateField) GetOrder() int32

func (*TagTemplateField) GetType Uses

func (x *TagTemplateField) GetType() *FieldType

func (*TagTemplateField) ProtoMessage Uses

func (*TagTemplateField) ProtoMessage()

func (*TagTemplateField) ProtoReflect Uses

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

func (*TagTemplateField) Reset Uses

func (x *TagTemplateField) Reset()

func (*TagTemplateField) String Uses

func (x *TagTemplateField) String() string

type Tag_Column Uses

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 Uses

type UnimplementedDataCatalogServer struct {
}

UnimplementedDataCatalogServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataCatalogServer) CreateEntry Uses

func (*UnimplementedDataCatalogServer) CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error)

func (*UnimplementedDataCatalogServer) CreateEntryGroup Uses

func (*UnimplementedDataCatalogServer) CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error)

func (*UnimplementedDataCatalogServer) CreateTag Uses

func (*UnimplementedDataCatalogServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)

func (*UnimplementedDataCatalogServer) CreateTagTemplate Uses

func (*UnimplementedDataCatalogServer) CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error)

func (*UnimplementedDataCatalogServer) CreateTagTemplateField Uses

func (*UnimplementedDataCatalogServer) CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error)

func (*UnimplementedDataCatalogServer) DeleteEntry Uses

func (*UnimplementedDataCatalogServer) DeleteEntry(context.Context, *DeleteEntryRequest) (*empty.Empty, error)

func (*UnimplementedDataCatalogServer) DeleteEntryGroup Uses

func (*UnimplementedDataCatalogServer) DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*empty.Empty, error)

func (*UnimplementedDataCatalogServer) DeleteTag Uses

func (*UnimplementedDataCatalogServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error)

func (*UnimplementedDataCatalogServer) DeleteTagTemplate Uses

func (*UnimplementedDataCatalogServer) DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*empty.Empty, error)

func (*UnimplementedDataCatalogServer) DeleteTagTemplateField Uses

func (*UnimplementedDataCatalogServer) DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*empty.Empty, error)

func (*UnimplementedDataCatalogServer) GetEntry Uses

func (*UnimplementedDataCatalogServer) GetEntry(context.Context, *GetEntryRequest) (*Entry, error)

func (*UnimplementedDataCatalogServer) GetEntryGroup Uses

func (*UnimplementedDataCatalogServer) GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error)

func (*UnimplementedDataCatalogServer) GetIamPolicy Uses

func (*UnimplementedDataCatalogServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedDataCatalogServer) GetTagTemplate Uses

func (*UnimplementedDataCatalogServer) GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error)

func (*UnimplementedDataCatalogServer) ListEntries Uses

func (*UnimplementedDataCatalogServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)

func (*UnimplementedDataCatalogServer) ListEntryGroups Uses

func (*UnimplementedDataCatalogServer) ListEntryGroups(context.Context, *ListEntryGroupsRequest) (*ListEntryGroupsResponse, error)

func (*UnimplementedDataCatalogServer) ListTags Uses

func (*UnimplementedDataCatalogServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)

func (*UnimplementedDataCatalogServer) LookupEntry Uses

func (*UnimplementedDataCatalogServer) LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error)

func (*UnimplementedDataCatalogServer) RenameTagTemplateField Uses

func (*UnimplementedDataCatalogServer) RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error)

func (*UnimplementedDataCatalogServer) SearchCatalog Uses

func (*UnimplementedDataCatalogServer) SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error)

func (*UnimplementedDataCatalogServer) SetIamPolicy Uses

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

func (*UnimplementedDataCatalogServer) TestIamPermissions Uses

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

func (*UnimplementedDataCatalogServer) UpdateEntry Uses

func (*UnimplementedDataCatalogServer) UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error)

func (*UnimplementedDataCatalogServer) UpdateEntryGroup Uses

func (*UnimplementedDataCatalogServer) UpdateEntryGroup(context.Context, *UpdateEntryGroupRequest) (*EntryGroup, error)

func (*UnimplementedDataCatalogServer) UpdateTag Uses

func (*UnimplementedDataCatalogServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)

func (*UnimplementedDataCatalogServer) UpdateTagTemplate Uses

func (*UnimplementedDataCatalogServer) UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error)

func (*UnimplementedDataCatalogServer) UpdateTagTemplateField Uses

func (*UnimplementedDataCatalogServer) UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error)

type UpdateEntryGroupRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateEntryGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryGroupRequest) GetEntryGroup Uses

func (x *UpdateEntryGroupRequest) GetEntryGroup() *EntryGroup

func (*UpdateEntryGroupRequest) GetUpdateMask Uses

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

func (*UpdateEntryGroupRequest) ProtoMessage Uses

func (*UpdateEntryGroupRequest) ProtoMessage()

func (*UpdateEntryGroupRequest) ProtoReflect Uses

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

func (*UpdateEntryGroupRequest) Reset Uses

func (x *UpdateEntryGroupRequest) Reset()

func (*UpdateEntryGroupRequest) String Uses

func (x *UpdateEntryGroupRequest) String() string

type UpdateEntryRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntryRequest) GetEntry Uses

func (x *UpdateEntryRequest) GetEntry() *Entry

func (*UpdateEntryRequest) GetUpdateMask Uses

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

func (*UpdateEntryRequest) ProtoMessage Uses

func (*UpdateEntryRequest) ProtoMessage()

func (*UpdateEntryRequest) ProtoReflect Uses

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

func (*UpdateEntryRequest) Reset Uses

func (x *UpdateEntryRequest) Reset()

func (*UpdateEntryRequest) String Uses

func (x *UpdateEntryRequest) String() string

type UpdateTagRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagRequest) GetTag Uses

func (x *UpdateTagRequest) GetTag() *Tag

func (*UpdateTagRequest) GetUpdateMask Uses

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

func (*UpdateTagRequest) ProtoMessage Uses

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) ProtoReflect Uses

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

func (*UpdateTagRequest) Reset Uses

func (x *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String Uses

func (x *UpdateTagRequest) String() string

type UpdateTagTemplateFieldRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateTagTemplateFieldRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagTemplateFieldRequest) GetName Uses

func (x *UpdateTagTemplateFieldRequest) GetName() string

func (*UpdateTagTemplateFieldRequest) GetTagTemplateField Uses

func (x *UpdateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField

func (*UpdateTagTemplateFieldRequest) GetUpdateMask Uses

func (x *UpdateTagTemplateFieldRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateTagTemplateFieldRequest) ProtoMessage Uses

func (*UpdateTagTemplateFieldRequest) ProtoMessage()

func (*UpdateTagTemplateFieldRequest) ProtoReflect Uses

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

func (*UpdateTagTemplateFieldRequest) Reset Uses

func (x *UpdateTagTemplateFieldRequest) Reset()

func (*UpdateTagTemplateFieldRequest) String Uses

func (x *UpdateTagTemplateFieldRequest) String() string

type UpdateTagTemplateRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateTagTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagTemplateRequest) GetTagTemplate Uses

func (x *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate

func (*UpdateTagTemplateRequest) GetUpdateMask Uses

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

func (*UpdateTagTemplateRequest) ProtoMessage Uses

func (*UpdateTagTemplateRequest) ProtoMessage()

func (*UpdateTagTemplateRequest) ProtoReflect Uses

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

func (*UpdateTagTemplateRequest) Reset Uses

func (x *UpdateTagTemplateRequest) Reset()

func (*UpdateTagTemplateRequest) String Uses

func (x *UpdateTagTemplateRequest) String() string

type ViewSpec Uses

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 Uses

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

Deprecated: Use ViewSpec.ProtoReflect.Descriptor instead.

func (*ViewSpec) GetViewQuery Uses

func (x *ViewSpec) GetViewQuery() string

func (*ViewSpec) ProtoMessage Uses

func (*ViewSpec) ProtoMessage()

func (*ViewSpec) ProtoReflect Uses

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

func (*ViewSpec) Reset Uses

func (x *ViewSpec) Reset()

func (*ViewSpec) String Uses

func (x *ViewSpec) String() string

Package datacatalog imports 14 packages (graph) and is imported by 1 packages. Updated 2020-08-13. Refresh now. Tools for package owners.