class Google::Apis::CloudassetV1::GcsDestination

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. If the specified Cloud Storage object already exists and there is no [hold](cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result. 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// 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_v1/classes.rb, line 995
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_v1/classes.rb, line 1000
def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
  @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end