Struct google_api_proto::google::cloud::gkehub::v1beta1::ListMembershipsRequest
source · pub struct ListMembershipsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
}
Expand description
Request message for GkeHubMembershipService.ListMemberships
method.
Fields§
§parent: String
Required. The parent (project and location) where the Memberships will be
listed. Specified in the format projects/*/locations/*
.
projects/*/locations/-
list memberships in all the regions.
page_size: i32
Optional. When requesting a ‘page’ of resources, page_size
specifies
number of resources to return. If unspecified or set to 0, all resources
will be returned.
page_token: String
Optional. Token returned by previous call to ListMemberships
which
specifies the position in the list from where to continue listing the
resources.
filter: String
Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
-
Name is
bar
in projectfoo-proj
and locationglobal
:name = “projects/foo-proj/locations/global/membership/bar”
-
Memberships that have a label called
foo
:labels.foo:*
-
Memberships that have a label called
foo
whose value isbar
:labels.foo = bar
-
Memberships in the CREATING state:
state = CREATING
order_by: String
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Trait Implementations§
source§impl Clone for ListMembershipsRequest
impl Clone for ListMembershipsRequest
source§fn clone(&self) -> ListMembershipsRequest
fn clone(&self) -> ListMembershipsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListMembershipsRequest
impl Debug for ListMembershipsRequest
source§impl Default for ListMembershipsRequest
impl Default for ListMembershipsRequest
source§impl Message for ListMembershipsRequest
impl Message for ListMembershipsRequest
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 ListMembershipsRequest
impl PartialEq for ListMembershipsRequest
source§fn eq(&self, other: &ListMembershipsRequest) -> bool
fn eq(&self, other: &ListMembershipsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListMembershipsRequest
Auto Trait Implementations§
impl Freeze for ListMembershipsRequest
impl RefUnwindSafe for ListMembershipsRequest
impl Send for ListMembershipsRequest
impl Sync for ListMembershipsRequest
impl Unpin for ListMembershipsRequest
impl UnwindSafe for ListMembershipsRequest
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