google-api-client 0.20.1 → 0.21.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +190 -0
  3. data/README.md +3 -12
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  10. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
  12. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
  15. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  16. data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
  17. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  18. data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
  19. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  20. data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
  21. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  22. data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
  23. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
  25. data/generated/google/apis/admin_directory_v1.rb +3 -3
  26. data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +363 -577
  29. data/generated/google/apis/admin_reports_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1/service.rb +21 -35
  31. data/generated/google/apis/adsense_v1_4.rb +1 -1
  32. data/generated/google/apis/adsense_v1_4/service.rb +117 -195
  33. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  34. data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
  35. data/generated/google/apis/analytics_v2_4.rb +1 -1
  36. data/generated/google/apis/analytics_v2_4/service.rb +21 -35
  37. data/generated/google/apis/analytics_v3.rb +4 -1
  38. data/generated/google/apis/analytics_v3/classes.rb +119 -60
  39. data/generated/google/apis/analytics_v3/representations.rb +43 -12
  40. data/generated/google/apis/analytics_v3/service.rb +294 -435
  41. data/generated/google/apis/analyticsreporting_v4.rb +2 -2
  42. data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
  43. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  44. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  45. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
  47. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
  49. data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
  50. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  51. data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
  52. data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
  53. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  54. data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
  55. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  56. data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
  57. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  58. data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
  59. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
  60. data/generated/google/apis/androidpublisher_v2/service.rb +297 -286
  61. data/generated/google/apis/androidpublisher_v3.rb +34 -0
  62. data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
  63. data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
  64. data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
  65. data/generated/google/apis/appengine_v1.rb +1 -1
  66. data/generated/google/apis/appengine_v1/classes.rb +11 -4
  67. data/generated/google/apis/appengine_v1/service.rb +28 -19
  68. data/generated/google/apis/appengine_v1beta.rb +1 -1
  69. data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
  70. data/generated/google/apis/appengine_v1beta/service.rb +28 -19
  71. data/generated/google/apis/appsactivity_v1.rb +1 -1
  72. data/generated/google/apis/appsactivity_v1/service.rb +6 -10
  73. data/generated/google/apis/appsmarket_v2/service.rb +12 -20
  74. data/generated/google/apis/appstate_v1.rb +1 -1
  75. data/generated/google/apis/appstate_v1/service.rb +18 -30
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +76 -15
  78. data/generated/google/apis/bigquery_v2/representations.rb +22 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +69 -115
  80. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  81. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
  82. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
  83. data/generated/google/apis/blogger_v2/service.rb +30 -50
  84. data/generated/google/apis/blogger_v3/service.rb +102 -170
  85. data/generated/google/apis/books_v1.rb +1 -1
  86. data/generated/google/apis/books_v1/service.rb +156 -260
  87. data/generated/google/apis/calendar_v3.rb +1 -1
  88. data/generated/google/apis/calendar_v3/service.rb +114 -190
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/chat_v1/classes.rb +6 -0
  91. data/generated/google/apis/chat_v1/representations.rb +1 -0
  92. data/generated/google/apis/civicinfo_v2/service.rb +18 -30
  93. data/generated/google/apis/classroom_v1.rb +1 -1
  94. data/generated/google/apis/classroom_v1/classes.rb +0 -69
  95. data/generated/google/apis/classroom_v1/representations.rb +0 -31
  96. data/generated/google/apis/classroom_v1/service.rb +0 -88
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
  99. data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
  100. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  101. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
  102. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  103. data/generated/google/apis/cloudfunctions_v1.rb +3 -4
  104. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  105. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  106. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
  107. data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
  108. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
  109. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  110. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
  111. data/generated/google/apis/cloudiot_v1.rb +1 -1
  112. data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
  113. data/generated/google/apis/cloudiot_v1/service.rb +387 -0
  114. data/generated/google/apis/cloudkms_v1.rb +2 -2
  115. data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
  116. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +31 -9
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
  122. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  123. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
  124. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
  126. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  127. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
  128. data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
  129. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  130. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  131. data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
  132. data/generated/google/apis/composer_v1beta1/classes.rb +640 -0
  133. data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
  134. data/generated/google/apis/composer_v1beta1/service.rb +462 -0
  135. data/generated/google/apis/compute_alpha.rb +1 -1
  136. data/generated/google/apis/compute_alpha/classes.rb +4279 -1869
  137. data/generated/google/apis/compute_alpha/representations.rb +1366 -346
  138. data/generated/google/apis/compute_alpha/service.rb +4754 -4134
  139. data/generated/google/apis/compute_beta.rb +1 -1
  140. data/generated/google/apis/compute_beta/classes.rb +211 -55
  141. data/generated/google/apis/compute_beta/representations.rb +41 -0
  142. data/generated/google/apis/compute_beta/service.rb +1273 -2082
  143. data/generated/google/apis/compute_v1.rb +1 -1
  144. data/generated/google/apis/compute_v1/classes.rb +245 -44
  145. data/generated/google/apis/compute_v1/representations.rb +81 -0
  146. data/generated/google/apis/compute_v1/service.rb +1567 -1668
  147. data/generated/google/apis/container_v1.rb +2 -2
  148. data/generated/google/apis/container_v1/classes.rb +20 -15
  149. data/generated/google/apis/container_v1/representations.rb +1 -0
  150. data/generated/google/apis/container_v1/service.rb +51 -49
  151. data/generated/google/apis/container_v1beta1.rb +2 -2
  152. data/generated/google/apis/container_v1beta1/classes.rb +193 -14
  153. data/generated/google/apis/container_v1beta1/representations.rb +78 -0
  154. data/generated/google/apis/container_v1beta1/service.rb +129 -49
  155. data/generated/google/apis/content_v2.rb +1 -1
  156. data/generated/google/apis/content_v2/classes.rb +173 -8
  157. data/generated/google/apis/content_v2/representations.rb +71 -0
  158. data/generated/google/apis/content_v2/service.rb +246 -410
  159. data/generated/google/apis/content_v2sandbox.rb +1 -1
  160. data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
  161. data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
  162. data/generated/google/apis/content_v2sandbox/service.rb +63 -105
  163. data/generated/google/apis/customsearch_v1.rb +1 -1
  164. data/generated/google/apis/customsearch_v1/service.rb +9 -15
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  168. data/generated/google/apis/dataproc_v1.rb +2 -2
  169. data/generated/google/apis/dataproc_v1/classes.rb +6 -6
  170. data/generated/google/apis/dataproc_v1/service.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2.rb +2 -2
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
  174. data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
  175. data/generated/google/apis/datastore_v1.rb +2 -2
  176. data/generated/google/apis/datastore_v1/service.rb +1 -1
  177. data/generated/google/apis/datastore_v1beta1.rb +2 -2
  178. data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3.rb +2 -2
  180. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  182. data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
  183. data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
  184. data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
  185. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  186. data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
  187. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
  188. data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
  189. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  190. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
  191. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
  193. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  194. data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
  195. data/generated/google/apis/dfareporting_v2_8/service.rb +622 -1031
  196. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  197. data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
  198. data/generated/google/apis/dfareporting_v3_0/service.rb +619 -1026
  199. data/generated/google/apis/dfareporting_v3_1.rb +40 -0
  200. data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
  201. data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
  202. data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
  205. data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
  206. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  207. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
  208. data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
  209. data/generated/google/apis/discovery_v1/service.rb +9 -15
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dlp_v2/classes.rb +136 -1572
  212. data/generated/google/apis/dlp_v2/representations.rb +676 -1405
  213. data/generated/google/apis/dlp_v2/service.rb +24 -24
  214. data/generated/google/apis/dns_v1.rb +1 -1
  215. data/generated/google/apis/dns_v1/classes.rb +7 -0
  216. data/generated/google/apis/dns_v1/representations.rb +1 -0
  217. data/generated/google/apis/dns_v1/service.rb +49 -81
  218. data/generated/google/apis/dns_v1beta2.rb +1 -1
  219. data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
  220. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  221. data/generated/google/apis/dns_v1beta2/service.rb +49 -81
  222. data/generated/google/apis/dns_v2beta1.rb +1 -1
  223. data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
  224. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v2beta1/service.rb +49 -81
  226. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
  227. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  228. data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
  229. data/generated/google/apis/drive_v2.rb +1 -1
  230. data/generated/google/apis/drive_v2/service.rb +205 -341
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/service.rb +120 -200
  233. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  234. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  235. data/generated/google/apis/firestore_v1beta1.rb +2 -2
  236. data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
  237. data/generated/google/apis/fitness_v1/service.rb +45 -75
  238. data/generated/google/apis/fusiontables_v1.rb +1 -1
  239. data/generated/google/apis/fusiontables_v1/service.rb +99 -165
  240. data/generated/google/apis/fusiontables_v2/service.rb +105 -175
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +84 -140
  245. data/generated/google/apis/games_v1.rb +1 -1
  246. data/generated/google/apis/games_v1/service.rb +162 -270
  247. data/generated/google/apis/genomics_v1.rb +1 -1
  248. data/generated/google/apis/genomics_v1/classes.rb +41 -7
  249. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  250. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  251. data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
  252. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  253. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  254. data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
  255. data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
  256. data/generated/google/apis/gmail_v1/service.rb +189 -315
  257. data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
  258. data/generated/google/apis/groupssettings_v1/service.rb +12 -20
  259. data/generated/google/apis/iam_v1.rb +2 -2
  260. data/generated/google/apis/iam_v1/classes.rb +29 -7
  261. data/generated/google/apis/iam_v1/service.rb +1 -1
  262. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  263. data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
  264. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  265. data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
  266. data/generated/google/apis/jobs_v2.rb +38 -0
  267. data/generated/google/apis/jobs_v2/classes.rb +3374 -0
  268. data/generated/google/apis/jobs_v2/representations.rb +1067 -0
  269. data/generated/google/apis/jobs_v2/service.rb +753 -0
  270. data/generated/google/apis/language_v1.rb +1 -1
  271. data/generated/google/apis/language_v1/classes.rb +1 -0
  272. data/generated/google/apis/language_v1beta1.rb +1 -1
  273. data/generated/google/apis/language_v1beta1/classes.rb +1 -0
  274. data/generated/google/apis/language_v1beta2.rb +1 -1
  275. data/generated/google/apis/language_v1beta2/classes.rb +1 -0
  276. data/generated/google/apis/licensing_v1/service.rb +24 -40
  277. data/generated/google/apis/logging_v2.rb +1 -1
  278. data/generated/google/apis/logging_v2/classes.rb +55 -5
  279. data/generated/google/apis/logging_v2/representations.rb +16 -0
  280. data/generated/google/apis/logging_v2/service.rb +6 -4
  281. data/generated/google/apis/logging_v2beta1.rb +1 -1
  282. data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
  283. data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
  284. data/generated/google/apis/logging_v2beta1/service.rb +6 -4
  285. data/generated/google/apis/mirror_v1.rb +1 -1
  286. data/generated/google/apis/mirror_v1/service.rb +75 -125
  287. data/generated/google/apis/ml_v1.rb +1 -1
  288. data/generated/google/apis/ml_v1/classes.rb +65 -28
  289. data/generated/google/apis/ml_v1/representations.rb +1 -0
  290. data/generated/google/apis/ml_v1/service.rb +2 -2
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  293. data/generated/google/apis/oauth2_v1.rb +1 -1
  294. data/generated/google/apis/oauth2_v1/service.rb +27 -45
  295. data/generated/google/apis/oauth2_v2.rb +1 -1
  296. data/generated/google/apis/oauth2_v2/service.rb +15 -25
  297. data/generated/google/apis/oslogin_v1.rb +1 -1
  298. data/generated/google/apis/oslogin_v1/classes.rb +6 -0
  299. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  300. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  301. data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
  302. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  303. data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
  304. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  305. data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
  306. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  307. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  308. data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
  309. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  310. data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
  311. data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
  312. data/generated/google/apis/partners_v2.rb +1 -1
  313. data/generated/google/apis/partners_v2/classes.rb +7 -0
  314. data/generated/google/apis/partners_v2/representations.rb +1 -0
  315. data/generated/google/apis/people_v1.rb +1 -1
  316. data/generated/google/apis/people_v1/service.rb +4 -0
  317. data/generated/google/apis/photoslibrary_v1.rb +49 -0
  318. data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
  319. data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
  320. data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
  321. data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
  322. data/generated/google/apis/plus_domains_v1.rb +1 -1
  323. data/generated/google/apis/plus_domains_v1/service.rb +63 -105
  324. data/generated/google/apis/plus_v1.rb +1 -1
  325. data/generated/google/apis/plus_v1/service.rb +30 -50
  326. data/generated/google/apis/pubsub_v1.rb +2 -2
  327. data/generated/google/apis/pubsub_v1/classes.rb +29 -7
  328. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  329. data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
  330. data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
  331. data/generated/google/apis/pubsub_v1beta2.rb +2 -2
  332. data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
  333. data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
  334. data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
  335. data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
  336. data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
  337. data/generated/google/apis/redis_v1beta1/service.rb +426 -0
  338. data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
  339. data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
  340. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
  341. data/generated/google/apis/reseller_v1/service.rb +54 -90
  342. data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
  343. data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
  344. data/generated/google/apis/runtimeconfig_v1.rb +2 -2
  345. data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
  346. data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
  347. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +29 -7
  348. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  349. data/generated/google/apis/script_v1.rb +8 -2
  350. data/generated/google/apis/script_v1/classes.rb +3 -3
  351. data/generated/google/apis/script_v1/service.rb +8 -2
  352. data/generated/google/apis/servicebroker_v1.rb +36 -0
  353. data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
  354. data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
  355. data/generated/google/apis/servicebroker_v1/service.rb +168 -0
  356. data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
  357. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
  358. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
  359. data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
  360. data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
  361. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
  362. data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
  363. data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
  364. data/generated/google/apis/servicecontrol_v1.rb +2 -2
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  366. data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
  367. data/generated/google/apis/servicemanagement_v1.rb +2 -2
  368. data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
  369. data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
  370. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  371. data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
  372. data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
  373. data/generated/google/apis/sheets_v4.rb +1 -1
  374. data/generated/google/apis/sheets_v4/classes.rb +421 -0
  375. data/generated/google/apis/sheets_v4/representations.rb +120 -0
  376. data/generated/google/apis/site_verification_v1/service.rb +24 -40
  377. data/generated/google/apis/slides_v1.rb +1 -1
  378. data/generated/google/apis/slides_v1/classes.rb +6 -2
  379. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  380. data/generated/google/apis/sourcerepo_v1/classes.rb +160 -8
  381. data/generated/google/apis/sourcerepo_v1/representations.rb +63 -0
  382. data/generated/google/apis/sourcerepo_v1/service.rb +99 -0
  383. data/generated/google/apis/spanner_v1.rb +1 -1
  384. data/generated/google/apis/spanner_v1/classes.rb +40 -13
  385. data/generated/google/apis/spanner_v1/service.rb +2 -2
  386. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  387. data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
  388. data/generated/google/apis/speech_v1.rb +1 -1
  389. data/generated/google/apis/speech_v1/classes.rb +12 -0
  390. data/generated/google/apis/speech_v1/representations.rb +1 -0
  391. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  392. data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
  393. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  394. data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
  395. data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
  396. data/generated/google/apis/sqladmin_v1beta4/service.rb +246 -210
  397. data/generated/google/apis/storage_v1.rb +1 -1
  398. data/generated/google/apis/storage_v1/classes.rb +3 -6
  399. data/generated/google/apis/storage_v1/service.rb +144 -240
  400. data/generated/google/apis/storage_v1beta1.rb +1 -1
  401. data/generated/google/apis/storage_v1beta1/service.rb +75 -125
  402. data/generated/google/apis/storage_v1beta2.rb +1 -1
  403. data/generated/google/apis/storage_v1beta2/service.rb +105 -175
  404. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  405. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
  406. data/generated/google/apis/surveys_v2.rb +1 -1
  407. data/generated/google/apis/surveys_v2/classes.rb +19 -122
  408. data/generated/google/apis/surveys_v2/representations.rb +0 -38
  409. data/generated/google/apis/surveys_v2/service.rb +27 -157
  410. data/generated/google/apis/tagmanager_v1/service.rb +153 -255
  411. data/generated/google/apis/tagmanager_v2/service.rb +222 -370
  412. data/generated/google/apis/tasks_v1/service.rb +45 -75
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  415. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
  418. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  419. data/generated/google/apis/urlshortener_v1/service.rb +12 -20
  420. data/generated/google/apis/vault_v1.rb +2 -2
  421. data/generated/google/apis/vault_v1/service.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1.rb +34 -0
  423. data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
  424. data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
  425. data/generated/google/apis/videointelligence_v1/service.rb +246 -0
  426. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
  428. data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
  429. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
  430. data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
  431. data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
  432. data/generated/google/apis/vision_v1.rb +1 -1
  433. data/generated/google/apis/vision_v1/classes.rb +2001 -105
  434. data/generated/google/apis/vision_v1/representations.rb +1024 -170
  435. data/generated/google/apis/vision_v1/service.rb +35 -0
  436. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p1beta1/classes.rb +4147 -772
  438. data/generated/google/apis/vision_v1p1beta1/representations.rb +1659 -209
  439. data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
  440. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  441. data/generated/google/apis/vision_v1p2beta1/classes.rb +2603 -844
  442. data/generated/google/apis/vision_v1p2beta1/representations.rb +784 -8
  443. data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
  444. data/generated/google/apis/webfonts_v1/service.rb +6 -10
  445. data/generated/google/apis/webmasters_v3/service.rb +42 -70
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
  447. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
  448. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
  449. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
  452. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  453. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
  454. data/generated/google/apis/youtube_analytics_v2.rb +46 -0
  455. data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
  456. data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
  457. data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
  458. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  459. data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
  460. data/generated/google/apis/youtube_v3.rb +1 -1
  461. data/generated/google/apis/youtube_v3/classes.rb +0 -168
  462. data/generated/google/apis/youtube_v3/representations.rb +0 -62
  463. data/generated/google/apis/youtube_v3/service.rb +216 -415
  464. data/lib/google/apis/generator/helpers.rb +3 -1
  465. data/lib/google/apis/version.rb +1 -1
  466. metadata +55 -39
  467. data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
  468. data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
  469. data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
  470. data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
  471. data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
  472. data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
  473. data/generated/google/apis/prediction_v1_2.rb +0 -44
  474. data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
  475. data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
  476. data/generated/google/apis/prediction_v1_2/service.rb +0 -287
  477. data/generated/google/apis/prediction_v1_3.rb +0 -44
  478. data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
  479. data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
  480. data/generated/google/apis/prediction_v1_3/service.rb +0 -284
  481. data/generated/google/apis/prediction_v1_4.rb +0 -44
  482. data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
  483. data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
  484. data/generated/google/apis/prediction_v1_4/service.rb +0 -284
  485. data/generated/google/apis/prediction_v1_5.rb +0 -44
  486. data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
  487. data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
  488. data/generated/google/apis/prediction_v1_5/service.rb +0 -357
  489. data/generated/google/apis/prediction_v1_6.rb +0 -47
  490. data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
  491. data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
  492. data/generated/google/apis/prediction_v1_6/service.rb +0 -381
  493. data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
  494. data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
  495. data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
  496. data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
  497. data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
  498. data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
  499. data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -18,7 +18,7 @@ require 'google/apis/servicecontrol_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Service Control API
