NAME
Google::Cloud::Osconfig::V1alpha::OsconfigCommon - Compiled Protocol Buffers messages for google/cloud/osconfig/v1alpha/osconfig_common.proto
SYNOPSIS
use Google::Cloud::Osconfig::V1alpha::OsconfigCommon;
my $msg = Google::Cloud::Osconfig::V1alpha::OsconfigCommon::FixedOrPercent->new({
fixed => $fixed,
percent => $percent,
});
# Read or update a field
my $val = $msg->fixed();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::V1alpha::OsconfigCommon::FixedOrPercent->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/osconfig/v1alpha/osconfig_common.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::Osconfig::V1alpha::OsconfigCommon::FixedOrPercent
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
Inherits from Protobuf::Message.
Accessors
$msg->fixed()/$msg->fixed($value)Type:
Int32Specifies a fixed value.
$msg->percent()/$msg->percent($value)Type:
Int32Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Osconfig::V1alpha::OsconfigCommon::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.