pub struct Resource {
pub final_properties: Option<String>,
pub id: Option<u64>,
pub insert_time: Option<String>,
pub manifest: Option<String>,
pub name: Option<String>,
pub properties: Option<String>,
pub type_: Option<String>,
pub update: Option<ResourceUpdate>,
pub update_time: Option<String>,
pub url: Option<String>,
}
Expand description
§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).
- get resources (response)
- list resources (none)
Fields§
§final_properties: Option<String>
[Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML.
id: Option<u64>
[Output Only] Unique identifier for the resource; defined by the server.
insert_time: Option<String>
[Output Only] Timestamp when the resource was created or acquired, in RFC3339 text format .
manifest: Option<String>
[Output Only] URL of the manifest representing the current configuration of this resource.
name: Option<String>
[Output Only] The name of the resource as it appears in the YAML config.
properties: Option<String>
[Output Only] The current properties of the resource before any references have been filled in. Returned as serialized YAML.
type_: Option<String>
[Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
update: Option<ResourceUpdate>
[Output Only] If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
update_time: Option<String>
[Output Only] Timestamp when the resource was updated, in RFC3339 text format .
url: Option<String>
[Output Only] The URL of the actual resource.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resource
impl<'de> Deserialize<'de> for Resource
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>,
impl Resource for Resource
impl ResponseResult for Resource
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more