21
+ # Service Control API
22
22
  #
23
23
  # Google Service Control provides control plane functionality to managed
24
24
  # services, such as logging, monitoring, and status checks.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180312'
29
+ REVISION = '20180410'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1100,6 +1100,7 @@ module Google
1100
1100
  attr_accessor :resource_container
1101
1101
 
1102
1102
  # The resources that are involved in the operation.
1103
+ # The maximum supported number of entries in this field is 100.
1103
1104
  # Corresponds to the JSON property `resources`
1104
1105
  # @return [Array<Google::Apis::ServicecontrolV1::ResourceInfo>]
1105
1106
  attr_accessor :resources
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module ServicecontrolV1
23
- # Google Service Control API
23
+ # Service Control API
24
24
  #
25
25
  # Google Service Control provides control plane functionality to managed
26
26
  # services, such as logging, monitoring, and status checks.
@@ -18,7 +18,7 @@ require 'google/apis/servicemanagement_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Service Management API
21
+ # Service Management API
22
22
  #
23
23
  # Google Service Management allows service producers to publish their services
24
24
  # on Google Cloud Platform so that they can be discovered and used by service
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180330'
30
+ REVISION = '20180420'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -622,7 +622,7 @@ module Google
622
622
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
623
623
  # who is authenticated with a Google account or a service account.
