Class WorkloadProperties (0.5.2)

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

Properties of an underlying compute resource represented by the Workload.

Attributes

Name Description
gcp_project str
Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
location str
Output only. The location that the underlying compute resource resides in (for example, us-west1).
zone str
Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
functional_type google.cloud.apphub_v1.types.FunctionalType
Output only. The type of the workload.
extended_metadata MutableMapping[str, google.cloud.apphub_v1.types.ExtendedMetadata]
Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}
identity google.cloud.apphub_v1.types.Identity
Output only. The identity associated with the workload.

Classes

ExtendedMetadataEntry

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

The abstract base class for a message.

Parameters
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 mapping is a mapping type or there are keyword parameters.