Class SinkInfo.Destination.LoggingBucketDestination (3.12.1)

public static final class SinkInfo.Destination.LoggingBucketDestination extends SinkInfo.Destination

Inheritance

Object > SinkInfo.Destination > SinkInfo.Destination.LoggingBucketDestination

Static Methods

of(String location, String bucket)

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.

Parameters
Name Description
location String
bucket String
Returns
Type Description
SinkInfo.Destination.LoggingBucketDestination

of(String project, String location, String bucket)

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.

Parameters
Name Description
project String
location String
bucket String
Returns
Type Description
SinkInfo.Destination.LoggingBucketDestination

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBucket()

public String getBucket()

Returns the name of the logging bucket this destination represents.

Returns
Type Description
String

getLocation()

public String getLocation()

Returns the name of the bucket location this destination represents.

Returns
Type Description
String

getProject()

public String getProject()

Returns the name of the project where the Google Cloud BigQuery dataset resides. If null, the default project is used.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides