Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class PrivateConfig.
PrivateConfig includes settings for private instance.
Generated from protobuf message google.cloud.securesourcemanager.v1.Instance.PrivateConfig
Namespace
Google \ Cloud \ SecureSourceManager \ V1 \ InstanceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ is_private | boolRequired. Immutable. Indicate if it's private instance. | 
| ↳ ca_pool | stringOptional. Immutable. CA pool resource, resource must in the format of  | 
| ↳ http_service_attachment | stringOutput only. Service Attachment for HTTP, resource is in the format of  | 
| ↳ ssh_service_attachment | stringOutput only. Service Attachment for SSH, resource is in the format of  | 
| ↳ psc_allowed_projects | arrayOptional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list. | 
getIsPrivate
Required. Immutable. Indicate if it's private instance.
| Returns | |
|---|---|
| Type | Description | 
| bool | |
setIsPrivate
Required. Immutable. Indicate if it's private instance.
| Parameter | |
|---|---|
| Name | Description | 
| var | bool | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getCaPool
Optional. Immutable. CA pool resource, resource must in the format of
projects/{project}/locations/{location}/caPools/{ca_pool}.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setCaPool
Optional. Immutable. CA pool resource, resource must in the format of
projects/{project}/locations/{location}/caPools/{ca_pool}.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getHttpServiceAttachment
Output only. Service Attachment for HTTP, resource is in the format of
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setHttpServiceAttachment
Output only. Service Attachment for HTTP, resource is in the format of
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getSshServiceAttachment
Output only. Service Attachment for SSH, resource is in the format of
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setSshServiceAttachment
Output only. Service Attachment for SSH, resource is in the format of
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getPscAllowedProjects
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 | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setPscAllowedProjects
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.
| Parameter | |
|---|---|
| Name | Description | 
| var | string[] | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |