pub struct SearchTargetPolicyBindingsRequest {
pub target: String,
pub page_size: i32,
pub page_token: String,
pub parent: String,
}
Expand description
Request message for SearchTargetPolicyBindings method.
Fields§
§target: String
Required. The target resource, which is bound to the policy in the binding.
Format:
//iam.googleapis.com/locations/global/workforcePools/POOL_ID
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID
//cloudresourcemanager.googleapis.com/projects/{project_number}
//cloudresourcemanager.googleapis.com/folders/{folder_id}
//cloudresourcemanager.googleapis.com/organizations/{organization_id}
page_size: i32
Optional. The maximum number of policy bindings to return. The service may return fewer than this value.
If unspecified, at most 50 policy bindings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: String
Optional. A page token, received from a previous
SearchTargetPolicyBindingsRequest
call. Provide this to retrieve the
subsequent page.
When paginating, all other parameters provided to
SearchTargetPolicyBindingsRequest
must match the call that provided the
page token.
parent: String
Required. The parent resource where this search will be performed. This should be the nearest Resource Manager resource (project, folder, or organization) to the target.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
Trait Implementations§
Source§impl Clone for SearchTargetPolicyBindingsRequest
impl Clone for SearchTargetPolicyBindingsRequest
Source§fn clone(&self) -> SearchTargetPolicyBindingsRequest
fn clone(&self) -> SearchTargetPolicyBindingsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Message for SearchTargetPolicyBindingsRequest
impl Message for SearchTargetPolicyBindingsRequest
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 SearchTargetPolicyBindingsRequest
impl PartialEq for SearchTargetPolicyBindingsRequest
Source§fn eq(&self, other: &SearchTargetPolicyBindingsRequest) -> bool
fn eq(&self, other: &SearchTargetPolicyBindingsRequest) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SearchTargetPolicyBindingsRequest
Auto Trait Implementations§
impl Freeze for SearchTargetPolicyBindingsRequest
impl RefUnwindSafe for SearchTargetPolicyBindingsRequest
impl Send for SearchTargetPolicyBindingsRequest
impl Sync for SearchTargetPolicyBindingsRequest
impl Unpin for SearchTargetPolicyBindingsRequest
impl UnwindSafe for SearchTargetPolicyBindingsRequest
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> 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