Struct googapis::google::cloud::servicedirectory::v1::ListServicesRequest [−][src]
pub struct ListServicesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
}
Expand description
The request message for [RegistrationService.ListServices][google.cloud.servicedirectory.v1.RegistrationService.ListServices].
Fields
parent: String
Required. The resource name of the namespace whose services we’d like to list.
page_size: i32
Optional. The maximum number of items to return.
page_token: String
Optional. The next_page_token value returned from a previous List request, if any.
filter: String
Optional. The filter to list result by.
General filter string syntax:
Examples of valid filters:
- “metadata.owner” returns Services that have a label with the key “owner” this is the same as “metadata:owner”.
- “metadata.protocol=gRPC” returns Services that have key/value “protocol=gRPC”.
- “name>projects/my-project/locations/us-east/namespaces/my-namespace/services/service-c” returns Services that have name that is alphabetically later than the string, so “service-e” will be returned but “service-a” will not be.
- “metadata.owner!=sd AND metadata.foo=bar” returns Services that have “owner” in label key but value is not “sd” AND have key/value foo=bar.
- “doesnotexist.foo=bar” returns an empty list. Note that Service doesn’t have a field called “doesnotexist”. Since the filter does not match any Services, it returns no results.
order_by: String
Optional. The order to list result by.
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 ListServicesRequest
impl Send for ListServicesRequest
impl Sync for ListServicesRequest
impl Unpin for ListServicesRequest
impl UnwindSafe for ListServicesRequest
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