- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public interface DeployPolicyEvaluationEventOrBuilder extends MessageOrBuilder
Implements
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 |
int The 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 |
int The 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. |