Class: Google::Apis::FormsV1::UpdateSettingsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb

Overview

Update Form's FormSettings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateSettingsRequest

Returns a new instance of UpdateSettingsRequest.



1612
1613
1614
# File 'lib/google/apis/forms_v1/classes.rb', line 1612

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#settingsGoogle::Apis::FormsV1::FormSettings

A form's settings. Corresponds to the JSON property settings



1603
1604
1605
# File 'lib/google/apis/forms_v1/classes.rb', line 1603

def settings
  @settings
end

#update_maskString

Required. Only values named in this mask are changed. At least one field must be specified. The root settings is implied and should not be specified. A single "*" can be used as short-hand for updating every field. Corresponds to the JSON property updateMask

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/forms_v1/classes.rb', line 1610

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1617
1618
1619
1620
# File 'lib/google/apis/forms_v1/classes.rb', line 1617

def update!(**args)
  @settings = args[:settings] if args.key?(:settings)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end