624
624
  # * `user:`emailid``: An email address that represents a specific Google
625
- # account. For example, `alice@gmail.com` or `joe@example.com`.
625
+ # account. For example, `alice@gmail.com` .
626
626
  # * `serviceAccount:`emailid``: An email address that represents a service
627
627
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
628
628
  # * `group:`emailid``: An email address that represents a Google group.
@@ -3051,11 +3051,11 @@ module Google
3051
3051
 
3052
3052
  # Defines an Identity and Access Management (IAM) policy. It is used to
3053
3053
  # specify access control policies for Cloud Platform resources.
3054
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
3054
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
3055
3055
  # `members` to a `role`, where the members can be user accounts, Google groups,
3056
3056
  # Google domains, and service accounts. A `role` is a named list of permissions
3057
3057
  # defined by IAM.
3058
- # **Example**
3058
+ # **JSON Example**
3059
3059
  # `
3060
3060
  # "bindings": [
3061
3061
  # `
@@ -3064,7 +3064,7 @@ module Google
3064
3064
  # "user:mike@example.com",
3065
3065
  # "group:admins@example.com",
3066
3066
  # "domain:google.com",
3067
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
3067
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
3068
3068
  # ]
3069
3069
  # `,
3070
3070
  # `
@@ -3073,6 +3073,17 @@ module Google
3073
3073
  # `
