Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Iam::V2::UpdatePolicyRequest.
Request message for UpdatePolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Iam::V2::Policy-
(::Google::Iam::V2::Policy) — Required. The policy to update.
To prevent conflicting updates, the
etagvalue must match the value that is stored in IAM. If theetagvalues do not match, the request fails with a409error code andABORTEDstatus.
#policy=
def policy=(value) -> ::Google::Iam::V2::Policy-
value (::Google::Iam::V2::Policy) — Required. The policy to update.
To prevent conflicting updates, the
etagvalue must match the value that is stored in IAM. If theetagvalues do not match, the request fails with a409error code andABORTEDstatus.
-
(::Google::Iam::V2::Policy) — Required. The policy to update.
To prevent conflicting updates, the
etagvalue must match the value that is stored in IAM. If theetagvalues do not match, the request fails with a409error code andABORTEDstatus.