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 AppEngine 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
type_: Option<String>
Required field representing the resource type this id is for. At present, the valid types are "project" and "organization".
id: Option<String>
Required field for the type-specific id. This should correspond to the id used in the type-specific API's.
Trait Implementations
impl Debug for ResourceId
[src]
impl Clone for ResourceId
[src]
fn clone(&self) -> ResourceId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for ResourceId
[src]
fn default() -> ResourceId
Returns the "default value" for a type. Read more