Interface ApiHubInstance.ConfigOrBuilder (0.28.0)

public static interface ApiHubInstance.ConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCmekKeyName()

public abstract String getCmekKeyName()

Optional. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the instance location. If the CMEK is not provided, a GMEK will be created for the instance.

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

Returns
Type Description
String

The cmekKeyName.

getCmekKeyNameBytes()

public abstract ByteString getCmekKeyNameBytes()

Optional. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the instance location. If the CMEK is not provided, a GMEK will be created for the instance.

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

Returns
Type Description
ByteString

The bytes for cmekKeyName.

getDisableSearch()

public abstract boolean getDisableSearch()

Optional. If true, the search will be disabled for the instance. The default value is false.

bool disable_search = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableSearch.

getEncryptionType()

public abstract ApiHubInstance.Config.EncryptionType getEncryptionType()

Optional. Encryption type for the region. If the encryption type is CMEK, the cmek_key_name must be provided. If no encryption type is provided, GMEK will be used.

.google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionType encryption_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApiHubInstance.Config.EncryptionType

The encryptionType.

getEncryptionTypeValue()

public abstract int getEncryptionTypeValue()

Optional. Encryption type for the region. If the encryption type is CMEK, the cmek_key_name must be provided. If no encryption type is provided, GMEK will be used.

.google.cloud.apihub.v1.ApiHubInstance.Config.EncryptionType encryption_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for encryptionType.

getVertexLocation()

public abstract String getVertexLocation()

Optional. The name of the Vertex AI location where the data store is stored.

string vertex_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The vertexLocation.

getVertexLocationBytes()

public abstract ByteString getVertexLocationBytes()

Optional. The name of the Vertex AI location where the data store is stored.

string vertex_location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for vertexLocation.