Class StandardResourceMetadata (3.4.0)

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

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

The full resource name. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See Resource Names <https://cloud.google.com/apis/design/resource_names#full_resource_name>__ for more information.

:type: str

Attributes

NameDescription
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 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[google.cloud.asset_v1p1beta1.types.StandardResourceMetadata.LabelsEntry]
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

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.