Struct google_api_proto::google::cloud::asset::v1::AnalyzeOrgPolicyGovernedContainersRequest
source · pub struct AnalyzeOrgPolicyGovernedContainersRequest {
pub scope: String,
pub constraint: String,
pub filter: String,
pub page_size: Option<i32>,
pub page_token: String,
}
Expand description
A request message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].
Fields§
§scope: String
Required. The organization to scope the request. Only organization policies within the scope will be analyzed. The output containers will also be limited to the ones governed by those in-scope organization policies.
- organizations/{ORGANIZATION_NUMBER} (e.g., “organizations/123456”)
constraint: String
Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.
filter: String
The expression to filter [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]. Filtering is currently available for bare literal values and the following fields:
- parent
- consolidated_policy.rules.enforce
When filtering by a specific field, the only supported operator is =
.
For example, filtering by
parent=“//cloudresourcemanager.googleapis.com/folders/001”
will return all the containers under “folders/001”.
page_size: Option<i32>
The maximum number of items to return per page. If unspecified, [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers] will contain 100 items with a maximum of 200.
page_token: String
The pagination token to retrieve the next page.
Implementations§
Trait Implementations§
source§impl Clone for AnalyzeOrgPolicyGovernedContainersRequest
impl Clone for AnalyzeOrgPolicyGovernedContainersRequest
source§fn clone(&self) -> AnalyzeOrgPolicyGovernedContainersRequest
fn clone(&self) -> AnalyzeOrgPolicyGovernedContainersRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for AnalyzeOrgPolicyGovernedContainersRequest
impl Message for AnalyzeOrgPolicyGovernedContainersRequest
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 AnalyzeOrgPolicyGovernedContainersRequest
impl PartialEq for AnalyzeOrgPolicyGovernedContainersRequest
source§fn eq(&self, other: &AnalyzeOrgPolicyGovernedContainersRequest) -> bool
fn eq(&self, other: &AnalyzeOrgPolicyGovernedContainersRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzeOrgPolicyGovernedContainersRequest
Auto Trait Implementations§
impl Freeze for AnalyzeOrgPolicyGovernedContainersRequest
impl RefUnwindSafe for AnalyzeOrgPolicyGovernedContainersRequest
impl Send for AnalyzeOrgPolicyGovernedContainersRequest
impl Sync for AnalyzeOrgPolicyGovernedContainersRequest
impl Unpin for AnalyzeOrgPolicyGovernedContainersRequest
impl UnwindSafe for AnalyzeOrgPolicyGovernedContainersRequest
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