Compute V1 Client - Class ServiceAttachmentConsumerProjectLimit (1.12.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ connection_limitint

The value of the limit to set.

↳ network_urlstring

The network URL for the network to set the limit for.

↳ project_id_or_numstring

The project id or number for the project to set the limit for.

getConnectionLimit

The value of the limit to set.

Returns
TypeDescription
int

hasConnectionLimit

clearConnectionLimit

setConnectionLimit

The value of the limit to set.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getNetworkUrl

The network URL for the network to set the limit for.

Returns
TypeDescription
string

hasNetworkUrl

clearNetworkUrl

setNetworkUrl

The network URL for the network to set the limit for.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getProjectIdOrNum

The project id or number for the project to set the limit for.

Returns
TypeDescription
string

hasProjectIdOrNum

clearProjectIdOrNum

setProjectIdOrNum

The project id or number for the project to set the limit for.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this