Package com.google.logging.v2
Class LogBucketName
- java.lang.Object
-
- com.google.logging.v2.LogBucketName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class LogBucketName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogBucketName.BillingAccountLocationBucketBuilder
Builder for billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}.static class
LogBucketName.Builder
Builder for projects/{project}/locations/{location}/buckets/{bucket}.static class
LogBucketName.FolderLocationBucketBuilder
Builder for folders/{folder}/locations/{location}/buckets/{bucket}.static class
LogBucketName.OrganizationLocationBucketBuilder
Builder for organizations/{organization}/locations/{location}/buckets/{bucket}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
LogBucketName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
LogBucketName
@Deprecated protected LogBucketName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getBucket
public String getBucket()
-
getOrganization
public String getOrganization()
-
getFolder
public String getFolder()
-
getBillingAccount
public String getBillingAccount()
-
newBuilder
public static LogBucketName.Builder newBuilder()
-
newProjectLocationBucketBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.Builder newProjectLocationBucketBuilder()
-
newOrganizationLocationBucketBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.OrganizationLocationBucketBuilder newOrganizationLocationBucketBuilder()
-
newFolderLocationBucketBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.FolderLocationBucketBuilder newFolderLocationBucketBuilder()
-
newBillingAccountLocationBucketBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogBucketName.BillingAccountLocationBucketBuilder newBillingAccountLocationBucketBuilder()
-
toBuilder
public LogBucketName.Builder toBuilder()
-
of
public static LogBucketName of(String project, String location, String bucket)
-
ofProjectLocationBucketName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofProjectLocationBucketName(String project, String location, String bucket)
-
ofOrganizationLocationBucketName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofOrganizationLocationBucketName(String organization, String location, String bucket)
-
ofFolderLocationBucketName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofFolderLocationBucketName(String folder, String location, String bucket)
-
ofBillingAccountLocationBucketName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofBillingAccountLocationBucketName(String billingAccount, String location, String bucket)
-
formatProjectLocationBucketName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationBucketName(String project, String location, String bucket)
-
formatOrganizationLocationBucketName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationBucketName(String organization, String location, String bucket)
-
formatFolderLocationBucketName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationBucketName(String folder, String location, String bucket)
-
formatBillingAccountLocationBucketName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationBucketName(String billingAccount, String location, String bucket)
-
parse
public static LogBucketName parse(String formattedString)
-
parseList
public static List<LogBucketName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<LogBucketName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-