public sealed class GcsDestination : IMessage<GcsDestination>, IEquatable<GcsDestination>, IDeepCloneable<GcsDestination>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class GcsDestination.
A Cloud Storage location.
Implements
IMessageGcsDestination, IEquatableGcsDestination, IDeepCloneableGcsDestination, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.AssetV1Assembly
Google.Cloud.Asset.V1.dll
Constructors
GcsDestination()
public GcsDestination()
GcsDestination(GcsDestination)
public GcsDestination(GcsDestination other)
Parameter | |
---|---|
Name | Description |
other | GcsDestination |
Properties
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 |