3074
3074
  # ]
3075
3075
  # `
3076
+ # **YAML Example**
3077
+ # bindings:
3078
+ # - members:
3079
+ # - user:mike@example.com
3080
+ # - group:admins@example.com
3081
+ # - domain:google.com
3082
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
3083
+ # role: roles/owner
3084
+ # - members:
3085
+ # - user:sean@example.com
3086
+ # role: roles/viewer
3076
3087
  # For a description of IAM and its features, see the
3077
3088
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
3078
3089
  class Policy
@@ -3846,11 +3857,11 @@ module Google
3846
3857
 
3847
3858
  # Defines an Identity and Access Management (IAM) policy. It is used to
3848
3859
  # specify access control policies for Cloud Platform resources.
3849
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
3860
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
3850
3861
  # `members` to a `role`, where the members can be user accounts, Google groups,
3851
3862
  # Google domains, and service accounts. A `role` is a named list of permissions
3852
3863
  # defined by IAM.
3853
- # **Example**
3864
+ # **JSON Example**
3854
3865
  # `
3855
3866
  # "bindings": [
3856
3867
  # `
@@ -3859,7 +3870,7 @@ module Google
3859
3870
  # "user:mike@example.com",
3860
3871
  # "group:admins@example.com",
3861
3872
  # "domain:google.com",
