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 |
array
Optional. Data for populating the Message object. |
↳ is_private |
bool
Required. Immutable. Indicate if it's private instance. |
↳ ca_pool |
string
Required. Immutable. CA pool resource, resource must in the format of |
↳ http_service_attachment |
string
Output only. Service Attachment for HTTP, resource is in the format of |
↳ ssh_service_attachment |
string
Output only. Service Attachment for SSH, resource is in the format of |
↳ psc_allowed_projects |
array
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. |
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
Required. Immutable. CA pool resource, resource must in the format of
projects/{project}/locations/{location}/caPools/{ca_pool}
.
Returns | |
---|---|
Type | Description |
string |
setCaPool
Required. 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 |