Struct google_cloudasset1_beta1::Asset [−][src]
pub struct Asset { pub iam_policy: Option<Policy>, pub asset_type: Option<String>, pub resource: Option<ResourceType>, pub name: Option<String>, }
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.
This type is not used in any activity, and only used as part of another schema.
Fields
iam_policy: Option<Policy>
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.
asset_type: Option<String>
Type of the asset. Example: "google.compute.disk".
resource: Option<ResourceType>
Representation of the resource.
name: Option<String>
The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource Names
for more information.
Trait Implementations
impl Default for Asset
[src]
impl Default for Asset
impl Clone for Asset
[src]
impl Clone for Asset
fn clone(&self) -> Asset
[src]
fn clone(&self) -> Asset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Asset
[src]
impl Debug for Asset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Asset
[src]
impl Part for Asset