@Generated(value="by gapic-generator-java") public class GroupName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupName.Builder
Builder for projects/{project}/groups/{group}.
|
static class |
GroupName.FolderGroupBuilder
Builder for folders/{folder}/groups/{group}.
|
static class |
GroupName.OrganizationGroupBuilder
Builder for organizations/{organization}/groups/{group}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
GroupName()
Deprecated.
|
@Deprecated protected GroupName()
public String getProject()
public String getGroup()
public String getOrganization()
public String getFolder()
public static GroupName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static GroupName.Builder newProjectGroupBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static GroupName.OrganizationGroupBuilder newOrganizationGroupBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static GroupName.FolderGroupBuilder newFolderGroupBuilder()
public GroupName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static GroupName ofProjectGroupName(String project, String group)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static GroupName ofOrganizationGroupName(String organization, String group)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static GroupName ofFolderGroupName(String folder, String group)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectGroupName(String project, String group)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationGroupName(String organization, String group)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderGroupName(String folder, String group)
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 © 2023 Google LLC. All rights reserved.