google-api-client 0.10.1 → 0.10.2
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 +3 -0
- data/api_names.yaml +395 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +39 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
- data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -37
- data/generated/google/apis/bigquery_v2/service.rb +10 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +205 -0
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
- data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
- data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
- data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
- data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
- data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
- data/generated/google/apis/cloudkms_v1/service.rb +228 -228
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
- data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +116 -0
- data/generated/google/apis/compute_beta/representations.rb +48 -0
- data/generated/google/apis/compute_beta/service.rb +46 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
- data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
- data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
- data/generated/google/apis/dataproc_v1/representations.rb +255 -253
- data/generated/google/apis/dataproc_v1/service.rb +100 -100
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +3 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +959 -959
- data/generated/google/apis/genomics_v1/representations.rb +238 -238
- data/generated/google/apis/genomics_v1/service.rb +996 -996
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +170 -173
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +427 -427
- data/generated/google/apis/language_v1beta1/representations.rb +113 -113
- data/generated/google/apis/language_v1beta1/service.rb +25 -24
- data/generated/google/apis/licensing_v1.rb +2 -2
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +261 -261
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
- data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
- data/generated/google/apis/manufacturers_v1/service.rb +11 -11
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +668 -670
- data/generated/google/apis/monitoring_v3/representations.rb +140 -140
- data/generated/google/apis/monitoring_v3/service.rb +208 -208
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +505 -505
- data/generated/google/apis/partners_v2/representations.rb +118 -118
- data/generated/google/apis/partners_v2/service.rb +275 -275
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +1037 -1031
- data/generated/google/apis/people_v1/representations.rb +247 -246
- data/generated/google/apis/people_v1/service.rb +20 -20
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +131 -132
- data/generated/google/apis/pubsub_v1/representations.rb +35 -35
- data/generated/google/apis/pubsub_v1/service.rb +399 -408
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +9 -0
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +110 -110
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
- data/generated/google/apis/sheets_v4/representations.rb +856 -856
- data/generated/google/apis/sheets_v4/service.rb +106 -106
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2923 -2841
- data/generated/google/apis/slides_v1/representations.rb +722 -691
- data/generated/google/apis/slides_v1/service.rb +58 -15
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
- data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
- data/generated/google/apis/speech_v1beta1/service.rb +70 -70
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +151 -0
- data/generated/google/apis/storage_v1/representations.rb +45 -0
- data/generated/google/apis/storage_v1/service.rb +248 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1227 -1221
- data/generated/google/apis/vision_v1/representations.rb +217 -215
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -22,183 +22,183 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module SpeechV1beta1
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class SpeechRecognitionAlternative
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
27
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class SpeechContext
|
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
33
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ListOperationsResponse
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
39
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class SpeechRecognitionResult
|
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
45
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class AsyncRecognizeRequest
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
51
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class RecognitionAudio
|
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
57
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Operation
|
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
63
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class RecognitionConfig
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class SyncRecognizeRequest
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
75
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Status
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class SyncRecognizeResponse
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class
|
|
91
|
+
class Empty
|
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
93
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class SpeechRecognitionAlternative
|
|
98
98
|
# @private
|
|
99
99
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
100
|
-
property :
|
|
101
|
-
|
|
102
|
-
property :name, as: 'name'
|
|
103
|
-
property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
|
|
104
|
-
|
|
105
|
-
hash :metadata, as: 'metadata'
|
|
100
|
+
property :confidence, as: 'confidence'
|
|
101
|
+
property :transcript, as: 'transcript'
|
|
106
102
|
end
|
|
107
103
|
end
|
|
108
104
|
|
|
109
|
-
class
|
|
105
|
+
class SpeechContext
|
|
110
106
|
# @private
|
|
111
107
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
112
|
-
|
|
113
|
-
property :sample_rate, as: 'sampleRate'
|
|
114
|
-
property :language_code, as: 'languageCode'
|
|
115
|
-
property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
|
|
116
|
-
|
|
117
|
-
property :encoding, as: 'encoding'
|
|
118
|
-
property :profanity_filter, as: 'profanityFilter'
|
|
108
|
+
collection :phrases, as: 'phrases'
|
|
119
109
|
end
|
|
120
110
|
end
|
|
121
111
|
|
|
122
|
-
class
|
|
112
|
+
class ListOperationsResponse
|
|
123
113
|
# @private
|
|
124
114
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
125
|
-
property :
|
|
126
|
-
|
|
127
|
-
property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
|
|
115
|
+
property :next_page_token, as: 'nextPageToken'
|
|
116
|
+
collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
|
|
128
117
|
|
|
129
118
|
end
|
|
130
119
|
end
|
|
131
120
|
|
|
132
|
-
class
|
|
121
|
+
class SpeechRecognitionResult
|
|
133
122
|
# @private
|
|
134
123
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
135
|
-
collection :
|
|
124
|
+
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative::Representation
|
|
136
125
|
|
|
137
126
|
end
|
|
138
127
|
end
|
|
139
128
|
|
|
140
|
-
class
|
|
129
|
+
class AsyncRecognizeRequest
|
|
141
130
|
# @private
|
|
142
131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
143
|
-
property :
|
|
144
|
-
|
|
145
|
-
property :
|
|
132
|
+
property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation
|
|
133
|
+
|
|
134
|
+
property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
|
|
135
|
+
|
|
146
136
|
end
|
|
147
137
|
end
|
|
148
138
|
|
|
149
|
-
class
|
|
139
|
+
class RecognitionAudio
|
|
150
140
|
# @private
|
|
151
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
142
|
+
property :content, :base64 => true, as: 'content'
|
|
143
|
+
property :uri, as: 'uri'
|
|
152
144
|
end
|
|
153
145
|
end
|
|
154
146
|
|
|
155
|
-
class
|
|
147
|
+
class Operation
|
|
156
148
|
# @private
|
|
157
149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
158
|
-
property :
|
|
159
|
-
|
|
150
|
+
property :done, as: 'done'
|
|
151
|
+
hash :response, as: 'response'
|
|
152
|
+
property :name, as: 'name'
|
|
153
|
+
property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
|
|
154
|
+
|
|
155
|
+
hash :metadata, as: 'metadata'
|
|
160
156
|
end
|
|
161
157
|
end
|
|
162
158
|
|
|
163
|
-
class
|
|
159
|
+
class RecognitionConfig
|
|
164
160
|
# @private
|
|
165
161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
166
|
-
|
|
162
|
+
property :max_alternatives, as: 'maxAlternatives'
|
|
163
|
+
property :sample_rate, as: 'sampleRate'
|
|
164
|
+
property :language_code, as: 'languageCode'
|
|
165
|
+
property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
|
|
166
|
+
|
|
167
|
+
property :encoding, as: 'encoding'
|
|
168
|
+
property :profanity_filter, as: 'profanityFilter'
|
|
167
169
|
end
|
|
168
170
|
end
|
|
169
171
|
|
|
170
|
-
class
|
|
172
|
+
class SyncRecognizeRequest
|
|
171
173
|
# @private
|
|
172
174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
173
|
-
property :
|
|
174
|
-
|
|
175
|
+
property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation
|
|
176
|
+
|
|
177
|
+
property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
|
|
175
178
|
|
|
176
179
|
end
|
|
177
180
|
end
|
|
178
181
|
|
|
179
|
-
class
|
|
182
|
+
class Status
|
|
180
183
|
# @private
|
|
181
184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
182
|
-
collection :
|
|
183
|
-
|
|
185
|
+
collection :details, as: 'details'
|
|
186
|
+
property :code, as: 'code'
|
|
187
|
+
property :message, as: 'message'
|
|
184
188
|
end
|
|
185
189
|
end
|
|
186
190
|
|
|
187
|
-
class
|
|
191
|
+
class SyncRecognizeResponse
|
|
188
192
|
# @private
|
|
189
193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
190
|
-
|
|
191
|
-
|
|
194
|
+
collection :results, as: 'results', class: Google::Apis::SpeechV1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionResult::Representation
|
|
195
|
+
|
|
192
196
|
end
|
|
193
197
|
end
|
|
194
198
|
|
|
195
|
-
class
|
|
199
|
+
class Empty
|
|
196
200
|
# @private
|
|
197
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
198
|
-
property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation
|
|
199
|
-
|
|
200
|
-
property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation
|
|
201
|
-
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
204
|
end
|
|
@@ -46,72 +46,6 @@ module Google
|
|
|
46
46
|
super('https://speech.googleapis.com/', '')
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
# Performs synchronous speech recognition: receive results after all audio
|
|
50
|
-
# has been sent and processed.
|
|
51
|
-
# @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object
|
|
52
|
-
# @param [String] quota_user
|
|
53
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
54
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
55
|
-
# @param [String] fields
|
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
|
57
|
-
# @param [Google::Apis::RequestOptions] options
|
|
58
|
-
# Request-specific options
|
|
59
|
-
#
|
|
60
|
-
# @yield [result, err] Result & error if block supplied
|
|
61
|
-
# @yieldparam result [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] parsed result object
|
|
62
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
63
|
-
#
|
|
64
|
-
# @return [Google::Apis::SpeechV1beta1::SyncRecognizeResponse]
|
|
65
|
-
#
|
|
66
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
67
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
68
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
69
|
-
def sync_recognize_speech(sync_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
70
|
-
command = make_simple_command(:post, 'v1beta1/speech:syncrecognize', options)
|
|
71
|
-
command.request_representation = Google::Apis::SpeechV1beta1::SyncRecognizeRequest::Representation
|
|
72
|
-
command.request_object = sync_recognize_request_object
|
|
73
|
-
command.response_representation = Google::Apis::SpeechV1beta1::SyncRecognizeResponse::Representation
|
|
74
|
-
command.response_class = Google::Apis::SpeechV1beta1::SyncRecognizeResponse
|
|
75
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
76
|
-
command.query['fields'] = fields unless fields.nil?
|
|
77
|
-
execute_or_queue_command(command, &block)
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
# Performs asynchronous speech recognition: receive results via the
|
|
81
|
-
# [google.longrunning.Operations]
|
|
82
|
-
# (/speech/reference/rest/v1beta1/operations#Operation)
|
|
83
|
-
# interface. Returns either an
|
|
84
|
-
# `Operation.error` or an `Operation.response` which contains
|
|
85
|
-
# an `AsyncRecognizeResponse` message.
|
|
86
|
-
# @param [Google::Apis::SpeechV1beta1::AsyncRecognizeRequest] async_recognize_request_object
|
|
87
|
-
# @param [String] quota_user
|
|
88
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
89
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
90
|
-
# @param [String] fields
|
|
91
|
-
# Selector specifying which fields to include in a partial response.
|
|
92
|
-
# @param [Google::Apis::RequestOptions] options
|
|
93
|
-
# Request-specific options
|
|
94
|
-
#
|
|
95
|
-
# @yield [result, err] Result & error if block supplied
|
|
96
|
-
# @yieldparam result [Google::Apis::SpeechV1beta1::Operation] parsed result object
|
|
97
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
98
|
-
#
|
|
99
|
-
# @return [Google::Apis::SpeechV1beta1::Operation]
|
|
100
|
-
#
|
|
101
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
102
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
103
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
104
|
-
def async_recognize_speech(async_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
105
|
-
command = make_simple_command(:post, 'v1beta1/speech:asyncrecognize', options)
|
|
106
|
-
command.request_representation = Google::Apis::SpeechV1beta1::AsyncRecognizeRequest::Representation
|
|
107
|
-
command.request_object = async_recognize_request_object
|
|
108
|
-
command.response_representation = Google::Apis::SpeechV1beta1::Operation::Representation
|
|
109
|
-
command.response_class = Google::Apis::SpeechV1beta1::Operation
|
|
110
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
111
|
-
command.query['fields'] = fields unless fields.nil?
|
|
112
|
-
execute_or_queue_command(command, &block)
|
|
113
|
-
end
|
|
114
|
-
|
|
115
49
|
# Starts asynchronous cancellation on a long-running operation. The server
|
|
116
50
|
# makes a best effort to cancel the operation, but success is not
|
|
117
51
|
# guaranteed. If the server doesn't support this method, it returns
|
|
@@ -188,14 +122,14 @@ module Google
|
|
|
188
122
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
189
123
|
# NOTE: the `name` binding below allows API services to override the binding
|
|
190
124
|
# to use different resource name schemes, such as `users/*/operations`.
|
|
125
|
+
# @param [String] filter
|
|
126
|
+
# The standard list filter.
|
|
191
127
|
# @param [String] name
|
|
192
128
|
# The name of the operation collection.
|
|
193
129
|
# @param [String] page_token
|
|
194
130
|
# The standard list page token.
|
|
195
131
|
# @param [Fixnum] page_size
|
|
196
132
|
# The standard list page size.
|
|
197
|
-
# @param [String] filter
|
|
198
|
-
# The standard list filter.
|
|
199
133
|
# @param [String] quota_user
|
|
200
134
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
201
135
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -213,14 +147,14 @@ module Google
|
|
|
213
147
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
214
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
215
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
216
|
-
def list_operations(
|
|
150
|
+
def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
217
151
|
command = make_simple_command(:get, 'v1beta1/operations', options)
|
|
218
152
|
command.response_representation = Google::Apis::SpeechV1beta1::ListOperationsResponse::Representation
|
|
219
153
|
command.response_class = Google::Apis::SpeechV1beta1::ListOperationsResponse
|
|
154
|
+
command.query['filter'] = filter unless filter.nil?
|
|
220
155
|
command.query['name'] = name unless name.nil?
|
|
221
156
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
222
157
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
223
|
-
command.query['filter'] = filter unless filter.nil?
|
|
224
158
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
225
159
|
command.query['fields'] = fields unless fields.nil?
|
|
226
160
|
execute_or_queue_command(command, &block)
|
|
@@ -257,6 +191,72 @@ module Google
|
|
|
257
191
|
command.query['fields'] = fields unless fields.nil?
|
|
258
192
|
execute_or_queue_command(command, &block)
|
|
259
193
|
end
|
|
194
|
+
|
|
195
|
+
# Performs asynchronous speech recognition: receive results via the
|
|
196
|
+
# [google.longrunning.Operations]
|
|
197
|
+
# (/speech/reference/rest/v1beta1/operations#Operation)
|
|
198
|
+
# interface. Returns either an
|
|
199
|
+
# `Operation.error` or an `Operation.response` which contains
|
|
200
|
+
# an `AsyncRecognizeResponse` message.
|
|
201
|
+
# @param [Google::Apis::SpeechV1beta1::AsyncRecognizeRequest] async_recognize_request_object
|
|
202
|
+
# @param [String] quota_user
|
|
203
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
204
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
205
|
+
# @param [String] fields
|
|
206
|
+
# Selector specifying which fields to include in a partial response.
|
|
207
|
+
# @param [Google::Apis::RequestOptions] options
|
|
208
|
+
# Request-specific options
|
|
209
|
+
#
|
|
210
|
+
# @yield [result, err] Result & error if block supplied
|
|
211
|
+
# @yieldparam result [Google::Apis::SpeechV1beta1::Operation] parsed result object
|
|
212
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
213
|
+
#
|
|
214
|
+
# @return [Google::Apis::SpeechV1beta1::Operation]
|
|
215
|
+
#
|
|
216
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
217
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
218
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
219
|
+
def async_recognize_speech(async_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
220
|
+
command = make_simple_command(:post, 'v1beta1/speech:asyncrecognize', options)
|
|
221
|
+
command.request_representation = Google::Apis::SpeechV1beta1::AsyncRecognizeRequest::Representation
|
|
222
|
+
command.request_object = async_recognize_request_object
|
|
223
|
+
command.response_representation = Google::Apis::SpeechV1beta1::Operation::Representation
|
|
224
|
+
command.response_class = Google::Apis::SpeechV1beta1::Operation
|
|
225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
226
|
+
command.query['fields'] = fields unless fields.nil?
|
|
227
|
+
execute_or_queue_command(command, &block)
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Performs synchronous speech recognition: receive results after all audio
|
|
231
|
+
# has been sent and processed.
|
|
232
|
+
# @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object
|
|
233
|
+
# @param [String] quota_user
|
|
234
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
235
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
236
|
+
# @param [String] fields
|
|
237
|
+
# Selector specifying which fields to include in a partial response.
|
|
238
|
+
# @param [Google::Apis::RequestOptions] options
|
|
239
|
+
# Request-specific options
|
|
240
|
+
#
|
|
241
|
+
# @yield [result, err] Result & error if block supplied
|
|
242
|
+
# @yieldparam result [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] parsed result object
|
|
243
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
244
|
+
#
|
|
245
|
+
# @return [Google::Apis::SpeechV1beta1::SyncRecognizeResponse]
|
|
246
|
+
#
|
|
247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
250
|
+
def sync_recognize_speech(sync_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
251
|
+
command = make_simple_command(:post, 'v1beta1/speech:syncrecognize', options)
|
|
252
|
+
command.request_representation = Google::Apis::SpeechV1beta1::SyncRecognizeRequest::Representation
|
|
253
|
+
command.request_object = sync_recognize_request_object
|
|
254
|
+
command.response_representation = Google::Apis::SpeechV1beta1::SyncRecognizeResponse::Representation
|
|
255
|
+
command.response_class = Google::Apis::SpeechV1beta1::SyncRecognizeResponse
|
|
256
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
257
|
+
command.query['fields'] = fields unless fields.nil?
|
|
258
|
+
execute_or_queue_command(command, &block)
|
|
259
|
+
end
|
|
260
260
|
|
|
261
261
|
protected
|
|
262
262
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170308'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1198,6 +1198,116 @@ module Google
|
|
|
1198
1198
|
end
|
|
1199
1199
|
end
|
|
1200
1200
|
|
|
1201
|
+
# A bucket/object IAM policy.
|
|
1202
|
+
class Policy
|
|
1203
|
+
include Google::Apis::Core::Hashable
|
|
1204
|
+
|
|
1205
|
+
# An association between a role, which comes with a set of permissions, and
|
|
1206
|
+
# members who may assume that role.
|
|
1207
|
+
# Corresponds to the JSON property `bindings`
|
|
1208
|
+
# @return [Array<Google::Apis::StorageV1::Policy::Binding>]
|
|
1209
|
+
attr_accessor :bindings
|
|
1210
|
+
|
|
1211
|
+
# HTTP 1.1 Entity tag for the policy.
|
|
1212
|
+
# Corresponds to the JSON property `etag`
|
|
1213
|
+
# @return [String]
|
|
1214
|
+
attr_accessor :etag
|
|
1215
|
+
|
|
1216
|
+
# The kind of item this is. For policies, this is always storage#policy. This
|
|
1217
|
+
# field is ignored on input.
|
|
1218
|
+
# Corresponds to the JSON property `kind`
|
|
1219
|
+
# @return [String]
|
|
1220
|
+
attr_accessor :kind
|
|
1221
|
+
|
|
1222
|
+
# The ID of the resource to which this policy belongs. Will be of the form
|
|
1223
|
+
# buckets/bucket for buckets, and buckets/bucket/objects/object for objects. A
|
|
1224
|
+
# specific generation may be specified by appending #generationNumber to the end
|
|
1225
|
+
# of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The current
|
|
1226
|
+
# generation can be denoted with #0. This field is ignored on input.
|
|
1227
|
+
# Corresponds to the JSON property `resourceId`
|
|
1228
|
+
# @return [String]
|
|
1229
|
+
attr_accessor :resource_id
|
|
1230
|
+
|
|
1231
|
+
def initialize(**args)
|
|
1232
|
+
update!(**args)
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
# Update properties of this object
|
|
1236
|
+
def update!(**args)
|
|
1237
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
|
1238
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1239
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1240
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
#
|
|
1244
|
+
class Binding
|
|
1245
|
+
include Google::Apis::Core::Hashable
|
|
1246
|
+
|
|
1247
|
+
# A collection of identifiers for members who may assume the provided role.
|
|
1248
|
+
# Recognized identifiers are as follows:
|
|
1249
|
+
# - allUsers — A special identifier that represents anyone on the internet; with
|
|
1250
|
+
# or without a Google account.
|
|
1251
|
+
# - allAuthenticatedUsers — A special identifier that represents anyone who is
|
|
1252
|
+
# authenticated with a Google account or a service account.
|
|
1253
|
+
# - user:emailid — An email address that represents a specific account. For
|
|
1254
|
+
# example, user:alice@gmail.com or user:joe@example.com.
|
|
1255
|
+
# - serviceAccount:emailid — An email address that represents a service account.
|
|
1256
|
+
# For example, serviceAccount:my-other-app@appspot.gserviceaccount.com .
|
|
1257
|
+
# - group:emailid — An email address that represents a Google group. For example,
|
|
1258
|
+
# group:admins@example.com.
|
|
1259
|
+
# - domain:domain — A Google Apps domain name that represents all the users of
|
|
1260
|
+
# that domain. For example, domain:google.com or domain:example.com.
|
|
1261
|
+
# - projectOwner:projectid — Owners of the given project. For example,
|
|
1262
|
+
# projectOwner:my-example-project
|
|
1263
|
+
# - projectEditor:projectid — Editors of the given project. For example,
|
|
1264
|
+
# projectEditor:my-example-project
|
|
1265
|
+
# - projectViewer:projectid — Viewers of the given project. For example,
|
|
1266
|
+
# projectViewer:my-example-project
|
|
1267
|
+
# Corresponds to the JSON property `members`
|
|
1268
|
+
# @return [Array<String>]
|
|
1269
|
+
attr_accessor :members
|
|
1270
|
+
|
|
1271
|
+
# The role to which members belong. Two types of roles are supported: new IAM
|
|
1272
|
+
# roles, which grant permissions that do not map directly to those provided by
|
|
1273
|
+
# ACLs, and legacy IAM roles, which do map directly to ACL permissions. All
|
|
1274
|
+
# roles are of the format roles/storage.specificRole.
|
|
1275
|
+
# The new IAM roles are:
|
|
1276
|
+
# - roles/storage.admin — Full control of Google Cloud Storage resources.
|
|
1277
|
+
# - roles/storage.objectViewer — Read-Only access to Google Cloud Storage
|
|
1278
|
+
# objects.
|
|
1279
|
+
# - roles/storage.objectCreator — Access to create objects in Google Cloud
|
|
1280
|
+
# Storage.
|
|
1281
|
+
# - roles/storage.objectAdmin — Full control of Google Cloud Storage objects.
|
|
1282
|
+
# The legacy IAM roles are:
|
|
1283
|
+
# - roles/storage.legacyObjectReader — Read-only access to objects without
|
|
1284
|
+
# listing. Equivalent to an ACL entry on an object with the READER role.
|
|
1285
|
+
# - roles/storage.legacyObjectOwner — Read/write access to existing objects
|
|
1286
|
+
# without listing. Equivalent to an ACL entry on an object with the OWNER role.
|
|
1287
|
+
# - roles/storage.legacyBucketReader — Read access to buckets with object
|
|
1288
|
+
# listing. Equivalent to an ACL entry on a bucket with the READER role.
|
|
1289
|
+
# - roles/storage.legacyBucketWriter — Read access to buckets with object
|
|
1290
|
+
# listing/creation/deletion. Equivalent to an ACL entry on a bucket with the
|
|
1291
|
+
# WRITER role.
|
|
1292
|
+
# - roles/storage.legacyBucketOwner — Read and write access to existing buckets
|
|
1293
|
+
# with object listing/creation/deletion. Equivalent to an ACL entry on a bucket
|
|
1294
|
+
# with the OWNER role.
|
|
1295
|
+
# Corresponds to the JSON property `role`
|
|
1296
|
+
# @return [String]
|
|
1297
|
+
attr_accessor :role
|
|
1298
|
+
|
|
1299
|
+
def initialize(**args)
|
|
1300
|
+
update!(**args)
|
|
1301
|
+
end
|
|
1302
|
+
|
|
1303
|
+
# Update properties of this object
|
|
1304
|
+
def update!(**args)
|
|
1305
|
+
@members = args[:members] if args.key?(:members)
|
|
1306
|
+
@role = args[:role] if args.key?(:role)
|
|
1307
|
+
end
|
|
1308
|
+
end
|
|
1309
|
+
end
|
|
1310
|
+
|
|
1201
1311
|
# A rewrite response.
|
|
1202
1312
|
class RewriteResponse
|
|
1203
1313
|
include Google::Apis::Core::Hashable
|
|
@@ -1251,6 +1361,47 @@ module Google
|
|
|
1251
1361
|
@total_bytes_rewritten = args[:total_bytes_rewritten] if args.key?(:total_bytes_rewritten)
|
|
1252
1362
|
end
|
|
1253
1363
|
end
|
|
1364
|
+
|
|
1365
|
+
# A storage.(buckets|objects).testIamPermissions response.
|
|
1366
|
+
class TestIamPermissionsResponse
|
|
1367
|
+
include Google::Apis::Core::Hashable
|
|
1368
|
+
|
|
1369
|
+
# The kind of item this is.
|
|
1370
|
+
# Corresponds to the JSON property `kind`
|
|
1371
|
+
# @return [String]
|
|
1372
|
+
attr_accessor :kind
|
|
1373
|
+
|
|
1374
|
+
# The permissions held by the caller. Permissions are always of the format
|
|
1375
|
+
# storage.resource.capability, where resource is one of buckets or objects. The
|
|
1376
|
+
# supported permissions are as follows:
|
|
1377
|
+
# - storage.buckets.delete — Delete bucket.
|
|
1378
|
+
# - storage.buckets.get — Read bucket metadata.
|
|
1379
|
+
# - storage.buckets.getIamPolicy — Read bucket IAM policy.
|
|
1380
|
+
# - storage.buckets.create — Create bucket.
|
|
1381
|
+
# - storage.buckets.list — List buckets.
|
|
1382
|
+
# - storage.buckets.setIamPolicy — Update bucket IAM policy.
|
|
1383
|
+
# - storage.buckets.update — Update bucket metadata.
|
|
1384
|
+
# - storage.objects.delete — Delete object.
|
|
1385
|
+
# - storage.objects.get — Read object data and metadata.
|
|
1386
|
+
# - storage.objects.getIamPolicy — Read object IAM policy.
|
|
1387
|
+
# - storage.objects.create — Create object.
|
|
1388
|
+
# - storage.objects.list — List objects.
|
|
1389
|
+
# - storage.objects.setIamPolicy — Update object IAM policy.
|
|
1390
|
+
# - storage.objects.update — Update object metadata.
|
|
1391
|
+
# Corresponds to the JSON property `permissions`
|
|
1392
|
+
# @return [Array<String>]
|
|
1393
|
+
attr_accessor :permissions
|
|
1394
|
+
|
|
1395
|
+
def initialize(**args)
|
|
1396
|
+
update!(**args)
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
# Update properties of this object
|
|
1400
|
+
def update!(**args)
|
|
1401
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1402
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
1403
|
+
end
|
|
1404
|
+
end
|
|
1254
1405
|
end
|
|
1255
1406
|
end
|
|
1256
1407
|
end
|