pub struct RelatedAsset {
pub ancestors: Option<Vec<String>>,
pub asset: Option<String>,
pub asset_type: Option<String>,
pub relationship_type: Option<String>,
}Expand description
An asset identifier in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud resource hierarchy, a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See Supported asset types for more information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ancestors: Option<Vec<String>>The ancestors of an asset in Google Cloud resource hierarchy, represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
asset: Option<String>The full name of the asset. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1 See Resource names for more information.
asset_type: Option<String>The type of the asset. Example: compute.googleapis.com/Disk See Supported asset types for more information.
relationship_type: Option<String>The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP
Trait Implementations§
Source§impl Clone for RelatedAsset
impl Clone for RelatedAsset
Source§fn clone(&self) -> RelatedAsset
fn clone(&self) -> RelatedAsset
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more