Storage Insights V1 API - Class Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket (v1.2.0)

Reference documentation and code samples for the Storage Insights V1 API class Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket.

Defines the bucket by its name or a regex pattern to match buckets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket_name

def bucket_name() -> ::String
Returns
  • (::String) — Cloud Storage bucket name.

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

#bucket_name=

def bucket_name=(value) -> ::String
Parameter
  • value (::String) — Cloud Storage bucket name.

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

Returns
  • (::String) — Cloud Storage bucket name.

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

#bucket_prefix_regex

def bucket_prefix_regex() -> ::String
Returns
  • (::String) — A regex pattern for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub.

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

#bucket_prefix_regex=

def bucket_prefix_regex=(value) -> ::String
Parameter
  • value (::String) — A regex pattern for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub.

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

Returns
  • (::String) — A regex pattern for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub.

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