labels property

Map<String, String>? labels
getter/setter pair

Labels associated with this resource.

See Labelling and grouping Google Cloud resources for more information. This field is available only when the resource's Protobuf contains it. To search against the labels: * Use a field query:

  • query on any label's key or value. Example: labels:prod - query by a given label. Example: labels.env:prod - query by a given label's existence. Example: labels.env:* * Use a free text query. Example: prod

Implementation

core.Map<core.String, core.String>? labels;