1.2.0 (latest) 1.1.0 1.0.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ApiHubInstance::Config.

Available configurations to provision an ApiHub Instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cmek_key_name

    def cmek_key_name() -> ::String

**Returns**

- (::String) --- 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.

### #cmek_key_name=

    def cmek_key_name=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #disable_search

    def disable_search() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If true, the search will be disabled for the instance. The default value is false.

### #disable_search=

    def disable_search=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If true, the search will be disabled for the instance. The default value is false.
**Returns**

- (::Boolean) --- Optional. If true, the search will be disabled for the instance. The default value is false.

### #encryption_type

    def encryption_type() -> ::Google::Cloud::ApiHub::V1::ApiHubInstance::Config::EncryptionType

**Returns**

- ([::Google::Cloud::ApiHub::V1::ApiHubInstance::Config::EncryptionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubInstance-Config-EncryptionType)) --- 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.

### #encryption_type=

    def encryption_type=(value) -> ::Google::Cloud::ApiHub::V1::ApiHubInstance::Config::EncryptionType

**Parameter**

- **value** ([::Google::Cloud::ApiHub::V1::ApiHubInstance::Config::EncryptionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubInstance-Config-EncryptionType)) --- 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.
**Returns**

- ([::Google::Cloud::ApiHub::V1::ApiHubInstance::Config::EncryptionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubInstance-Config-EncryptionType)) --- 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.

### #vertex_location

    def vertex_location() -> ::String

**Returns**

- (::String) --- Optional. The name of the Vertex AI location where the data store is stored.

### #vertex_location=

    def vertex_location=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the Vertex AI location where the data store is stored.
**Returns**

- (::String) --- Optional. The name of the Vertex AI location where the data store is stored.