Struct googapis::google::cloud::servicedirectory::v1::ListEndpointsRequest [−][src]
pub struct ListEndpointsRequest {
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.ListEndpoints][google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints].
Fields
parent: String
Required. The resource name of the service whose endpoints 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 Endpoints that have a label with the key “owner” this is the same as “metadata:owner”.
- “metadata.protocol=gRPC” returns Endpoints that have key/value “protocol=gRPC”.
- “address=192.108.1.105” returns Endpoints that have this address.
- “port>8080” returns Endpoints that have port number larger than 8080.
- “name>projects/my-project/locations/us-east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c” returns Endpoints that have name that is alphabetically later than the string, so “endpoint-e” will be returned but “endpoint-a” will not be.
- “metadata.owner!=sd AND metadata.foo=bar” returns Endpoints 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 Endpoint doesn’t have a field called “doesnotexist”. Since the filter does not match any Endpoints, 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 ListEndpointsRequest
impl Send for ListEndpointsRequest
impl Sync for ListEndpointsRequest
impl Unpin for ListEndpointsRequest
impl UnwindSafe for ListEndpointsRequest
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