Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1AdditionalTargetKeyName

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

Additional key names that will be used to identify the target of the policy value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1AdditionalTargetKeyName

Returns a new instance of GoogleChromePolicyVersionsV1AdditionalTargetKeyName.



40
41
42
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 40

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

Key name. Corresponds to the JSON property key

Returns:

  • (String)


33
34
35
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 33

def key
  @key
end

#key_descriptionString

Key description. Corresponds to the JSON property keyDescription

Returns:

  • (String)


38
39
40
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 38

def key_description
  @key_description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45
46
47
48
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 45

def update!(**args)
  @key = args[:key] if args.key?(:key)
  @key_description = args[:key_description] if args.key?(:key_description)
end