Class SinkInfo.Destination.LoggingBucketDestination (3.13.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
NameDescription
locationString
bucketString
Returns
TypeDescription
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
NameDescription
projectString
locationString
bucketString
Returns
TypeDescription
SinkInfo.Destination.LoggingBucketDestination

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucket()

public String getBucket()

Returns the name of the logging bucket this destination represents.

Returns
TypeDescription
String

getLocation()

public String getLocation()

Returns the name of the bucket location this destination represents.

Returns
TypeDescription
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
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides