Class UpdatePolicyRequest (0.4.1)

UpdatePolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for [BinauthzManagementService.UpdatePolicy][]. .. attribute:: policy

Required. A new or updated policy value. The service will overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in the request URL, in the format projects/*/policy.

:type: google.cloud.binaryauthorization_v1beta1.types.Policy