Class GcsDestination (2.8.0)

public sealed class GcsDestination : IMessage<GcsDestination>, IEquatable<GcsDestination>, IDeepCloneable<GcsDestination>, IBufferMessage, IMessage

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

ObjectUriCase

public GcsDestination.ObjectUriOneofCase ObjectUriCase { get; }
Property Value
TypeDescription
GcsDestination.ObjectUriOneofCase

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