Request object for SearchDeploymentRevisions.
Fields
parent
Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".
query
Required. Supported queries:
- "" : Lists all revisions across all deployments.
- "latest=true" : Lists latest revisions across all deployments.
- "name={name}" : Lists all revisions of deployment with name {name}.
- "name={name} latest=true": Lists latest revision of deployment with name {name}
page_size
Optional. The maximum number of deployment revisions to return per page. max page size = 100, default page size = 20.
page_token
Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.
Implementations
new
fn new() -> Self
set_parent
fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [parent][crate::model::SearchDeploymentRevisionsRequest::parent].
set_query
fn set_query<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [query][crate::model::SearchDeploymentRevisionsRequest::query].
set_page_size
fn set_page_size<T: std::convert::Into<i32>>(self, v: T) -> Self
Sets the value of [page_size][crate::model::SearchDeploymentRevisionsRequest::page_size].
set_page_token
fn set_page_token<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [page_token][crate::model::SearchDeploymentRevisionsRequest::page_token].