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

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
split TrafficSplit
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited