構造体 SearchDeploymentRevisionsRequest(0.5.0)

SearchDeploymentRevisions のリクエスト オブジェクト。

フィールド

親

必須。親オーケストレーション クラスタ リソースの名前。形式は「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

省略可。前回の search 呼び出しから受け取ったページトークン。後続のページを取得するために指定できます。

実装

新規

 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] の値を設定します。