public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage
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.
Implements
Google.Protobuf.IMessage<Service>, IEquatable<Service>, Google.Protobuf.IDeepCloneable<Service>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
Service()
public Service()
Service(Service)
public Service(Service other)
Parameter | |
---|---|
Name | Description |
other | Service |
Properties
Id
public string Id { get; set; }
Relative name of the service within the application.
Example: default
.
@OutputOnly
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
Full path to the Service resource in the API.
Example: apps/myapp/services/default
.
@OutputOnly
Property Value | |
---|---|
Type | Description |
String |
Split
public TrafficSplit Split { get; set; }
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
Property Value | |
---|---|
Type | Description |
TrafficSplit |