NAME

Google::Cloud::Osconfig::Agentendpoint::V1::OsPolicy - Compiled Protocol Buffers messages for google/cloud/osconfig/agentendpoint/v1/os_policy.proto

SYNOPSIS

use Google::Cloud::Osconfig::Agentendpoint::V1::OsPolicy;

my $msg = Google::Cloud::Osconfig::Agentendpoint::V1::OsPolicy::OSPolicy->new({
});

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::Agentendpoint::V1::OsPolicy::OSPolicy->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/osconfig/agentendpoint/v1/os_policy.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::Agentendpoint::V1::OsPolicy::OSPolicy

An OS policy defines the desired state configuration for an instance.

Inherits from Protobuf::Message.

Enum: OSPolicy::Mode

  • MODE_UNSPECIFIED => 0

  • VALIDATION => 1

  • ENFORCEMENT => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Osconfig::Agentendpoint::V1::OsPolicy::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.