Compute V1 Client - Class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch (1.18.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
Name Description
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
Type Description
string

hasName

clearName

setName

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

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