Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::UpdatePolicyRequest.
The request sent to the [UpdatePolicyRequest] [google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy] method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Cloud::OrgPolicy::V2::Policy
Returns
-
(::Google::Cloud::OrgPolicy::V2::Policy) — Required.
Policy
to update.
#policy=
def policy=(value) -> ::Google::Cloud::OrgPolicy::V2::Policy
Parameter
-
value (::Google::Cloud::OrgPolicy::V2::Policy) — Required.
Policy
to update.
Returns
-
(::Google::Cloud::OrgPolicy::V2::Policy) — Required.
Policy
to update.