Class: Google::Apis::FormsV1::UpdateFormInfoRequest

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 Info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateFormInfoRequest

Returns a new instance of UpdateFormInfoRequest.



1553
1554
1555
# File 'lib/google/apis/forms_v1/classes.rb', line 1553

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

Instance Attribute Details

#infoGoogle::Apis::FormsV1::Info

The general information for a form. Corresponds to the JSON property info



1544
1545
1546
# File 'lib/google/apis/forms_v1/classes.rb', line 1544

def info
  @info
end

#update_maskString

Required. Only values named in this mask are changed. At least one field must be specified. The root info 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)


1551
1552
1553
# File 'lib/google/apis/forms_v1/classes.rb', line 1551

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1558
1559
1560
1561
# File 'lib/google/apis/forms_v1/classes.rb', line 1558

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