class Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest

The request sent to the SetOrgPolicyRequest method.

Attributes

policy[RW]

Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources. Corresponds to the JSON property `policy` @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudresourcemanager_v1/classes.rb, line 1880
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudresourcemanager_v1/classes.rb, line 1885
def update!(**args)
  @policy = args[:policy] if args.key?(:policy)
end