public static interface Service.UpdatePolicyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPolicy()
public abstract Resources.Policy getPolicy() Required. A new or updated policy value. The service will
overwrite the policy name field with the resource name in
the request URL, in the format projects/*/policy.
.google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Resources.Policy | The policy. |
getPolicyOrBuilder()
public abstract Resources.PolicyOrBuilder getPolicyOrBuilder() Required. A new or updated policy value. The service will
overwrite the policy name field with the resource name in
the request URL, in the format projects/*/policy.
.google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Resources.PolicyOrBuilder |
hasPolicy()
public abstract boolean hasPolicy() Required. A new or updated policy value. The service will
overwrite the policy name field with the resource name in
the request URL, in the format projects/*/policy.
.google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the policy field is set. |