Reference documentation and code samples for the Binary Authorization V1 API class Google::Cloud::BinaryAuthorization::V1::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::V1::Policy
Returns
-
(::Google::Cloud::BinaryAuthorization::V1::Policy) — 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
.
#policy=
def policy=(value) -> ::Google::Cloud::BinaryAuthorization::V1::Policy
Parameter
-
value (::Google::Cloud::BinaryAuthorization::V1::Policy) — 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
.
Returns
-
(::Google::Cloud::BinaryAuthorization::V1::Policy) — 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
.