google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/actions/smarthome/create-app#request-sync
26
26
  module HomegraphV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200219'
28
+ REVISION = '20200407'
29
29
  end
30
30
  end
31
31
  end
@@ -22,11 +22,11 @@ module Google
22
22
  module Apis
23
23
  module HomegraphV1
24
24
 
25
- # Third-party partner's device ID for one device.
25
+ # Third-party device ID for one device.
26
26
  class AgentDeviceId
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Third-party partner's device ID.
29
+ # Third-party device ID.
30
30
  # Corresponds to the JSON property `id`
31
31
  # @return [String]
32
32
  attr_accessor :id
@@ -41,16 +41,16 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
- # Identifies a device in the third party or first party system.
44
+ # Alternate third-party device ID.
45
45
  class AgentOtherDeviceId
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
- # The agent's ID. Generally it is the agent's AoG project id.
48
+ # Project ID for your smart home Action.
49
49
  # Corresponds to the JSON property `agentId`
50
50
  # @return [String]
51
51
  attr_accessor :agent_id
52
52
 
53
- # Device ID defined by the agent. The device_id must be unique.
53
+ # Unique third-party device ID.
54
54
  # Corresponds to the JSON property `deviceId`
55
55
  # @return [String]
56
56
  attr_accessor :device_id
@@ -66,7 +66,7 @@ module Google
66
66
  end
67
67
  end
68
68
 
69
- # Third-party partner's device definition.
69
+ # Third-party device definition.
70
70
  class Device
71
71
  include Google::Apis::Core::Hashable
72
72
 
@@ -75,8 +75,14 @@ module Google
75
75
  # @return [Hash<String,Object>]
76
76
  attr_accessor :attributes
77
77
 
78
- # Custom JSON data provided by the manufacturer and attached to QUERY and
79
- # EXECUTE requests in AoG.
78
+ # Custom device attributes stored in Home Graph and provided to your
79
+ # smart home Action in each
80
+ # [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/
81
+ # query)
82
+ # and
83
+ # [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/
84
+ # execute)
85
+ # intent.
80
86
  # Corresponds to the JSON property `customData`
81
87
  # @return [Hash<String,Object>]
82
88
  attr_accessor :custom_data
@@ -86,62 +92,61 @@ module Google
86
92
  # @return [Google::Apis::HomegraphV1::DeviceInfo]
87
93
  attr_accessor :device_info
88
94
 
89
- # Third-party partner's device ID.
95
+ # Third-party device ID.
90
96
  # Corresponds to the JSON property `id`
91
97
  # @return [String]
92
98
  attr_accessor :id
93
99
 
94
- # Different names for the device.
100
+ # Identifiers used to describe the device.
95
101
  # Corresponds to the JSON property `name`
96
102
  # @return [Google::Apis::HomegraphV1::DeviceNames]
97
103
  attr_accessor :name
98
104
 
99
- # Indicates whether the device is capable of sending notifications. This
100
- # field will be set by the agent (partner) on an incoming SYNC. If a device
101
- # is not capable of generating notifications, the partner should set this
102
- # flag to false. If a partner is not capable of calling
103
- # ReportStateAndNotification to send notifications to Google, the partner
104
- # should set this flag to false. If there is a user setting in the partner
105
- # app to enable notifications and it is turned off, the partner should set
106
- # this flag to false.
105
+ # Indicates whether your smart home Action will report notifications
106
+ # to Google for this device via ReportStateAndNotification.
107
+ # If your smart home Action enables users to control device notifications,
108
+ # you should update this field and call RequestSyncDevices.
107
109
  # Corresponds to the JSON property `notificationSupportedByAgent`
108
110
  # @return [Boolean]
109
111
  attr_accessor :notification_supported_by_agent
110
112
  alias_method :notification_supported_by_agent?, :notification_supported_by_agent
111
113
 
112
- # IDs of other devices associated with this device. This is used to
113
- # represent a device group (e.g. bonded zone) or "facets" synced
114
- # through different flows (e.g. Google Nest Hub Max with a Nest Camera).
115
- # This may also be used to pass in alternate IDs used to identify a cloud
116
- # synced device for local execution (i.e. local verification). If used for
117
- # local verification, this field is synced from the cloud.
114
+ # Alternate IDs associated with this device.
115
+ # This is used to identify cloud synced devices enabled for
116
+ # [local
117
+ # execution](https://developers.google.com/assistant/smarthome/concepts/local).
118
118
  # Corresponds to the JSON property `otherDeviceIds`
