Google Cloud Network Services V1 Client - Class MetadataLabels (0.1.1)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class MetadataLabels.

Defines a name-pair value for a single label.

Generated from protobuf message google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabels

Namespace

Google \ Cloud \ NetworkServices \ V1 \ EndpointMatcher \ MetadataLabelMatcher

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ label_name string

Required. Label name presented as key in xDS Node Metadata.

↳ label_value string

Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

getLabelName

Required. Label name presented as key in xDS Node Metadata.

Returns
Type Description
string

setLabelName

Required. Label name presented as key in xDS Node Metadata.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelValue

Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

Returns
Type Description
string

setLabelValue

Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

Parameter
Name Description
var string
Returns
Type Description
$this