@Generated(value="by gapic-generator-java") public class SecretName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretName.Builder
Builder for projects/{project}/secrets/{secret}.
|
static class |
SecretName.ProjectLocationSecretBuilder
Builder for projects/{project}/locations/{location}/secrets/{secret}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SecretName()
Deprecated.
|
@Deprecated protected SecretName()
public String getProject()
public String getSecret()
public String getLocation()
public static SecretName.Builder newBuilder()
public static SecretName.Builder newProjectSecretBuilder()
public static SecretName.ProjectLocationSecretBuilder newProjectLocationSecretBuilder()
public SecretName.Builder toBuilder()
public static SecretName of(String project, String secret)
public static SecretName ofProjectSecretName(String project, String secret)
public static SecretName ofProjectLocationSecretName(String project, String location, String secret)
public static String formatProjectLocationSecretName(String project, String location, String secret)
public static SecretName parse(String formattedString)
public static List<SecretName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SecretName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2025 Google LLC. All rights reserved.