App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::Service (v0.6.1)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — Relative name of the service within the application. Example: default.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Relative name of the service within the application. Example: default.
Returns
  • (::String) — Relative name of the service within the application. Example: default.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::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.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::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.

Returns
  • (::Google::Protobuf::Map{::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

def name() -> ::String
Returns
  • (::String) — Full path to the Service resource in the API. Example: apps/myapp/services/default.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Full path to the Service resource in the API. Example: apps/myapp/services/default.
Returns
  • (::String) — Full path to the Service resource in the API. Example: apps/myapp/services/default.

#network_settings

def network_settings() -> ::Google::Cloud::AppEngine::V1::NetworkSettings
Returns

#network_settings=

def network_settings=(value) -> ::Google::Cloud::AppEngine::V1::NetworkSettings
Parameter
Returns

#split

def split() -> ::Google::Cloud::AppEngine::V1::TrafficSplit
Returns

#split=

def split=(value) -> ::Google::Cloud::AppEngine::V1::TrafficSplit
Parameter
Returns