Interface IcebergCatalog.RestrictedLocationsConfigOrBuilder (0.83.0)

public static interface IcebergCatalog.RestrictedLocationsConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRestrictedLocations(int index)

public abstract String getRestrictedLocations(int index)

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The restrictedLocations at the given index.

getRestrictedLocationsBytes(int index)

public abstract ByteString getRestrictedLocationsBytes(int index)

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.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 restrictedLocations at the given index.

getRestrictedLocationsCount()

public abstract int getRestrictedLocationsCount()

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of restrictedLocations.

getRestrictedLocationsList()

public abstract List<String> getRestrictedLocationsList()

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the restrictedLocations.