Compute V1 Client - Class Rule (1.5.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

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.

Generated from protobuf field optional string action = 187661878;

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.

Generated from protobuf field optional string action = 187661878;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConditions

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

Generated from protobuf field repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConditions

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

Generated from protobuf field repeated .google.cloud.compute.v1.Condition conditions = 142882488;

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

getDescription

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

Generated from protobuf field optional string description = 422937596;

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

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

Generated from protobuf field optional string description = 422937596;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIns

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

Generated from protobuf field repeated string ins = 104430;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIns

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

Generated from protobuf field repeated string ins = 104430;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getLogConfigs

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

Generated from protobuf field repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLogConfigs

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

Generated from protobuf field repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

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

getNotIns

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

Generated from protobuf field repeated string not_ins = 518443138;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNotIns

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

Generated from protobuf field repeated string not_ins = 518443138;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this