Compute V1 Client - Class Rule (1.21.0)

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
Name Description
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<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<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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getConditions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConditions

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

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

getDescription

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

Returns
Type Description
string

hasDescription

clearDescription

setDescription

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

Parameter
Name Description
var string
Returns
Type Description
$this

getIns

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIns

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getLogConfigs

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLogConfigs

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

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

getNotIns

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNotIns

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getPermissions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Parameter
Name Description
var string[]
Returns
Type Description
$this