StandardResourceMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The standard metadata of a cloud resource.
Attributes
Name | Description |
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 |
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-east1", or zonal like "us-west1-b". |
labels |
Mapping[str, str]
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 |
Inheritance
builtins.object > proto.message.Message > StandardResourceMetadataClasses
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
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 |