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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Optimization\V1\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 |