class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies
The field and the value it must have for another field to be allowed to be set.
Attributes
source_field[RW]
The source field which this field depends on. Corresponds to the JSON property `sourceField` @return [String]
source_field_value[RW]
The value which the source field must have for this field to be allowed to be set. Corresponds to the JSON property `sourceFieldValue` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 276 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 281 def update!(**args) @source_field = args[:source_field] if args.key?(:source_field) @source_field_value = args[:source_field_value] if args.key?(:source_field_value) end