Interface IntelligenceConfig.Filter.CloudStorageBucketsOrBuilder (2.64.0)

public static interface IntelligenceConfig.Filter.CloudStorageBucketsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketIdRegexes(int index)

public abstract String getBucketIdRegexes(int index)

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.

repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The bucketIdRegexes at the given index.

getBucketIdRegexesBytes(int index)

public abstract ByteString getBucketIdRegexesBytes(int index)

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.

repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the bucketIdRegexes at the given index.

getBucketIdRegexesCount()

public abstract int getBucketIdRegexesCount()

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.

repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of bucketIdRegexes.

getBucketIdRegexesList()

public abstract List<String> getBucketIdRegexesList()

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.

repeated string bucket_id_regexes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the bucketIdRegexes.