Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent (v1.1.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed

def allowed() -> ::Boolean
Returns
  • (::Boolean) — 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

#allowed=

def allowed=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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
Returns
  • (::Boolean) — 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

#delivery_pipeline

def delivery_pipeline() -> ::String
Returns
  • (::String) — The name of the Delivery Pipeline.

#delivery_pipeline=

def delivery_pipeline=(value) -> ::String
Parameter
  • value (::String) — The name of the Delivery Pipeline.
Returns
  • (::String) — The name of the Delivery Pipeline.

#deploy_policy

def deploy_policy() -> ::String
Returns
  • (::String) — The name of the DeployPolicy.

#deploy_policy=

def deploy_policy=(value) -> ::String
Parameter
  • value (::String) — The name of the DeployPolicy.
Returns
  • (::String) — The name of the DeployPolicy.

#deploy_policy_uid

def deploy_policy_uid() -> ::String
Returns
  • (::String) — Unique identifier of the DeployPolicy.

#deploy_policy_uid=

def deploy_policy_uid=(value) -> ::String
Parameter
  • value (::String) — Unique identifier of the DeployPolicy.
Returns
  • (::String) — Unique identifier of the DeployPolicy.

#invoker

def invoker() -> ::Google::Cloud::Deploy::V1::DeployPolicy::Invoker
Returns

#invoker=

def invoker=(value) -> ::Google::Cloud::Deploy::V1::DeployPolicy::Invoker
Parameter
Returns

#message

def message() -> ::String
Returns
  • (::String) — Debug message for when a deploy policy event occurs.

#message=

def message=(value) -> ::String
Parameter
  • value (::String) — Debug message for when a deploy policy event occurs.
Returns
  • (::String) — Debug message for when a deploy policy event occurs.

#overrides

def overrides() -> ::Array<::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdictOverride>
Returns

#overrides=

def overrides=(value) -> ::Array<::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdictOverride>
Parameter
Returns

#pipeline_uid

def pipeline_uid() -> ::String
Returns
  • (::String) — Unique identifier of the Delivery Pipeline.

#pipeline_uid=

def pipeline_uid=(value) -> ::String
Parameter
  • value (::String) — Unique identifier of the Delivery Pipeline.
Returns
  • (::String) — Unique identifier of the Delivery Pipeline.

#rule

def rule() -> ::String
Returns
  • (::String) — Rule id.

#rule=

def rule=(value) -> ::String
Parameter
  • value (::String) — Rule id.
Returns
  • (::String) — Rule id.

#rule_type

def rule_type() -> ::String
Returns
  • (::String) — Rule type (e.g. Restrict Rollouts).

#rule_type=

def rule_type=(value) -> ::String
Parameter
  • value (::String) — Rule type (e.g. Restrict Rollouts).
Returns
  • (::String) — Rule type (e.g. Restrict Rollouts).

#target

def target() -> ::String
Returns
  • (::String) — The name of the Target. This is an optional field, as a Target may not always be applicable to a policy.

#target=

def target=(value) -> ::String
Parameter
  • value (::String) — The name of the Target. This is an optional field, as a Target may not always be applicable to a policy.
Returns
  • (::String) — The name of the Target. This is an optional field, as a Target may not always be applicable to a policy.

#target_uid

def target_uid() -> ::String
Returns
  • (::String) — Unique identifier of the Target. This is an optional field, as a Target may not always be applicable to a policy.

#target_uid=

def target_uid=(value) -> ::String
Parameter
  • value (::String) — Unique identifier of the Target. This is an optional field, as a Target may not always be applicable to a policy.
Returns
  • (::String) — Unique identifier of the Target. This is an optional field, as a Target may not always be applicable to a policy.

#verdict

def verdict() -> ::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdict
Returns

#verdict=

def verdict=(value) -> ::Google::Cloud::Deploy::V1::DeployPolicyEvaluationEvent::PolicyVerdict
Parameter
Returns