google-api-client 0.9.28 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -22,6 +22,36 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
+ class BuiltImage
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class RepoSource
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BuildStep
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class HashProp
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class FileHashes
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
25
55
  class Status
26
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
57
 
@@ -106,46 +136,64 @@ module Google
106
136
  include Google::Apis::Core::JsonObjectSupport
107
137
  end
108
138
 
109
- class ListBuildTriggersResponse
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
139
  class Operation
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
118
142
  include Google::Apis::Core::JsonObjectSupport
119
143
  end
120
144
 
121
- class BuiltImage
145
+ class ListBuildTriggersResponse
122
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
147
 
124
148
  include Google::Apis::Core::JsonObjectSupport
125
149
  end
126
150
 
127
- class HashProp
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
151
+ class BuiltImage
152
+ # @private
153
+ class Representation < Google::Apis::Core::JsonRepresentation
154
+ property :name, as: 'name'
155
+ property :digest, as: 'digest'
156
+ end
131
157
  end
132
158
 
133
159
  class RepoSource
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
160
+ # @private
161
+ class Representation < Google::Apis::Core::JsonRepresentation
162
+ property :tag_name, as: 'tagName'
163
+ property :commit_sha, as: 'commitSha'
164
+ property :project_id, as: 'projectId'
165
+ property :repo_name, as: 'repoName'
166
+ property :branch_name, as: 'branchName'
167
+ end
137
168
  end
138
169
 
139
170
  class BuildStep
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
+ # @private
172
+ class Representation < Google::Apis::Core::JsonRepresentation
173
+ property :entrypoint, as: 'entrypoint'
174
+ property :id, as: 'id'
175
+ property :dir, as: 'dir'
176
+ collection :wait_for, as: 'waitFor'
177
+ collection :env, as: 'env'
178
+ collection :args, as: 'args'
179
+ property :name, as: 'name'
180
+ end
181
+ end
141
182
 
142
- include Google::Apis::Core::JsonObjectSupport
183
+ class HashProp
184
+ # @private
185
+ class Representation < Google::Apis::Core::JsonRepresentation
186
+ property :type, as: 'type'
187
+ property :value, :base64 => true, as: 'value'
188
+ end
143
189
  end
144
190
 
145
191
  class FileHashes
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
192
+ # @private
193
+ class Representation < Google::Apis::Core::JsonRepresentation
194
+ collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation
147
195
 
148
- include Google::Apis::Core::JsonObjectSupport
196
+ end
149
197
  end
150
198
 
151
199
  class Status
@@ -173,37 +221,37 @@ module Google
173
221
  property :description, as: 'description'
174
222
  property :create_time, as: 'createTime'
175
223
  property :disabled, as: 'disabled'
176
- property :filename, as: 'filename'
177
224
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
178
225
 
226
+ property :filename, as: 'filename'
179
227
  end
180
228
  end
181
229
 
182
230
  class Build
183
231
  # @private
184
232
  class Representation < Google::Apis::Core::JsonRepresentation
233
+ property :timeout, as: 'timeout'
234
+ property :status, as: 'status'
235
+ property :status_detail, as: 'statusDetail'
236
+ property :logs_bucket, as: 'logsBucket'
237
+ property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
238
+
239
+ collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
240
+
185
241
  property :build_trigger_id, as: 'buildTriggerId'
186
242
  property :id, as: 'id'
187
- hash :substitutions, as: 'substitutions'
188
243
  property :start_time, as: 'startTime'
244
+ hash :substitutions, as: 'substitutions'
189
245
  property :create_time, as: 'createTime'
190
246
  property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
191
247
 
192
248
  collection :images, as: 'images'
193
249
  property :project_id, as: 'projectId'
194
- property :log_url, as: 'logUrl'
195
250
  property :finish_time, as: 'finishTime'
196
- property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
197
-
251
+ property :log_url, as: 'logUrl'
198
252
  property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
199
253
 
200
- property :status_detail, as: 'statusDetail'
201
- property :status, as: 'status'
202
- property :timeout, as: 'timeout'
203
- property :logs_bucket, as: 'logsBucket'
204
- property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
205
-
206
- collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
254
+ property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
207
255
 
208
256
  end
209
257
  end
@@ -235,36 +283,36 @@ module Google
235
283
  class Source
