Struct google_cloudresourcemanager1_beta1::ResourceId[][src]

pub struct ResourceId {
    pub type_: Option<String>,
    pub id: Option<String>,
}

A container to reference an id for any resource type. A resource in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.

This type is not used in any activity, and only used as part of another schema.

Fields

Required field representing the resource type this id is for. At present, the valid types are "project", "folder", and "organization".

Required field for the type-specific id. This should correspond to the id used in the type-specific API's.

Trait Implementations

impl Default for ResourceId
[src]

Returns the "default value" for a type. Read more

impl Clone for ResourceId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceId
[src]

Formats the value using the given formatter. Read more

impl Part for ResourceId
[src]

Auto Trait Implementations

impl Send for ResourceId

impl Sync for ResourceId