Class StandardResourceMetadata (3.5.0)

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

The standard metadata of a cloud resource. .. attribute:: name

The full resource name. For example: // See Resource Names <>__ for more information.

:type: str


asset_type str
The type of this resource. For example: "".
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 Sequence[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- ast1", or zonal like "us-west1-b".
labels Sequence[]
Labels associated with this resource. See `Labelling and grouping GCP resources
network_tags Sequence[str]
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See `Labelling GCP resources



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

The abstract base class for a message.

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.