Struct google_api_proto::google::cloud::osconfig::v1alpha::ListOsPolicyAssignmentReportsRequest
source · pub struct ListOsPolicyAssignmentReportsRequest {
pub parent: String,
pub page_size: i32,
pub filter: String,
pub page_token: String,
}
Expand description
List the OS policy assignment reports for VM instances.
Fields§
§parent: String
Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports
For {project}
, either project-number
or project-id
can be provided.
For {instance}
, either instance-name
, instance-id
, or -
can be
provided. If ‘-’ is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For {assignment}
, either assignment-id
or -
can be provided. If ‘-’
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be -
.
For example:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports
returns all reports for the instance
projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports
returns all the reports for the given assignment across all instances.
projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports
returns all the reports for all assignments across all instances.
page_size: i32
The maximum number of results to return.
filter: String
If provided, this field specifies the criteria that must be met by the
OSPolicyAssignmentReport
API resource that is included in the response.
page_token: String
A pagination token returned from a previous call to the
ListOSPolicyAssignmentReports
method that indicates where this listing
should continue from.
Trait Implementations§
source§impl Clone for ListOsPolicyAssignmentReportsRequest
impl Clone for ListOsPolicyAssignmentReportsRequest
source§fn clone(&self) -> ListOsPolicyAssignmentReportsRequest
fn clone(&self) -> ListOsPolicyAssignmentReportsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListOsPolicyAssignmentReportsRequest
impl Message for ListOsPolicyAssignmentReportsRequest
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 ListOsPolicyAssignmentReportsRequest
impl PartialEq for ListOsPolicyAssignmentReportsRequest
source§fn eq(&self, other: &ListOsPolicyAssignmentReportsRequest) -> bool
fn eq(&self, other: &ListOsPolicyAssignmentReportsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListOsPolicyAssignmentReportsRequest
Auto Trait Implementations§
impl Freeze for ListOsPolicyAssignmentReportsRequest
impl RefUnwindSafe for ListOsPolicyAssignmentReportsRequest
impl Send for ListOsPolicyAssignmentReportsRequest
impl Sync for ListOsPolicyAssignmentReportsRequest
impl Unpin for ListOsPolicyAssignmentReportsRequest
impl UnwindSafe for ListOsPolicyAssignmentReportsRequest
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