Google Cloud Asset V1beta1 Client - Class GcsDestination (1.16.3)

Reference documentation and code samples for the Google Cloud Asset V1beta1 Client class GcsDestination.

A Cloud Storage location.

Generated from protobuf message google.cloud.asset.v1beta1.GcsDestination

Namespace

Google \ Cloud \ Asset \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

↳ uri_prefix string

The uri prefix of all generated Cloud Storage objects. For example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/

getUri

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

Returns
Type Description
string

setUri

The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information.

Parameter
Name Description
var string
Returns
Type Description
$this

getUriPrefix

The uri prefix of all generated Cloud Storage objects. For example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/

An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.

Returns
Type Description
string

setUriPrefix

The uri prefix of all generated Cloud Storage objects. For example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix/

An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.

Parameter
Name Description
var string
Returns
Type Description
$this

getObjectUri

Returns
Type Description
string