236
284
  # @private
237
285
  class Representation < Google::Apis::Core::JsonRepresentation
238
- property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
239
-
240
286
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
241
287
 
288
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
289
+
242
290
  end
243
291
  end
244
292
 
245
293
  class BuildOptions
246
294
  # @private
247
295
  class Representation < Google::Apis::Core::JsonRepresentation
248
- collection :source_provenance_hash, as: 'sourceProvenanceHash'
249
296
  property :requested_verify_option, as: 'requestedVerifyOption'
297
+ collection :source_provenance_hash, as: 'sourceProvenanceHash'
250
298
  end
251
299
  end
252
300
 
253
301
  class StorageSource
254
302
  # @private
255
303
  class Representation < Google::Apis::Core::JsonRepresentation
256
- property :generation, as: 'generation'
257
304
  property :bucket, as: 'bucket'
258
305
  property :object, as: 'object'
306
+ property :generation, as: 'generation'
259
307
  end
260
308
  end
261
309
 
262
310
  class Results
263
311
  # @private
264
312
  class Representation < Google::Apis::Core::JsonRepresentation
313
+ collection :build_step_images, as: 'buildStepImages'
265
314
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
266
315
 
267
- collection :build_step_images, as: 'buildStepImages'
268
316
  end
269
317
  end
270
318
 
@@ -279,85 +327,37 @@ module Google
279
327
  class SourceProvenance
280
328
  # @private
281
329
  class Representation < Google::Apis::Core::JsonRepresentation
282
- hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
283
-
284
330
  property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
285
331
 
286
332
  property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
287
333
 
288
- end
289
- end
334
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
290
335
 
291
- class CancelOperationRequest
292
- # @private
293
- class Representation < Google::Apis::Core::JsonRepresentation
294
336
  end
295
337
  end
296
338
 
297
- class ListBuildTriggersResponse
339
+ class CancelOperationRequest
298
340
  # @private
299
341
  class Representation < Google::Apis::Core::JsonRepresentation
300
- collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
301
-
302
342
  end
303
343
  end
304
344
 
305
345
  class Operation
306
346
  # @private
307
347
  class Representation < Google::Apis::Core::JsonRepresentation
348
+ hash :metadata, as: 'metadata'
308
349
  property :done, as: 'done'
309
350
  hash :response, as: 'response'
310
351
  property :name, as: 'name'
311
352
  property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation
312
353
 
313
- hash :metadata, as: 'metadata'
314
- end
315
- end
316
-
317
- class BuiltImage
318
- # @private
319
- class Representation < Google::Apis::Core::JsonRepresentation
320
- property :name, as: 'name'
321
- property :digest, as: 'digest'
322
- end
323
- end
324
-
325
- class HashProp
326
- # @private
327
- class Representation < Google::Apis::Core::JsonRepresentation
328
- property :type, as: 'type'
329
- property :value, :base64 => true, as: 'value'
330
- end
331
- end
332
-
333
- class RepoSource
334
- # @private
335
- class Representation < Google::Apis::Core::JsonRepresentation
336
- property :tag_name, as: 'tagName'
337
- property :commit_sha, as: 'commitSha'
338
- property :project_id, as: 'projectId'
339
- property :repo_name, as: 'repoName'
340
- property :branch_name, as: 'branchName'
341
- end
342
- end
343
-
344
- class BuildStep
345
- # @private
346
- class Representation < Google::Apis::Core::JsonRepresentation
347
- collection :wait_for, as: 'waitFor'
348
- collection :env, as: 'env'
349
- collection :args, as: 'args'
350
- property :name, as: 'name'
351
- property :entrypoint, as: 'entrypoint'
352
- property :id, as: 'id'
353
- property :dir, as: 'dir'
354
354
  end
355
355
  end
356
356
 
357
- class FileHashes
357
+ class ListBuildTriggersResponse
358
358
  # @private
359
359
  class Representation < Google::Apis::Core::JsonRepresentation
360
- collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation
360
+ collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
361
361
 
362
362
  end
363
363
  end
@@ -32,16 +32,16 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/container-builder/docs/
34
34
  class CloudBuildService < Google::Apis::Core::BaseService
