Compute V1 Client - Class Rule (1.11.1)

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

This is deprecated and has no effect. Do not use.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ actionstring

This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.

↳ conditionsarray<Google\Cloud\Compute\V1\Condition>

This is deprecated and has no effect. Do not use.

↳ descriptionstring

This is deprecated and has no effect. Do not use.

↳ insarray

This is deprecated and has no effect. Do not use.

↳ log_configsarray<Google\Cloud\Compute\V1\LogConfig>

This is deprecated and has no effect. Do not use.

↳ not_insarray

This is deprecated and has no effect. Do not use.

↳ permissionsarray

This is deprecated and has no effect. Do not use.

getAction

This is deprecated and has no effect. Do not use.

Check the Action enum for the list of possible values.

Returns
TypeDescription
string

hasAction

clearAction

setAction

This is deprecated and has no effect. Do not use.

Check the Action enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getConditions

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConditions

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
vararray<Google\Cloud\Compute\V1\Condition>
Returns
TypeDescription
$this

getDescription

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getIns

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIns

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
varstring[]
Returns
TypeDescription
$this

getLogConfigs

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLogConfigs

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
vararray<Google\Cloud\Compute\V1\LogConfig>
Returns
TypeDescription
$this

getNotIns

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNotIns

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
varstring[]
Returns
TypeDescription
$this

getPermissions

This is deprecated and has no effect. Do not use.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

This is deprecated and has no effect. Do not use.

Parameter
NameDescription
varstring[]
Returns
TypeDescription
$this