Struct googapis::google::cloud::gkehub::v1alpha2::ListMembershipsRequest [−][src]
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 GkeHub.ListMemberships
method.
Fields
parent: String
Required. The parent (project and location) where the Memberships will be listed.
Specified in the format projects/*/locations/*
.
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
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListMembershipsRequest
impl Send for ListMembershipsRequest
impl Sync for ListMembershipsRequest
impl Unpin for ListMembershipsRequest
impl UnwindSafe for ListMembershipsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more