class Google::Apis::CloudassetV1beta1::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. For 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. For 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. For example: ”gs://bucket_name/object_name_prefix/google. compute.disk/0“ is the first shard of output objects containing all google. compute.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_v1beta1/classes.rb, line 455
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_v1beta1/classes.rb, line 460
def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
  @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
end