google-api-client 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. checksums.yaml +4 -4
  2. data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
  4. data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
  5. data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
  6. data/.kokoro/build.bat +8 -0
  7. data/.kokoro/build.sh +36 -0
  8. data/.kokoro/common.cfg +22 -0
  9. data/.kokoro/continuous/common.cfg +20 -0
  10. data/.kokoro/continuous/linux.cfg +15 -0
  11. data/.kokoro/continuous/osx.cfg +3 -0
  12. data/.kokoro/continuous/windows.cfg +3 -0
  13. data/.kokoro/osx.sh +35 -0
  14. data/.kokoro/presubmit/common.cfg +19 -0
  15. data/.kokoro/presubmit/linux.cfg +14 -0
  16. data/.kokoro/presubmit/osx.cfg +3 -0
  17. data/.kokoro/presubmit/windows.cfg +3 -0
  18. data/.kokoro/trampoline.sh +24 -0
  19. data/.kokoro/windows.sh +32 -0
  20. data/CHANGELOG.md +83 -0
  21. data/Gemfile +2 -2
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  24. data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
  25. data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
  26. data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
  27. data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
  28. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  29. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
  30. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
  31. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
  36. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  37. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  40. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  41. data/generated/google/apis/appengine_v1.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/bigquery_v2.rb +1 -1
  44. data/generated/google/apis/bigquery_v2/classes.rb +87 -29
  45. data/generated/google/apis/bigquery_v2/representations.rb +21 -0
  46. data/generated/google/apis/bigquery_v2/service.rb +7 -9
  47. data/generated/google/apis/calendar_v3.rb +2 -2
  48. data/generated/google/apis/calendar_v3/classes.rb +14 -6
  49. data/generated/google/apis/classroom_v1.rb +1 -1
  50. data/generated/google/apis/classroom_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
  53. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
  58. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
  60. data/generated/google/apis/cloudiot_v1.rb +1 -1
  61. data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
  62. data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
  63. data/generated/google/apis/cloudiot_v1/service.rb +172 -2
  64. data/generated/google/apis/cloudkms_v1.rb +1 -1
  65. data/generated/google/apis/cloudkms_v1/service.rb +107 -0
  66. data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
  67. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
  68. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
  69. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
  70. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  71. data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
  72. data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
  73. data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +9 -0
  76. data/generated/google/apis/composer_v1/representations.rb +1 -0
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +938 -117
  79. data/generated/google/apis/compute_alpha/representations.rb +310 -2
  80. data/generated/google/apis/compute_alpha/service.rb +1203 -245
  81. data/generated/google/apis/compute_beta.rb +1 -1
  82. data/generated/google/apis/compute_beta/classes.rb +1175 -219
  83. data/generated/google/apis/compute_beta/representations.rb +375 -2
  84. data/generated/google/apis/compute_beta/service.rb +907 -139
  85. data/generated/google/apis/compute_v1.rb +1 -1
  86. data/generated/google/apis/compute_v1/classes.rb +1485 -143
  87. data/generated/google/apis/compute_v1/representations.rb +503 -0
  88. data/generated/google/apis/compute_v1/service.rb +1375 -85
  89. data/generated/google/apis/container_v1.rb +3 -3
  90. data/generated/google/apis/container_v1/classes.rb +99 -6
  91. data/generated/google/apis/container_v1/representations.rb +39 -0
  92. data/generated/google/apis/container_v1/service.rb +2 -2
  93. data/generated/google/apis/container_v1beta1.rb +3 -3
  94. data/generated/google/apis/container_v1beta1/classes.rb +162 -9
  95. data/generated/google/apis/container_v1beta1/representations.rb +80 -0
  96. data/generated/google/apis/container_v1beta1/service.rb +3 -3
  97. data/generated/google/apis/content_v2.rb +1 -1
  98. data/generated/google/apis/content_v2/classes.rb +40 -32
  99. data/generated/google/apis/content_v2/representations.rb +0 -1
  100. data/generated/google/apis/content_v2/service.rb +3 -3
  101. data/generated/google/apis/content_v2_1.rb +35 -0
  102. data/generated/google/apis/content_v2_1/classes.rb +9104 -0
  103. data/generated/google/apis/content_v2_1/representations.rb +3967 -0
  104. data/generated/google/apis/content_v2_1/service.rb +3463 -0
  105. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  106. data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
  107. data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
  108. data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
  109. data/generated/google/apis/dataproc_v1.rb +1 -1
  110. data/generated/google/apis/dataproc_v1/classes.rb +15 -1
  111. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  112. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  113. data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
  114. data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
  117. data/generated/google/apis/dialogflow_v2/service.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
  122. data/generated/google/apis/dlp_v2.rb +1 -1
  123. data/generated/google/apis/dlp_v2/classes.rb +4 -4
  124. data/generated/google/apis/dns_v1beta2.rb +1 -1
  125. data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
  126. data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
  127. data/generated/google/apis/dns_v1beta2/service.rb +246 -0
  128. data/generated/google/apis/drive_v2.rb +3 -3
  129. data/generated/google/apis/drive_v3.rb +3 -3
  130. data/generated/google/apis/driveactivity_v2.rb +37 -0
  131. data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
  132. data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
  133. data/generated/google/apis/driveactivity_v2/service.rb +89 -0
  134. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  135. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
  136. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  137. data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
  138. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
  139. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
  140. data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
  141. data/generated/google/apis/firestore_v1.rb +1 -1
  142. data/generated/google/apis/firestore_v1/classes.rb +2225 -520
  143. data/generated/google/apis/firestore_v1/representations.rb +800 -33
  144. data/generated/google/apis/firestore_v1/service.rb +526 -0
  145. data/generated/google/apis/fitness_v1.rb +1 -1
  146. data/generated/google/apis/fitness_v1/classes.rb +1 -2
  147. data/generated/google/apis/fitness_v1/service.rb +7 -3
  148. data/generated/google/apis/games_management_v1management.rb +1 -4
  149. data/generated/google/apis/games_v1.rb +1 -4
  150. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  151. data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
  152. data/generated/google/apis/gmail_v1.rb +2 -2
  153. data/generated/google/apis/iap_v1.rb +34 -0
  154. data/generated/google/apis/iap_v1/classes.rb +308 -0
  155. data/generated/google/apis/iap_v1/representations.rb +126 -0
  156. data/generated/google/apis/iap_v1/service.rb +725 -0
  157. data/generated/google/apis/iap_v1beta1.rb +1 -1
  158. data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
  159. data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
  160. data/generated/google/apis/jobs_v2.rb +1 -1
  161. data/generated/google/apis/jobs_v2/classes.rb +8 -9
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +6 -6
  164. data/generated/google/apis/jobs_v3/service.rb +8 -8
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
  167. data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +20 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  171. data/generated/google/apis/monitoring_v3/service.rb +0 -365
  172. data/generated/google/apis/pagespeedonline_v5.rb +32 -0
  173. data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
  174. data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
  175. data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
  176. data/generated/google/apis/people_v1.rb +3 -3
  177. data/generated/google/apis/pubsub_v1.rb +1 -1
  178. data/generated/google/apis/pubsub_v1/classes.rb +63 -12
  179. data/generated/google/apis/pubsub_v1/representations.rb +15 -0
  180. data/generated/google/apis/pubsub_v1/service.rb +26 -18
  181. data/generated/google/apis/redis_v1.rb +2 -3
  182. data/generated/google/apis/redis_v1/service.rb +1 -2
  183. data/generated/google/apis/redis_v1beta1.rb +2 -3
  184. data/generated/google/apis/redis_v1beta1/service.rb +1 -2
  185. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  186. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  187. data/generated/google/apis/script_v1.rb +24 -6
  188. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  189. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
  190. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  191. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
  192. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  194. data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
  195. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
  198. data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
  199. data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
  200. data/generated/google/apis/serviceusage_v1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  203. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  204. data/generated/google/apis/sheets_v4.rb +4 -4
  205. data/generated/google/apis/slides_v1.rb +4 -4
  206. data/generated/google/apis/slides_v1/classes.rb +187 -2
  207. data/generated/google/apis/slides_v1/representations.rb +67 -0
  208. data/generated/google/apis/slides_v1/service.rb +4 -3
  209. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  210. data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
  211. data/generated/google/apis/speech_v1.rb +1 -1
  212. data/generated/google/apis/speech_v1/classes.rb +58 -10
  213. data/generated/google/apis/speech_v1/representations.rb +29 -1
  214. data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
  215. data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
  216. data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
  217. data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
  218. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  219. data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
  220. data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
  221. data/generated/google/apis/storage_v1.rb +1 -1
  222. data/generated/google/apis/storage_v1/classes.rb +54 -0
  223. data/generated/google/apis/storage_v1/representations.rb +31 -0
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
  226. data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
  227. data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
  228. data/generated/google/apis/tasks_v1.rb +1 -1
  229. data/generated/google/apis/testing_v1.rb +1 -1
  230. data/generated/google/apis/testing_v1/classes.rb +49 -19
  231. data/generated/google/apis/testing_v1/representations.rb +20 -2
  232. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  233. data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
  234. data/generated/google/apis/vault_v1.rb +1 -1
  235. data/generated/google/apis/vault_v1/classes.rb +78 -7
  236. data/generated/google/apis/vault_v1/representations.rb +34 -1
  237. data/generated/google/apis/vault_v1/service.rb +141 -0
  238. data/generated/google/apis/vision_v1.rb +1 -1
  239. data/generated/google/apis/vision_v1/classes.rb +33 -0
  240. data/generated/google/apis/vision_v1/representations.rb +16 -0
  241. data/generated/google/apis/vision_v1/service.rb +2 -2
  242. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  243. data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
  244. data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
  245. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  246. data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
  247. data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
  248. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  249. data/google-api-client.gemspec +1 -1
  250. data/lib/google/api_client/auth/installed_app.rb +17 -2
  251. data/lib/google/api_client/client_secrets.rb +1 -1
  252. data/lib/google/apis/core/download.rb +2 -2
  253. data/lib/google/apis/errors.rb +9 -0
  254. data/lib/google/apis/generator/annotator.rb +2 -2
  255. data/lib/google/apis/version.rb +1 -1
  256. metadata +46 -17
  257. data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
  258. data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
  259. data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
  260. data/generated/google/apis/dfareporting_v3_0.rb +0 -40
  261. data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
  262. data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
  263. data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
  264. data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
  265. data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 574eda7a5a1e6c40f0d3acf37f9a356d28e9878e
