Struct google_redis1::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>
Resource ID for the region. 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>
Full resource name for the region. For example: "projects/example-project/locations/us-east1".
metadata: Option<HashMap<String, String>>
Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in location_id
or alternative_location_id
fields when creating a Redis instance.
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