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({Map<String, Object?>? generatedCustomerMetadata, String? id, Map<String, String>? labels, String? name, NetworkSettings? networkSettings, TrafficSplit? split})
Service.fromJson(Map json_)

Properties

generatedCustomerMetadata Map<String, Object?>?
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Relative name of the service within the application.
getter/setter pair
labels Map<String, String>?
A set of labels to apply to this service.
getter/setter pair
name String?
Full path to the Service resource in the API.
getter/setter pair
networkSettings NetworkSettings?
Ingress settings for this service.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
split TrafficSplit?
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
getter/setter pair

Methods

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

Operators

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