119
119
  # @return [Array<Google::Apis::HomegraphV1::AgentOtherDeviceId>]
120
120
  attr_accessor :other_device_ids
121
121
 
122
- # If the third-party partner's cloud configuration includes placing devices
123
- # in rooms, the name of the room can be provided here.
122
+ # Suggested name for the room where this device is installed.
123
+ # Google attempts to use this value during user setup.
124
124
  # Corresponds to the JSON property `roomHint`
125
125
  # @return [String]
126
126
  attr_accessor :room_hint
127
127
 
128
- # As in roomHint, for structures that users set up in the partner's system.
128
+ # Suggested name for the structure where this device is installed.
129
+ # Google attempts to use this value during user setup.
129
130
  # Corresponds to the JSON property `structureHint`
130
131
  # @return [String]
131
132
  attr_accessor :structure_hint
132
133
 
133
134
  # Traits supported by the device.
135
+ # See [device
136
+ # traits](https://developers.google.com/assistant/smarthome/traits).
134
137
  # Corresponds to the JSON property `traits`
135
138
  # @return [Array<String>]
136
139
  attr_accessor :traits
137
140
 
138
- # Hardware type of the device (e.g. light, outlet, etc).
141
+ # Hardware type of the device.
142
+ # See [device
143
+ # types](https://developers.google.com/assistant/smarthome/guides).
139
144
  # Corresponds to the JSON property `type`
140
145
  # @return [String]
141
146
  attr_accessor :type
142
147
 
143
- # Indicates whether the state of this device is being reported to Google
144
- # through ReportStateAndNotification call.
148
+ # Indicates whether your smart home Action will report state of this device
149
+ # to Google via ReportStateAndNotification.
145
150
  # Corresponds to the JSON property `willReportState`
146
151
  # @return [Boolean]
147
152
  attr_accessor :will_report_state
@@ -205,12 +210,12 @@ module Google
205
210
  end
206
211
  end
207
212
 
208
- # Different names for the device.
213
+ # Identifiers used to describe the device.
209
214
  class DeviceNames
210
215
  include Google::Apis::Core::Hashable
211
216
 
212
- # List of names provided by the partner rather than the user, often
213
- # manufacturer names, SKUs, etc.
217
+ # List of names provided by the manufacturer rather than the user, such as
218
+ # serial numbers, SKUs, etc.
214
219
  # Corresponds to the JSON property `defaultNames`
215
220
  # @return [Array<String>]
216
221
  attr_accessor :default_names
@@ -257,11 +262,7 @@ module Google
257
262
  end
258
263
 
259
264
  # Request type for the
260
- # [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should
261
- # be the same format as the Actions on Google `action.devices.QUERY`
262
- # [request](/actions/smarthome/create-app#actiondevicesquery) with the
263
- # exception of the extra `agent_user_id` and no `intent` and `customData`
264
- # fields.
265
+ # [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
265
266
  class QueryRequest
266
267
  include Google::Apis::Core::Hashable
267
268
 
@@ -270,7 +271,7 @@ module Google
270
271
  # @return [String]
271
272
  attr_accessor :agent_user_id
272
273
 
273
- # Required. Inputs containing third-party partner's device IDs for which to
274
+ # Required. Inputs containing third-party device IDs for which to
274
275
  # get the device states.
275
276
  # Corresponds to the JSON property `inputs`
276
277
  # @return [Array<Google::Apis::HomegraphV1::QueryRequestInput>]
@@ -316,7 +317,7 @@ module Google
316
317
  class QueryRequestPayload
317
318
  include Google::Apis::Core::Hashable
318
319
 
319
- # Third-party partner's device IDs for which to get the device states.
320
+ # Third-party device IDs for which to get the device states.
320
321
  # Corresponds to the JSON property `devices`
321
322
  # @return [Array<Google::Apis::HomegraphV1::AgentDeviceId>]
322
323
  attr_accessor :devices
@@ -332,9 +333,11 @@ module Google
332
333
  end
