Google Cloud Optimization V1 Client - Class InputConfig (1.0.1)

Reference documentation and code samples for the Google Cloud Optimization V1 Client class InputConfig.

The desired input location information.

Generated from protobuf message google.cloud.optimization.v1.InputConfig

Namespace

Google \ Cloud \ Optimization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source GcsSource

The Google Cloud Storage location to read the input from. This must be a single file.

↳ data_format int

The input data format that used to store the model in Cloud Storage.

getGcsSource

The Google Cloud Storage location to read the input from. This must be a single file.

Returns
Type Description
GcsSource|null

hasGcsSource

setGcsSource

The Google Cloud Storage location to read the input from. This must be a single file.

Parameter
Name Description
var GcsSource
Returns
Type Description
$this

getDataFormat

The input data format that used to store the model in Cloud Storage.

Returns
Type Description
int

setDataFormat

The input data format that used to store the model in Cloud Storage.

Parameter
Name Description
var int
Returns
Type Description
$this

getSource

Returns
Type Description
string