Service class

An individual service.

A service contains a name and optional metadata. A service must exist before endpoints can be added to it.

Constructors

Service({Map<String, String>? annotations, List<Endpoint>? endpoints, String? name, String? uid})
Service.fromJson(Map json_)

Properties

annotations Map<String, String>?
Annotations for the service.
getter/setter pair
endpoints List<Endpoint>?
Endpoints associated with this service.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name for the service in the format `projects / * /locations /
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
The globally unique identifier of the service in the UUID4 format.
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