#[non_exhaustive]pub struct ListSnapshotsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The unique name of the cluster for which snapshots should be
listed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}.
Use {cluster} = '-' to list snapshots for all clusters in an instance,
e.g., projects/{project}/instances/{instance}/clusters/-.
page_size: i32The maximum number of snapshots to return per page. CURRENTLY UNIMPLEMENTED AND IGNORED.
page_token: StringThe value of next_page_token returned by a previous call.
Implementations§
Source§impl ListSnapshotsRequest
impl ListSnapshotsRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
let x = ListSnapshotsRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListSnapshotsRequest
impl Clone for ListSnapshotsRequest
Source§fn clone(&self) -> ListSnapshotsRequest
fn clone(&self) -> ListSnapshotsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListSnapshotsRequest
impl Debug for ListSnapshotsRequest
Source§impl Default for ListSnapshotsRequest
impl Default for ListSnapshotsRequest
Source§fn default() -> ListSnapshotsRequest
fn default() -> ListSnapshotsRequest
Source§impl Message for ListSnapshotsRequest
impl Message for ListSnapshotsRequest
Source§impl PartialEq for ListSnapshotsRequest
impl PartialEq for ListSnapshotsRequest
impl StructuralPartialEq for ListSnapshotsRequest
Auto Trait Implementations§
impl Freeze for ListSnapshotsRequest
impl RefUnwindSafe for ListSnapshotsRequest
impl Send for ListSnapshotsRequest
impl Sync for ListSnapshotsRequest
impl Unpin for ListSnapshotsRequest
impl UnsafeUnpin for ListSnapshotsRequest
impl UnwindSafe for ListSnapshotsRequest
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<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>
T in a tonic::Request