@Generated(value="by gapic-generator-java") public class EnvironmentName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
EnvironmentName.Builder
Builder for projects/{project}/agent/environments/{environment}.
|
static class |
EnvironmentName.ProjectLocationEnvironmentBuilder
Builder for projects/{project}/locations/{location}/agent/environments/{environment}.
|
Modifier | Constructor and Description |
---|---|
protected |
EnvironmentName()
Deprecated.
|
@Deprecated protected EnvironmentName()
public String getProject()
public String getEnvironment()
public String getLocation()
public static EnvironmentName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EnvironmentName.Builder newProjectEnvironmentBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static EnvironmentName.ProjectLocationEnvironmentBuilder newProjectLocationEnvironmentBuilder()
public EnvironmentName.Builder toBuilder()
public static EnvironmentName of(String project, String environment)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static EnvironmentName ofProjectEnvironmentName(String project, String environment)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static EnvironmentName ofProjectLocationEnvironmentName(String project, String location, String environment)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectEnvironmentName(String project, String environment)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationEnvironmentName(String project, String location, String environment)
public static EnvironmentName parse(String formattedString)
public static List<EnvironmentName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<EnvironmentName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.