Class StandardResourceMetadata (3.25.0)

StandardResourceMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The standard metadata of a cloud resource.

Attributes

NameDescription
name str
The full resource name. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See `Resource Names
asset_type str
The type of this resource. For example: "compute.googleapis.com/Disk".
project str
The project that this resource belongs to, in the form of projects/{project_number}.
display_name str
The display name of this resource.
description str
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
additional_attributes MutableSequence[str]
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
location str
Location can be "global", regional like "us-east1", or zonal like "us-west1-b".
labels MutableMapping[str, str]
Labels associated with this resource. See `Labelling and grouping Google Cloud resources
network_tags MutableSequence[str]
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See `Labelling Google Cloud resources

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.