NAME
Google::Cloud::Securityposture::V1::OrgPolicyConstraints - Compiled Protocol Buffers messages for google/cloud/securityposture/v1/org_policy_constraints.proto
SYNOPSIS
use Google::Cloud::Securityposture::V1::OrgPolicyConstraints;
my $msg = Google::Cloud::Securityposture::V1::OrgPolicyConstraints::OrgPolicyConstraint->new({
canned_constraint_id => $canned_constraint_id,
policy_rules => $policy_rules,
});
# Read or update a field
my $val = $msg->canned_constraint_id();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securityposture::V1::OrgPolicyConstraints::OrgPolicyConstraint->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securityposture/v1/org_policy_constraints.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::Securityposture::V1::OrgPolicyConstraints::OrgPolicyConstraint
Message for Org Policy Canned Constraint.
Inherits from Protobuf::Message.
Accessors
$msg->canned_constraint_id()/$msg->canned_constraint_id($value)Type:
StringRequired. Org Policy Canned Constraint id.
$msg->policy_rules()/$msg->policy_rules($value)Type:
Message(Google::Cloud::Securityposture::V1::OrgPolicyConfig::PolicyRule)Required. Org PolicySpec rules.
Google::Cloud::Securityposture::V1::OrgPolicyConstraints::OrgPolicyConstraintCustom
Message for Org Policy Custom Constraint.
Inherits from Protobuf::Message.
Accessors
$msg->custom_constraint()/$msg->custom_constraint($value)Type:
Message(Google::Cloud::Securityposture::V1::OrgPolicyConfig::CustomConstraint)Required. Org Policy Custom Constraint.
$msg->policy_rules()/$msg->policy_rules($value)Type:
Message(Google::Cloud::Securityposture::V1::OrgPolicyConfig::PolicyRule)Required. Org Policyspec rules.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securityposture::V1::OrgPolicyConstraints::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.