Skip navigation links

@Generated(value="by gapic-generator-java")

Package com.google.cloud.secretmanager.v1beta1

The interfaces provided are listed below, along with usage samples.

See: Description

Package com.google.cloud.secretmanager.v1beta1 Description

The interfaces provided are listed below, along with usage samples.

======================= SecretManagerServiceClient =======================

Service Description: Secret Manager Service

Manages secrets and operations using those secrets. Implements a REST model with the following objects:

Sample for SecretManagerServiceClient:


 try (SecretManagerServiceClient secretManagerServiceClient =
     SecretManagerServiceClient.create()) {
   ProjectName parent = ProjectName.of("[PROJECT]");
   String secretId = "secretId945974251";
   Secret secret = Secret.newBuilder().build();
   Secret response = secretManagerServiceClient.createSecret(parent, secretId, secret);
 }
 
Skip navigation links

Copyright © 2022 Google LLC. All rights reserved.