NAME
Google::Appengine::V1::Service - Compiled Protocol Buffers messages for google/appengine/v1/service.proto
SYNOPSIS
use Google::Appengine::V1::Service;
my $msg = Google::Appengine::V1::Service::Service->new({
name => $name,
id => $id,
split => $split,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Appengine::V1::Service::Service->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/appengine/v1/service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Appengine::V1::Service::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 from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringFull path to the Service resource in the API. Example: `apps/myapp/services/default`.
@OutputOnly
$msg->id()/$msg->id($value)Type:
StringRelative name of the service within the application. Example: `default`.
@OutputOnly
$msg->split()/$msg->split($value)Type:
Message(Google::Appengine::V1::Service::TrafficSplit)Mapping that defines fractional HTTP traffic diversion to different versions within the service.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Appengine::V1::Service::Service::LabelsEntry)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").
<p>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.
$msg->network_settings()/$msg->network_settings($value)Type:
Message(Google::Appengine::V1::NetworkSettings::NetworkSettings)Ingress settings for this service. Will apply to all versions.
Google::Appengine::V1::Service::TrafficSplit
Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.
Inherits from Protobuf::Message.
Accessors
$msg->shard_by()/$msg->shard_by($value)Type:
Enum(Google::Appengine::V1::TrafficSplit::ShardBy)Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.
$msg->allocations()/$msg->allocations($value)Type:
Message(Google::Appengine::V1::Service::TrafficSplit::AllocationsEntry)Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
Enum: TrafficSplit::ShardBy
UNSPECIFIED=>0COOKIE=>1IP=>2RANDOM=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Appengine::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.