Class: Google::Apis::FormsV1::SetPublishSettingsResponse
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::SetPublishSettingsResponse
- 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
The response of a SetPublishSettings request.
Instance Attribute Summary collapse
-
#form_id ⇒ String
Required.
-
#publish_settings ⇒ Google::Apis::FormsV1::PublishSettings
The publishing settings of a form.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetPublishSettingsResponse
constructor
A new instance of SetPublishSettingsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetPublishSettingsResponse
Returns a new instance of SetPublishSettingsResponse.
1543 1544 1545 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#form_id ⇒ String
Required. The ID of the Form. This is same as the Form.form_id field.
Corresponds to the JSON property formId
1536 1537 1538 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1536 def form_id @form_id end |
#publish_settings ⇒ Google::Apis::FormsV1::PublishSettings
The publishing settings of a form.
Corresponds to the JSON property publishSettings
1541 1542 1543 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1541 def publish_settings @publish_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1548 1549 1550 1551 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1548 def update!(**args) @form_id = args[:form_id] if args.key?(:form_id) @publish_settings = args[:publish_settings] if args.key?(:publish_settings) end |