35
- # @return [String]
36
- # API key. Your API key identifies your project and provides you with API access,
37
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
- attr_accessor :key
39
-
40
35
  # @return [String]
41
36
  # Available to use for quota purposes for server-side applications. Can be any
42
37
  # arbitrary string assigned to a user, but should not exceed 40 characters.
43
38
  attr_accessor :quota_user
44
39
 
40
+ # @return [String]
41
+ # API key. Your API key identifies your project and provides you with API access,
42
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
43
+ attr_accessor :key
44
+
45
45
  def initialize
46
46
  super('https://cloudbuild.googleapis.com/', '')
47
47
  end
@@ -59,11 +59,11 @@ module Google
59
59
  # @param [String] name
60
60
  # The name of the operation resource to be cancelled.
61
61
  # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
62
- # @param [String] fields
63
- # Selector specifying which fields to include in a partial response.
64
62
  # @param [String] quota_user
65
63
  # Available to use for quota purposes for server-side applications. Can be any
66
64
  # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [String] fields
66
+ # Selector specifying which fields to include in a partial response.
67
67
  # @param [Google::Apis::RequestOptions] options
68
68
  # Request-specific options
69
69
  #
@@ -76,15 +76,15 @@ module Google
76
76
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
80
80
  command = make_simple_command(:post, 'v1/{+name}:cancel', options)
81
81
  command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
82
82
  command.request_object = cancel_operation_request_object
83
83
  command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
84
84
  command.response_class = Google::Apis::CloudbuildV1::Empty
85
85
  command.params['name'] = name unless name.nil?
86
- command.query['fields'] = fields unless fields.nil?
87
86
  command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
88
  execute_or_queue_command(command, &block)
89
89
  end
90
90
 
@@ -100,11 +100,11 @@ module Google
100
100
  # The standard list page size.
101
101
  # @param [String] filter
102
102
  # The standard list filter.
103
- # @param [String] fields
104
- # Selector specifying which fields to include in a partial response.
105
103
  # @param [String] quota_user
106
104
  # Available to use for quota purposes for server-side applications. Can be any
107
105
  # arbitrary string assigned to a user, but should not exceed 40 characters.
106
+ # @param [String] fields
107
+ # Selector specifying which fields to include in a partial response.
108
108
  # @param [Google::Apis::RequestOptions] options
109
109
  # Request-specific options
110
110
  #
@@ -117,7 +117,7 @@ module Google
117
117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
118
118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
119
119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
120
- def list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
120
+ def list_operations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
121
121
  command = make_simple_command(:get, 'v1/{+name}', options)
122
122
  command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
123
123
  command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
@@ -125,8 +125,8 @@ module Google
125
125
  command.query['pageToken'] = page_token unless page_token.nil?
126
126
  command.query['pageSize'] = page_size unless page_size.nil?
127
127
  command.query['filter'] = filter unless filter.nil?
128
- command.query['fields'] = fields unless fields.nil?
129
128
  command.query['quotaUser'] = quota_user unless quota_user.nil?
129
+ command.query['fields'] = fields unless fields.nil?
130
130
  execute_or_queue_command(command, &block)
131
131
  end
132
132
 
@@ -135,11 +135,11 @@ module Google
135
135
  # service.
136
136
  # @param [String] name
137
137
  # The name of the operation resource.
138
- # @param [String] fields
139
- # Selector specifying which fields to include in a partial response.
140
138
  # @param [String] quota_user
141
139
  # Available to use for quota purposes for server-side applications. Can be any
142
140
  # arbitrary string assigned to a user, but should not exceed 40 characters.
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
143
  # @param [Google::Apis::RequestOptions] options
144
144
  # Request-specific options
145
145
  #
@@ -152,13 +152,13 @@ module Google
152
152
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
153
153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
154
154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
155
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
155
+ def get_operation(name, quota_user: nil, fields: nil, options: nil, &block)
156
156
  command = make_simple_command(:get, 'v1/{+name}', options)
157
157
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
158
158
  command.response_class = Google::Apis::CloudbuildV1::Operation
159
159
  command.params['name'] = name unless name.nil?
160
- command.query['fields'] = fields unless fields.nil?
161
160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
161
+ command.query['fields'] = fields unless fields.nil?
162
162
  execute_or_queue_command(command, &block)
163
163
  end
