pub struct ListPolicyBindingsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ListPolicyBindings method.
Fields§
§parent: String
Required. The parent resource, which owns the collection of policy bindings.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
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 ListPolicyBindings
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPolicyBindings
must
match the call that provided the page token.
filter: String
Optional. An expression for filtering the results of the request. Filter rules are case insensitive. Some eligible fields for filtering are:
target
policy
Some examples of filter queries:
Query | Description |
---|---|
target:ex* | The binding target’s name starts with “ex”. |
target:example | The binding target’s name is example . |
policy:example | The binding policy’s name is example . |
Trait Implementations§
Source§impl Clone for ListPolicyBindingsRequest
impl Clone for ListPolicyBindingsRequest
Source§fn clone(&self) -> ListPolicyBindingsRequest
fn clone(&self) -> ListPolicyBindingsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListPolicyBindingsRequest
impl Debug for ListPolicyBindingsRequest
Source§impl Default for ListPolicyBindingsRequest
impl Default for ListPolicyBindingsRequest
Source§impl Message for ListPolicyBindingsRequest
impl Message for ListPolicyBindingsRequest
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
.impl StructuralPartialEq for ListPolicyBindingsRequest
Auto Trait Implementations§
impl Freeze for ListPolicyBindingsRequest
impl RefUnwindSafe for ListPolicyBindingsRequest
impl Send for ListPolicyBindingsRequest
impl Sync for ListPolicyBindingsRequest
impl Unpin for ListPolicyBindingsRequest
impl UnwindSafe for ListPolicyBindingsRequest
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