Class: Google::Apis::FormsV1::PublishSettings

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

The publishing settings of a form.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PublishSettings

Returns a new instance of PublishSettings.



1138
1139
1140
# File 'lib/google/apis/forms_v1/classes.rb', line 1138

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

Instance Attribute Details

#publish_stateGoogle::Apis::FormsV1::PublishState

The publishing state of a form. Corresponds to the JSON property publishState



1136
1137
1138
# File 'lib/google/apis/forms_v1/classes.rb', line 1136

def publish_state
  @publish_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1143
1144
1145
# File 'lib/google/apis/forms_v1/classes.rb', line 1143

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