Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName

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

#keyString

Key name. Corresponds to the JSON property key

Returns:

  • (String)


71
72
73
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 71

def key
  @key
end

#key_descriptionString

Key description. Corresponds to the JSON property keyDescription

Returns:

  • (String)


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