Compute V1 Client - Class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch (1.14.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the user-defined field, as given in the definition.

↳ values array

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

getName

Name of the user-defined field, as given in the definition.

Returns
TypeDescription
string

hasName

clearName

setName

Name of the user-defined field, as given in the definition.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValues

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this