google-apis-forms_v1 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/forms_v1/classes.rb +31 -0
- data/lib/google/apis/forms_v1/gem_version.rb +3 -3
- data/lib/google/apis/forms_v1/representations.rb +16 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e9473a379aa5c3db66c7173b26550cdcafdcbf27147fd04ea28914631418512
|
4
|
+
data.tar.gz: fc62b17bf3f11590c5db0998ceef58c2169f725082d38d0c2f07a14a013c0578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1654e46ed984a80b40d53a74259ad16a287e9d7a3df2cdb4bcd949094d6feff20fad67b29360a4de4af0f946f7071b2a1cde103e1c5d5f0f9335a6e496cabbc
|
7
|
+
data.tar.gz: aca05c0ef2a97739bd6da13417a2d9dddef8056b45ca114633d3773bbaaf76cf3597f3827f944bee7df266ad7b3bd7c86e2f95179facc063e8499a5131697bf6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-forms_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2024-11-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241112
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.13.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.12.0 (2024-02-24)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.14.0
|
@@ -1141,6 +1141,11 @@ module Google
|
|
1141
1141
|
# @return [String]
|
1142
1142
|
attr_accessor :question_id
|
1143
1143
|
|
1144
|
+
# A rating question. The user has a range of icons to choose from.
|
1145
|
+
# Corresponds to the JSON property `ratingQuestion`
|
1146
|
+
# @return [Google::Apis::FormsV1::RatingQuestion]
|
1147
|
+
attr_accessor :rating_question
|
1148
|
+
|
1144
1149
|
# Whether the question must be answered in order for a respondent to submit
|
1145
1150
|
# their response.
|
1146
1151
|
# Corresponds to the JSON property `required`
|
@@ -1179,6 +1184,7 @@ module Google
|
|
1179
1184
|
@file_upload_question = args[:file_upload_question] if args.key?(:file_upload_question)
|
1180
1185
|
@grading = args[:grading] if args.key?(:grading)
|
1181
1186
|
@question_id = args[:question_id] if args.key?(:question_id)
|
1187
|
+
@rating_question = args[:rating_question] if args.key?(:rating_question)
|
1182
1188
|
@required = args[:required] if args.key?(:required)
|
1183
1189
|
@row_question = args[:row_question] if args.key?(:row_question)
|
1184
1190
|
@scale_question = args[:scale_question] if args.key?(:scale_question)
|
@@ -1268,6 +1274,31 @@ module Google
|
|
1268
1274
|
end
|
1269
1275
|
end
|
1270
1276
|
|
1277
|
+
# A rating question. The user has a range of icons to choose from.
|
1278
|
+
class RatingQuestion
|
1279
|
+
include Google::Apis::Core::Hashable
|
1280
|
+
|
1281
|
+
# Required. The icon type to use for the rating.
|
1282
|
+
# Corresponds to the JSON property `iconType`
|
1283
|
+
# @return [String]
|
1284
|
+
attr_accessor :icon_type
|
1285
|
+
|
1286
|
+
# Required. The rating scale level of the rating question.
|
1287
|
+
# Corresponds to the JSON property `ratingScaleLevel`
|
1288
|
+
# @return [Fixnum]
|
1289
|
+
attr_accessor :rating_scale_level
|
1290
|
+
|
1291
|
+
def initialize(**args)
|
1292
|
+
update!(**args)
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
# Update properties of this object
|
1296
|
+
def update!(**args)
|
1297
|
+
@icon_type = args[:icon_type] if args.key?(:icon_type)
|
1298
|
+
@rating_scale_level = args[:rating_scale_level] if args.key?(:rating_scale_level)
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
|
1271
1302
|
# Renew an existing Watch for seven days.
|
1272
1303
|
class RenewWatchRequest
|
1273
1304
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FormsV1
|
18
18
|
# Version of the google-apis-forms_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,6 +256,12 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class RatingQuestion
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class RenewWatchRequest
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
@@ -732,6 +738,8 @@ module Google
|
|
732
738
|
property :grading, as: 'grading', class: Google::Apis::FormsV1::Grading, decorator: Google::Apis::FormsV1::Grading::Representation
|
733
739
|
|
734
740
|
property :question_id, as: 'questionId'
|
741
|
+
property :rating_question, as: 'ratingQuestion', class: Google::Apis::FormsV1::RatingQuestion, decorator: Google::Apis::FormsV1::RatingQuestion::Representation
|
742
|
+
|
735
743
|
property :required, as: 'required'
|
736
744
|
property :row_question, as: 'rowQuestion', class: Google::Apis::FormsV1::RowQuestion, decorator: Google::Apis::FormsV1::RowQuestion::Representation
|
737
745
|
|
@@ -773,6 +781,14 @@ module Google
|
|
773
781
|
end
|
774
782
|
end
|
775
783
|
|
784
|
+
class RatingQuestion
|
785
|
+
# @private
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
787
|
+
property :icon_type, as: 'iconType'
|
788
|
+
property :rating_scale_level, as: 'ratingScaleLevel'
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
776
792
|
class RenewWatchRequest
|
777
793
|
# @private
|
778
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-forms_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-forms_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-forms_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-forms_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-forms_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Forms API V1
|