Class BigQuery.DatasetOption (2.41.0)

public static class BigQuery.DatasetOption extends Option

Class for specifying dataset get, create and update options.


Object > > BigQuery.DatasetOption

Static Methods

fields(BigQuery.DatasetField[] fields)

public static BigQuery.DatasetOption fields(BigQuery.DatasetField[] fields)

Returns an option to specify the dataset's fields to be returned by the RPC call. If this option is not provided all dataset's fields are returned. { code DatasetOption.fields} can be used to specify only the fields of interest. Dataset#getDatasetId() is always returned, even if not specified.

Name Description
fields DatasetField[]
Type Description