333
334
 
334
335
  # Response type for the
335
- # [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should
336
- # follow the same format as the Actions on Google `action.devices.QUERY`
337
- # [response](/actions/smarthome/create-app#actiondevicesquery).
336
+ # [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
337
+ # This should follow the same format as the Google smart home
338
+ # `action.devices.QUERY`
339
+ # [response](https://developers.google.com/assistant/smarthome/reference/intent/
340
+ # query).
338
341
  # # Example
339
342
  # ```json
340
343
  # `
@@ -406,12 +409,16 @@ module Google
406
409
  class ReportStateAndNotificationDevice
407
410
  include Google::Apis::Core::Hashable
408
411
 
409
- # Notifications metadata for devices.
412
+ # Notifications metadata for devices. See the **Device NOTIFICATIONS**
413
+ # section of the individual trait [reference
414
+ # guides](https://developers.google.com/assistant/smarthome/traits).
410
415
  # Corresponds to the JSON property `notifications`
411
416
  # @return [Hash<String,Object>]
412
417
  attr_accessor :notifications
413
418
 
414
- # States of devices to update.
419
+ # States of devices to update. See the **Device STATES** section
420
+ # of the individual trait [reference
421
+ # guides](https://developers.google.com/assistant/smarthome/traits).
415
422
  # Corresponds to the JSON property `states`
416
423
  # @return [Hash<String,Object>]
417
424
  attr_accessor :states
@@ -430,12 +437,10 @@ module Google
430
437
  # Request type for the
431
438
  # [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.
432
439
  # ReportStateAndNotification)
433
- # call. It may include States, Notifications, or both. This request uses
434
- # globally unique flattened state names instead of namespaces based on traits
435
- # to align with the existing QUERY and EXECUTE APIs implemented by 90+ Smart
436
- # Home partners. States and notifications are defined per `device_id` (for
437
- # example, "123"
438
- # and "456" in the following example). # Example
440
+ # call. It may include states, notifications, or both. States and notifications
441
+ # are defined per `device_id` (for example, "123" and "456" in the following
442
+ # example).
443
+ # # Example
439
444
  # ```json
440
445
  # `
441
446
  # "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
@@ -526,15 +531,14 @@ module Google
526
531
  class RequestSyncDevicesRequest
527
532
  include Google::Apis::Core::Hashable
528
533
 
529
- # Required. Third-party user ID issued by agent's third-party identity
530
- # provider.
534
+ # Required. Third-party user ID.
531
535
  # Corresponds to the JSON property `agentUserId`
532
536
  # @return [String]
533
537
  attr_accessor :agent_user_id
534
538
 
535
539
  # Optional. If set, the request will be added to a queue and a response will
536
- # be returned immediately. The queue allows for de-duplication of
537
- # simultaneous requests.
540
+ # be returned immediately. This enables concurrent requests for the given
541
+ # `agent_user_id`, but the caller will not receive any error responses.
538
542
  # Corresponds to the JSON property `async`
539
543
  # @return [Boolean]
540
544
  attr_accessor :async
@@ -554,7 +558,8 @@ module Google
554
558
  # Response type for the
555
559
  # [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.
556
560
  # RequestSyncDevices)
557
- # call. Intentionally empty upon success. An HTTP response code is returned
561
+ # call.
562
+ # Intentionally empty upon success. An HTTP response code is returned
558
563
  # with more details upon failure.
559
564
  class RequestSyncDevicesResponse
560
565
  include Google::Apis::Core::Hashable
@@ -588,10 +593,7 @@ module Google
588
593
  end
589
594
 
590
595
  # Request type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync)
591
- # call. This should follow the same format as the Actions on Google
592
- # `action.devices.SYNC`
593
- # [request](/actions/smarthome/create-app#actiondevicessync) with the exception
594
- # of the extra `agent_user_id` and no `intent` field.
596
+ # call.
595
597
  class SyncRequest
596
598
  include Google::Apis::Core::Hashable
597
599
 
@@ -617,9 +619,11 @@ module Google
617
619
  end
618
620
 
619
621
  # Response type for the
