public interface DeployPolicyEvaluationEventOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowed()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
The allowed. |
getDeliveryPipeline()
public abstract String getDeliveryPipeline() The name of the Delivery Pipeline.
string delivery_pipeline = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The deliveryPipeline. |
getDeliveryPipelineBytes()
public abstract ByteString getDeliveryPipelineBytes() The name of the Delivery Pipeline.
string delivery_pipeline = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deliveryPipeline. |
getDeployPolicy()
public abstract String getDeployPolicy() The name of the DeployPolicy.
string deploy_policy = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The deployPolicy. |
getDeployPolicyBytes()
public abstract ByteString getDeployPolicyBytes() The name of the DeployPolicy.
string deploy_policy = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployPolicy. |
getDeployPolicyUid()
public abstract String getDeployPolicyUid() Unique identifier of the DeployPolicy.
string deploy_policy_uid = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The deployPolicyUid. |
getDeployPolicyUidBytes()
public abstract ByteString getDeployPolicyUidBytes() Unique identifier of the DeployPolicy.
string deploy_policy_uid = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployPolicyUid. |
getInvoker()
public abstract DeployPolicy.Invoker getInvoker()What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
| Returns | |
|---|---|
| Type | Description |
DeployPolicy.Invoker |
The invoker. |
getInvokerValue()
public abstract int getInvokerValue()What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for invoker. |
getMessage()
public abstract String getMessage()Debug message for when a deploy policy event occurs.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public abstract ByteString getMessageBytes()Debug message for when a deploy policy event occurs.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getOverrides(int index)
public abstract DeployPolicyEvaluationEvent.PolicyVerdictOverride getOverrides(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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyEvaluationEvent.PolicyVerdictOverride |
The overrides at the given index. |
getOverridesCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The count of overrides. |
getOverridesList()
public abstract 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 | |
|---|---|
| Type | Description |
List<PolicyVerdictOverride> |
A list containing the overrides. |
getOverridesValue(int index)
public abstract 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of overrides at the given index. |
getOverridesValueList()
public abstract List<Integer> 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 | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for overrides. |
getPipelineUid()
public abstract String getPipelineUid() Unique identifier of the Delivery Pipeline.
string pipeline_uid = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The pipelineUid. |
getPipelineUidBytes()
public abstract ByteString getPipelineUidBytes() Unique identifier of the Delivery Pipeline.
string pipeline_uid = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pipelineUid. |
getRule()
public abstract String getRule()Rule id.
string rule = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The rule. |
getRuleBytes()
public abstract ByteString getRuleBytes()Rule id.
string rule = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rule. |
getRuleType()
public abstract String getRuleType()Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The ruleType. |
getRuleTypeBytes()
public abstract ByteString getRuleTypeBytes()Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ruleType. |
getTarget()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The target. |
getTargetBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for target. |
getTargetUid()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The targetUid. |
getTargetUidBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetUid. |
getVerdict()
public abstract DeployPolicyEvaluationEvent.PolicyVerdict getVerdict()The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
| Returns | |
|---|---|
| Type | Description |
DeployPolicyEvaluationEvent.PolicyVerdict |
The verdict. |
getVerdictValue()
public abstract int getVerdictValue()The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for verdict. |