Struct google_appengine1::api::Service
source · pub struct Service {
pub generated_customer_metadata: Option<HashMap<String, Value>>,
pub id: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub network_settings: Option<NetworkSettings>,
pub split: Option<TrafficSplit>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- services get apps (response)
- services patch apps (request)
Fields§
§generated_customer_metadata: Option<HashMap<String, Value>>
Additional Google Generated Customer Metadata, this field won’t be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest
id: Option<String>
Relative name of the service within the application. Example: default.@OutputOnly
labels: Option<HashMap<String, String>>
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.
name: Option<String>
Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly
network_settings: Option<NetworkSettings>
Ingress settings for this service. Will apply to all versions.
split: Option<TrafficSplit>
Mapping that defines fractional HTTP traffic diversion to different versions within the service.