Class: Google::Cloud::Asset::V1::GcsDestination

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

A Cloud Storage location.

Instance Attribute Summary collapse

Instance Attribute Details

#uri::String

Returns 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.

Note: The following fields are mutually exclusive: uri, uri_prefix. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    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.

    Note: The following fields are mutually exclusive: uri, uri_prefix. If a field in that set is populated, all other fields in the set will automatically be cleared.



413
414
415
416
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 413

class GcsDestination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uri_prefix::String

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.

Note: The following fields are mutually exclusive: uri_prefix, uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    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.

    Note: The following fields are mutually exclusive: uri_prefix, uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



413
414
415
416
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 413

class GcsDestination
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end