3862
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
3873
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
3863
3874
  # ]
3864
3875
  # `,
3865
3876
  # `
@@ -3868,6 +3879,17 @@ module Google
3868
3879
  # `
3869
3880
  # ]
3870
3881
  # `
3882
+ # **YAML Example**
3883
+ # bindings:
3884
+ # - members:
3885
+ # - user:mike@example.com
3886
+ # - group:admins@example.com
3887
+ # - domain:google.com
3888
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
3889
+ # role: roles/owner
3890
+ # - members:
3891
+ # - user:sean@example.com
3892
+ # role: roles/viewer
3871
3893
  # For a description of IAM and its features, see the
3872
3894
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
3873
3895
  # Corresponds to the JSON property `policy`
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module ServicemanagementV1
23
- # Google Service Management API
23
+ # Service Management API
24
24
  #
25
25
  # Google Service Management allows service producers to publish their services
26
26
  # on Google Cloud Platform so that they can be discovered and used by service
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20180329'
30
+ REVISION = '20180503'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -477,6 +477,34 @@ module Google
477
477
  end
478
478
  end
479
479
 
480
+ # Response message for the `BatchEnableServices` method.
481
+ # This response message is assigned to the `response` field of the returned
482
+ # Operation when that operation is done.
483
+ class BatchEnableServicesResponse
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # If allow_partial_success is true, and one or more services could not be
487
+ # enabled, this field contains the details about each failure.
488
+ # Corresponds to the JSON property `failures`
489
+ # @return [Array<Google::Apis::ServiceusageV1beta1::EnableFailure>]
490
+ attr_accessor :failures
491
+
492
+ # The new state of the services after enabling.
493
+ # Corresponds to the JSON property `services`
494
+ # @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service>]
495
+ attr_accessor :services
496
+
497
+ def initialize(**args)
498
+ update!(**args)
499
+ end
500
+
501
+ # Update properties of this object
502
+ def update!(**args)
503
+ @failures = args[:failures] if args.key?(:failures)
504
+ @services = args[:services] if args.key?(:services)
505
+ end
506
+ end
507
+
480
508
  # Billing related configuration of the service.
481
509
  # The following example shows how to configure monitored resources and metrics
482
510
  # for billing:
@@ -781,6 +809,27 @@ module Google
781
809
  end
782
810
  end
783
811
 
812
+ # Response message for the `DisableService` method.
813
+ # This response message is assigned to the `response` field of the returned
814
+ # Operation when that operation is done.
815
+ class DisableServiceResponse
816
+ include Google::Apis::Core::Hashable
817
+
818
+ # A service that is available for use by the consumer.
819
+ # Corresponds to the JSON property `service`
820
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
821
+ attr_accessor :service
822
+
823
+ def initialize(**args)
824
+ update!(**args)
825
+ end
826
+
827
+ # Update properties of this object
828
+ def update!(**args)
829
+ @service = args[:service] if args.key?(:service)
830
+ end
831
+ end
832
+
784
833
  # `Documentation` provides the information for describing a service.
785
834
  # Example:
786
835
  # <pre><code>documentation:
@@ -924,6 +973,31 @@ module Google
924
973
  end
925
974
  end
926
975
 
976
+ #
977
+ class EnableFailure
978
+ include Google::Apis::Core::Hashable
979
+
980
+ # An error message describing why the service could not be enabled.
981
+ # Corresponds to the JSON property `errorMessage`
982
+ # @return [String]
983
+ attr_accessor :error_message
984
+
985
+ # The service id of a service that could not be enabled.
986
+ # Corresponds to the JSON property `serviceId`
987
+ # @return [String]
988
+ attr_accessor :service_id
989
+
990
+ def initialize(**args)
991
+ update!(**args)
992
+ end
993
+
994
+ # Update properties of this object
995
+ def update!(**args)
996
+ @error_message = args[:error_message] if args.key?(:error_message)
997
+ @service_id = args[:service_id] if args.key?(:service_id)
998
+ end
999
+ end
1000
+
927
1001
  # Request message for the `EnableService` method.
928
1002
  class EnableServiceRequest
929
1003
  include Google::Apis::Core::Hashable
@@ -937,6 +1011,27 @@ module Google
937
1011
  end
938
1012
  end
939
1013
 
1014
+ # Response message for the `EnableService` method.
1015
+ # This response message is assigned to the `response` field of the returned
1016
+ # Operation when that operation is done.
1017
+ class EnableServiceResponse
1018
+ include Google::Apis::Core::Hashable
1019
+
1020
+ # A service that is available for use by the consumer.
1021
+ # Corresponds to the JSON property `service`
1022
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
1023
+ attr_accessor :service
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @service = args[:service] if args.key?(:service)
1032
+ end
1033
+ end
1034
+
940
1035
  # `Endpoint` describes a network endpoint that serves a set of APIs.
