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
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< 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
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.

Generated from protobuf field optional string action = 187661878;

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

getDescription

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

Generated from protobuf field optional string description = 422937596;

Returns
Type
Description
string

hasDescription

clearDescription

setDescription

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

Generated from protobuf field optional string description = 422937596;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIns

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

Generated from protobuf field repeated string ins = 104430;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setIns

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

Generated from protobuf field repeated string ins = 104430;

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

getNotIns

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

Generated from protobuf field repeated string not_ins = 518443138;

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

getPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: