Class Warnings (2.4.2)

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

Informational warning message.


Output only. A warning code, if applicable.
data MutableMapping[str, str]
Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
warning_message str
Output only. A human-readable description of the warning code.




Warning code for Policy Based Routing. Expect to add values in the future.

Values: WARNING_UNSPECIFIED (0): Default value. RESOURCE_NOT_ACTIVE (1): The policy based route is not active and functioning. Common causes are the dependent network was deleted or the resource project was turned off. RESOURCE_BEING_MODIFIED (2): The policy based route is being modified (e.g. created/deleted) at this time.


DataEntry(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.