Struct GoogleCloudDataplexV1Entity

Source
pub struct GoogleCloudDataplexV1Entity {
Show 18 fields pub access: Option<GoogleCloudDataplexV1StorageAccess>, pub asset: Option<String>, pub catalog_entry: Option<String>, pub compatibility: Option<GoogleCloudDataplexV1EntityCompatibilityStatus>, pub create_time: Option<DateTime<Utc>>, pub data_path: Option<String>, pub data_path_pattern: Option<String>, pub description: Option<String>, pub display_name: Option<String>, pub etag: Option<String>, pub format: Option<GoogleCloudDataplexV1StorageFormat>, pub id: Option<String>, pub name: Option<String>, pub schema: Option<GoogleCloudDataplexV1Schema>, pub system: Option<String>, pub type_: Option<String>, pub uid: Option<String>, pub update_time: Option<DateTime<Utc>>,
}
Expand description

Represents tables and fileset metadata contained within a zone.

§Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§access: Option<GoogleCloudDataplexV1StorageAccess>

Output only. Identifies the access mechanism to the entity. Not user settable.

§asset: Option<String>

Required. Immutable. The ID of the asset associated with the storage location containing the entity data. The entity must be with in the same zone with the asset.

§catalog_entry: Option<String>

Output only. The name of the associated Data Catalog entry.

§compatibility: Option<GoogleCloudDataplexV1EntityCompatibilityStatus>

Output only. Metadata stores that the entity is compatible with.

§create_time: Option<DateTime<Utc>>

Output only. The time when the entity was created.

§data_path: Option<String>

Required. Immutable. The storage path of the entity data. For Cloud Storage data, this is the fully-qualified path to the entity, such as gs://bucket/path/to/data. For BigQuery data, this is the name of the table resource, such as projects/project_id/datasets/dataset_id/tables/table_id.

§data_path_pattern: Option<String>

Optional. The set of items within the data path constituting the data in the entity, represented as a glob path. Example: gs://bucket/path/to/data/**/*.csv.

§description: Option<String>

Optional. User friendly longer description text. Must be shorter than or equal to 1024 characters.

§display_name: Option<String>

Optional. Display name must be shorter than or equal to 256 characters.

§etag: Option<String>

Optional. The etag associated with the entity, which can be retrieved with a GetEntity request. Required for update and delete requests.

§format: Option<GoogleCloudDataplexV1StorageFormat>

Required. Identifies the storage format of the entity data. It does not apply to entities with data stored in BigQuery.

§id: Option<String>

Required. A user-provided entity ID. It is mutable, and will be used as the published table name. Specifying a new ID in an update entity request will override the existing value. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores, and consist of 256 or fewer characters.

§name: Option<String>

Output only. The resource name of the entity, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}.

§schema: Option<GoogleCloudDataplexV1Schema>

Required. The description of the data structure and layout. The schema is not included in list responses. It is only included in SCHEMA and FULL entity views of a GetEntity response.

§system: Option<String>

Required. Immutable. Identifies the storage system of the entity data.

§type_: Option<String>

Required. Immutable. The type of entity.

§uid: Option<String>

Output only. System generated unique ID for the Entity. This ID will be different if the Entity is deleted and re-created with the same name.

§update_time: Option<DateTime<Utc>>

Output only. The time when the entity was last updated.

Trait Implementations§

Source§

impl Clone for GoogleCloudDataplexV1Entity

Source§

fn clone(&self) -> GoogleCloudDataplexV1Entity

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GoogleCloudDataplexV1Entity

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GoogleCloudDataplexV1Entity

Source§

fn default() -> GoogleCloudDataplexV1Entity

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GoogleCloudDataplexV1Entity

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GoogleCloudDataplexV1Entity

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl RequestValue for GoogleCloudDataplexV1Entity

Source§

impl ResponseResult for GoogleCloudDataplexV1Entity

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,