#[non_exhaustive]pub struct ListBlueGreenDeploymentsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
/* private fields */
}Expand description
The request message for listing blue-green deployment resources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The parent resource whose blue-green deployments are to be listed. Format: projects/{project}/locations/{location}
page_size: i32Optional. The maximum number of deployments to return. The service may return fewer deployments than this value. If unspecified, at most 500 deployments are returned. The maximum value is 1000; values above 1000 are treated as 1000.
page_token: StringOptional. A page token, received from a previous ListBlueGreenDeployments
call. Provide this to retrieve the subsequent page.
filter: StringOptional. A filter expression that filters the results.
order_by: StringOptional. A comma-separated list of fields to order the results by.
Implementations§
Source§impl ListBlueGreenDeploymentsRequest
impl ListBlueGreenDeploymentsRequest
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 = ListBlueGreenDeploymentsRequest::new().set_page_token("example");Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
impl StructuralPartialEq for ListBlueGreenDeploymentsRequest
Auto Trait Implementations§
impl Freeze for ListBlueGreenDeploymentsRequest
impl RefUnwindSafe for ListBlueGreenDeploymentsRequest
impl Send for ListBlueGreenDeploymentsRequest
impl Sync for ListBlueGreenDeploymentsRequest
impl Unpin for ListBlueGreenDeploymentsRequest
impl UnsafeUnpin for ListBlueGreenDeploymentsRequest
impl UnwindSafe for ListBlueGreenDeploymentsRequest
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