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) — Specification for a group of BigQuery tables with the
[prefix]YYYYMMDD
name pattern.For more information, see Introduction to partitioned tables.
#bigquery_date_sharded_spec=
def bigquery_date_sharded_spec=(value) -> ::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec
-
value (::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec) — Specification for a group of BigQuery tables with the
[prefix]YYYYMMDD
name pattern.For more information, see Introduction to partitioned tables.
-
(::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec) — 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) — Specification that applies to a BigQuery table. Valid only for
entries with the
TABLE
type.
#bigquery_table_spec=
def bigquery_table_spec=(value) -> ::Google::Cloud::DataCatalog::V1::BigQueryTableSpec
-
value (::Google::Cloud::DataCatalog::V1::BigQueryTableSpec) — Specification that applies to a BigQuery table. Valid only for
entries with the
TABLE
type.
-
(::Google::Cloud::DataCatalog::V1::BigQueryTableSpec) — 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
#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
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
type.
-
(::Google::Cloud::DataCatalog::V1::DatabaseTableSpec) — Specification that applies to a table resource. Valid only
for entries with the
TABLE
type.
#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 name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 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 name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 bytes when encoded in UTF-8. Default value is an empty string.
-
(::String) — Display name of an entry.
The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 bytes when encoded in UTF-8. Default value is an empty string.
#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 afterwards. Can be used for search and lookup of the entries.
FQNs take two forms:
- For non-regionalized resources:
{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
- For regionalized resources:
{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
Example for a DPMS table:
dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}
#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 afterwards. Can be used for search and lookup of the entries.
FQNs take two forms:
- For non-regionalized resources:
{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
- For regionalized resources:
{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
Example for a DPMS table:
dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}
-
(::String) — Fully qualified name (FQN) of the resource. Set automatically for entries
representing resources from synced systems. Settable only during creation
and read-only afterwards. Can be used for search and lookup of the entries.
FQNs take two forms:
- For non-regionalized resources:
{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
- For regionalized resources:
{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
Example for a DPMS table:
dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}
#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.
#name
def name() -> ::String
-
(::String) — Output only. 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.
#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 type listed in the
EntryType
enum. For entries withuser_specified_type
, 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 type listed in the
EntryType
enum. For entries withuser_specified_type
, 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 type listed in the
EntryType
enum. For entries withuser_specified_type
, this field is optional and defaults to an empty timestamp.
#type
def type() -> ::Google::Cloud::DataCatalog::V1::EntryType
-
(::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
Only used for entries with types listed in the
EntryType
enum.Currently, only
FILESET
enum value is allowed. All other entries created in Data Catalog must use theuser_specified_type
.
#type=
def type=(value) -> ::Google::Cloud::DataCatalog::V1::EntryType
-
value (::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
Only used for entries with types listed in the
EntryType
enum.Currently, only
FILESET
enum value is allowed. All other entries created in Data Catalog must use theuser_specified_type
.
-
(::Google::Cloud::DataCatalog::V1::EntryType) — The type of the entry.
Only used for entries with types listed in the
EntryType
enum.Currently, only
FILESET
enum value is allowed. All other entries created in Data Catalog must use theuser_specified_type
.
#usage_signal
def usage_signal() -> ::Google::Cloud::DataCatalog::V1::UsageSignal
- (::Google::Cloud::DataCatalog::V1::UsageSignal) — Output only. 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.