Google Cloud Optimization V1 Client - Class OutputConfig (1.0.0)

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

The desired output location.

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

Namespace

Google \ Cloud \ Optimization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_destination Google\Cloud\Optimization\V1\GcsDestination

The Google Cloud Storage location to write the output to.

↳ data_format int

The output data format that used to store the results in Cloud Storage.

getGcsDestination

The Google Cloud Storage location to write the output to.

Returns
Type Description
Google\Cloud\Optimization\V1\GcsDestination|null

hasGcsDestination

setGcsDestination

The Google Cloud Storage location to write the output to.

Parameter
Name Description
var Google\Cloud\Optimization\V1\GcsDestination
Returns
Type Description
$this

getDataFormat

The output data format that used to store the results in Cloud Storage.

Returns
Type Description
int

setDataFormat

The output data format that used to store the results in Cloud Storage.

Parameter
Name Description
var int
Returns
Type Description
$this

getDestination

Returns
Type Description
string