Struct gapi_grpc::google::cloud::datacatalog::v1::Entry[][src]

pub struct Entry {
    pub name: String,
    pub linked_resource: String,
    pub fully_qualified_name: String,
    pub display_name: String,
    pub description: String,
    pub schema: Option<Schema>,
    pub source_system_timestamps: Option<SystemTimestamps>,
    pub data_source: Option<DataSource>,
    pub entry_type: Option<EntryType>,
    pub system: Option<System>,
    pub type_spec: Option<TypeSpec>,
    pub spec: Option<Spec>,
}

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].

Fields

name: String

Output only. The resource name of an entry in URL format. Example:

projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}

Note: The entry itself and its child resources might not be stored in the location specified in its name.

linked_resource: String

The resource this metadata entry refers to.

For Google Cloud Platform resources, linked_resource is the full name of the resource. 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 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.

fully_qualified_name: 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:

Example for a DPMS table:

dataproc_metastore:project_id.location_id.instance_id.database_id.table_id

display_name: 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.

description: 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.

schema: Option<Schema>

Schema of the entry. An entry might not have any schema attached to it.

source_system_timestamps: Option<SystemTimestamps>

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.

data_source: Option<DataSource>

Output only. Physical location of the entry.

entry_type: Option<EntryType>

Required. Entry type.

system: Option<System>

The source system of the entry.

type_spec: Option<TypeSpec>

Type specification information.

spec: Option<Spec>

Type- and system- specific information. Specifications for types contain fields common to all entries of a given type, and sub-specs with fields specific to a given source system. When extending the API with new types and systems please use this instead of legacy type_spec field.

Trait Implementations

impl Clone for Entry[src]

impl Debug for Entry[src]

impl Default for Entry[src]

impl Message for Entry[src]

impl PartialEq<Entry> for Entry[src]

impl StructuralPartialEq for Entry[src]

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]