Google Cloud Secure Source Manager V1 Client - Class PrivateConfig (1.2.0)

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 \ Instance

Methods

__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 projects/{project}/locations/{location}/caPools/{ca_pool}.

↳ http_service_attachment string

Output only. Service Attachment for HTTP, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

↳ ssh_service_attachment string

Output only. Service Attachment for SSH, resource is in the format of projects/{project}/regions/{region}/serviceAttachments/{service_attachment}.

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