Struct SearchDeploymentRevisionsRequest (0.5.0)

SearchDeploymentRevisions 的要求物件。

欄位

parent

這是必要旗標,父項自動化調度管理叢集資源的名稱。格式應為 - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}"。

查詢

這是必要旗標,支援的查詢:

  1. "" : 列出所有部署作業的所有修訂版本。
  2. "latest=true":列出所有部署作業的最新修訂版本。
  3. "name={name}":列出名稱為 {name} 的所有部署作業修訂版本。
  4. "name={name} latest=true":列出名稱為 {name} 的最新修訂版本

page_size

選用。每頁傳回的部署版本數量上限。 頁面大小上限 = 100,預設頁面大小 = 20。

page_token

選用。從先前搜尋呼叫收到的頁面權杖。提供此項目即可擷取後續網頁。

實作

新推出

 fn new() -> Self

set_parent

 fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

設定 [parent][crate::model::SearchDeploymentRevisionsRequest::parent] 的值。

set_query

 fn set_query<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

設定 [query][crate::model::SearchDeploymentRevisionsRequest::query] 的值。

set_page_size

 fn set_page_size<T: std::convert::Into<i32>>(self, v: T) -> Self

設定 [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

設定 [page_token][crate::model::SearchDeploymentRevisionsRequest::page_token] 的值。