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
Namespace
Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisOutputConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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.
| Returns | |
|---|---|
| Type | Description |
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|