Google Cloud Optimization V1 Client - Class InputConfig (1.0.5)

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
Returns
Type
Description
$this

getDataFormat

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

Returns
Type
Description
int
Enum of type DataFormat .

setDataFormat

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

Parameter
Name
Description
var
int

Enum of type DataFormat .

Returns
Type
Description
$this

getSource

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: