Reference documentation and code samples for the Google Cloud Ftp V1 Client class AllowedConsumer.
A consumer project or network that is permitted to connect to the server via PSC.
Generated from protobuf message google.cloud.ftp.v1.InternalServerConfig.AllowedConsumer
Namespace
Google \ Cloud \ Ftp \ V1 \ InternalServerConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
The project ID or number of the consumer project. Must be in the format: |
↳ connection_limit |
int|string
Required. The connection limit for the consumer. Value must be greater than 0. |
getProject
The project ID or number of the consumer project.
Must be in the format: projects/{project}.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasProject
setProject
The project ID or number of the consumer project.
Must be in the format: projects/{project}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConnectionLimit
Required. The connection limit for the consumer.
Value must be greater than 0.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setConnectionLimit
Required. The connection limit for the consumer.
Value must be greater than 0.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConsumerType
| Returns | |
|---|---|
| Type | Description |
string |
|