class Google::Apis::CloudassetV1p7beta1::GoogleCloudAssetV1p7beta1GcsDestination

A Cloud Storage location.

Attributes

uri[RW]

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](cloud.google.com/storage/docs/viewing-editing-metadata) for more information. Corresponds to the JSON property `uri` @return [String]

uri_prefix[RW]

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. 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. Corresponds to the JSON property `uriPrefix` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 553
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 558
def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
  @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end