Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName
- 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
Additional key names that will be used to identify the target of the policy value.
Instance Attribute Summary collapse
-
#key ⇒ String
Key name.
-
#key_description ⇒ String
Key description.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1AdditionalTargetKeyName
constructor
A new instance of GoogleChromePolicyV1AdditionalTargetKeyName.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1AdditionalTargetKeyName
Returns a new instance of GoogleChromePolicyV1AdditionalTargetKeyName.
78 79 80 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 78 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key name.
Corresponds to the JSON property key
71 72 73 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 71 def key @key end |
#key_description ⇒ String
Key description.
Corresponds to the JSON property keyDescription
76 77 78 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 76 def key_description @key_description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
83 84 85 86 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 83 def update!(**args) @key = args[:key] if args.key?(:key) @key_description = args[:key_description] if args.key?(:key_description) end |