Skip to content

Generate samples for get operations #2691

@amanda-tarafa

Description

@amanda-tarafa
# use google_cloud_secret_manager_v1::client::SecretManagerService
async fn sample(client: &SecretManagerService, secret_name: &str) -> gax::Result<()> {
    let secret =  client
        .get_secret()
        .set_name(secret_name)
        .send()
        .await?;
    println!("{secret:?}");
    Ok(());
} 

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions