NAME

Google::Cloud::Deploy::V1::DeploypolicyEvaluationPayload - Compiled Protocol Buffers messages for google/cloud/deploy/v1/deploypolicy_evaluation_payload.proto

SYNOPSIS

use Google::Cloud::Deploy::V1::DeploypolicyEvaluationPayload;

my $msg = Google::Cloud::Deploy::V1::DeploypolicyEvaluationPayload::DeployPolicyEvaluationEvent->new({
    message => $message,
    rule_type => $rule_type,
    rule => $rule,
    pipeline_uid => $pipeline_uid,
});

# Read or update a field
my $val = $msg->message();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Deploy::V1::DeploypolicyEvaluationPayload::DeployPolicyEvaluationEvent->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/deploy/v1/deploypolicy_evaluation_payload.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::Deploy::V1::DeploypolicyEvaluationPayload::DeployPolicyEvaluationEvent

Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.

Inherits from Protobuf::Message.

Accessors

  • $msg->message() / $msg->message($value)

    Type: String

    Debug message for when a deploy policy event occurs.

  • $msg->rule_type() / $msg->rule_type($value)

    Type: String

    Rule type (e.g. Restrict Rollouts).

  • $msg->rule() / $msg->rule($value)

    Type: String

    Rule id.

  • $msg->pipeline_uid() / $msg->pipeline_uid($value)

    Type: String

    Unique identifier of the `Delivery Pipeline`.

  • $msg->delivery_pipeline() / $msg->delivery_pipeline($value)

    Type: String

    The name of the `Delivery Pipeline`.

  • $msg->target_uid() / $msg->target_uid($value)

    Type: String

    Unique identifier of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.

  • $msg->target() / $msg->target($value)

    Type: String

    The name of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.

  • $msg->invoker() / $msg->invoker($value)

    Type: Enum (Google::Cloud::Deploy::V1::DeployPolicy::Invoker)

    What invoked the action (e.g. a user or automation).

  • $msg->deploy_policy() / $msg->deploy_policy($value)

    Type: String

    The name of the `DeployPolicy`.

  • $msg->deploy_policy_uid() / $msg->deploy_policy_uid($value)

    Type: String

    Unique identifier of the `DeployPolicy`.

  • $msg->allowed() / $msg->allowed($value)

    Type: Bool

    Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended

  • $msg->verdict() / $msg->verdict($value)

    Type: Enum (Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdict)

    The policy verdict of the request.

  • $msg->overrides() / $msg->overrides($value)

    Type: Enum (Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdictOverride)

    Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.

Enum: DeployPolicyEvaluationEvent::PolicyVerdict

  • POLICY_VERDICT_UNSPECIFIED => 0

  • ALLOWED_BY_POLICY => 1

  • DENIED_BY_POLICY => 2

Enum: DeployPolicyEvaluationEvent::PolicyVerdictOverride

  • POLICY_VERDICT_OVERRIDE_UNSPECIFIED => 0

  • POLICY_OVERRIDDEN => 1

  • POLICY_SUSPENDED => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Deploy::V1::DeploypolicyEvaluationPayload::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.