Class: Google::Cloud::AppEngine::V1::Service
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::Service
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/appengine/v1/service.rb
Overview
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.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#id ⇒ ::String
Relative name of the service within the application.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
A set of labels to apply to this service.
-
#name ⇒ ::String
Full path to the Service resource in the API.
-
#network_settings ⇒ ::Google::Cloud::AppEngine::V1::NetworkSettings
Ingress settings for this service.
-
#split ⇒ ::Google::Cloud::AppEngine::V1::TrafficSplit
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
Instance Attribute Details
#id ⇒ ::String
Returns Relative name of the service within the application.
Example: default
.
59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/appengine/v1/service.rb', line 59 class Service include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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.
59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/appengine/v1/service.rb', line 59 class Service include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Full path to the Service resource in the API.
Example: apps/myapp/services/default
.
59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/appengine/v1/service.rb', line 59 class Service include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#network_settings ⇒ ::Google::Cloud::AppEngine::V1::NetworkSettings
Returns Ingress settings for this service. Will apply to all versions.
59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/appengine/v1/service.rb', line 59 class Service include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#split ⇒ ::Google::Cloud::AppEngine::V1::TrafficSplit
Returns Mapping that defines fractional HTTP traffic diversion to different versions within the service.
59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/appengine/v1/service.rb', line 59 class Service include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |