Google Cloud Asset V1 Client - Class GcsDestination (1.9.2)

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

A Cloud Storage location.

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Required. The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: "gs://bucket_name/object_name". See Viewing and Editing Object Metadata for more information. If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

getUri

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

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setUri

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

If the specified Cloud Storage object already exists and there is no hold, it will be overwritten with the analysis result.

Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this