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.



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

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



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

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)


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

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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