#[non_exhaustive]pub struct EntrySource {
pub resource: String,
pub system: String,
pub platform: String,
pub display_name: String,
pub description: String,
pub labels: HashMap<String, String>,
pub ancestors: Vec<Ancestor>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub location: String,
/* private fields */
}Expand description
Information related to the source system of the data resource that is represented by the entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource: StringThe name of the resource in the source system. Maximum length is 4,000 characters.
system: StringThe name of the source system. Maximum length is 64 characters.
platform: StringThe platform containing the source system. Maximum length is 64 characters.
display_name: StringA user-friendly display name. Maximum length is 500 characters.
description: StringA description of the data resource. Maximum length is 2,000 characters.
labels: HashMap<String, String>User-defined labels. The maximum size of keys and values is 128 characters each.
ancestors: Vec<Ancestor>Immutable. The entries representing the ancestors of the data resource in the source system.
create_time: Option<Timestamp>The time when the resource was created in the source system.
update_time: Option<Timestamp>The time when the resource was last updated in the source system. If the
entry exists in the system and its EntrySource has update_time
populated, further updates to the EntrySource of the entry must provide
incremental updates to its update_time.
location: StringOutput only. Location of the resource in the source system. You can search the entry by this location. By default, this should match the location of the entry group containing this entry. A different value allows capturing the source location for data external to Google Cloud.
Implementations§
Source§impl EntrySource
impl EntrySource
pub fn new() -> Self
Sourcepub fn set_resource<T: Into<String>>(self, v: T) -> Self
pub fn set_resource<T: Into<String>>(self, v: T) -> Self
Sets the value of resource.
Sourcepub fn set_system<T: Into<String>>(self, v: T) -> Self
pub fn set_system<T: Into<String>>(self, v: T) -> Self
Sets the value of system.
Sourcepub fn set_platform<T: Into<String>>(self, v: T) -> Self
pub fn set_platform<T: Into<String>>(self, v: T) -> Self
Sets the value of platform.
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_ancestors<T, V>(self, v: T) -> Self
pub fn set_ancestors<T, V>(self, v: T) -> Self
Sets the value of ancestors.
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_location<T: Into<String>>(self, v: T) -> Self
pub fn set_location<T: Into<String>>(self, v: T) -> Self
Sets the value of location.
Trait Implementations§
Source§impl Clone for EntrySource
impl Clone for EntrySource
Source§fn clone(&self) -> EntrySource
fn clone(&self) -> EntrySource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more