@Generated(value="by gapic-generator-java") public class LogSinkName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
LogSinkName.BillingAccountSinkBuilder
Builder for billingAccounts/{billing_account}/sinks/{sink}.
|
static class |
LogSinkName.Builder
Builder for projects/{project}/sinks/{sink}.
|
static class |
LogSinkName.FolderSinkBuilder
Builder for folders/{folder}/sinks/{sink}.
|
static class |
LogSinkName.OrganizationSinkBuilder
Builder for organizations/{organization}/sinks/{sink}.
|
Modifier | Constructor and Description |
---|---|
protected |
LogSinkName()
Deprecated.
|
@Deprecated protected LogSinkName()
public String getProject()
public String getSink()
public String getOrganization()
public String getFolder()
public String getBillingAccount()
public static LogSinkName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogSinkName.Builder newProjectSinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogSinkName.OrganizationSinkBuilder newOrganizationSinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogSinkName.FolderSinkBuilder newFolderSinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogSinkName.BillingAccountSinkBuilder newBillingAccountSinkBuilder()
public LogSinkName.Builder toBuilder()
public static LogSinkName of(String project, String sink)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofProjectSinkName(String project, String sink)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofOrganizationSinkName(String organization, String sink)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofFolderSinkName(String folder, String sink)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofBillingAccountSinkName(String billingAccount, String sink)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectSinkName(String project, String sink)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationSinkName(String organization, String sink)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderSinkName(String folder, String sink)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountSinkName(String billingAccount, String sink)
public static LogSinkName parse(String formattedString)
public static List<LogSinkName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<LogSinkName> 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 © 2023 Google LLC. All rights reserved.