Google Cloud Asset Inventory v1 API - Class GcsDestination (3.6.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

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

GcsDestination()

public GcsDestination()

GcsDestination(GcsDestination)

public GcsDestination(GcsDestination other)
Parameter
NameDescription
otherGcsDestination

Properties

HasUri

public bool HasUri { get; }

Gets whether the "uri" field is set

Property Value
TypeDescription
bool

HasUriPrefix

public bool HasUriPrefix { get; }

Gets whether the "uri_prefix" field is set

Property Value
TypeDescription
bool

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