Reference documentation and code samples for the Binary Authorization V1beta1 API class Google::Cloud::BinaryAuthorization::V1beta1::UpdatePolicyRequest.
Request message for [BinauthzManagementService.UpdatePolicy][].
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Cloud::BinaryAuthorization::V1beta1::Policy
Returns
-
(::Google::Cloud::BinaryAuthorization::V1beta1::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.
#policy=
def policy=(value) -> ::Google::Cloud::BinaryAuthorization::V1beta1::Policy
Parameter
-
value (::Google::Cloud::BinaryAuthorization::V1beta1::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.
Returns
-
(::Google::Cloud::BinaryAuthorization::V1beta1::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.