Struct google_api_proto::google::cloud::osconfig::v1::OsPolicyAssignmentReport
source · pub struct OsPolicyAssignmentReport {
pub name: String,
pub instance: String,
pub os_policy_assignment: String,
pub os_policy_compliances: Vec<OsPolicyCompliance>,
pub update_time: Option<Timestamp>,
pub last_run_id: String,
}
Expand description
A report of the OS policy assignment status for a given instance.
Fields§
§name: String
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
instance: String
The Compute Engine VM instance name.
os_policy_assignment: String
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
os_policy_compliances: Vec<OsPolicyCompliance>
Compliance data for each OSPolicy
that is applied to the VM.
update_time: Option<Timestamp>
Timestamp for when the report was last generated.
last_run_id: String
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.
This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
Trait Implementations§
source§impl Clone for OsPolicyAssignmentReport
impl Clone for OsPolicyAssignmentReport
source§fn clone(&self) -> OsPolicyAssignmentReport
fn clone(&self) -> OsPolicyAssignmentReport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OsPolicyAssignmentReport
impl Debug for OsPolicyAssignmentReport
source§impl Default for OsPolicyAssignmentReport
impl Default for OsPolicyAssignmentReport
source§impl Message for OsPolicyAssignmentReport
impl Message for OsPolicyAssignmentReport
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for OsPolicyAssignmentReport
impl PartialEq for OsPolicyAssignmentReport
source§fn eq(&self, other: &OsPolicyAssignmentReport) -> bool
fn eq(&self, other: &OsPolicyAssignmentReport) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OsPolicyAssignmentReport
Auto Trait Implementations§
impl Freeze for OsPolicyAssignmentReport
impl RefUnwindSafe for OsPolicyAssignmentReport
impl Send for OsPolicyAssignmentReport
impl Sync for OsPolicyAssignmentReport
impl Unpin for OsPolicyAssignmentReport
impl UnwindSafe for OsPolicyAssignmentReport
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request