@Generated(value="by gapic-generator-java") public class SavedQueryName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
SavedQueryName.Builder
Builder for projects/{project}/savedQueries/{saved_query}.
|
static class |
SavedQueryName.FolderSavedQueryBuilder
Builder for folders/{folder}/savedQueries/{saved_query}.
|
static class |
SavedQueryName.OrganizationSavedQueryBuilder
Builder for organizations/{organization}/savedQueries/{saved_query}.
|
Modifier | Constructor and Description |
---|---|
protected |
SavedQueryName()
Deprecated.
|
@Deprecated protected SavedQueryName()
public String getProject()
public String getSavedQuery()
public String getFolder()
public String getOrganization()
public static SavedQueryName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SavedQueryName.Builder newProjectSavedQueryBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SavedQueryName.FolderSavedQueryBuilder newFolderSavedQueryBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SavedQueryName.OrganizationSavedQueryBuilder newOrganizationSavedQueryBuilder()
public SavedQueryName.Builder toBuilder()
public static SavedQueryName of(String project, String savedQuery)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofProjectSavedQueryName(String project, String savedQuery)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofFolderSavedQueryName(String folder, String savedQuery)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofOrganizationSavedQueryName(String organization, String savedQuery)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectSavedQueryName(String project, String savedQuery)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderSavedQueryName(String folder, String savedQuery)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationSavedQueryName(String organization, String savedQuery)
public static SavedQueryName parse(String formattedString)
public static List<SavedQueryName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SavedQueryName> 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.