620
- # [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should
621
- # follow the same format as the Actions on Google `action.devices.SYNC`
622
- # [response](/actions/smarthome/create-app#actiondevicessync).
622
+ # [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call.
623
+ # This should follow the same format as the Google smart home
624
+ # `action.devices.SYNC`
625
+ # [response](https://developers.google.com/assistant/smarthome/reference/intent/
626
+ # sync).
623
627
  # # Example
624
628
  # ```json
625
629
  # `
@@ -47,26 +47,16 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Unlinks an agent user from Google. As a result, all data related to this
51
- # user will be deleted.
52
- # Here is how the agent user is created in Google:
53
- # 1. When a user opens their Google Home App, they can begin linking a 3p
54
- # partner.
55
- # 2. User is guided through the OAuth process.
56
- # 3. After entering the 3p credentials, Google gets the 3p OAuth token and
57
- # uses it to make a Sync call to the 3p partner and gets back all of the
58
- # user's data, including `agent_user_id` and devices.
59
- # 4. Google creates the agent user and stores a mapping from the
60
- # `agent_user_id` -> Google ID mapping. Google also
61
- # stores all of the user's devices under that Google ID.
62
- # The mapping from `agent_user_id` to Google ID is many to many, since one
63
- # Google user can have multiple 3p accounts, and multiple Google users can
64
- # map to one `agent_user_id` (e.g., a husband and wife share one Nest account
65
- # username/password).
66
- # The third-party user's identity is passed in as `agent_user_id`.
67
- # The agent is identified by the JWT signed by the partner's service account.
68
- # Note: Special characters (except "/") in `agent_user_id` must be
69
- # URL-encoded.
50
+ # Unlinks the given third-party user from your smart home Action.
51
+ # All data related to this user will be deleted.
52
+ # For more details on how users link their accounts, see
53
+ # [fulfillment and
54
+ # authentication](https://developers.google.com/assistant/smarthome/concepts/
55
+ # fulfillment-authentication).
56
+ # The third-party user's identity is passed in via the `agent_user_id`
57
+ # (see DeleteAgentUserRequest).
58
+ # This request must be authorized using service account credentials from your
59
+ # Actions console project.
70
60
  # @param [String] agent_user_id
71
61
  # Required. Third-party user ID.
72
62
  # @param [String] request_id
@@ -99,10 +89,12 @@ module Google
99
89
  execute_or_queue_command(command, &block)
100
90
  end
101
91
 
102
- # Gets the device states for the devices in QueryRequest.
103
- # The third-party user's identity is passed in as `agent_user_id`. The agent
104
- # is identified by the JWT signed by the third-party partner's service
105
- # account.
92
+ # Gets the current states in Home Graph for the given set of the third-party
93
+ # user's devices.
94
+ # The third-party user's identity is passed in via the `agent_user_id`
95
+ # (see QueryRequest).
96
+ # This request must be authorized using service account credentials from your
97
+ # Actions console project.
106
98
  # @param [Google::Apis::HomegraphV1::QueryRequest] query_request_object
107
99
  # @param [String] fields
108
100
  # Selector specifying which fields to include in a partial response.
@@ -132,20 +124,21 @@ module Google
132
124
  execute_or_queue_command(command, &block)
133
125
  end
134
126
 
135
- # Reports device state and optionally sends device notifications. Called by
136
- # an agent when the device state of a third-party changes or the agent wants
137
- # to send a notification about the device. See
138
- # [Implement Report State](/actions/smarthome/report-state) for more
139
- # information.
140
- # This method updates a predefined set of states for a device, which all
141
- # devices have according to their prescribed traits (for example, a light
142
- # will have the [OnOff](/actions/smarthome/traits/onoff) trait that reports
143
- # the state `on` as a boolean value).
144
- # A new state may not be created and an INVALID_ARGUMENT code will be thrown
145
- # if so. It also optionally takes in a list of Notifications that may be
146
- # created, which are associated to this state change.
147
- # The third-party user's identity is passed in as `agent_user_id`.
148
- # The agent is identified by the JWT signed by the partner's service account.
127
+ # Reports device state and optionally sends device notifications.
128
+ # Called by your smart home Action when the state of a third-party device
129
+ # changes or you need to send a notification about the device.
130
+ # See [Implement Report
131
+ # State](https://developers.google.com/assistant/smarthome/develop/report-state)
132
+ # for more information.
133
+ # This method updates the device state according to its declared
134
+ # [traits](https://developers.google.com/assistant/smarthome/concepts/devices-
135
+ # traits).
136
+ # Publishing a new state value outside of these traits will result in an
137
+ # `INVALID_ARGUMENT` error response.
138
+ # The third-party user's identity is passed in via the `agent_user_id`
139
+ # (see ReportStateAndNotificationRequest).
140
+ # This request must be authorized using service account credentials from your
141
+ # Actions console project.
149
142
  # @param [Google::Apis::HomegraphV1::ReportStateAndNotificationRequest] report_state_and_notification_request_object
