Google Cloud Asset Inventory v1 API - Class GcsDestination (3.5.0)

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.

Inheritance

object > GcsDestination

Namespace

GoogleCloudGoogle.Cloud.AssetV1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

GcsDestination()

public GcsDestination()

GcsDestination(GcsDestination)

public GcsDestination(GcsDestination other)
Parameter
NameDescription
otherGcsDestination

Properties

ObjectUriCase

public GcsDestination.ObjectUriOneofCase ObjectUriCase { get; }
Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string