Class Service
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
Inherited Members
Namespace: Google.Apis.Appengine.v1beta.Data
Assembly: Google.Apis.Appengine.v1beta.dll
Syntax
public class Service : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GeneratedCustomerMetadata
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest
Declaration
[JsonProperty("generatedCustomerMetadata")]
public virtual IDictionary<string, object> GeneratedCustomerMetadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Id
Output only. Relative name of the service within the application. Example: default.@OutputOnly
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
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"). 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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Output only. Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NetworkSettings
Ingress settings for this service. Will apply to all versions.
Declaration
[JsonProperty("networkSettings")]
public virtual NetworkSettings NetworkSettings { get; set; }
Property Value
Type | Description |
---|---|
NetworkSettings |
Split
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
Declaration
[JsonProperty("split")]
public virtual TrafficSplit Split { get; set; }
Property Value
Type | Description |
---|---|
TrafficSplit |