Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::OrgPolicyOverlay::PolicyOverlay.
A change to an OrgPolicy.
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) — Optional. The new or updated OrgPolicy.
#policy=
def policy=(value) -> ::Google::Cloud::OrgPolicy::V2::Policy
Parameter
- value (::Google::Cloud::OrgPolicy::V2::Policy) — Optional. The new or updated OrgPolicy.
Returns
- (::Google::Cloud::OrgPolicy::V2::Policy) — Optional. The new or updated OrgPolicy.
#policy_parent
def policy_parent() -> ::String
Returns
- (::String) — Optional. The parent of the policy we are attaching to. Example: "projects/123456"
#policy_parent=
def policy_parent=(value) -> ::String
Parameter
- value (::String) — Optional. The parent of the policy we are attaching to. Example: "projects/123456"
Returns
- (::String) — Optional. The parent of the policy we are attaching to. Example: "projects/123456"