150
143
  # @param [String] fields
151
144
  # Selector specifying which fields to include in a partial response.
@@ -175,12 +168,14 @@ module Google
175
168
  execute_or_queue_command(command, &block)
176
169
  end
177
170
 
178
- # Requests a `SYNC` call from Google to a 3p partner's home control agent for
179
- # a user.
180
- # The third-party user's identity is passed in as `agent_user_id`
181
- # (see RequestSyncDevicesRequest) and forwarded back to the agent.
182
- # The agent is identified by the API key or JWT signed by the partner's
183
- # service account.
171
+ # Requests Google to send an `action.devices.SYNC`
172
+ # [intent](https://developers.google.com/assistant/smarthome/reference/intent/
173
+ # sync)
174
+ # to your smart home Action to update device metadata for the given user.
175
+ # The third-party user's identity is passed via the `agent_user_id`
176
+ # (see RequestSyncDevicesRequest).
177
+ # This request must be authorized using service account credentials from your
178
+ # Actions console project.
184
179
  # @param [Google::Apis::HomegraphV1::RequestSyncDevicesRequest] request_sync_devices_request_object
185
180
  # @param [String] fields
186
181
  # Selector specifying which fields to include in a partial response.
@@ -211,9 +206,10 @@ module Google
211
206
  end
212
207
 
213
208
  # Gets all the devices associated with the given third-party user.
214
- # The third-party user's identity is passed in as `agent_user_id`. The agent
215
- # is identified by the JWT signed by the third-party partner's service
216
- # account.
209
+ # The third-party user's identity is passed in via the `agent_user_id`
210
+ # (see SyncRequest).
211
+ # This request must be authorized using service account credentials from your
212
+ # Actions console project.
217
213
  # @param [Google::Apis::HomegraphV1::SyncRequest] sync_request_object
218
214
  # @param [String] fields
219
215
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iap
26
26
  module IapV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200207'
28
+ REVISION = '20200327'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,28 @@ module Google
22
22
  module Apis
23
23
  module IapV1
24
24
 
25
+ # Custom content configuration for access denied page.
26
+ # IAP allows customers to define a custom URI to use as the error page when
27
+ # access is denied to users. If IAP prevents access to this page, the default
28
+ # IAP error page will be displayed instead.
29
+ class AccessDeniedPageSettings
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # The URI to be redirected to when access is denied.
33
+ # Corresponds to the JSON property `accessDeniedPageUri`
34
+ # @return [String]
35
+ attr_accessor :access_denied_page_uri
36
+
37
+ def initialize(**args)
38
+ update!(**args)
39
+ end
40
+
41
+ # Update properties of this object
42
+ def update!(**args)
43
+ @access_denied_page_uri = args[:access_denied_page_uri] if args.key?(:access_denied_page_uri)
44
+ end
45
+ end
46
+
25
47
  # Access related settings for IAP protected apps.
26
48
  class AccessSettings
27
49
  include Google::Apis::Core::Hashable
@@ -43,6 +65,15 @@ module Google
43
65
  # @return [Google::Apis::IapV1::OAuthSettings]
44
66
  attr_accessor :oauth_settings
45
67
 
68
+ # PolicyDelegationConfig allows google-internal teams to use IAP for apps
69
+ # hosted in a tenant project. Using these settings, the app can delegate
70
+ # permission check to happen against the linked customer project.
71
+ # This is only ever supposed to be used by google internal teams, hence the
72
+ # restriction on the proto.
73
+ # Corresponds to the JSON property `policyDelegationSettings`
74
+ # @return [Google::Apis::IapV1::PolicyDelegationSettings]
75
+ attr_accessor :policy_delegation_settings
76
+
46
77
  def initialize(**args)
