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.



383
384
385
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 383

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)


376
377
378
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 376

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



381
382
383
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 381

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



388
389
390
391
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 388

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