Skip to main content

Module client

Module client 

Source
Expand description

§Example

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

Concrete implementations of this client library traits.

Structs§

AddressGroupService
Implements a client for the Network Security API.
DnsThreatDetectorService
Implements a client for the Network Security API.
FirewallActivation
Implements a client for the Network Security API.
Intercept
Implements a client for the Network Security API.
Mirroring
Implements a client for the Network Security API.
NetworkSecurity
Implements a client for the Network Security API.
OrganizationAddressGroupService
Implements a client for the Network Security API.
OrganizationSecurityProfileGroupService
Implements a client for the Network Security API.