public static final class SinkInfo.Destination.LoggingBucketDestination extends SinkInfo.Destination
SinkInfo.Destination.BucketDestination, SinkInfo.Destination.DatasetDestination, SinkInfo.Destination.LoggingBucketDestination, SinkInfo.Destination.TopicDestination, SinkInfo.Destination.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBucket()
Returns the name of the logging bucket this destination represents.
|
String |
getLocation()
Returns the name of the bucket location this destination represents.
|
String |
getProject()
Returns the name of the project where the Google Cloud BigQuery dataset resides.
|
int |
hashCode() |
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. |
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. |
String |
toString() |
getType
public String getProject()
null
, the default project is used.public String getLocation()
public String getBucket()
public static SinkInfo.Destination.LoggingBucketDestination of(String project, String location, String bucket)
DatasetDestination
object given the name of the project and dataset to be
used as sink destination.public static SinkInfo.Destination.LoggingBucketDestination of(String location, String bucket)
DatasetDestination
object given the name of the dataset to be used as
sink destination. Dataset is assumed to reside in the default project.Copyright © 2023 Google LLC. All rights reserved.