164
164
 
@@ -168,11 +168,11 @@ module Google
168
168
  # ID of the project that owns the trigger.
169
169
  # @param [String] trigger_id
170
170
  # ID of the BuildTrigger to delete.
171
- # @param [String] fields
172
- # Selector specifying which fields to include in a partial response.
173
171
  # @param [String] quota_user
174
172
  # Available to use for quota purposes for server-side applications. Can be any
175
173
  # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
176
176
  # @param [Google::Apis::RequestOptions] options
177
177
  # Request-specific options
178
178
  #
@@ -185,14 +185,14 @@ module Google
185
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
188
- def delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
188
+ def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
189
189
  command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
190
190
  command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
191
191
  command.response_class = Google::Apis::CloudbuildV1::Empty
192
192
  command.params['projectId'] = project_id unless project_id.nil?
193
193
  command.params['triggerId'] = trigger_id unless trigger_id.nil?
194
- command.query['fields'] = fields unless fields.nil?
195
194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
195
+ command.query['fields'] = fields unless fields.nil?
196
196
  execute_or_queue_command(command, &block)
197
197
  end
198
198
 
@@ -202,11 +202,11 @@ module Google
202
202
  # ID of the project that owns the trigger.
203
203
  # @param [String] trigger_id
204
204
  # ID of the BuildTrigger to get.
205
- # @param [String] fields
206
- # Selector specifying which fields to include in a partial response.
207
205
  # @param [String] quota_user
208
206
  # Available to use for quota purposes for server-side applications. Can be any
209
207
  # arbitrary string assigned to a user, but should not exceed 40 characters.
208
+ # @param [String] fields
209
+ # Selector specifying which fields to include in a partial response.
210
210
  # @param [Google::Apis::RequestOptions] options
211
211
  # Request-specific options
212
212
  #
@@ -219,14 +219,14 @@ module Google
219
219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
220
220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
221
221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
222
- def get_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
222
+ def get_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block)
223
223
  command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
224
224
  command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
225
225
  command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
226
226
  command.params['projectId'] = project_id unless project_id.nil?
227
227
  command.params['triggerId'] = trigger_id unless trigger_id.nil?
228
- command.query['fields'] = fields unless fields.nil?
229
228
  command.query['quotaUser'] = quota_user unless quota_user.nil?
229
+ command.query['fields'] = fields unless fields.nil?
230
230
  execute_or_queue_command(command, &block)
231
231
  end
232
232
 
@@ -234,11 +234,11 @@ module Google
234
234
  # This API is experimental.
235
235
  # @param [String] project_id
236
236
  # ID of the project for which to list BuildTriggers.
237
- # @param [String] fields
238
- # Selector specifying which fields to include in a partial response.
239
237
  # @param [String] quota_user
240
238
  # Available to use for quota purposes for server-side applications. Can be any
241
239
  # arbitrary string assigned to a user, but should not exceed 40 characters.
240
+ # @param [String] fields
241
+ # Selector specifying which fields to include in a partial response.
242
242
  # @param [Google::Apis::RequestOptions] options
243
243
  # Request-specific options
244
244
  #
@@ -251,13 +251,13 @@ module Google
251
251
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
252
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
253
  # @raise [Google::Apis::AuthorizationError] Authorization is required
254
- def list_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block)
254
+ def list_project_triggers(project_id, quota_user: nil, fields: nil, options: nil, &block)
255
255
  command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
256
256
  command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
257
257
  command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
258
258
  command.params['projectId'] = project_id unless project_id.nil?
259
- command.query['fields'] = fields unless fields.nil?
260
259
  command.query['quotaUser'] = quota_user unless quota_user.nil?
260
+ command.query['fields'] = fields unless fields.nil?
261
261
  execute_or_queue_command(command, &block)
262
262
  end
263
263
 
@@ -268,11 +268,11 @@ module Google
268
268
  # @param [String] trigger_id
269
269
  # ID of the BuildTrigger to update.
270
270
  # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
271
- # @param [String] fields
272
- # Selector specifying which fields to include in a partial response.
273
271
  # @param [String] quota_user
274
272
  # Available to use for quota purposes for server-side applications. Can be any
275
273
  # arbitrary string assigned to a user, but should not exceed 40 characters.