47
78
  update!(**args)
48
79
  end
@@ -52,6 +83,7 @@ module Google
52
83
  @cors_settings = args[:cors_settings] if args.key?(:cors_settings)
53
84
  @gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
54
85
  @oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
86
+ @policy_delegation_settings = args[:policy_delegation_settings] if args.key?(:policy_delegation_settings)
55
87
  end
56
88
  end
57
89
 
@@ -59,6 +91,14 @@ module Google
59
91
  class ApplicationSettings
60
92
  include Google::Apis::Core::Hashable
61
93
 
94
+ # Custom content configuration for access denied page.
95
+ # IAP allows customers to define a custom URI to use as the error page when
96
+ # access is denied to users. If IAP prevents access to this page, the default
97
+ # IAP error page will be displayed instead.
98
+ # Corresponds to the JSON property `accessDeniedPageSettings`
99
+ # @return [Google::Apis::IapV1::AccessDeniedPageSettings]
100
+ attr_accessor :access_denied_page_settings
101
+
62
102
  # Configuration for RCTokens generated for CSM workloads protected by IAP.
63
103
  # RCTokens are IAP generated JWTs that can be verified at the application. The
64
104
  # RCToken is primarily used for ISTIO deployments, and can be scoped to a
@@ -73,6 +113,7 @@ module Google
73
113
 
74
114
  # Update properties of this object
75
115
  def update!(**args)
116
+ @access_denied_page_settings = args[:access_denied_page_settings] if args.key?(:access_denied_page_settings)
76
117
  @csm_settings = args[:csm_settings] if args.key?(:csm_settings)
77
118
  end
78
119
  end
@@ -662,6 +703,88 @@ module Google
662
703
  end
663
704
  end
664
705
 
706
+ # PolicyDelegationConfig allows google-internal teams to use IAP for apps
707
+ # hosted in a tenant project. Using these settings, the app can delegate
708
+ # permission check to happen against the linked customer project.
709
+ # This is only ever supposed to be used by google internal teams, hence the
710
+ # restriction on the proto.
711
+ class PolicyDelegationSettings
712
+ include Google::Apis::Core::Hashable
713
+
714
+ # Permission to check in IAM.
715
+ # Corresponds to the JSON property `iamPermission`
716
+ # @return [String]
717
+ attr_accessor :iam_permission
718
+
719
+ # The DNS name of the service (e.g. "resourcemanager.googleapis.com").
720
+ # This should be the domain name part of the full resource names (see
721
+ # https://aip.dev/122#full-resource-names), which is usually
722
+ # the same as IamServiceSpec.service of the service where the resource type
723
+ # is defined.
724
+ # Corresponds to the JSON property `iamServiceName`
725
+ # @return [String]
726
+ attr_accessor :iam_service_name
727
+
728
+ # Policy name to be checked
729
+ # Corresponds to the JSON property `policyName`
730
+ # @return [Google::Apis::IapV1::PolicyName]
731
+ attr_accessor :policy_name
732
+
733
+ # IAM resource to check permission on
734
+ # Corresponds to the JSON property `resource`
735
+ # @return [Google::Apis::IapV1::Resource]
736
+ attr_accessor :resource
737
+
738
+ def initialize(**args)
739
+ update!(**args)
740
+ end
741
+
742
+ # Update properties of this object
743
+ def update!(**args)
744
+ @iam_permission = args[:iam_permission] if args.key?(:iam_permission)
745
+ @iam_service_name = args[:iam_service_name] if args.key?(:iam_service_name)
746
+ @policy_name = args[:policy_name] if args.key?(:policy_name)
747
+ @resource = args[:resource] if args.key?(:resource)
748
+ end
749
+ end
750
+
751
+ #
752
+ class PolicyName
753
+ include Google::Apis::Core::Hashable
754
+
755
+ #
756
+ # Corresponds to the JSON property `id`
757
+ # @return [String]
758
+ attr_accessor :id
759
+
760
+ # For Cloud IAM:
761
+ # The location of the Policy.
762
+ # Must be empty or "global" for Policies owned by global IAM. Must name a
763
+ # region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see
764
+ # http://go/iam-faq#where-is-iam-currently-deployed.
765
+ # For Local IAM:
766
+ # This field should be set to "local".
767
+ # Corresponds to the JSON property `region`
768
+ # @return [String]
769
+ attr_accessor :region
770
+
771
+ # Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.
772
+ # Corresponds to the JSON property `type`
773
+ # @return [String]
774
+ attr_accessor :type
775
+
776
+ def initialize(**args)
777
+ update!(**args)
778
+ end
779
+
780
+ # Update properties of this object
781
+ def update!(**args)
782
+ @id = args[:id] if args.key?(:id)
783
+ @region = args[:region] if args.key?(:region)
784
+ @type = args[:type] if args.key?(:type)
785
+ end
786
+ end
787
+
665
788
  # The request sent to ResetIdentityAwareProxyClientSecret.
