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
-
(::String) — Relative name of the service within the application.
Example:
default
.
#id=
def id=(value) -> ::String
-
value (::String) — Relative name of the service within the application.
Example:
default
.
-
(::String) — Relative name of the service within the application.
Example:
default
.
#name
def name() -> ::String
-
(::String) — Full path to the Service resource in the API.
Example:
apps/myapp/services/default
.
#name=
def name=(value) -> ::String
-
value (::String) — Full path to the Service resource in the API.
Example:
apps/myapp/services/default
.
-
(::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
- (::Google::Cloud::AppEngine::V1::NetworkSettings) — Ingress settings for this service. Will apply to all versions.
#network_settings=
def network_settings=(value) -> ::Google::Cloud::AppEngine::V1::NetworkSettings
- value (::Google::Cloud::AppEngine::V1::NetworkSettings) — Ingress settings for this service. Will apply to all versions.
- (::Google::Cloud::AppEngine::V1::NetworkSettings) — Ingress settings for this service. Will apply to all versions.
#split
def split() -> ::Google::Cloud::AppEngine::V1::TrafficSplit
- (::Google::Cloud::AppEngine::V1::TrafficSplit) — Mapping that defines fractional HTTP traffic diversion to different versions within the service.
#split=
def split=(value) -> ::Google::Cloud::AppEngine::V1::TrafficSplit
- value (::Google::Cloud::AppEngine::V1::TrafficSplit) — Mapping that defines fractional HTTP traffic diversion to different versions within the service.
- (::Google::Cloud::AppEngine::V1::TrafficSplit) — Mapping that defines fractional HTTP traffic diversion to different versions within the service.