Google Cloud Optimization V1 Client - Class OutputConfig (0.4.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
NameDescription
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
TypeDescription
Google\Cloud\Optimization\V1\GcsDestination|null

hasGcsDestination

setGcsDestination

The Google Cloud Storage location to write the output to.

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

getDataFormat

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

Returns
TypeDescription
int

setDataFormat

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string