Compute V1 Client - Class Rule (1.9.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
data array

Optional. Data for populating the Message object.

↳ action string

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

↳ conditions array<Google\Cloud\Compute\V1\Condition>

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

↳ description string

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

↳ ins array

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

↳ log_configs array<Google\Cloud\Compute\V1\LogConfig>

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

↳ not_ins array

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

↳ permissions array

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
var string
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
var array<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
var string
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
var string[]
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
var array<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
var string[]
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
var string[]
Returns
TypeDescription
$this