666
789
  class ResetIdentityAwareProxyClientSecretRequest
667
790
  include Google::Apis::Core::Hashable
@@ -675,6 +798,73 @@ module Google
675
798
  end
676
799
  end
677
800
 
801
+ #
802
+ class Resource
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # The service defined labels of the resource on which the conditions will be
806
+ # evaluated. The semantics - including the key names - are vague to IAM.
807
+ # If the effective condition has a reference to a `resource.labels[foo]`
808
+ # construct, IAM consults with this map to retrieve the values associated
809
+ # with `foo` key for Conditions evaluation. If the provided key is not found
810
+ # in the labels map, the condition would evaluate to false.
811
+ # This field is in limited use. If your intended use case is not expected
812
+ # to express resource.labels attribute in IAM Conditions, leave this field
813
+ # empty. Before planning on using this attribute please:
814
+ # * Read go/iam-conditions-labels-comm and ensure your service can meet the
815
+ # data availability and management requirements.
816
+ # * Talk to iam-conditions-eng@ about your use case.
817
+ # Corresponds to the JSON property `labels`
818
+ # @return [Hash<String,String>]
819
+ attr_accessor :labels
820
+
821
+ # Name of the resource on which conditions will be evaluated.
822
+ # Must use the Relative Resource Name of the resource, which is the URI
823
+ # path of the resource without the leading "/". Examples are
824
+ # "projects/_/buckets/[BUCKET-ID]" for storage buckets or
825
+ # "projects/[PROJECT-ID]/global/firewalls/[FIREWALL-ID]" for a firewall.
826
+ # This field is required for evaluating conditions with rules on resource
827
+ # names. For a `list` permission check, the resource.name value must be set
828
+ # to the parent resource. If the parent resource is a project, this field
829
+ # should be left unset.
830
+ # Corresponds to the JSON property `name`
831
+ # @return [String]
832
+ attr_accessor :name
833
+
834
+ # The name of the service this resource belongs to. It is configured using
835
+ # the official_service_name of the Service as defined in service
836
+ # configurations under //configs/cloud/resourcetypes.
837
+ # For example, the official_service_name of cloud resource manager service
838
+ # is set as 'cloudresourcemanager.googleapis.com' according to
839
+ # //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml
840
+ # Corresponds to the JSON property `service`
841
+ # @return [String]
842
+ attr_accessor :service
843
+
844
+ # The public resource type name of the resource on which conditions will be
845
+ # evaluated. It is configured using the official_name of the ResourceType as
846
+ # defined in service configurations under //configs/cloud/resourcetypes.
847
+ # For example, the official_name for GCP projects is set as
848
+ # 'cloudresourcemanager.googleapis.com/Project' according to
849
+ # //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml
850
+ # For details see go/iam-conditions-integration-guide.
851
+ # Corresponds to the JSON property `type`
852
+ # @return [String]
853
+ attr_accessor :type
854
+
855
+ def initialize(**args)
856
+ update!(**args)
857
+ end
858
+
859
+ # Update properties of this object
860
+ def update!(**args)
861
+ @labels = args[:labels] if args.key?(:labels)
862
+ @name = args[:name] if args.key?(:name)
863
+ @service = args[:service] if args.key?(:service)
864
+ @type = args[:type] if args.key?(:type)
865
+ end
866
+ end
867
+
678
868
  # Request message for `SetIamPolicy` method.
679
869
  class SetIamPolicyRequest
680
870
  include Google::Apis::Core::Hashable