@Generated(value="by gapic-generator-java") public class NotificationName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationName.Builder
Builder for organizations/{organization}/locations/{location}/notifications/{notification}.
|
static class |
NotificationName.ProjectLocationNotificationBuilder
Builder for projects/{project}/locations/{location}/notifications/{notification}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NotificationName()
Deprecated.
|
@Deprecated protected NotificationName()
public String getOrganization()
public String getLocation()
public String getNotification()
public String getProject()
public static NotificationName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationName.Builder newOrganizationLocationNotificationBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationName.ProjectLocationNotificationBuilder newProjectLocationNotificationBuilder()
public NotificationName.Builder toBuilder()
public static NotificationName of(String organization, String location, String notification)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationName ofOrganizationLocationNotificationName(String organization, String location, String notification)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationName ofProjectLocationNotificationName(String project, String location, String notification)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationNotificationName(String organization, String location, String notification)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationNotificationName(String project, String location, String notification)
public static NotificationName parse(String formattedString)
public static List<NotificationName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<NotificationName> 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 © 2024 Google LLC. All rights reserved.