Class SinkInfo.Destination.LoggingBucketDestination

java.lang.Object
com.google.cloud.logging.SinkInfo.Destination
com.google.cloud.logging.SinkInfo.Destination.LoggingBucketDestination
All Implemented Interfaces:
Serializable
Enclosing class:
SinkInfo.Destination

public static final class SinkInfo.Destination.LoggingBucketDestination extends SinkInfo.Destination
See Also:
  • Method Details

    • getProject

      public String getProject()
      Returns the name of the project where the Google Cloud BigQuery dataset resides. If null, the default project is used.
    • getLocation

      public String getLocation()
      Returns the name of the bucket location this destination represents.
    • getBucket

      public String getBucket()
      Returns the name of the logging bucket this destination represents.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • of

      public static SinkInfo.Destination.LoggingBucketDestination of(String project, String location, String bucket)
      Creates a DatasetDestination object given the name of the project and dataset to be used as sink destination.
    • of

      public static SinkInfo.Destination.LoggingBucketDestination of(String location, String bucket)
      Creates a DatasetDestination object given the name of the dataset to be used as sink destination. Dataset is assumed to reside in the default project.