#[non_exhaustive]pub struct ListBackupsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub order_by: String,
pub filter: String,
/* private fields */
}Expand description
ListBackupsRequest lists backups.
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 backupVault for which to retrieve backup information,
in the format
projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}.
To retrieve backup information for all locations, use “-” for the
{location} value.
To retrieve backup information for all backupVaults, use “-” for the
{backup_vault_id} value.
To retrieve backup information for a volume, use “-” for the
{backup_vault_id} value and specify volume full name with the filter.
page_size: i32The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: StringThe next_page_token value to use if there are additional results to retrieve for this list request.
order_by: StringSort results. Supported values are “name”, “name desc” or “” (unsorted).
filter: StringThe standard list filter. If specified, backups will be returned based on the attribute name that matches the filter expression. If empty, then no backups are filtered out. See https://google.aip.dev/160
Implementations§
Source§impl ListBackupsRequest
impl ListBackupsRequest
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 = ListBackupsRequest::new().set_page_token("example");Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ListBackupsRequest
impl Clone for ListBackupsRequest
Source§fn clone(&self) -> ListBackupsRequest
fn clone(&self) -> ListBackupsRequest
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 ListBackupsRequest
impl Debug for ListBackupsRequest
Source§impl Default for ListBackupsRequest
impl Default for ListBackupsRequest
Source§fn default() -> ListBackupsRequest
fn default() -> ListBackupsRequest
Source§impl Message for ListBackupsRequest
impl Message for ListBackupsRequest
Source§impl PartialEq for ListBackupsRequest
impl PartialEq for ListBackupsRequest
impl StructuralPartialEq for ListBackupsRequest
Auto Trait Implementations§
impl Freeze for ListBackupsRequest
impl RefUnwindSafe for ListBackupsRequest
impl Send for ListBackupsRequest
impl Sync for ListBackupsRequest
impl Unpin for ListBackupsRequest
impl UnsafeUnpin for ListBackupsRequest
impl UnwindSafe for ListBackupsRequest
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