pub struct ListInstancesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
Fields§
§parent: String
Required. The name of the project for which a list of instances is
requested. Values are of the form projects/<project>
.
page_size: i32
Number of instances to be returned in the response. If 0 or less, defaults to the server’s maximum allowed page size.
page_token: String
If non-empty, page_token
should contain a
[next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] from a
previous [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
filter: String
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
name
display_name
labels.key
where key is the name of a label
Some examples of using filters are:
name:*
–> The instance has a name.name:Howl
–> The instance’s name contains the string “howl”.name:HOWL
–> Equivalent to above.NAME:howl
–> Equivalent to above.labels.env:*
–> The instance has the label “env”.labels.env:dev
–> The instance has the label “env” and the value of the label contains the string “dev”.name:howl labels.env:dev
–> The instance’s name contains “howl” and it has the label “env” with its value containing “dev”.
Trait Implementations§
Source§impl Clone for ListInstancesRequest
impl Clone for ListInstancesRequest
Source§fn clone(&self) -> ListInstancesRequest
fn clone(&self) -> ListInstancesRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListInstancesRequest
impl Debug for ListInstancesRequest
Source§impl Default for ListInstancesRequest
impl Default for ListInstancesRequest
Source§fn default() -> ListInstancesRequest
fn default() -> ListInstancesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListInstancesRequest
impl Message for ListInstancesRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for ListInstancesRequest
impl PartialEq for ListInstancesRequest
impl StructuralPartialEq for ListInstancesRequest
Auto Trait Implementations§
impl Freeze for ListInstancesRequest
impl RefUnwindSafe for ListInstancesRequest
impl Send for ListInstancesRequest
impl Sync for ListInstancesRequest
impl Unpin for ListInstancesRequest
impl UnwindSafe for ListInstancesRequest
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
Mutably borrows from an owned value. Read more
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> 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>
Wrap the input message
T
in a tonic::Request