4
- data.tar.gz: ca6831bc29fb0862057c6cf29a15ed1cf4670421
3
+ metadata.gz: 55b990afed5c90c188297048064c1057ac82ed47
4
+ data.tar.gz: 1bd06f2ed8c22616f98efc8e15980de9029d223d
5
5
  SHA512:
6
- metadata.gz: cadf7c49133a5b5b8c4506aa48a224f39db725a920be4ab2aecde5979e2034a8274e2cc7d86f95549d55baaf1e3bacf60be85c671d9d31df96dce6cd40b4f38a
7
- data.tar.gz: 62ec15ce5e15dd009d6953fa08a04eb6344febc0d9789bc8f311452e21cb9d8453bb7c512a6f7715fcd111ca1ecc1a9707138e9b3a04dd56d16579f4c1f1c4ef
6
+ metadata.gz: 1d4be3ab9a669e7040707dcd22d0cdfca60201adc4e6a37bd3b9b72ca7727edba35387c0bdc63768d001360a5aa20444f351701186cc648471dae11c73b6c380
7
+ data.tar.gz: 498d4bf6425eeabc07632edb6ba72f82dd7b60585322c5237c5ffd7b1c9fe44dd61a70e0086357ab67264003d9416dc58dd01808f70c199d3e1a70e400f7f67a
File without changes
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+
5
+ ---
6
+
7
+ Thanks for stopping by to let us know something could be better!
8
+
9
+ **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
10
+
11
+ Please run down the following list and make sure you've tried the usual "quick fixes":
12
+
13
+ - Search the issues already opened: https://github.com/googleapis/google-api-ruby-client/issues
14
+ - Search Stack Overflow: https://stackoverflow.com/questions/tagged/google-api-client+ruby
15
+
16
+ If you are still having issues, please be sure to include as much information as possible:
17
+
18
+ #### Environment details
19
+
20
+ - OS:
21
+ - Ruby version:
22
+ - Gem name and version:
23
+
24
+ #### Steps to reproduce
25
+
26
+ 1. ...
27
+
28
+ #### Code example
29
+
30
+ ```ruby
31
+ # example
32
+ ```
33
+
34
+ Making sure to follow these steps will guarantee the quickest resolution possible.
35
+
36
+ Thanks!
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this library
4
+
5
+ ---
6
+
7
+ Thanks for stopping by to let us know something could be better!
8
+
9
+ **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
10
+
11
+ **Is your feature request related to a problem? Please describe.**
12
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13
+
14
+ **Describe the solution you'd like**
15
+ A clear and concise description of what you want to happen.
16
+
17
+ **Describe alternatives you've considered**
18
+ A clear and concise description of any alternative solutions or features you've considered.
19
+
20
+ **Additional context**
21
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: Support request
3
+ about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.
4
+
5
+ ---
6
+
7
+ **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
data/.kokoro/build.bat ADDED
@@ -0,0 +1,8 @@
1
+ REM This file runs tests for merges, PRs, and nightlies.
2
+ REM There are a few rules for what tests are run:
3
+ REM * PRs run all non-acceptance tests for every library.
4
+ REM * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
5
+ REM * Nightlies run all acceptance tests for every library.
6
+ REM Currently only runs tests on 2.5.1
7
+
8
+ "C:\Program Files\Git\bin\bash.exe" github/google-api-ruby-client/.kokoro/windows.sh
data/.kokoro/build.sh ADDED
@@ -0,0 +1,36 @@
1
+ #!/bin/bash
2
+
3
+ # This file runs tests for merges, PRs, and nightlies.
4
+ # There are a few rules for what tests are run:
5
+ # * PRs run all non-acceptance tests for every library.
6
+ # * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
7
+ # * Nightlies run all acceptance tests for every library.
8
+
9
+ set -eo pipefail
10
+
11
+ # Debug: show build environment
12
+ env | grep KOKORO
13
+
14
+ cd github/google-api-ruby-client/
15
+
16
+ # Print out Ruby version
17
+ ruby --version
18
+
19
+ # Temporary workaround for a known bundler+docker issue:
20
+ # https://github.com/bundler/bundler/issues/6154
21
+ export BUNDLE_GEMFILE=
22
+
23
+ RUBY_VERSIONS=("2.3.8" "2.4.5" "2.5.3")
24
+
25
+ # Capture failures
26
+ EXIT_STATUS=0 # everything passed
27
+ function set_failed_status {
28
+ EXIT_STATUS=1
29
+ }
30
+
31
+ for version in "${RUBY_VERSIONS[@]}"; do
32
+ rbenv global "$version"
33
+ (bundle update && bundle exec rake) || set_failed_status
34
+ done
35
+
36
+ exit $EXIT_STATUS
@@ -0,0 +1,22 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
4
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
5
+
6
+ # All builds use the trampoline script to run in docker.
7
+ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
8
+
9
+ # Download secrets from Cloud Storage.
10
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-api-ruby-client"
11
+
12
+ # Tell the trampoline which build file to use.
13
+ env_vars: {
14
+ key: "TRAMPOLINE_BUILD_FILE"
15
+ value: "github/google-api-ruby-client/.kokoro/build.sh"
16
+ }
17
+
18
+ action {
19
+ define_artifacts {
20
+ regex: "**/*sponge_log.xml"
21
+ }
22
+ }
@@ -0,0 +1,20 @@
1
+
2
+ # Format: //devtools/kokoro/config/proto/build.proto
3
+
4
+ # Build logs will be here
5
+ action {
6
+ define_artifacts {
7
+ regex: "**/*sponge_log.xml"
8
+ }
9
+ }
10
+
11
+ # Download trampoline resources.
12
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
13
+
14
+ # Download resources for system tests (service account key, etc.)
15
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
16
+
17
+ env_vars: {
18
+ key: "JOB_TYPE"
19
+ value: "continuous"
20
+ }
@@ -0,0 +1,15 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
4
+
5
+ # Configure the docker image for kokoro-trampoline.
6
+ # Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/ruby-multi
7
+ env_vars: {
8
+ key: "TRAMPOLINE_IMAGE"
9
+ value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
10
+ }
11
+
12
+ env_vars: {
13
+ key: "TRAMPOLINE_BUILD_FILE"
14
+ value: "github/google-api-ruby-client/.kokoro/build.sh"
15
+ }
@@ -0,0 +1,3 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/osx.sh"
@@ -0,0 +1,3 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/build.bat"
data/.kokoro/osx.sh ADDED
@@ -0,0 +1,35 @@
1
+ #!/bin/bash
2
+
3
+ # This file runs tests for merges, PRs, and nightlies.
4
+ # There are a few rules for what tests are run:
5
+ # * PRs run all non-acceptance tests for every library.
6
+ # * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
7
+ # * Nightlies run all acceptance tests for every library.
8
+ # * Currently only runs tests on 2.5.0
9
+
10
+ set -eo pipefail
11
+
12
+ # Debug: show build environment
13
+ env | grep KOKORO
14
+
15
+ cd github/google-api-ruby-client/
16
+
17
+ # Print out Ruby version
18
+ ruby --version
19
+
20
+ # Temporary workaround for a known bundler+docker issue:
21
+ # https://github.com/bundler/bundler/issues/6154
22
+ export BUNDLE_GEMFILE=
23
+
24
+ # Capture failures
25
+ EXIT_STATUS=0 # everything passed
26
+ function set_failed_status {
27
+ EXIT_STATUS=1
28
+ }
29
+
30
+ gem install bundle
31
+
32
+
33
+ (bundle update && bundle exec rake) || set_failed_status
34
+
35
+ exit $EXIT_STATUS
@@ -0,0 +1,19 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Build logs will be here
4
+ action {
5
+ define_artifacts {
6
+ regex: "**/*sponge_log.xml"
7
+ }
8
+ }
9
+
10
+ # Download trampoline resources.
11
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12
+
13
+ # Download resources for system tests (service account key, etc.)
14
+ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
15
+
16
+ env_vars: {
17
+ key: "JOB_TYPE"
18
+ value: "presubmit"
19
+ }
@@ -0,0 +1,14 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
4
+
5
+ # Configure the docker image for kokoro-trampoline.
6
+ env_vars: {
7
+ key: "TRAMPOLINE_IMAGE"
8
+ value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
9
+ }
10
+
11
+ env_vars: {
12
+ key: "TRAMPOLINE_BUILD_FILE"
13
+ value: "github/google-api-ruby-client/.kokoro/build.sh"
14
+ }
@@ -0,0 +1,3 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/osx.sh"
@@ -0,0 +1,3 @@
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: "google-api-ruby-client/.kokoro/build.bat"
@@ -0,0 +1,24 @@
1
+ #!/bin/bash
2
+ # Copyright 2017 Google Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ set -eo pipefail
16
+ # Always run the cleanup script, regardless of the success of bouncing into
17
+ # the container.
18
+ function cleanup() {
19
+ chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
20
+ ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
21
+ echo "cleanup";
22
+ }
23
+ trap cleanup EXIT
24
+ python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py"
@@ -0,0 +1,32 @@
1
+ #!/bin/bash
2
+
3
+ # This file runs tests for merges, PRs, and nightlies.
4
+ # There are a few rules for what tests are run:
5
+ # * PRs run all non-acceptance tests for every library.
6
+ # * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
7
+ # * Nightlies run all acceptance tests for every library.
8
+ # * Currently only runs tests on 2.5.1
9
+
10
+ set -eo pipefail
11
+
12
+ # Debug: show build environment
13
+ env | grep KOKORO
14
+
15
+ cd github/google-api-ruby-client/
16
+
17
+ # Print out Ruby version
18
+ ruby --version
19
+
20
+ # Temporary workaround for a known bundler+docker issue:
21
+ # https://github.com/bundler/bundler/issues/6154
22
+ export BUNDLE_GEMFILE=
23
+
24
+ # Capture failures
25
+ EXIT_STATUS=0 # everything passed
26
+ function set_failed_status {
27
+ EXIT_STATUS=1
28
+ }
29
+
30
+ (bundle update && bundle exec rake) || set_failed_status
31
+
32
+ exit $EXIT_STATUS
data/CHANGELOG.md CHANGED
@@ -1,3 +1,86 @@
1
+ # 0.26.0
2
+ * Breaking changes:
3
+ * Deleted `dfareporting_v3_0`
4
+ * Backwards compatible changes:
5
+ * Added `content_v2_1`
6
+ * Added `driveactivity_v2`
7
+ * Added `iap_v1`
8
+ * Added `pagespeedonline_v5`
9
+ * Updated `adexchangebuyer2_v2beta1`
10
+ * Updated `alertcenter_v1beta1`
11
+ * Updated `androiddeviceprovisioning_v1`
12
+ * Updated `androidenterprise_v1`
13
+ * Updated `androidmanagement_v1`
14
+ * Updated `androidpublisher_v3`
15
+ * Updated `appengine_v1`
16
+ * Updated `appengine_v1beta`
17
+ * Updated `bigquery_v2`
18
+ * Updated `calendar_v3`
19
+ * Updated `classroom_v1`
20
+ * Updated `cloudasset_v1beta1`
21
+ * Updated `clouddebugger_v2`
22
+ * Updated `cloudfunctions_v1`
23
+ * Updated `cloudfunctions_v1beta2`
24
+ * Updated `cloudiot_v1`
25
+ * Updated `cloudkms_v1`
26
+ * Updated `cloudsearch_v1`
27
+ * Updated `composer_v1`
28
+ * Updated `compute_alpha`
29
+ * Updated `compute_beta`
30
+ * Updated `compute_v1`
31
+ * Updated `container_v1`
32
+ * Updated `container_v1beta1`
33
+ * Updated `content_v2`
34
+ * Updated `dataflow_v1b3`
35
+ * Updated `dataproc_v1`
36
+ * Updated `dataproc_v1beta2`
37
+ * Updated `dialogflow_v2`
38
+ * Updated `dialogflow_v2beta1`
39
+ * Updated `dlp_v2`
40
+ * Updated `dns_v1beta2`
41
+ * Updated `drive_v2`
42
+ * Updated `drive_v3`
43
+ * Updated `firebasedynamiclinks_v1`
44
+ * Updated `firebasehosting_v1beta1`
45
+ * Updated `firestore_v1`
46
+ * Updated `fitness_v1`
47
+ * Updated `games_management_v1management`
48
+ * Updated `games_v1`
49
+ * Updated `genomics_v2alpha1`
50
+ * Updated `gmail_v1`
51
+ * Updated `iap_v1beta1`
52
+ * Updated `jobs_v2`
53
+ * Updated `jobs_v3`
54
+ * Updated `jobs_v3p1beta1`
55
+ * Updated `monitoring_v3`
56
+ * Updated `people_v1`
57
+ * Updated `pubsub_v1`
58
+ * Updated `redis_v1`
59
+ * Updated `redis_v1beta1`
60
+ * Updated `runtimeconfig_v1beta1`
61
+ * Updated `script_v1`
62
+ * Updated `serviceconsumermanagement_v1`
63
+ * Updated `servicecontrol_v1`
64
+ * Updated `servicemanagement_v1`
65
+ * Updated `servicenetworking_v1beta`
66
+ * Updated `serviceusage_v1`
67
+ * Updated `serviceusage_v1beta1`
68
+ * Updated `sheets_v4`
69
+ * Updated `slides_v1`
70
+ * Updated `sourcerepo_v1`
71
+ * Updated `speech_v1`
72
+ * Updated `sqladmin_v1beta4`
73
+ * Updated `storage_v1`
74
+ * Updated `streetviewpublish_v1`
75
+ * Updated `tasks_v1`
76
+ * Updated `testing_v1`
77
+ * Updated `toolresults_v1beta3`
78
+ * Updated `vault_v1`
79
+ * Updated `vision_v1`
80
+ * Updated `vision_v1p1beta1`
81
+ * Updated `vision_v1p2beta1`
82
+ * Updated `youtube_partner_v1`
83
+
1
84
  # 0.25.0
2
85
  * Breaking changes:
3
86
  * Deleted `dfareporting_v2_8`
data/Gemfile CHANGED
@@ -12,7 +12,7 @@ group :development do
12
12
  gem 'webmock', '~> 2.1'
13
13
  gem 'simplecov', '~> 0.12'
14
14
  gem 'coveralls', '~> 0.8'
15
- gem 'rubocop', '~> 0.42.0'
15
+ gem 'rubocop', '~> 0.49.0'
16
16
  gem 'launchy', '~> 2.4'
17
17
  gem 'dotenv', '~> 2.0'
18
18
  gem 'fakefs', '~> 0.6', require: "fakefs/safe"
@@ -32,7 +32,7 @@ end
32
32
 
33
33
  platforms :ruby do
34
34
  group :development do
35
- gem 'yard', '~> 0.8'
35
+ gem 'yard', '~> 0.9', '>= 0.9.11'
36
36
  gem 'redcarpet', '~> 3.2'
37
37
  gem 'github-markup', '~> 1.3'
38
38
  gem 'pry-doc', '~> 0.8'