Struct google_cloudkms1_beta1::api::Location
source · pub struct Location {
pub location_id: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Expand description
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"
.
metadata: Option<HashMap<String, Value>>
Service-specific metadata. For example the available capacity at the given location.
labels: Option<HashMap<String, String>>
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
name: Option<String>
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
Trait Implementations§
source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for Location
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more