Interface CloudStorageRegexOrBuilder (3.53.0)

public interface CloudStorageRegexOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketNameRegex()

public abstract String getBucketNameRegex()

Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021

string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucketNameRegex.

getBucketNameRegexBytes()

public abstract ByteString getBucketNameRegexBytes()

Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021

string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucketNameRegex.

getProjectIdRegex()

public abstract String getProjectIdRegex()

Optional. For organizations, if unset, will match all projects.

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

Returns
Type Description
String

The projectIdRegex.

getProjectIdRegexBytes()

public abstract ByteString getProjectIdRegexBytes()

Optional. For organizations, if unset, will match all projects.

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

Returns
Type Description
ByteString

The bytes for projectIdRegex.