Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::Entry.
Entry metadata.
A Data Catalog entry represents another resource in Google
Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or
outside of it. You can use the linked_resource
field
in the entry resource to refer to the original resource ID of the source
system.
An entry resource contains resource details, for example, its schema. Additionally, you can attach flexible metadata to an entry in the form of a Tag.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bigquery_date_sharded_spec
def bigquery_date_sharded_spec() -> ::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec
-
(::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec) — Output only. Specification for a group of BigQuery tables with
the
[prefix]YYYYMMDD
name pattern.For more information, see Introduction to partitioned tables.
#bigquery_table_spec
def bigquery_table_spec() -> ::Google::Cloud::DataCatalog::V1::BigQueryTableSpec
-
(::Google::Cloud::DataCatalog::V1::BigQueryTableSpec) — Output only. Specification that applies to a BigQuery table. Valid only
for entries with the
TABLE
type.
#business_context
def business_context() -> ::Google::Cloud::DataCatalog::V1::BusinessContext
- (::Google::Cloud::DataCatalog::V1::BusinessContext) — Business Context of the entry. Not supported for BigQuery datasets
#business_context=
def business_context=(value) -> ::Google::Cloud::DataCatalog::V1::BusinessContext
- value (::Google::Cloud::DataCatalog::V1::BusinessContext) — Business Context of the entry. Not supported for BigQuery datasets
- (::Google::Cloud::DataCatalog::V1::BusinessContext) — Business Context of the entry. Not supported for BigQuery datasets
#cloud_bigtable_system_spec
def cloud_bigtable_system_spec() -> ::Google::Cloud::DataCatalog::V1::CloudBigtableSystemSpec
-
(::Google::Cloud::DataCatalog::V1::CloudBigtableSystemSpec) — Specification that applies to Cloud Bigtable system. Only settable when
integrated_system
is equal toCLOUD_BIGTABLE
#cloud_bigtable_system_spec=
def cloud_bigtable_system_spec=(value) -> ::Google::Cloud::DataCatalog::V1::CloudBigtableSystemSpec
-
value (::Google::Cloud::DataCatalog::V1::CloudBigtableSystemSpec) — Specification that applies to Cloud Bigtable system. Only settable when
integrated_system
is equal toCLOUD_BIGTABLE
-
(::Google::Cloud::DataCatalog::V1::CloudBigtableSystemSpec) — Specification that applies to Cloud Bigtable system. Only settable when
integrated_system
is equal toCLOUD_BIGTABLE
#data_source
def data_source() -> ::Google::Cloud::DataCatalog::V1::DataSource
- (::Google::Cloud::DataCatalog::V1::DataSource) — Output only. Physical location of the entry.
#data_source_connection_spec
def data_source_connection_spec() -> ::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec
-
(::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec) — Specification that applies to a data source connection. Valid only
for entries with the
DATA_SOURCE_CONNECTION
type.
#data_source_connection_spec=
def data_source_connection_spec=(value) -> ::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec
-
value (::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec) — Specification that applies to a data source connection. Valid only
for entries with the
DATA_SOURCE_CONNECTION
type.
-
(::Google::Cloud::DataCatalog::V1::DataSourceConnectionSpec) — Specification that applies to a data source connection. Valid only
for entries with the
DATA_SOURCE_CONNECTION
type.
#database_table_spec
def database_table_spec() -> ::Google::Cloud::DataCatalog::V1::DatabaseTableSpec
-
(::Google::Cloud::DataCatalog::V1::DatabaseTableSpec) — Specification that applies to a table resource. Valid only
for entries with the
TABLE
orEXPLORE
type.
#database_table_spec=
def database_table_spec=(value) -> ::Google::Cloud::DataCatalog::V1::DatabaseTableSpec
-
value (::Google::Cloud::DataCatalog::V1::DatabaseTableSpec) — Specification that applies to a table resource. Valid only
for entries with the
TABLE
orEXPLORE
type.
-
(::Google::Cloud::DataCatalog::V1::DatabaseTableSpec) — Specification that applies to a table resource. Valid only
for entries with the
TABLE
orEXPLORE
type.
#dataset_spec
def dataset_spec() -> ::Google::Cloud::DataCatalog::V1::DatasetSpec
- (::Google::Cloud::DataCatalog::V1::DatasetSpec) — Specification that applies to a dataset.
#dataset_spec=
def dataset_spec=(value) -> ::Google::Cloud::DataCatalog::V1::DatasetSpec
- value (::Google::Cloud::DataCatalog::V1::DatasetSpec) — Specification that applies to a dataset.
- (::Google::Cloud::DataCatalog::V1::DatasetSpec) — Specification that applies to a dataset.
#description
def description() -> ::String
-
(::String) — Entry description that can consist of several sentences or paragraphs
that describe entry contents.
The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.
#description=
def description=(value) -> ::String
-
value (::String) — Entry description that can consist of several sentences or paragraphs
that describe entry contents.
The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.
-
(::String) — Entry description that can consist of several sentences or paragraphs
that describe entry contents.
The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.
#display_name
def display_name() -> ::String
-
(::String) — Display name of an entry.
The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.
#display_name=
def display_name=(value) -> ::String
-
value (::String) — Display name of an entry.
The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.
-
(::String) — Display name of an entry.
The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.
#feature_online_store_spec
def feature_online_store_spec() -> ::Google::Cloud::DataCatalog::V1::FeatureOnlineStoreSpec
- (::Google::Cloud::DataCatalog::V1::FeatureOnlineStoreSpec) — FeatureonlineStore spec for Vertex AI Feature Store.
#feature_online_store_spec=
def feature_online_store_spec=(value) -> ::Google::Cloud::DataCatalog::V1::FeatureOnlineStoreSpec
- value (::Google::Cloud::DataCatalog::V1::FeatureOnlineStoreSpec) — FeatureonlineStore spec for Vertex AI Feature Store.
- (::Google::Cloud::DataCatalog::V1::FeatureOnlineStoreSpec) — FeatureonlineStore spec for Vertex AI Feature Store.
#fileset_spec
def fileset_spec() -> ::Google::Cloud::DataCatalog::V1::FilesetSpec
-
(::Google::Cloud::DataCatalog::V1::FilesetSpec) — Specification that applies to a fileset resource. Valid only
for entries with the
FILESET
type.
#fileset_spec=
def fileset_spec=(value) -> ::Google::Cloud::DataCatalog::V1::FilesetSpec
-
value (::Google::Cloud::DataCatalog::V1::FilesetSpec) — Specification that applies to a fileset resource. Valid only
for entries with the
FILESET
type.
-
(::Google::Cloud::DataCatalog::V1::FilesetSpec) — Specification that applies to a fileset resource. Valid only
for entries with the
FILESET
type.
#fully_qualified_name
def fully_qualified_name() -> ::String
- (::String) — Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries.
#fully_qualified_name=
def fully_qualified_name=(value) -> ::String
- value (::String) — Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries.
- (::String) — Fully Qualified Name (FQN) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries.
#gcs_fileset_spec
def gcs_fileset_spec() -> ::Google::Cloud::DataCatalog::V1::GcsFilesetSpec
-
(::Google::Cloud::DataCatalog::V1::GcsFilesetSpec) — Specification that applies to a Cloud Storage fileset. Valid only
for entries with the
FILESET
type.
#gcs_fileset_spec=
def gcs_fileset_spec=(value) -> ::Google::Cloud::DataCatalog::V1::GcsFilesetSpec
-
value (::Google::Cloud::DataCatalog::V1::GcsFilesetSpec) — Specification that applies to a Cloud Storage fileset. Valid only
for entries with the
FILESET
type.
-
(::Google::Cloud::DataCatalog::V1::GcsFilesetSpec) — Specification that applies to a Cloud Storage fileset. Valid only
for entries with the
FILESET
type.
#integrated_system
def integrated_system() -> ::Google::Cloud::DataCatalog::V1::IntegratedSystem
- (::Google::Cloud::DataCatalog::V1::IntegratedSystem) — Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — Cloud labels attached to the entry.
In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — Cloud labels attached to the entry.
In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system.
-
(::Google::Protobuf::Map{::String => ::String}) — Cloud labels attached to the entry.
In Data Catalog, you can create and modify labels attached only to custom entries. Synced entries have unmodifiable labels that come from the source system.
#linked_resource
def linked_resource() -> ::String
-
(::String) — The resource this metadata entry refers to.
For Google Cloud Platform resources,
linked_resource
is the Full Resource Name. For example, thelinked_resource
for a table resource from BigQuery is://bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}
Output only when the entry is one of the types in the
EntryType
enum.For entries with a
user_specified_type
, this field is optional and defaults to an empty string.The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.
#linked_resource=
def linked_resource=(value) -> ::String
-
value (::String) — The resource this metadata entry refers to.
For Google Cloud Platform resources,
linked_resource
is the Full Resource Name. For example, thelinked_resource
for a table resource from BigQuery is://bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}
Output only when the entry is one of the types in the
EntryType
enum.For entries with a
user_specified_type
, this field is optional and defaults to an empty string.The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.
-
(::String) — The resource this metadata entry refers to.
For Google Cloud Platform resources,
linked_resource
is the Full Resource Name. For example, thelinked_resource
for a table resource from BigQuery is://bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}
Output only when the entry is one of the types in the
EntryType
enum.For entries with a
user_specified_type
, this field is optional and defaults to an empty string.The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.
#looker_system_spec
def looker_system_spec() -> ::Google::Cloud::DataCatalog::V1::LookerSystemSpec
-
(::Google::Cloud::DataCatalog::V1::LookerSystemSpec) — Specification that applies to Looker sysstem. Only settable when
user_specified_system
is equal toLOOKER
#looker_system_spec=
def looker_system_spec=(value) -> ::Google::Cloud::DataCatalog::V1::LookerSystemSpec
-
value (::Google::Cloud::DataCatalog::V1::LookerSystemSpec) — Specification that applies to Looker sysstem. Only settable when
user_specified_system
is equal toLOOKER
-
(::Google::Cloud::DataCatalog::V1::LookerSystemSpec) — Specification that applies to Looker sysstem. Only settable when
user_specified_system
is equal toLOOKER
#model_spec
def model_spec() -> ::Google::Cloud::DataCatalog::V1::ModelSpec
- (::Google::Cloud::DataCatalog::V1::ModelSpec) — Model specification.
#model_spec=
def model_spec=(value) -> ::Google::Cloud::DataCatalog::V1::ModelSpec
- value (::Google::Cloud::DataCatalog::V1::ModelSpec) — Model specification.
- (::Google::Cloud::DataCatalog::V1::ModelSpec) — Model specification.
#name
def name() -> ::String
-
(::String) — Output only. Identifier. The resource name of an entry in URL format.
Note: The entry itself and its child resources might not be stored in the location specified in its name.
#personal_details
def personal_details() -> ::Google::Cloud::DataCatalog::V1::PersonalDetails
- (::Google::Cloud::DataCatalog::V1::PersonalDetails) — Output only. Additional information related to the entry. Private to the current user.
#routine_spec
def routine_spec() -> ::Google::Cloud::DataCatalog::V1::RoutineSpec
-
(::Google::Cloud::DataCatalog::V1::RoutineSpec) — Specification that applies to a user-defined function or procedure. Valid
only for entries with the
ROUTINE
type.
#routine_spec=
def routine_spec=(value) -> ::Google::Cloud::DataCatalog::V1::RoutineSpec
-
value (::Google::Cloud::DataCatalog::V1::RoutineSpec) — Specification that applies to a user-defined function or procedure. Valid
only for entries with the
ROUTINE
type.
-
(::Google::Cloud::DataCatalog::V1::RoutineSpec) — Specification that applies to a user-defined function or procedure. Valid
only for entries with the
ROUTINE
type.
#schema
def schema() -> ::Google::Cloud::DataCatalog::V1::Schema
- (::Google::Cloud::DataCatalog::V1::Schema) — Schema of the entry. An entry might not have any schema attached to it.
#schema=
def schema=(value) -> ::Google::Cloud::DataCatalog::V1::Schema
- value (::Google::Cloud::DataCatalog::V1::Schema) — Schema of the entry. An entry might not have any schema attached to it.
- (::Google::Cloud::DataCatalog::V1::Schema) — Schema of the entry. An entry might not have any schema attached to it.
#service_spec
def service_spec() -> ::Google::Cloud::DataCatalog::V1::ServiceSpec
- (::Google::Cloud::DataCatalog::V1::ServiceSpec) — Specification that applies to a Service resource.
#service_spec=
def service_spec=(value) -> ::Google::Cloud::DataCatalog::V1::ServiceSpec
- value (::Google::Cloud::DataCatalog::V1::ServiceSpec) — Specification that applies to a Service resource.
- (::Google::Cloud::DataCatalog::V1::ServiceSpec) — Specification that applies to a Service resource.
#source_system_timestamps
def source_system_timestamps() -> ::Google::Cloud::DataCatalog::V1::SystemTimestamps
-
(::Google::Cloud::DataCatalog::V1::SystemTimestamps) — Timestamps from the underlying resource, not from the Data Catalog
entry.
Output only when the entry has a system listed in the
IntegratedSystem
enum. For entries withuser_specified_system
, this field is optional and defaults to an empty timestamp.
#source_system_timestamps=
def source_system_timestamps=(value) -> ::Google::Cloud::DataCatalog::V1::SystemTimestamps
-
value (::Google::Cloud::DataCatalog::V1::SystemTimestamps) — Timestamps from the underlying resource, not from the Data Catalog
entry.
Output only when the entry has a system listed in the
IntegratedSystem
enum. For entries withuser_specified_system
, this field is optional and defaults to an empty timestamp.
-
(::Google::Cloud::DataCatalog::V1::SystemTimestamps) — Timestamps from the underlying resource, not from the Data Catalog
entry.
Output only when the entry has a system listed in the
IntegratedSystem
enum. For entries withuser_specified_system
, this field is optional and defaults to an empty timestamp.
#sql_database_system_spec
def sql_database_system_spec() -> ::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec
-
(::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec) — Specification that applies to a relational database system. Only settable
when
user_specified_system
is equal toSQL_DATABASE
#sql_database_system_spec=
def sql_database_system_spec=(value) -> ::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec
-
value (::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec) — Specification that applies to a relational database system. Only settable
when
user_specified_system
is equal toSQL_DATABASE
-
(::Google::Cloud::DataCatalog::V1::SqlDatabaseSystemSpec) — Specification that applies to a relational database system. Only settable
when
user_specified_system
is equal toSQL_DATABASE
#type
def type() -> ::Google::Cloud::DataCatalog::V1::EntryType
-
(::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
For details, see
EntryType
.
#type=
def type=(value) -> ::Google::Cloud::DataCatalog::V1::EntryType
-
value (::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
For details, see
EntryType
.
-
(::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
For details, see
EntryType
.
#usage_signal
def usage_signal() -> ::Google::Cloud::DataCatalog::V1::UsageSignal
- (::Google::Cloud::DataCatalog::V1::UsageSignal) — Resource usage statistics.
#usage_signal=
def usage_signal=(value) -> ::Google::Cloud::DataCatalog::V1::UsageSignal
- value (::Google::Cloud::DataCatalog::V1::UsageSignal) — Resource usage statistics.
- (::Google::Cloud::DataCatalog::V1::UsageSignal) — Resource usage statistics.
#user_specified_system
def user_specified_system() -> ::String
-
(::String) —
Indicates the entry's source system that Data Catalog doesn't automatically integrate with.
The
user_specified_system
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.
#user_specified_system=
def user_specified_system=(value) -> ::String
-
value (::String) —
Indicates the entry's source system that Data Catalog doesn't automatically integrate with.
The
user_specified_system
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.
-
(::String) —
Indicates the entry's source system that Data Catalog doesn't automatically integrate with.
The
user_specified_system
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.
#user_specified_type
def user_specified_type() -> ::String
-
(::String) —
Custom entry type that doesn't match any of the values allowed for input and listed in the
EntryType
enum.When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example,
my_special_type
.The
user_specified_type
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.
#user_specified_type=
def user_specified_type=(value) -> ::String
-
value (::String) —
Custom entry type that doesn't match any of the values allowed for input and listed in the
EntryType
enum.When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example,
my_special_type
.The
user_specified_type
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.
-
(::String) —
Custom entry type that doesn't match any of the values allowed for input and listed in the
EntryType
enum.When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example,
my_special_type
.The
user_specified_type
string has the following limitations:- Is case insensitive.
- Must begin with a letter or underscore.
- Can only contain letters, numbers, and underscores.
- Must be at least 1 character and at most 64 characters long.