941
1036
  # A service may expose any number of endpoints, and all endpoints share the
942
1037
  # same service configuration, such as quota configuration and monitoring
@@ -1631,6 +1726,210 @@ module Google
1631
1726
  end
1632
1727
  end
1633
1728
 
1729
+ # A service that is available for use by the consumer.
1730
+ class GoogleApiServiceusageV1Service
1731
+ include Google::Apis::Core::Hashable
1732
+
1733
+ # The configuration of the service.
1734
+ # Corresponds to the JSON property `config`
1735
+ # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1ServiceConfig]
1736
+ attr_accessor :config
1737
+
1738
+ # The resource name of the consumer and service.
1739
+ # A valid name would be:
1740
+ # - projects/123/services/serviceusage.googleapis.com
1741
+ # Corresponds to the JSON property `name`
1742
+ # @return [String]
1743
+ attr_accessor :name
1744
+
1745
+ # The resource name of the consumer.
1746
+ # A valid name would be:
1747
+ # - projects/123
1748
+ # Corresponds to the JSON property `parent`
1749
+ # @return [String]
1750
+ attr_accessor :parent
1751
+
1752
+ # Whether or not the service has been enabled for use by the consumer.
1753
+ # Corresponds to the JSON property `state`
1754
+ # @return [String]
1755
+ attr_accessor :state
1756
+
1757
+ def initialize(**args)
1758
+ update!(**args)
1759
+ end
1760
+
1761
+ # Update properties of this object
1762
+ def update!(**args)
1763
+ @config = args[:config] if args.key?(:config)
1764
+ @name = args[:name] if args.key?(:name)
1765
+ @parent = args[:parent] if args.key?(:parent)
1766
+ @state = args[:state] if args.key?(:state)
1767
+ end
1768
+ end
1769
+
1770
+ # The configuration of the service.
1771
+ class GoogleApiServiceusageV1ServiceConfig
1772
+ include Google::Apis::Core::Hashable
1773
+
1774
+ # A list of API interfaces exported by this service. Contains only the names,
1775
+ # versions, and method names of the interfaces.
1776
+ # Corresponds to the JSON property `apis`
1777
+ # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
1778
+ attr_accessor :apis
1779
+
1780
+ # `Authentication` defines the authentication configuration for an API.
1781
+ # Example for an API targeted for external use:
1782
+ # name: calendar.googleapis.com
1783
+ # authentication:
1784
+ # providers:
1785
+ # - id: google_calendar_auth
1786
+ # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
1787
+ # issuer: https://securetoken.google.com
1788
+ # rules:
1789
+ # - selector: "*"
1790
+ # requirements:
1791
+ # provider_id: google_calendar_auth
1792
+ # Corresponds to the JSON property `authentication`
1793
+ # @return [Google::Apis::ServiceusageV1beta1::Authentication]
1794
+ attr_accessor :authentication
1795
+
1796
+ # `Documentation` provides the information for describing a service.
1797
+ # Example:
1798
+ # <pre><code>documentation:
1799
+ # summary: >
1800
+ # The Google Calendar API gives access
1801
+ # to most calendar features.
1802
+ # pages:
1803
+ # - name: Overview
1804
+ # content: &#40;== include google/foo/overview.md ==&#41;
1805
+ # - name: Tutorial
1806
+ # content: &#40;== include google/foo/tutorial.md ==&#41;
1807
+ # subpages;
1808
+ # - name: Java
1809
+ # content: &#40;== include google/foo/tutorial_java.md ==&#41;
1810
+ # rules:
1811
+ # - selector: google.calendar.Calendar.Get
1812
+ # description: >
1813
+ # ...
1814
+ # - selector: google.calendar.Calendar.Put
1815
+ # description: >
1816
+ # ...
1817
+ # </code></pre>
1818
+ # Documentation is provided in markdown syntax. In addition to
1819
+ # standard markdown features, definition lists, tables and fenced
1820
+ # code blocks are supported. Section headers can be provided and are
1821
+ # interpreted relative to the section nesting of the context where
1822
+ # a documentation fragment is embedded.
1823
+ # Documentation from the IDL is merged with documentation defined
1824
+ # via the config at normalization time, where documentation provided
1825
+ # by config rules overrides IDL provided.
1826
+ # A number of constructs specific to the API platform are supported
1827
+ # in documentation text.
1828
+ # In order to reference a proto element, the following
1829
+ # notation can be used:
1830
+ # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
1831
+ # To override the display text used for the link, this can be used:
1832
+ # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
1833
+ # Text can be excluded from doc using the following notation:
1834
+ # <pre><code>&#40;-- internal comment --&#41;</code></pre>
1835
+ # A few directives are available in documentation. Note that
1836
+ # directives must appear on a single line to be properly
1837
+ # identified. The `include` directive includes a markdown file from
1838
+ # an external source:
1839
+ # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
1840
+ # The `resource_for` directive marks a message to be the resource of
1841
+ # a collection in REST view. If it is not specified, tools attempt
1842
+ # to infer the resource from the operations in a collection:
1843
+ # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
1844
+ # The directive `suppress_warning` does not directly affect documentation
1845
+ # and is documented together with service config validation.
1846
+ # Corresponds to the JSON property `documentation`
1847
+ # @return [Google::Apis::ServiceusageV1beta1::Documentation]
1848
+ attr_accessor :documentation
1849
+
1850
+ # Configuration for network endpoints. Contains only the names and aliases
1851
+ # of the endpoints.
1852
+ # Corresponds to the JSON property `endpoints`
1853
+ # @return [Array<Google::Apis::ServiceusageV1beta1::Endpoint>]
1854
+ attr_accessor :endpoints
1855
+
1856
+ # The DNS address at which this service is available.
1857
+ # An example DNS address would be:
1858
+ # `calendar.googleapis.com`.
1859
+ # Corresponds to the JSON property `name`
1860
+ # @return [String]
1861
+ attr_accessor :name
1862
+
1863
+ # Quota configuration helps to achieve fairness and budgeting in service
1864
+ # usage.
1865
+ # The quota configuration works this way:
1866
+ # - The service configuration defines a set of metrics.
1867
+ # - For API calls, the quota.metric_rules maps methods to metrics with
1868
+ # corresponding costs.
1869
+ # - The quota.limits defines limits on the metrics, which will be used for
1870
+ # quota checks at runtime.
1871
+ # An example quota configuration in yaml format:
1872
+ # quota:
1873
+ # - name: apiWriteQpsPerProject
1874
+ # metric: library.googleapis.com/write_calls
1875
+ # unit: "1/min/`project`" # rate limit for consumer projects
1876
+ # values:
1877
+ # STANDARD: 10000
1878
+ # # The metric rules bind all methods to the read_calls metric,
1879
+ # # except for the UpdateBook and DeleteBook methods. These two methods
1880
+ # # are mapped to the write_calls metric, with the UpdateBook method
1881
+ # # consuming at twice rate as the DeleteBook method.
1882
+ # metric_rules:
1883
+ # - selector: "*"
1884
+ # metric_costs:
1885
+ # library.googleapis.com/read_calls: 1
1886
+ # - selector: google.example.library.v1.LibraryService.UpdateBook
1887
+ # metric_costs:
1888
+ # library.googleapis.com/write_calls: 2
1889
+ # - selector: google.example.library.v1.LibraryService.DeleteBook
1890
+ # metric_costs:
1891
+ # library.googleapis.com/write_calls: 1
1892
+ # Corresponding Metric definition:
1893
+ # metrics:
1894
+ # - name: library.googleapis.com/read_calls
1895
+ # display_name: Read requests
1896
+ # metric_kind: DELTA
1897
+ # value_type: INT64
1898
+ # - name: library.googleapis.com/write_calls
1899
+ # display_name: Write requests
1900
+ # metric_kind: DELTA
1901
+ # value_type: INT64
1902
+ # Corresponds to the JSON property `quota`
1903
+ # @return [Google::Apis::ServiceusageV1beta1::Quota]
1904
+ attr_accessor :quota
1905
+
1906
+ # The product title for this service.
1907
+ # Corresponds to the JSON property `title`
1908
+ # @return [String]
1909
+ attr_accessor :title
1910
+
1911
+ # Configuration controlling usage of a service.
1912
+ # Corresponds to the JSON property `usage`
1913
+ # @return [Google::Apis::ServiceusageV1beta1::Usage]
1914
+ attr_accessor :usage
1915
+
1916
+ def initialize(**args)
1917
+ update!(**args)
1918
+ end
1919
+
1920
+ # Update properties of this object
1921
+ def update!(**args)
1922
+ @apis = args[:apis] if args.key?(:apis)
1923
+ @authentication = args[:authentication] if args.key?(:authentication)
1924
+ @documentation = args[:documentation] if args.key?(:documentation)
1925
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
1926
+ @name = args[:name] if args.key?(:name)
1927
+ @quota = args[:quota] if args.key?(:quota)
1928
+ @title = args[:title] if args.key?(:title)
1929
+ @usage = args[:usage] if args.key?(:usage)
1930
+ end
1931
+ end
1932
+
1634
1933
  # Defines the HTTP configuration for an API service. It contains a list of
1635
1934
  # HttpRule, each specifying the mapping of an RPC method
1636
1935
  # to one or more HTTP REST API methods.