Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1InheritOrgUnitPolicyRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb

Overview

Request parameters for inheriting policy value of a specific org unit target from the policy value of its parent org unit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyV1InheritOrgUnitPolicyRequest

Returns a new instance of GoogleChromePolicyV1InheritOrgUnitPolicyRequest.



158
159
160
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 158

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policy_schemaString

The fully qualified name of the policy schema that is being inherited. Corresponds to the JSON property policySchema

Returns:

  • (String)


151
152
153
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 151

def policy_schema
  @policy_schema
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey

The key used to identify the target on which the policy will be applied. Corresponds to the JSON property policyTargetKey



156
157
158
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 156

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



163
164
165
166
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 163

def update!(**args)
  @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
  @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
end