Compute V1 Client - Class ManagedRulesetList (2.15.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string
↳ items array<ManagedRuleset>

The list of managed rulesets.

↳ next_page_token string
↳ warning Warning

getId

Generated from protobuf field optional string id = 3355;

Returns
Type Description
string

hasId

clearId

setId

Generated from protobuf field optional string id = 3355;

Parameter
Name Description
var string
Returns
Type Description
$this

getItems

The list of managed rulesets.

Returns
Type Description
Google\Protobuf\RepeatedField<ManagedRuleset>

setItems

The list of managed rulesets.

Parameter
Name Description
var array<ManagedRuleset>
Returns
Type Description
$this

getNextPageToken

Generated from protobuf field optional string next_page_token = 79797525;

Returns
Type Description
string

hasNextPageToken

clearNextPageToken

setNextPageToken

Generated from protobuf field optional string next_page_token = 79797525;

Parameter
Name Description
var string
Returns
Type Description
$this

getWarning

Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning|null

hasWarning

clearWarning

setWarning

Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
var Warning
Returns
Type Description
$this