Package com.google.cloud.apihub.v1
Interface ApiHubInstance.ConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiHubInstance.Config,ApiHubInstance.Config.Builder
- Enclosing class:
- ApiHubInstance
public static interface ApiHubInstance.ConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.booleanOptional.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCmekKeyName
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:
- The cmekKeyName.
-
getCmekKeyNameBytes
com.google.protobuf.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:
- The bytes for cmekKeyName.
-
getDisableSearch
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:
- The disableSearch.
-
getVertexLocation
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:
- The vertexLocation.
-
getVertexLocationBytes
com.google.protobuf.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:
- The bytes for vertexLocation.
-
getEncryptionTypeValue
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:
- The enum numeric value on the wire for encryptionType.
-
getEncryptionType
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:
- The encryptionType.
-