Class: Google::Apis::SurveysV2::ResultsMask
- Inherits:
-
Object
- Object
- Google::Apis::SurveysV2::ResultsMask
- 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
. -
#projection ⇒ String
Corresponds to the JSON property
projection
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResultsMask
constructor
A new instance of ResultsMask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResultsMask
Returns a new instance of ResultsMask
211 212 213 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::SurveysV2::FieldMask>
Corresponds to the JSON property fields
204 205 206 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 204 def fields @fields end |
#projection ⇒ String
Corresponds to the JSON property projection
209 210 211 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 209 def projection @projection end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
216 217 218 219 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 216 def update!(**args) @fields = args[:fields] if args.key?(:fields) @projection = args[:projection] if args.key?(:projection) end |