Class Service (2.0.0)

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.

Inheritance

Object > Service

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

Service()

public Service()

Service(Service)

public Service(Service other)
Parameter
NameDescription
otherService

Properties

Id

public string Id { get; set; }

Relative name of the service within the application. Example: default.

@OutputOnly

Property Value
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa").

<p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Full path to the Service resource in the API. Example: apps/myapp/services/default.

@OutputOnly

Property Value
TypeDescription
String

NetworkSettings

public NetworkSettings NetworkSettings { get; set; }

Ingress settings for this service. Will apply to all versions.

Property Value
TypeDescription
NetworkSettings

Split

public TrafficSplit Split { get; set; }

Mapping that defines fractional HTTP traffic diversion to different versions within the service.

Property Value
TypeDescription
TrafficSplit