Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies
 
- 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
The field and the value it must have for another field to be allowed to be set.
Instance Attribute Summary collapse
- 
  
    
      #source_field  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The source field which this field depends on. 
- 
  
    
      #source_field_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value which the source field must have for this field to be allowed to be set. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1PolicySchemaFieldDependencies 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1PolicySchemaFieldDependencies. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1PolicySchemaFieldDependencies
Returns a new instance of GoogleChromePolicyV1PolicySchemaFieldDependencies.
| 276 277 278 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 276 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#source_field ⇒ String
The source field which this field depends on.
Corresponds to the JSON property sourceField
| 268 269 270 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 268 def source_field @source_field end | 
#source_field_value ⇒ String
The value which the source field must have for this field to be allowed to be
set.
Corresponds to the JSON property sourceFieldValue
| 274 275 276 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 274 def source_field_value @source_field_value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 281 282 283 284 | # 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 |