Class BigQuery.ModelOption (2.42.1)

public static class BigQuery.ModelOption extends Option

Class for specifying model get, create and update options.

Inheritance

Object > com.google.cloud.bigquery.Option > BigQuery.ModelOption

Static Methods

fields(BigQuery.ModelField[] fields)

public static BigQuery.ModelOption fields(BigQuery.ModelField[] fields)

Returns an option to specify the model's fields to be returned by the RPC call. If this option is not provided all model's fields are returned. ModelOption.fields can be used to specify only the fields of interest.

Parameter
Name Description
fields ModelField[]
Returns
Type Description
BigQuery.ModelOption