274
+ # @param [String] fields
275
+ # Selector specifying which fields to include in a partial response.
276
276
  # @param [Google::Apis::RequestOptions] options
277
277
  # Request-specific options
278
278
  #
@@ -285,7 +285,7 @@ module Google
285
285
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
286
286
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
287
287
  # @raise [Google::Apis::AuthorizationError] Authorization is required
288
- def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
288
+ def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, quota_user: nil, fields: nil, options: nil, &block)
289
289
  command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
290
290
  command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
291
291
  command.request_object = build_trigger_object
@@ -293,8 +293,8 @@ module Google
293
293
  command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
294
294
  command.params['projectId'] = project_id unless project_id.nil?
295
295
  command.params['triggerId'] = trigger_id unless trigger_id.nil?
296
- command.query['fields'] = fields unless fields.nil?
297
296
  command.query['quotaUser'] = quota_user unless quota_user.nil?
297
+ command.query['fields'] = fields unless fields.nil?
298
298
  execute_or_queue_command(command, &block)
299
299
  end
300
300
 
@@ -303,11 +303,11 @@ module Google
303
303
  # @param [String] project_id
304
304
  # ID of the project for which to configure automatic builds.
305
305
  # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
306
- # @param [String] fields
307
- # Selector specifying which fields to include in a partial response.
308
306
  # @param [String] quota_user
309
307
  # Available to use for quota purposes for server-side applications. Can be any
310
308
  # arbitrary string assigned to a user, but should not exceed 40 characters.
309
+ # @param [String] fields
310
+ # Selector specifying which fields to include in a partial response.
311
311
  # @param [Google::Apis::RequestOptions] options
312
312
  # Request-specific options
313
313
  #
@@ -320,15 +320,15 @@ module Google
320
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
321
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
322
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
323
- def create_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
323
+ def create_project_trigger(project_id, build_trigger_object = nil, quota_user: nil, fields: nil, options: nil, &block)
324
324
  command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
325
325
  command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
326
326
  command.request_object = build_trigger_object
327
327
  command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
328
328
  command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
329
329
  command.params['projectId'] = project_id unless project_id.nil?
330
- command.query['fields'] = fields unless fields.nil?
331
330
  command.query['quotaUser'] = quota_user unless quota_user.nil?
331
+ command.query['fields'] = fields unless fields.nil?
332
332
  execute_or_queue_command(command, &block)
333
333
  end
334
334
 
@@ -338,11 +338,11 @@ module Google
338
338
  # @param [String] id
339
339
  # ID of the build.
340
340
  # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
341
- # @param [String] fields
342
- # Selector specifying which fields to include in a partial response.
343
341
  # @param [String] quota_user
344
342
  # Available to use for quota purposes for server-side applications. Can be any
345
343
  # arbitrary string assigned to a user, but should not exceed 40 characters.
344
+ # @param [String] fields
345
+ # Selector specifying which fields to include in a partial response.
346
346
  # @param [Google::Apis::RequestOptions] options
347
347
  # Request-specific options
348
348
  #
