Google Cloud Ftp V1 Client - Class InternalServerConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Ftp V1 Client class InternalServerConfig.

Configuration for private server accessible via PSC.

Generated from protobuf message google.cloud.ftp.v1.InternalServerConfig

Namespace

Google \ Cloud \ Ftp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service_attachment string

Output only. The resource name of the service attachment. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

↳ consumer_accept_list array<InternalServerConfig\AllowedConsumer>

Required. A list of projects that are permitted to connect. At least one project is required in the allow list.

↳ consumer_reject_list array<InternalServerConfig\DeniedConsumer>

Optional. A list of projects that are denied connection. Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

↳ psc_endpoints array<InternalServerConfig\PscEndpoint>

Output only. Details of endpoints created by the customer.

getServiceAttachment

Output only. The resource name of the service attachment.

Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

Returns
Type Description
string

setServiceAttachment

Output only. The resource name of the service attachment.

Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

Parameter
Name Description
var string
Returns
Type Description
$this

getConsumerAcceptList

Required. A list of projects that are permitted to connect.

At least one project is required in the allow list.

Returns
Type Description
Google\Protobuf\RepeatedField<InternalServerConfig\AllowedConsumer>

setConsumerAcceptList

Required. A list of projects that are permitted to connect.

At least one project is required in the allow list.

Parameter
Name Description
var array<InternalServerConfig\AllowedConsumer>
Returns
Type Description
$this

getConsumerRejectList

Optional. A list of projects that are denied connection.

Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

Returns
Type Description
Google\Protobuf\RepeatedField<InternalServerConfig\DeniedConsumer>

setConsumerRejectList

Optional. A list of projects that are denied connection.

Format: "projects/sample_project_id" or "projects/1234567890" Projects in this list will be denied access, even if they are included in the allow_list. If this list is empty, no projects are explicitly rejected.

Parameter
Name Description
var array<InternalServerConfig\DeniedConsumer>
Returns
Type Description
$this

getPscEndpoints

Output only. Details of endpoints created by the customer.

Returns
Type Description
Google\Protobuf\RepeatedField<InternalServerConfig\PscEndpoint>

setPscEndpoints

Output only. Details of endpoints created by the customer.

Parameter
Name Description
var array<InternalServerConfig\PscEndpoint>
Returns
Type Description
$this