Google Cloud Database Center V1beta Client - Class Label (0.5.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class Label.

Label is a key value pair applied to a resource.

Generated from protobuf message google.cloud.databasecenter.v1beta.Label

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ key
string

The key part of the label.

↳ value
string

The value part of the label.

↳ source
string

The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.

getKey

The key part of the label.

Returns
Type
Description
string

setKey

The key part of the label.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getValue

The value part of the label.

Returns
Type
Description
string

setValue

The value part of the label.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSource

The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.

Returns
Type
Description
string

setSource

The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: