Class Service (1.10.0)

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

A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.

Attributes

NameDescription
name str
Full path to the Service resource in the API. Example: apps/myapp/services/default. @OutputOnly
id str
Relative name of the service within the application. Example: default. @OutputOnly
split google.cloud.appengine_admin_v1.types.TrafficSplit
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
labels MutableMapping[str, str]
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa").

Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.

network_settings google.cloud.appengine_admin_v1.types.NetworkSettings
Ingress settings for this service. Will apply to all versions.

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.