Class: Google::Apis::SurveysV2::FieldMask
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SurveysV2::FieldMask
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/surveys_v2/classes.rb,
generated/google/apis/surveys_v2/representations.rb,
generated/google/apis/surveys_v2/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #fields  ⇒ Array<Google::Apis::SurveysV2::FieldMask> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
fields. - 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
id. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FieldMask 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FieldMask.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FieldMask
Returns a new instance of FieldMask
      39 40 41  | 
    
      # File 'generated/google/apis/surveys_v2/classes.rb', line 39 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#fields ⇒ Array<Google::Apis::SurveysV2::FieldMask>
Corresponds to the JSON property fields
      32 33 34  | 
    
      # File 'generated/google/apis/surveys_v2/classes.rb', line 32 def fields @fields end  | 
  
#id ⇒ Fixnum
Corresponds to the JSON property id
      37 38 39  | 
    
      # File 'generated/google/apis/surveys_v2/classes.rb', line 37 def id @id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      44 45 46 47  | 
    
      # File 'generated/google/apis/surveys_v2/classes.rb', line 44 def update!(**args) @fields = args[:fields] if args.key?(:fields) @id = args[:id] if args.key?(:id) end  |