Class BasicService (2.21.0)

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

A well-known service type, defined by its service type and service labels. Documentation and examples here <https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli>__.

Attributes

NameDescription
service_type str
The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here __.
service_labels MutableMapping[str, str]
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here __.

Classes

ServiceLabelsEntry

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