Struct google_api_proto::google::spanner::admin::instance::v1::ListInstancesRequest
source · pub struct ListInstancesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub instance_deadline: Option<Timestamp>,
}
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”.
instance_deadline: Option<Timestamp>
Deadline used while retrieving metadata for instances. Instances whose metadata cannot be retrieved within this deadline will be added to [unreachable][google.spanner.admin.instance.v1.ListInstancesResponse.unreachable] in [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse].
Trait Implementations§
source§impl Clone for ListInstancesRequest
impl Clone for ListInstancesRequest
source§fn clone(&self) -> ListInstancesRequest
fn clone(&self) -> ListInstancesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListInstancesRequest
impl Debug for ListInstancesRequest
source§impl Default for ListInstancesRequest
impl Default for ListInstancesRequest
source§impl Message for ListInstancesRequest
impl Message for ListInstancesRequest
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 ListInstancesRequest
impl PartialEq for ListInstancesRequest
source§fn eq(&self, other: &ListInstancesRequest) -> bool
fn eq(&self, other: &ListInstancesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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