Google Cloud Capacity Planner V1beta Client - Class GcsDestination (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class GcsDestination.

A Cloud Storage location.

Generated from protobuf message google.cloud.capacityplanner.v1beta.GcsDestination

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

Optional. The path to the file in Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the request succeeds, but the operation fails.

↳ bucket string

Required. The bucket name to which the export will be stored.

↳ object string

Required. The object name to which the export will be stored.

↳ force bool

Optional. Flag to indicate overwrite in case file already exists.

getUri

Optional. The path to the file in Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the request succeeds, but the operation fails.

Returns
Type Description
string

setUri

Optional. The path to the file in Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the request succeeds, but the operation fails.

Parameter
Name Description
var string
Returns
Type Description
$this

getBucket

Required. The bucket name to which the export will be stored.

Returns
Type Description
string

setBucket

Required. The bucket name to which the export will be stored.

Parameter
Name Description
var string
Returns
Type Description
$this

getObject

Required. The object name to which the export will be stored.

Returns
Type Description
string

setObject

Required. The object name to which the export will be stored.

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

Optional. Flag to indicate overwrite in case file already exists.

Returns
Type Description
bool

setForce

Optional. Flag to indicate overwrite in case file already exists.

Parameter
Name Description
var bool
Returns
Type Description
$this