Package com.google.cloud.deploy.v1
Interface DeployPolicyEvaluationEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeployPolicyEvaluationEvent,DeployPolicyEvaluationEvent.Builder
@Generated
public interface DeployPolicyEvaluationEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the request is allowed.The name of the `Delivery Pipeline`.com.google.protobuf.ByteStringThe name of the `Delivery Pipeline`.The name of the `DeployPolicy`.com.google.protobuf.ByteStringThe name of the `DeployPolicy`.Unique identifier of the `DeployPolicy`.com.google.protobuf.ByteStringUnique identifier of the `DeployPolicy`.What invoked the action (e.g. a user or automation).intWhat invoked the action (e.g. a user or automation).Debug message for when a deploy policy event occurs.com.google.protobuf.ByteStringDebug message for when a deploy policy event occurs.getOverrides(int index) Things that could have overridden the policy verdict.intThings that could have overridden the policy verdict.Things that could have overridden the policy verdict.intgetOverridesValue(int index) Things that could have overridden the policy verdict.Things that could have overridden the policy verdict.Unique identifier of the `Delivery Pipeline`.com.google.protobuf.ByteStringUnique identifier of the `Delivery Pipeline`.getRule()Rule id.com.google.protobuf.ByteStringRule id.Rule type (e.g.com.google.protobuf.ByteStringRule type (e.g.The name of the `Target`.com.google.protobuf.ByteStringThe name of the `Target`.Unique identifier of the `Target`.com.google.protobuf.ByteStringUnique identifier of the `Target`.The policy verdict of the request.intThe policy verdict of the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessage
String getMessage()Debug message for when a deploy policy event occurs.
string message = 1;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()Debug message for when a deploy policy event occurs.
string message = 1;- Returns:
- The bytes for message.
-
getRuleType
String getRuleType()Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Returns:
- The ruleType.
-
getRuleTypeBytes
com.google.protobuf.ByteString getRuleTypeBytes()Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Returns:
- The bytes for ruleType.
-
getRule
String getRule()Rule id.
string rule = 3;- Returns:
- The rule.
-
getRuleBytes
com.google.protobuf.ByteString getRuleBytes()Rule id.
string rule = 3;- Returns:
- The bytes for rule.
-
getPipelineUid
String getPipelineUid()Unique identifier of the `Delivery Pipeline`.
string pipeline_uid = 4;- Returns:
- The pipelineUid.
-
getPipelineUidBytes
com.google.protobuf.ByteString getPipelineUidBytes()Unique identifier of the `Delivery Pipeline`.
string pipeline_uid = 4;- Returns:
- The bytes for pipelineUid.
-
getDeliveryPipeline
String getDeliveryPipeline()The name of the `Delivery Pipeline`.
string delivery_pipeline = 5;- Returns:
- The deliveryPipeline.
-
getDeliveryPipelineBytes
com.google.protobuf.ByteString getDeliveryPipelineBytes()The name of the `Delivery Pipeline`.
string delivery_pipeline = 5;- Returns:
- The bytes for deliveryPipeline.
-
getTargetUid
String getTargetUid()Unique identifier of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.
string target_uid = 6;- Returns:
- The targetUid.
-
getTargetUidBytes
com.google.protobuf.ByteString getTargetUidBytes()Unique identifier of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.
string target_uid = 6;- Returns:
- The bytes for targetUid.
-
getTarget
String getTarget()The name of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.
string target = 7;- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()The name of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.
string target = 7;- Returns:
- The bytes for target.
-
getInvokerValue
int getInvokerValue()What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;- Returns:
- The enum numeric value on the wire for invoker.
-
getInvoker
DeployPolicy.Invoker getInvoker()What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;- Returns:
- The invoker.
-
getDeployPolicy
String getDeployPolicy()The name of the `DeployPolicy`.
string deploy_policy = 9;- Returns:
- The deployPolicy.
-
getDeployPolicyBytes
com.google.protobuf.ByteString getDeployPolicyBytes()The name of the `DeployPolicy`.
string deploy_policy = 9;- Returns:
- The bytes for deployPolicy.
-
getDeployPolicyUid
String getDeployPolicyUid()Unique identifier of the `DeployPolicy`.
string deploy_policy_uid = 10;- Returns:
- The deployPolicyUid.
-
getDeployPolicyUidBytes
com.google.protobuf.ByteString getDeployPolicyUidBytes()Unique identifier of the `DeployPolicy`.
string deploy_policy_uid = 10;- Returns:
- The bytes for deployPolicyUid.
-
getAllowed
boolean getAllowed()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
bool allowed = 11;- Returns:
- The allowed.
-
getVerdictValue
int getVerdictValue()The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;- Returns:
- The enum numeric value on the wire for verdict.
-
getVerdict
DeployPolicyEvaluationEvent.PolicyVerdict getVerdict()The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;- Returns:
- The verdict.
-
getOverridesList
List<DeployPolicyEvaluationEvent.PolicyVerdictOverride> getOverridesList()Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;- Returns:
- A list containing the overrides.
-
getOverridesCount
int getOverridesCount()Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;- Returns:
- The count of overrides.
-
getOverrides
Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;- Parameters:
index- The index of the element to return.- Returns:
- The overrides at the given index.
-
getOverridesValueList
Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;- Returns:
- A list containing the enum numeric values on the wire for overrides.
-
getOverridesValue
int getOverridesValue(int index) Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of overrides at the given index.
-