1 /* 2 * Copyright 2021 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * The interfaces provided are listed below, along with usage samples. 19 * 20 * <p>======================= SecretManagerServiceClient ======================= 21 * 22 * <p>Service Description: Secret Manager Service 23 * 24 * <p>Manages secrets and operations using those secrets. Implements a REST model with the following 25 * objects: 26 * 27 * <ul> 28 * <li>[Secret][google.cloud.secrets.v1beta1.Secret] 29 * <li>[SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] 30 * </ul> 31 * 32 * <p>Sample for SecretManagerServiceClient: 33 * 34 * <pre>{@code 35 * try (SecretManagerServiceClient secretManagerServiceClient = 36 * SecretManagerServiceClient.create()) { 37 * ProjectName parent = ProjectName.of("[PROJECT]"); 38 * String secretId = "secretId945974251"; 39 * Secret secret = Secret.newBuilder().build(); 40 * Secret response = secretManagerServiceClient.createSecret(parent, secretId, secret); 41 * } 42 * }</pre> 43 */ 44 @Generated("by gapic-generator-java") 45 package com.google.cloud.secretmanager.v1beta1; 46 47 import javax.annotation.Generated; 48