Compute V1 Client - Class ServiceAttachmentConsumerProjectLimit (1.5.0)

Reference documentation and code samples for the Compute V1 Client class ServiceAttachmentConsumerProjectLimit.

Generated from protobuf message google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ connection_limit int

The value of the limit to set.

↳ 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.

Generated from protobuf field optional uint32 connection_limit = 131403546;

Returns
TypeDescription
int

hasConnectionLimit

clearConnectionLimit

setConnectionLimit

The value of the limit to set.

Generated from protobuf field optional uint32 connection_limit = 131403546;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getProjectIdOrNum

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

Generated from protobuf field optional string project_id_or_num = 349783336;

Returns
TypeDescription
string

hasProjectIdOrNum

clearProjectIdOrNum

setProjectIdOrNum

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

Generated from protobuf field optional string project_id_or_num = 349783336;

Parameter
NameDescription
var string
Returns
TypeDescription
$this