Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest

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) ⇒ GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest

Returns a new instance of GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest.



423
424
425
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 423

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)


416
417
418
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 416

def policy_schema
  @policy_schema
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey

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



421
422
423
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 421

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



428
429
430
431
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 428

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