Reference documentation and code samples for the Compute V1 Client class ServiceAttachmentConsumerProjectLimit.
Generated from protobuf message google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ connection_limit |
int
The value of the limit to set. For endpoint_url, the limit should be no more than 1. |
↳ network_url |
string
The network URL for the network to set the limit for. |
↳ project_id_or_num |
string
The project id or number for the project to set the limit for. |
getConnectionLimit
The value of the limit to set. For endpoint_url, the limit should be no more than 1.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasConnectionLimit
clearConnectionLimit
setConnectionLimit
The value of the limit to set. For endpoint_url, the limit should be no more than 1.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetworkUrl
The network URL for the network to set the limit for.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasNetworkUrl
clearNetworkUrl
setNetworkUrl
The network URL for the network to set the limit for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectIdOrNum
The project id or number for the project to set the limit for.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasProjectIdOrNum
clearProjectIdOrNum
setProjectIdOrNum
The project id or number for the project to set the limit for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|