Package com.google.cloud.logging
Class SinkInfo.Destination.DatasetDestination
java.lang.Object
com.google.cloud.logging.SinkInfo.Destination
com.google.cloud.logging.SinkInfo.Destination.DatasetDestination
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SinkInfo.Destination
Class for specifying a Google Cloud BigQuery dataset as destination for the sink.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.logging.SinkInfo.Destination
SinkInfo.Destination.BucketDestination, SinkInfo.Destination.DatasetDestination, SinkInfo.Destination.LoggingBucketDestination, SinkInfo.Destination.TopicDestination, SinkInfo.Destination.Type
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the name of the Google Cloud BigQuery dataset this destination represents.Returns the name of the project where the Google Cloud BigQuery dataset resides.int
hashCode()
Creates aDatasetDestination
object given the name of the dataset to be used as sink destination.Creates aDatasetDestination
object given the name of the project and dataset to be used as sink destination.toString()
Methods inherited from class com.google.cloud.logging.SinkInfo.Destination
getType
-
Method Details
-
getProject
Returns the name of the project where the Google Cloud BigQuery dataset resides. Ifnull
, the default project is used. -
getDataset
Returns the name of the Google Cloud BigQuery dataset this destination represents. -
equals
-
hashCode
public int hashCode() -
toString
-
of
Creates aDatasetDestination
object given the name of the project and dataset to be used as sink destination. -
of
Creates aDatasetDestination
object given the name of the dataset to be used as sink destination. Dataset is assumed to reside in the default project.
-