Service class

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.

Constructors

Service()
Service.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Relative name of the service within the application. Example: default.@OutputOnly
read / write
name String
Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly
read / write
networkSettings NetworkSettings
Ingress settings for this service. Will apply to all versions.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
split TrafficSplit
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited