public sealed class GcsDestination : IMessage<GcsDestination>, IEquatable<GcsDestination>, IDeepCloneable<GcsDestination>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Asset Inventory v1 API class GcsDestination.
A Cloud Storage location.
Implements
IMessageGcsDestination, IEquatableGcsDestination, IDeepCloneableGcsDestination, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
GcsDestination()
public GcsDestination()GcsDestination(GcsDestination)
public GcsDestination(GcsDestination other)| Parameter | |
|---|---|
| Name | Description |
other |
GcsDestination |
Properties
HasUri
public bool HasUri { get; }Gets whether the "uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasUriPrefix
public bool HasUriPrefix { get; }Gets whether the "uri_prefix" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ObjectUriCase
public GcsDestination.ObjectUriOneofCase ObjectUriCase { get; }| Property Value | |
|---|---|
| Type | Description |
GcsDestinationObjectUriOneofCase |
|
Uri
public string Uri { get; set; }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 exported result.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UriPrefix
public string UriPrefix { get; set; }The URI prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object URI is in format: "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only contains assets for that type. <shard number> starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.
| Property Value | |
|---|---|
| Type | Description |
string |
|