class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey

The key used to identify the target on which the policy will be applied.

Attributes

additional_target_keys[RW]

Map containing the additional target key name and value pairs used to further identify the target of the policy. Corresponds to the JSON property `additionalTargetKeys` @return [Hash<String,String>]

target_resource[RW]

The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (“orgunits/`orgunit_id`”) Corresponds to the JSON property `targetResource` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chromepolicy_v1/classes.rb, line 430
def update!(**args)
  @additional_target_keys = args[:additional_target_keys] if args.key?(:additional_target_keys)
  @target_resource = args[:target_resource] if args.key?(:target_resource)
end