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.



233
234
235
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 233

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)


226
227
228
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 226

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



231
232
233
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 231

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



238
239
240
241
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 238

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