Struct google_api_proto::google::spanner::admin::instance::v1::ListInstancePartitionsRequest
source · pub struct ListInstancePartitionsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub instance_partition_deadline: Option<Timestamp>,
}
Expand description
The request for [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].
Fields§
§parent: String
Required. The instance whose instance partitions should be listed. Values
are of the form projects/<project>/instances/<instance>
.
page_size: i32
Number of instance partitions 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.ListInstancePartitionsResponse.next_page_token]
from a previous
[ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
instance_partition_deadline: Option<Timestamp>
Optional. Deadline used while retrieving metadata for instance partitions. Instance partitions whose metadata cannot be retrieved within this deadline will be added to [unreachable][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.unreachable] in [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
Trait Implementations§
source§impl Clone for ListInstancePartitionsRequest
impl Clone for ListInstancePartitionsRequest
source§fn clone(&self) -> ListInstancePartitionsRequest
fn clone(&self) -> ListInstancePartitionsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListInstancePartitionsRequest
impl Message for ListInstancePartitionsRequest
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 ListInstancePartitionsRequest
impl PartialEq for ListInstancePartitionsRequest
source§fn eq(&self, other: &ListInstancePartitionsRequest) -> bool
fn eq(&self, other: &ListInstancePartitionsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListInstancePartitionsRequest
Auto Trait Implementations§
impl Freeze for ListInstancePartitionsRequest
impl RefUnwindSafe for ListInstancePartitionsRequest
impl Send for ListInstancePartitionsRequest
impl Sync for ListInstancePartitionsRequest
impl Unpin for ListInstancePartitionsRequest
impl UnwindSafe for ListInstancePartitionsRequest
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