Struct google_cloudtasks2_beta2::Location [−][src]
pub struct Location { pub location_id: Option<String>, pub labels: Option<HashMap<String, String>>, pub display_name: Option<String>, pub name: Option<String>, pub metadata: Option<HashMap<String, String>>, }
A resource that represents Google Cloud Platform location.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations get projects (response)
Fields
location_id: Option<String>
The canonical id for this location. For example: "us-east1"
.
labels: Option<HashMap<String, String>>
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
display_name: Option<String>
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
name: Option<String>
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
metadata: Option<HashMap<String, String>>
Service-specific metadata. For example the available capacity at the given location.
Trait Implementations
impl Default for Location
[src]
impl Default for Location
impl Clone for Location
[src]
impl Clone for Location
fn clone(&self) -> Location
[src]
fn clone(&self) -> Location
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)
Performs copy-assignment from source
. Read more
impl Debug for Location
[src]
impl Debug for Location
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 ResponseResult for Location
[src]
impl ResponseResult for Location