@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}.
|
Modifier | Constructor and Description |
---|---|
protected |
SecretName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String secret) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getSecret() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SecretName.Builder |
newBuilder() |
static SecretName |
of(String project,
String secret) |
static SecretName |
parse(String formattedString) |
static List<SecretName> |
parseList(List<String> formattedStrings) |
SecretName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<SecretName> values) |
@Deprecated protected SecretName()
public String getProject()
public String getSecret()
public static SecretName.Builder newBuilder()
public SecretName.Builder toBuilder()
public static SecretName of(String project, 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.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.