#[non_exhaustive]pub struct GitRepositoryLink {
pub name: String,
pub clone_uri: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub delete_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub etag: String,
pub reconciling: bool,
pub annotations: HashMap<String, String>,
pub uid: String,
pub webhook_id: String,
/* private fields */
}Expand description
Message describing the GitRepositoryLink object
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.name: StringIdentifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
clone_uri: StringRequired. Git Clone URI.
create_time: Option<Timestamp>Output only. [Output only] Create timestamp
update_time: Option<Timestamp>Output only. [Output only] Update timestamp
delete_time: Option<Timestamp>Output only. [Output only] Delete timestamp
labels: HashMap<String, String>Optional. Labels as key value pairs
etag: StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
reconciling: boolOutput only. Set to true when the connection is being set up or updated in the background.
annotations: HashMap<String, String>Optional. Allows clients to store small amounts of arbitrary data.
uid: StringOutput only. A system-assigned unique identifier for a the GitRepositoryLink.
webhook_id: StringOutput only. External ID of the webhook created for the repository.
Implementations§
Source§impl GitRepositoryLink
impl GitRepositoryLink
pub fn new() -> Self
Sourcepub fn set_clone_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_clone_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of clone_uri.
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_delete_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_delete_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of delete_time.
Sourcepub fn set_reconciling<T: Into<bool>>(self, v: T) -> Self
pub fn set_reconciling<T: Into<bool>>(self, v: T) -> Self
Sets the value of reconciling.
Sourcepub fn set_webhook_id<T: Into<String>>(self, v: T) -> Self
pub fn set_webhook_id<T: Into<String>>(self, v: T) -> Self
Sets the value of webhook_id.
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_annotations<T, K, V>(self, v: T) -> Self
pub fn set_annotations<T, K, V>(self, v: T) -> Self
Sets the value of annotations.
Trait Implementations§
Source§impl Clone for GitRepositoryLink
impl Clone for GitRepositoryLink
Source§fn clone(&self) -> GitRepositoryLink
fn clone(&self) -> GitRepositoryLink
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more