NAME
Google::Cloud::Run::V2::InstanceSplit - Compiled Protocol Buffers messages for google/cloud/run/v2/instance_split.proto
SYNOPSIS
use Google::Cloud::Run::V2::InstanceSplit;
my $msg = Google::Cloud::Run::V2::InstanceSplit::InstanceSplit->new({
type => $type,
revision => $revision,
percent => $percent,
});
# Read or update a field
my $val = $msg->type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Run::V2::InstanceSplit::InstanceSplit->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/run/v2/instance_split.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Run::V2::InstanceSplit::InstanceSplit
Holds a single instance split entry for the Worker. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Run::V2::InstanceSplitAllocationType)The allocation type for this instance split.
$msg->revision()/$msg->revision($value)Type:
StringRevision to which to assign this portion of instances, if split allocation is by revision.
$msg->percent()/$msg->percent($value)Type:
Int32Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
Google::Cloud::Run::V2::InstanceSplit::InstanceSplitStatus
Represents the observed state of a single `InstanceSplit` entry.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Run::V2::InstanceSplitAllocationType)The allocation type for this instance split.
$msg->revision()/$msg->revision($value)Type:
StringRevision to which this instance split is assigned.
$msg->percent()/$msg->percent($value)Type:
Int32Specifies percent of the instance split to this Revision.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Run::V2::InstanceSplit::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.