Skip to main content

Module client

Module client 

Source
Expand description

§Example

use google_cloud_gax::paginator::ItemPaginator as _;
async fn sample(
   project_id: &str,
   location_id: &str,
) -> anyhow::Result<()> {
    let client = CloudDeploy::builder().build().await?;
    let mut list = client.list_delivery_pipelines()
        .set_parent(format!("projects/{project_id}/locations/{location_id}"))
        .by_item();
    while let Some(item) = list.next().await.transpose()? {
        println!("{:?}", item);
    }
    Ok(())
}

Concrete implementations of this client library traits.

Structs§

CloudDeploy
Implements a client for the Cloud Deploy API.