Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets (v1.8.1)

Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::IntelligenceConfig::Filter::CloudStorageBuckets.

Collection of buckets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket_id_regexes

def bucket_id_regexes() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A regex pattern for matching bucket names. Regex should follow the syntax specified in google/re2. For example, ^sample_.* matches all buckets of the form gs://sample_bucket-1, gs://sample_bucket-2, gs://sample_bucket-n but not gs://test_sample_bucket. If you want to match a single bucket, say gs://sample_bucket, use sample_bucket.

#bucket_id_regexes=

def bucket_id_regexes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A regex pattern for matching bucket names. Regex should follow the syntax specified in google/re2. For example, ^sample_.* matches all buckets of the form gs://sample_bucket-1, gs://sample_bucket-2, gs://sample_bucket-n but not gs://test_sample_bucket. If you want to match a single bucket, say gs://sample_bucket, use sample_bucket.
Returns
  • (::Array<::String>) — Optional. A regex pattern for matching bucket names. Regex should follow the syntax specified in google/re2. For example, ^sample_.* matches all buckets of the form gs://sample_bucket-1, gs://sample_bucket-2, gs://sample_bucket-n but not gs://test_sample_bucket. If you want to match a single bucket, say gs://sample_bucket, use sample_bucket.