labels property

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

Optional set of labels to apply to the VM and any attached disk resources.

These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.

Implementation

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