bigquery  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::ModelDefinition Class Reference

#include <model_definition.h>

Inheritance diagram for google_bigquery_api::ModelDefinition:

Classes

class  ModelDefinitionModelOptions
 

Public Member Functions

 ModelDefinition (const Json::Value &storage)
 
 ModelDefinition (Json::Value *storage)
 
virtual ~ModelDefinition ()
 
const StringPiece GetTypeName () const
 
bool has_model_options () const
 
void clear_model_options ()
 
const ModelDefinitionModelOptions get_model_options () const
 
ModelDefinitionModelOptions mutable_modelOptions ()
 
bool has_training_runs () const
 
void clear_training_runs ()
 
const client::JsonCppArray< BqmlTrainingRunget_training_runs () const
 
client::JsonCppArray< BqmlTrainingRunmutable_trainingRuns ()
 

Static Public Member Functions

static ModelDefinitionNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ModelDefinition() [1/2]

google_bigquery_api::ModelDefinition::ModelDefinition ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ModelDefinition() [2/2]

google_bigquery_api::ModelDefinition::ModelDefinition ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ModelDefinition()

google_bigquery_api::ModelDefinition::~ModelDefinition ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_model_options()

void google_bigquery_api::ModelDefinition::clear_model_options ( )
inline

Clears the 'modelOptions' attribute.

◆ clear_training_runs()

void google_bigquery_api::ModelDefinition::clear_training_runs ( )
inline

Clears the 'trainingRuns' attribute.

◆ get_model_options()

const ModelDefinitionModelOptions google_bigquery_api::ModelDefinition::get_model_options ( ) const
inline

Get a reference to the value of the 'modelOptions' attribute.

◆ get_training_runs()

const client::JsonCppArray<BqmlTrainingRun > google_bigquery_api::ModelDefinition::get_training_runs ( ) const

Get a reference to the value of the 'trainingRuns' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::ModelDefinition::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::ModelDefinition

◆ has_model_options()

bool google_bigquery_api::ModelDefinition::has_model_options ( ) const
inline

Determine if the 'modelOptions' attribute was set.

Returns
true if the 'modelOptions' attribute was set.

◆ has_training_runs()

bool google_bigquery_api::ModelDefinition::has_training_runs ( ) const
inline

Determine if the 'trainingRuns' attribute was set.

Returns
true if the 'trainingRuns' attribute was set.

◆ mutable_modelOptions()

ModelDefinitionModelOptions google_bigquery_api::ModelDefinition::mutable_modelOptions ( )
inline

Gets a reference to a mutable value of the 'modelOptions' property.

[Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query.

Returns
The result can be modified to change the attribute value.

◆ mutable_trainingRuns()

client::JsonCppArray<BqmlTrainingRun > google_bigquery_api::ModelDefinition::mutable_trainingRuns ( )

Gets a reference to a mutable value of the 'trainingRuns' property.

[Output-only, Beta] Information about ml training runs, each training run comprises of multiple iterations and there may be multiple training runs for the model if warm start is used or if a user decides to continue a previously cancelled query.

Returns
The result can be modified to change the attribute value.

◆ New()

ModelDefinition * google_bigquery_api::ModelDefinition::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: