@Generated(value="by gapic-generator-java") public class NotificationChannelName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationChannelName.Builder
Builder for projects/{project}/notificationChannels/{notification_channel}.
|
static class |
NotificationChannelName.FolderNotificationChannelBuilder
Builder for folders/{folder}/notificationChannels/{notification_channel}.
|
static class |
NotificationChannelName.OrganizationNotificationChannelBuilder
Builder for organizations/{organization}/notificationChannels/{notification_channel}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NotificationChannelName()
Deprecated.
|
@Deprecated protected NotificationChannelName()
public String getProject()
public String getNotificationChannel()
public String getOrganization()
public String getFolder()
public static NotificationChannelName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationChannelName.Builder newProjectNotificationChannelBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationChannelName.OrganizationNotificationChannelBuilder newOrganizationNotificationChannelBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static NotificationChannelName.FolderNotificationChannelBuilder newFolderNotificationChannelBuilder()
public NotificationChannelName.Builder toBuilder()
public static NotificationChannelName of(String project, String notificationChannel)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationChannelName ofProjectNotificationChannelName(String project, String notificationChannel)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationChannelName ofOrganizationNotificationChannelName(String organization, String notificationChannel)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static NotificationChannelName ofFolderNotificationChannelName(String folder, String notificationChannel)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectNotificationChannelName(String project, String notificationChannel)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationNotificationChannelName(String organization, String notificationChannel)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderNotificationChannelName(String folder, String notificationChannel)
public static NotificationChannelName parse(String formattedString)
public static List<NotificationChannelName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<NotificationChannelName> 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 © 2023 Google LLC. All rights reserved.