@@ -355,7 +355,7 @@ module Google
355
355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
358
- def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
358
+ def cancel_build(project_id, id, cancel_build_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
359
359
  command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
360
360
  command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
361
361
  command.request_object = cancel_build_request_object
@@ -363,8 +363,8 @@ module Google
363
363
  command.response_class = Google::Apis::CloudbuildV1::Build
364
364
  command.params['projectId'] = project_id unless project_id.nil?
365
365
  command.params['id'] = id unless id.nil?
366
- command.query['fields'] = fields unless fields.nil?
367
366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
367
+ command.query['fields'] = fields unless fields.nil?
368
368
  execute_or_queue_command(command, &block)
369
369
  end
370
370
 
@@ -375,11 +375,11 @@ module Google
375
375
  # ID of the project.
376
376
  # @param [String] id
377
377
  # ID of the build.
378
- # @param [String] fields
379
- # Selector specifying which fields to include in a partial response.
380
378
  # @param [String] quota_user
381
379
  # Available to use for quota purposes for server-side applications. Can be any
382
380
  # arbitrary string assigned to a user, but should not exceed 40 characters.
381
+ # @param [String] fields
382
+ # Selector specifying which fields to include in a partial response.
383
383
  # @param [Google::Apis::RequestOptions] options
384
384
  # Request-specific options
385
385
  #
@@ -392,14 +392,14 @@ module Google
392
392
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
393
393
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
394
394
  # @raise [Google::Apis::AuthorizationError] Authorization is required
395
- def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
395
+ def get_project_build(project_id, id, quota_user: nil, fields: nil, options: nil, &block)
396
396
  command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
397
397
  command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
398
398
  command.response_class = Google::Apis::CloudbuildV1::Build
399
399
  command.params['projectId'] = project_id unless project_id.nil?
400
400
  command.params['id'] = id unless id.nil?
401
- command.query['fields'] = fields unless fields.nil?
402
401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
402
+ command.query['fields'] = fields unless fields.nil?
403
403
  execute_or_queue_command(command, &block)
404
404
  end
405
405
 
@@ -408,17 +408,17 @@ module Google
408
408
  # successfully or unsuccessfully.
409
409
  # @param [String] project_id
410
410
  # ID of the project.
411
+ # @param [String] filter
412
+ # The raw filter text to constrain the results.
411
413
  # @param [String] page_token
412
414
  # Token to provide to skip to a particular spot in the list.
413
415
  # @param [Fixnum] page_size
414
416
  # Number of results to return in the list.
415
- # @param [String] filter
416
- # The raw filter text to constrain the results.
417
- # @param [String] fields
418
- # Selector specifying which fields to include in a partial response.
419
417
  # @param [String] quota_user
420
418
  # Available to use for quota purposes for server-side applications. Can be any
421
419
  # arbitrary string assigned to a user, but should not exceed 40 characters.
420
+ # @param [String] fields
421
+ # Selector specifying which fields to include in a partial response.
422
422
  # @param [Google::Apis::RequestOptions] options
423
423
  # Request-specific options
424
424
  #
@@ -431,16 +431,16 @@ module Google
431
431
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
432
432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
433
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
- def list_project_builds(project_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
434
+ def list_project_builds(project_id, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
435
435
  command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
436
436
  command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
437
437
  command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
438
438
  command.params['projectId'] = project_id unless project_id.nil?
439
+ command.query['filter'] = filter unless filter.nil?
439
440
  command.query['pageToken'] = page_token unless page_token.nil?
440
441
  command.query['pageSize'] = page_size unless page_size.nil?
441
- command.query['filter'] = filter unless filter.nil?
442
- command.query['fields'] = fields unless fields.nil?
443
442
  command.query['quotaUser'] = quota_user unless quota_user.nil?
443
+ command.query['fields'] = fields unless fields.nil?
444
444
  execute_or_queue_command(command, &block)
445
445
  end
446
446
 
@@ -451,11 +451,11 @@ module Google
451
451
  # @param [String] project_id
452
452
  # ID of the project.
453
453
  # @param [Google::Apis::CloudbuildV1::Build] build_object
454
- # @param [String] fields
455
- # Selector specifying which fields to include in a partial response.
456
454
  # @param [String] quota_user
457
455
  # Available to use for quota purposes for server-side applications. Can be any
458
456
  # arbitrary string assigned to a user, but should not exceed 40 characters.
457
+ # @param [String] fields
458
+ # Selector specifying which fields to include in a partial response.
459
459
  # @param [Google::Apis::RequestOptions] options
460
460
  # Request-specific options
461
461
  #
@@ -468,23 +468,23 @@ module Google
468
468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
469
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
470
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
471
- def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
471
+ def create_project_build(project_id, build_object = nil, quota_user: nil, fields: nil, options: nil, &block)
472
472
  command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
473
473
  command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
474
474
  command.request_object = build_object
475
475
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
476
476
  command.response_class = Google::Apis::CloudbuildV1::Operation
477
477
  command.params['projectId'] = project_id unless project_id.nil?
478
- command.query['fields'] = fields unless fields.nil?
479
478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
480
  execute_or_queue_command(command, &block)
481
481
  end
482
482
 
483
483
  protected
484
484
 
485
485
  def apply_command_defaults(command)
486
- command.query['key'] = key unless key.nil?
487
486
  command.query['quotaUser'] = quota_user unless quota_user.nil?
487
+ command.query['key'] = key unless key.nil?
488
488
  end
489
489
  end
490
490
  end