# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig.

PrivateConfig includes settings for private instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ca_pool

    def ca_pool() -> ::String

**Returns**

- (::String) --- Optional. Immutable. CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.

### #ca_pool=

    def ca_pool=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.
**Returns**

- (::String) --- Optional. Immutable. CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.

### #custom_host_config

    def custom_host_config() -> ::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig

**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Instance-PrivateConfig-CustomHostConfig)) --- Optional. Custom host config for the instance.

### #custom_host_config=

    def custom_host_config=(value) -> ::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig

**Parameter**

- **value** ([::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Instance-PrivateConfig-CustomHostConfig)) --- Optional. Custom host config for the instance.
**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Instance-PrivateConfig-CustomHostConfig)) --- Optional. Custom host config for the instance.

### #http_service_attachment

    def http_service_attachment() -> ::String

**Returns**

- (::String) --- Output only. Service Attachment for HTTP, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.

### #is_private

    def is_private() -> ::Boolean

**Returns**

- (::Boolean) --- Required. Immutable. Indicate if it's private instance.

### #is_private=

    def is_private=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Required. Immutable. Indicate if it's private instance.
**Returns**

- (::Boolean) --- Required. Immutable. Indicate if it's private instance.

### #psc_allowed_projects

    def psc_allowed_projects() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

### #psc_allowed_projects=

    def psc_allowed_projects=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.
**Returns**

- (::Array\<::String\>) --- Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.

### #ssh_service_attachment

    def ssh_service_attachment() -> ::String

**Returns**

- (::String) --- Output only. Service Attachment for SSH, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.