Google Cloud Optimization V1 Client - Class InputConfig (0.4.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\Optimization\V1\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
TypeDescription
Google\Cloud\Optimization\V1\GcsSource|null

hasGcsSource

setGcsSource

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

Parameter
NameDescription
var Google\Cloud\Optimization\V1\GcsSource
Returns
TypeDescription
$this

getDataFormat

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

Returns
TypeDescription
int

setDataFormat

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string