google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -0,0 +1,1568 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ManagedidentitiesV1beta1
24
+
25
+ # Request message for
26
+ # AttachTrust
27
+ class AttachTrustRequest
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Represents a relationship between two domains. This allows a controller in
31
+ # one domain to authenticate a user in another domain.
32
+ # Corresponds to the JSON property `trust`
33
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
34
+ attr_accessor :trust_prop
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
43
+ end
44
+ end
45
+
46
+ # Associates `members` with a `role`.
47
+ class Binding
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # Represents a textual expression in the Common Expression Language (CEL)
51
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
52
+ # are documented at https://github.com/google/cel-spec.
53
+ # Example (Comparison):
54
+ # title: "Summary size limit"
55
+ # description: "Determines if a summary is less than 100 chars"
56
+ # expression: "document.summary.size() < 100"
57
+ # Example (Equality):
58
+ # title: "Requestor is owner"
59
+ # description: "Determines if requestor is the document owner"
60
+ # expression: "document.owner == request.auth.claims.email"
61
+ # Example (Logic):
62
+ # title: "Public documents"
63
+ # description: "Determine whether the document should be publicly visible"
64
+ # expression: "document.type != 'private' && document.type != 'internal'"
65
+ # Example (Data Manipulation):
66
+ # title: "Notification string"
67
+ # description: "Create a notification string with a timestamp."
68
+ # expression: "'New message received at ' + string(document.create_time)"
69
+ # The exact variables and functions that may be referenced within an expression
70
+ # are determined by the service that evaluates it. See the service
71
+ # documentation for additional information.
72
+ # Corresponds to the JSON property `condition`
73
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Expr]
74
+ attr_accessor :condition
75
+
76
+ # Specifies the identities requesting access for a Cloud Platform resource.
77
+ # `members` can have the following values:
78
+ # * `allUsers`: A special identifier that represents anyone who is
79
+ # on the internet; with or without a Google account.
80
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
81
+ # who is authenticated with a Google account or a service account.
82
+ # * `user:`emailid``: An email address that represents a specific Google
83
+ # account. For example, `alice@example.com` .
84
+ # * `serviceAccount:`emailid``: An email address that represents a service
85
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
86
+ # * `group:`emailid``: An email address that represents a Google group.
87
+ # For example, `admins@example.com`.
88
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
89
+ # identifier) representing a user that has been recently deleted. For
90
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
91
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
92
+ # retains the role in the binding.
93
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
94
+ # unique identifier) representing a service account that has been recently
95
+ # deleted. For example,
96
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
97
+ # If the service account is undeleted, this value reverts to
98
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
99
+ # role in the binding.
100
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
101
+ # identifier) representing a Google group that has been recently
102
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
103
+ # the group is recovered, this value reverts to `group:`emailid`` and the
104
+ # recovered group retains the role in the binding.
105
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
106
+ # users of that domain. For example, `google.com` or `example.com`.
107
+ # Corresponds to the JSON property `members`
108
+ # @return [Array<String>]
109
+ attr_accessor :members
110
+
111
+ # Role that is assigned to `members`.
112
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
113
+ # Corresponds to the JSON property `role`
114
+ # @return [String]
115
+ attr_accessor :role
116
+
117
+ def initialize(**args)
118
+ update!(**args)
119
+ end
120
+
121
+ # Update properties of this object
122
+ def update!(**args)
123
+ @condition = args[:condition] if args.key?(:condition)
124
+ @members = args[:members] if args.key?(:members)
125
+ @role = args[:role] if args.key?(:role)
126
+ end
127
+ end
128
+
129
+ # The request message for Operations.CancelOperation.
130
+ class CancelOperationRequest
131
+ include Google::Apis::Core::Hashable
132
+
133
+ def initialize(**args)
134
+ update!(**args)
135
+ end
136
+
137
+ # Update properties of this object
138
+ def update!(**args)
139
+ end
140
+ end
141
+
142
+ # Request message for
143
+ # DetachTrust
144
+ class DetachTrustRequest
145
+ include Google::Apis::Core::Hashable
146
+
147
+ # Represents a relationship between two domains. This allows a controller in
148
+ # one domain to authenticate a user in another domain.
149
+ # Corresponds to the JSON property `trust`
150
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
151
+ attr_accessor :trust_prop
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
160
+ end
161
+ end
162
+
163
+ # Represents a managed Microsoft Active Directory domain.
164
+ class Domain
165
+ include Google::Apis::Core::Hashable
166
+
167
+ # Optional. The name of delegated administrator account used to perform
168
+ # Active Directory operations. If not specified, `setupadmin` will be used.
169
+ # Corresponds to the JSON property `admin`
170
+ # @return [String]
171
+ attr_accessor :admin
172
+
173
+ # Optional. The full names of the Google Compute Engine
174
+ # [networks](/compute/docs/networks-and-firewalls#networks) the domain
175
+ # instance is connected to. Networks can be added using UpdateDomain.
176
+ # The domain is only available on networks listed in `authorized_networks`.
177
+ # If CIDR subnets overlap between networks, domain creation will fail.
178
+ # Corresponds to the JSON property `authorizedNetworks`
179
+ # @return [Array<String>]
180
+ attr_accessor :authorized_networks
181
+
182
+ # Output only. The time the instance was created.
183
+ # Corresponds to the JSON property `createTime`
184
+ # @return [String]
185
+ attr_accessor :create_time
186
+
187
+ # Output only. The fully-qualified domain name of the exposed domain used by
188
+ # clients to connect to the service. Similar to what would be chosen for an
189
+ # Active Directory set up on an internal network.
190
+ # Corresponds to the JSON property `fqdn`
191
+ # @return [String]
192
+ attr_accessor :fqdn
193
+
194
+ # Optional. Resource labels that can contain user-provided metadata.
195
+ # Corresponds to the JSON property `labels`
196
+ # @return [Hash<String,String>]
197
+ attr_accessor :labels
198
+
199
+ # Required. Locations where domain needs to be provisioned.
200
+ # regions
201
+ # e.g. us-west1 or us-east4
202
+ # Service supports up to 4 locations at once. Each location will use a /26
203
+ # block.
204
+ # Corresponds to the JSON property `locations`
205
+ # @return [Array<String>]
206
+ attr_accessor :locations
207
+
208
+ # Output only. The unique name of the domain using the form:
209
+ # `projects/`project_id`/locations/global/domains/`domain_name``.
210
+ # Corresponds to the JSON property `name`
211
+ # @return [String]
212
+ attr_accessor :name
213
+
214
+ # Required. The CIDR range of internal addresses that are reserved for this
215
+ # domain. Reserved networks must be /24 or larger. Ranges must be
216
+ # unique and non-overlapping with existing subnets in
217
+ # [Domain].[authorized_networks].
218
+ # Corresponds to the JSON property `reservedIpRange`
219
+ # @return [String]
220
+ attr_accessor :reserved_ip_range
221
+
222
+ # Output only. The current state of this domain.
223
+ # Corresponds to the JSON property `state`
224
+ # @return [String]
225
+ attr_accessor :state
226
+
227
+ # Output only. Additional information about the current status of this
228
+ # domain, if available.
229
+ # Corresponds to the JSON property `statusMessage`
230
+ # @return [String]
231
+ attr_accessor :status_message
232
+
233
+ # Output only. The current trusts associated with the domain.
234
+ # Corresponds to the JSON property `trusts`
235
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::TrustProp>]
236
+ attr_accessor :trusts
237
+
238
+ # Output only. The last update time.
239
+ # Corresponds to the JSON property `updateTime`
240
+ # @return [String]
241
+ attr_accessor :update_time
242
+
243
+ def initialize(**args)
244
+ update!(**args)
245
+ end
246
+
247
+ # Update properties of this object
248
+ def update!(**args)
249
+ @admin = args[:admin] if args.key?(:admin)
250
+ @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
251
+ @create_time = args[:create_time] if args.key?(:create_time)
252
+ @fqdn = args[:fqdn] if args.key?(:fqdn)
253
+ @labels = args[:labels] if args.key?(:labels)
254
+ @locations = args[:locations] if args.key?(:locations)
255
+ @name = args[:name] if args.key?(:name)
256
+ @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
257
+ @state = args[:state] if args.key?(:state)
258
+ @status_message = args[:status_message] if args.key?(:status_message)
259
+ @trusts = args[:trusts] if args.key?(:trusts)
260
+ @update_time = args[:update_time] if args.key?(:update_time)
261
+ end
262
+ end
263
+
264
+ # A generic empty message that you can re-use to avoid defining duplicated
265
+ # empty messages in your APIs. A typical example is to use it as the request
266
+ # or the response type of an API method. For instance:
267
+ # service Foo `
268
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
269
+ # `
270
+ # The JSON representation for `Empty` is empty JSON object ````.
271
+ class Empty
272
+ include Google::Apis::Core::Hashable
273
+
274
+ def initialize(**args)
275
+ update!(**args)
276
+ end
277
+
278
+ # Update properties of this object
279
+ def update!(**args)
280
+ end
281
+ end
282
+
283
+ # Represents a textual expression in the Common Expression Language (CEL)
284
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
285
+ # are documented at https://github.com/google/cel-spec.
286
+ # Example (Comparison):
287
+ # title: "Summary size limit"
288
+ # description: "Determines if a summary is less than 100 chars"
289
+ # expression: "document.summary.size() < 100"
290
+ # Example (Equality):
291
+ # title: "Requestor is owner"
292
+ # description: "Determines if requestor is the document owner"
293
+ # expression: "document.owner == request.auth.claims.email"
294
+ # Example (Logic):
295
+ # title: "Public documents"
296
+ # description: "Determine whether the document should be publicly visible"
297
+ # expression: "document.type != 'private' && document.type != 'internal'"
298
+ # Example (Data Manipulation):
299
+ # title: "Notification string"
300
+ # description: "Create a notification string with a timestamp."
301
+ # expression: "'New message received at ' + string(document.create_time)"
302
+ # The exact variables and functions that may be referenced within an expression
303
+ # are determined by the service that evaluates it. See the service
304
+ # documentation for additional information.
305
+ class Expr
306
+ include Google::Apis::Core::Hashable
307
+
308
+ # Optional. Description of the expression. This is a longer text which
309
+ # describes the expression, e.g. when hovered over it in a UI.
310
+ # Corresponds to the JSON property `description`
311
+ # @return [String]
312
+ attr_accessor :description
313
+
314
+ # Textual representation of an expression in Common Expression Language
315
+ # syntax.
316
+ # Corresponds to the JSON property `expression`
317
+ # @return [String]
318
+ attr_accessor :expression
319
+
320
+ # Optional. String indicating the location of the expression for error
321
+ # reporting, e.g. a file name and a position in the file.
322
+ # Corresponds to the JSON property `location`
323
+ # @return [String]
324
+ attr_accessor :location
325
+
326
+ # Optional. Title for the expression, i.e. a short string describing
327
+ # its purpose. This can be used e.g. in UIs which allow to enter the
328
+ # expression.
329
+ # Corresponds to the JSON property `title`
330
+ # @return [String]
331
+ attr_accessor :title
332
+
333
+ def initialize(**args)
334
+ update!(**args)
335
+ end
336
+
337
+ # Update properties of this object
338
+ def update!(**args)
339
+ @description = args[:description] if args.key?(:description)
340
+ @expression = args[:expression] if args.key?(:expression)
341
+ @location = args[:location] if args.key?(:location)
342
+ @title = args[:title] if args.key?(:title)
343
+ end
344
+ end
345
+
346
+ # Represents the metadata of the long-running operation.
347
+ class GoogleCloudManagedidentitiesV1OpMetadata
348
+ include Google::Apis::Core::Hashable
349
+
350
+ # Output only. API version used to start the operation.
351
+ # Corresponds to the JSON property `apiVersion`
352
+ # @return [String]
353
+ attr_accessor :api_version
354
+
355
+ # Output only. The time the operation was created.
356
+ # Corresponds to the JSON property `createTime`
357
+ # @return [String]
358
+ attr_accessor :create_time
359
+
360
+ # Output only. The time the operation finished running.
361
+ # Corresponds to the JSON property `endTime`
362
+ # @return [String]
363
+ attr_accessor :end_time
364
+
365
+ # Output only. Identifies whether the user has requested cancellation
366
+ # of the operation. Operations that have successfully been cancelled
367
+ # have Operation.error value with a google.rpc.Status.code of 1,
368
+ # corresponding to `Code.CANCELLED`.
369
+ # Corresponds to the JSON property `requestedCancellation`
370
+ # @return [Boolean]
371
+ attr_accessor :requested_cancellation
372
+ alias_method :requested_cancellation?, :requested_cancellation
373
+
374
+ # Output only. Server-defined resource path for the target of the operation.
375
+ # Corresponds to the JSON property `target`
376
+ # @return [String]
377
+ attr_accessor :target
378
+
379
+ # Output only. Name of the verb executed by the operation.
380
+ # Corresponds to the JSON property `verb`
381
+ # @return [String]
382
+ attr_accessor :verb
383
+
384
+ def initialize(**args)
385
+ update!(**args)
386
+ end
387
+
388
+ # Update properties of this object
389
+ def update!(**args)
390
+ @api_version = args[:api_version] if args.key?(:api_version)
391
+ @create_time = args[:create_time] if args.key?(:create_time)
392
+ @end_time = args[:end_time] if args.key?(:end_time)
393
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
394
+ @target = args[:target] if args.key?(:target)
395
+ @verb = args[:verb] if args.key?(:verb)
396
+ end
397
+ end
398
+
399
+ # Represents the metadata of the long-running operation.
400
+ class GoogleCloudManagedidentitiesV1alpha1OpMetadata
401
+ include Google::Apis::Core::Hashable
402
+
403
+ # Output only. API version used to start the operation.
404
+ # Corresponds to the JSON property `apiVersion`
405
+ # @return [String]
406
+ attr_accessor :api_version
407
+
408
+ # Output only. The time the operation was created.
409
+ # Corresponds to the JSON property `createTime`
410
+ # @return [String]
411
+ attr_accessor :create_time
412
+
413
+ # Output only. The time the operation finished running.
414
+ # Corresponds to the JSON property `endTime`
415
+ # @return [String]
416
+ attr_accessor :end_time
417
+
418
+ # Output only. Identifies whether the user has requested cancellation
419
+ # of the operation. Operations that have successfully been cancelled
420
+ # have Operation.error value with a google.rpc.Status.code of 1,
421
+ # corresponding to `Code.CANCELLED`.
422
+ # Corresponds to the JSON property `requestedCancellation`
423
+ # @return [Boolean]
424
+ attr_accessor :requested_cancellation
425
+ alias_method :requested_cancellation?, :requested_cancellation
426
+
427
+ # Output only. Server-defined resource path for the target of the operation.
428
+ # Corresponds to the JSON property `target`
429
+ # @return [String]
430
+ attr_accessor :target
431
+
432
+ # Output only. Name of the verb executed by the operation.
433
+ # Corresponds to the JSON property `verb`
434
+ # @return [String]
435
+ attr_accessor :verb
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @api_version = args[:api_version] if args.key?(:api_version)
444
+ @create_time = args[:create_time] if args.key?(:create_time)
445
+ @end_time = args[:end_time] if args.key?(:end_time)
446
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
447
+ @target = args[:target] if args.key?(:target)
448
+ @verb = args[:verb] if args.key?(:verb)
449
+ end
450
+ end
451
+
452
+ # Represents the metadata of the long-running operation.
453
+ class GoogleCloudManagedidentitiesV1beta1OpMetadata
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Output only. API version used to start the operation.
457
+ # Corresponds to the JSON property `apiVersion`
458
+ # @return [String]
459
+ attr_accessor :api_version
460
+
461
+ # Output only. The time the operation was created.
462
+ # Corresponds to the JSON property `createTime`
463
+ # @return [String]
464
+ attr_accessor :create_time
465
+
466
+ # Output only. The time the operation finished running.
467
+ # Corresponds to the JSON property `endTime`
468
+ # @return [String]
469
+ attr_accessor :end_time
470
+
471
+ # Output only. Identifies whether the user has requested cancellation
472
+ # of the operation. Operations that have successfully been cancelled
473
+ # have Operation.error value with a google.rpc.Status.code of 1,
474
+ # corresponding to `Code.CANCELLED`.
475
+ # Corresponds to the JSON property `requestedCancellation`
476
+ # @return [Boolean]
477
+ attr_accessor :requested_cancellation
478
+ alias_method :requested_cancellation?, :requested_cancellation
479
+
480
+ # Output only. Server-defined resource path for the target of the operation.
481
+ # Corresponds to the JSON property `target`
482
+ # @return [String]
483
+ attr_accessor :target
484
+
485
+ # Output only. Name of the verb executed by the operation.
486
+ # Corresponds to the JSON property `verb`
487
+ # @return [String]
488
+ attr_accessor :verb
489
+
490
+ def initialize(**args)
491
+ update!(**args)
492
+ end
493
+
494
+ # Update properties of this object
495
+ def update!(**args)
496
+ @api_version = args[:api_version] if args.key?(:api_version)
497
+ @create_time = args[:create_time] if args.key?(:create_time)
498
+ @end_time = args[:end_time] if args.key?(:end_time)
499
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
500
+ @target = args[:target] if args.key?(:target)
501
+ @verb = args[:verb] if args.key?(:verb)
502
+ end
503
+ end
504
+
505
+ #
506
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
507
+ include Google::Apis::Core::Hashable
508
+
509
+ # consumer_defined_name is the name that is set by the consumer. On the other
510
+ # hand Name field represents system-assigned id of an instance so consumers
511
+ # are not necessarily aware of it.
512
+ # consumer_defined_name is used for notification/UI purposes for consumer to
513
+ # recognize their instances.
514
+ # Corresponds to the JSON property `consumerDefinedName`
515
+ # @return [String]
516
+ attr_accessor :consumer_defined_name
517
+
518
+ # Output only. Timestamp when the resource was created.
519
+ # Corresponds to the JSON property `createTime`
520
+ # @return [String]
521
+ attr_accessor :create_time
522
+
523
+ # Optional. Resource labels to represent user provided metadata. Each label
524
+ # is a key-value pair, where both the key and the value are arbitrary strings
525
+ # provided by the user.
526
+ # Corresponds to the JSON property `labels`
527
+ # @return [Hash<String,String>]
528
+ attr_accessor :labels
529
+
530
+ # The MaintenancePolicies that have been attached to the instance.
531
+ # The key must be of the type name of the oneof policy name defined in
532
+ # MaintenancePolicy, and the referenced policy must define the same policy
533
+ # type. For complete details of MaintenancePolicy, please refer to
534
+ # go/cloud-saas-mw-ug.
535
+ # Corresponds to the JSON property `maintenancePolicyNames`
536
+ # @return [Hash<String,String>]
537
+ attr_accessor :maintenance_policy_names
538
+
539
+ # The MaintenanceSchedule contains the scheduling information of published
540
+ # maintenance schedule.
541
+ # Corresponds to the JSON property `maintenanceSchedules`
542
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
543
+ attr_accessor :maintenance_schedules
544
+
545
+ # Unique name of the resource. It uses the form:
546
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
547
+ # Corresponds to the JSON property `name`
548
+ # @return [String]
549
+ attr_accessor :name
550
+
551
+ # Output only. Custom string attributes used primarily to expose
552
+ # producer-specific information in monitoring dashboards.
553
+ # See go/get-instance-metadata.
554
+ # Corresponds to the JSON property `producerMetadata`
555
+ # @return [Hash<String,String>]
556
+ attr_accessor :producer_metadata
557
+
558
+ # Output only. The list of data plane resources provisioned for this
559
+ # instance, e.g. compute VMs. See go/get-instance-metadata.
560
+ # Corresponds to the JSON property `provisionedResources`
561
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
562
+ attr_accessor :provisioned_resources
563
+
564
+ # Link to the SLM instance template. Only populated when updating SLM
565
+ # instances via SSA's Actuation service adaptor.
566
+ # Service producers with custom control plane (e.g. Cloud SQL) doesn't
567
+ # need to populate this field. Instead they should use software_versions.
568
+ # Corresponds to the JSON property `slmInstanceTemplate`
569
+ # @return [String]
570
+ attr_accessor :slm_instance_template
571
+
572
+ # SloMetadata contains resources required for proper SLO classification of the
573
+ # instance.
574
+ # Corresponds to the JSON property `sloMetadata`
575
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
576
+ attr_accessor :slo_metadata
577
+
578
+ # Software versions that are used to deploy this instance. This can be
579
+ # mutated by rollout services.
580
+ # Corresponds to the JSON property `softwareVersions`
581
+ # @return [Hash<String,String>]
582
+ attr_accessor :software_versions
583
+
584
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
585
+ # created or ready to use).
586
+ # Corresponds to the JSON property `state`
587
+ # @return [String]
588
+ attr_accessor :state
589
+
590
+ # Output only. ID of the associated GCP tenant project.
591
+ # See go/get-instance-metadata.
592
+ # Corresponds to the JSON property `tenantProjectId`
593
+ # @return [String]
594
+ attr_accessor :tenant_project_id
595
+
596
+ # Output only. Timestamp when the resource was last modified.
597
+ # Corresponds to the JSON property `updateTime`
598
+ # @return [String]
599
+ attr_accessor :update_time
600
+
601
+ def initialize(**args)
602
+ update!(**args)
603
+ end
604
+
605
+ # Update properties of this object
606
+ def update!(**args)
607
+ @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
608
+ @create_time = args[:create_time] if args.key?(:create_time)
609
+ @labels = args[:labels] if args.key?(:labels)
610
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
611
+ @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
612
+ @name = args[:name] if args.key?(:name)
613
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
614
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
615
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
616
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
617
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
618
+ @state = args[:state] if args.key?(:state)
619
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
620
+ @update_time = args[:update_time] if args.key?(:update_time)
621
+ end
622
+ end
623
+
624
+ # Maintenance schedule which is exposed to customer and potentially end user,
625
+ # indicating published upcoming future maintenance schedule
626
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
627
+ include Google::Apis::Core::Hashable
628
+
629
+ # Can this scheduled update be rescheduled?
630
+ # By default, it's true and API needs to do explicitly check whether it's
631
+ # set, if it's set as false explicitly, it's false
632
+ # Corresponds to the JSON property `canReschedule`
633
+ # @return [Boolean]
634
+ attr_accessor :can_reschedule
635
+ alias_method :can_reschedule?, :can_reschedule
636
+
637
+ # The scheduled end time for the maintenance.
638
+ # Corresponds to the JSON property `endTime`
639
+ # @return [String]
640
+ attr_accessor :end_time
641
+
642
+ # The rollout management policy this maintenance schedule is associated
643
+ # with. When doing reschedule update request, the reschedule should be
644
+ # against this given policy.
645
+ # Corresponds to the JSON property `rolloutManagementPolicy`
646
+ # @return [String]
647
+ attr_accessor :rollout_management_policy
648
+
649
+ # The scheduled start time for the maintenance.
650
+ # Corresponds to the JSON property `startTime`
651
+ # @return [String]
652
+ attr_accessor :start_time
653
+
654
+ def initialize(**args)
655
+ update!(**args)
656
+ end
657
+
658
+ # Update properties of this object
659
+ def update!(**args)
660
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
661
+ @end_time = args[:end_time] if args.key?(:end_time)
662
+ @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
663
+ @start_time = args[:start_time] if args.key?(:start_time)
664
+ end
665
+ end
666
+
667
+ # Node information for custom per-node SLO implementations.
668
+ # SSA does not support per-node SLO, but producers can populate per-node
669
+ # information in SloMetadata for custom precomputations.
670
+ # SSA Eligibility Exporter will emit per-node metric based on this information.
671
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # By default node is eligible if instance is eligible.
675
+ # But individual node might be excluded from SLO by adding entry here.
676
+ # For semantic see SloMetadata.exclusions.
677
+ # If both instance and node level exclusions are present for time period,
678
+ # the node level's reason will be reported by Eligibility Exporter.
679
+ # Corresponds to the JSON property `exclusions`
680
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
681
+ attr_accessor :exclusions
682
+
683
+ # The location of the node, if different from instance location.
684
+ # Corresponds to the JSON property `location`
685
+ # @return [String]
686
+ attr_accessor :location
687
+
688
+ # The id of the node.
689
+ # This should be equal to SaasInstanceNode.node_id.
690
+ # Corresponds to the JSON property `nodeId`
691
+ # @return [String]
692
+ attr_accessor :node_id
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
701
+ @location = args[:location] if args.key?(:location)
702
+ @node_id = args[:node_id] if args.key?(:node_id)
703
+ end
704
+ end
705
+
706
+ # Describes provisioned dataplane resources.
707
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
708
+ include Google::Apis::Core::Hashable
709
+
710
+ # Type of the resource. This can be either a GCP resource or a custom one
711
+ # (e.g. another cloud provider's VM). For GCP compute resources use singular
712
+ # form of the names listed in GCP compute API documentation
713
+ # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
714
+ # 'compute-', for example: 'compute-instance', 'compute-disk',
715
+ # 'compute-autoscaler'.
716
+ # Corresponds to the JSON property `resourceType`
717
+ # @return [String]
718
+ attr_accessor :resource_type
719
+
720
+ # URL identifying the resource, e.g.
721
+ # "https://www.googleapis.com/compute/v1/projects/...)".
722
+ # Corresponds to the JSON property `resourceUrl`
723
+ # @return [String]
724
+ attr_accessor :resource_url
725
+
726
+ def initialize(**args)
727
+ update!(**args)
728
+ end
729
+
730
+ # Update properties of this object
731
+ def update!(**args)
732
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
733
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
734
+ end
735
+ end
736
+
737
+ # SloEligibility is a tuple containing eligibility value: true if an instance
738
+ # is eligible for SLO calculation or false if it should be excluded from all
739
+ # SLO-related calculations along with a user-defined reason.
740
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
741
+ include Google::Apis::Core::Hashable
742
+
743
+ # Whether an instance is eligible or ineligible.
744
+ # Corresponds to the JSON property `eligible`
745
+ # @return [Boolean]
746
+ attr_accessor :eligible
747
+ alias_method :eligible?, :eligible
748
+
749
+ # User-defined reason for the current value of instance eligibility. Usually,
750
+ # this can be directly mapped to the internal state. An empty reason is
751
+ # allowed.
752
+ # Corresponds to the JSON property `reason`
753
+ # @return [String]
754
+ attr_accessor :reason
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @eligible = args[:eligible] if args.key?(:eligible)
763
+ @reason = args[:reason] if args.key?(:reason)
764
+ end
765
+ end
766
+
767
+ # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
768
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
769
+ include Google::Apis::Core::Hashable
770
+
771
+ # Exclusion duration. No restrictions on the possible values.
772
+ # When an ongoing operation is taking longer than initially expected,
773
+ # an existing entry in the exclusion list can be updated by extending the
774
+ # duration. This is supported by the subsystem exporting eligibility data
775
+ # as long as such extension is committed at least 10 minutes before the
776
+ # original exclusion expiration - otherwise it is possible that there will
777
+ # be "gaps" in the exclusion application in the exported timeseries.
778
+ # Corresponds to the JSON property `duration`
779
+ # @return [String]
780
+ attr_accessor :duration
781
+
782
+ # Human-readable reason for the exclusion.
783
+ # This should be a static string (e.g. "Disruptive update in progress")
784
+ # and should not contain dynamically generated data (e.g. instance name).
785
+ # Can be left empty.
786
+ # Corresponds to the JSON property `reason`
787
+ # @return [String]
788
+ attr_accessor :reason
789
+
790
+ # Name of an SLI that this exclusion applies to. Can be left empty,
791
+ # signaling that the instance should be excluded from all SLIs defined
792
+ # in the service SLO configuration.
793
+ # Corresponds to the JSON property `sliName`
794
+ # @return [String]
795
+ attr_accessor :sli_name
796
+
797
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
798
+ # Corresponds to the JSON property `startTime`
799
+ # @return [String]
800
+ attr_accessor :start_time
801
+
802
+ def initialize(**args)
803
+ update!(**args)
804
+ end
805
+
806
+ # Update properties of this object
807
+ def update!(**args)
808
+ @duration = args[:duration] if args.key?(:duration)
809
+ @reason = args[:reason] if args.key?(:reason)
810
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
811
+ @start_time = args[:start_time] if args.key?(:start_time)
812
+ end
813
+ end
814
+
815
+ # SloMetadata contains resources required for proper SLO classification of the
816
+ # instance.
817
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
818
+ include Google::Apis::Core::Hashable
819
+
820
+ # SloEligibility is a tuple containing eligibility value: true if an instance
821
+ # is eligible for SLO calculation or false if it should be excluded from all
822
+ # SLO-related calculations along with a user-defined reason.
823
+ # Corresponds to the JSON property `eligibility`
824
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
825
+ attr_accessor :eligibility
826
+
827
+ # List of SLO exclusion windows. When multiple entries in the list match
828
+ # (matching the exclusion time-window against current time point)
829
+ # the exclusion reason used in the first matching entry will be published.
830
+ # It is not needed to include expired exclusion in this list, as only the
831
+ # currently applicable exclusions are taken into account by the eligibility
832
+ # exporting subsystem (the historical state of exclusions will be reflected
833
+ # in the historically produced timeseries regardless of the current state).
834
+ # This field can be used to mark the instance as temporary ineligible
835
+ # for the purpose of SLO calculation. For permanent instance SLO exclusion,
836
+ # use of custom instance eligibility is recommended. See 'eligibility' field
837
+ # below.
838
+ # Corresponds to the JSON property `exclusions`
839
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
840
+ attr_accessor :exclusions
841
+
842
+ # Optional. List of nodes.
843
+ # Some producers need to use per-node metadata to calculate SLO.
844
+ # This field allows such producers to publish per-node SLO meta data,
845
+ # which will be consumed by SSA Eligibility Exporter and published in the
846
+ # form of per node metric to Monarch.
847
+ # Corresponds to the JSON property `nodes`
848
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
849
+ attr_accessor :nodes
850
+
851
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
852
+ # match the tiers specified in the service SLO configuration.
853
+ # Field is mandatory and must not be empty.
854
+ # Corresponds to the JSON property `tier`
855
+ # @return [String]
856
+ attr_accessor :tier
857
+
858
+ def initialize(**args)
859
+ update!(**args)
860
+ end
861
+
862
+ # Update properties of this object
863
+ def update!(**args)
864
+ @eligibility = args[:eligibility] if args.key?(:eligibility)
865
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
866
+ @nodes = args[:nodes] if args.key?(:nodes)
867
+ @tier = args[:tier] if args.key?(:tier)
868
+ end
869
+ end
870
+
871
+ # Response message for
872
+ # ListDomains
873
+ class ListDomainsResponse
874
+ include Google::Apis::Core::Hashable
875
+
876
+ # A list of Managed Identities Service domains in the project.
877
+ # Corresponds to the JSON property `domains`
878
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Domain>]
879
+ attr_accessor :domains
880
+
881
+ # A token to retrieve the next page of results, or empty if there are no more
882
+ # results in the list.
883
+ # Corresponds to the JSON property `nextPageToken`
884
+ # @return [String]
885
+ attr_accessor :next_page_token
886
+
887
+ # A list of locations that could not be reached.
888
+ # Corresponds to the JSON property `unreachable`
889
+ # @return [Array<String>]
890
+ attr_accessor :unreachable
891
+
892
+ def initialize(**args)
893
+ update!(**args)
894
+ end
895
+
896
+ # Update properties of this object
897
+ def update!(**args)
898
+ @domains = args[:domains] if args.key?(:domains)
899
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
900
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
901
+ end
902
+ end
903
+
904
+ # The response message for Locations.ListLocations.
905
+ class ListLocationsResponse
906
+ include Google::Apis::Core::Hashable
907
+
908
+ # A list of locations that matches the specified filter in the request.
909
+ # Corresponds to the JSON property `locations`
910
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Location>]
911
+ attr_accessor :locations
912
+
913
+ # The standard List next-page token.
914
+ # Corresponds to the JSON property `nextPageToken`
915
+ # @return [String]
916
+ attr_accessor :next_page_token
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @locations = args[:locations] if args.key?(:locations)
925
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
926
+ end
927
+ end
928
+
929
+ # The response message for Operations.ListOperations.
930
+ class ListOperationsResponse
931
+ include Google::Apis::Core::Hashable
932
+
933
+ # The standard List next-page token.
934
+ # Corresponds to the JSON property `nextPageToken`
935
+ # @return [String]
936
+ attr_accessor :next_page_token
937
+
938
+ # A list of operations that matches the specified filter in the request.
939
+ # Corresponds to the JSON property `operations`
940
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Operation>]
941
+ attr_accessor :operations
942
+
943
+ def initialize(**args)
944
+ update!(**args)
945
+ end
946
+
947
+ # Update properties of this object
948
+ def update!(**args)
949
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
950
+ @operations = args[:operations] if args.key?(:operations)
951
+ end
952
+ end
953
+
954
+ # A resource that represents Google Cloud Platform location.
955
+ class Location
956
+ include Google::Apis::Core::Hashable
957
+
958
+ # The friendly name for this location, typically a nearby city name.
959
+ # For example, "Tokyo".
960
+ # Corresponds to the JSON property `displayName`
961
+ # @return [String]
962
+ attr_accessor :display_name
963
+
964
+ # Cross-service attributes for the location. For example
965
+ # `"cloud.googleapis.com/region": "us-east1"`
966
+ # Corresponds to the JSON property `labels`
967
+ # @return [Hash<String,String>]
968
+ attr_accessor :labels
969
+
970
+ # The canonical id for this location. For example: `"us-east1"`.
971
+ # Corresponds to the JSON property `locationId`
972
+ # @return [String]
973
+ attr_accessor :location_id
974
+
975
+ # Service-specific metadata. For example the available capacity at the given
976
+ # location.
977
+ # Corresponds to the JSON property `metadata`
978
+ # @return [Hash<String,Object>]
979
+ attr_accessor :metadata
980
+
981
+ # Resource name for the location, which may vary between implementations.
982
+ # For example: `"projects/example-project/locations/us-east1"`
983
+ # Corresponds to the JSON property `name`
984
+ # @return [String]
985
+ attr_accessor :name
986
+
987
+ def initialize(**args)
988
+ update!(**args)
989
+ end
990
+
991
+ # Update properties of this object
992
+ def update!(**args)
993
+ @display_name = args[:display_name] if args.key?(:display_name)
994
+ @labels = args[:labels] if args.key?(:labels)
995
+ @location_id = args[:location_id] if args.key?(:location_id)
996
+ @metadata = args[:metadata] if args.key?(:metadata)
997
+ @name = args[:name] if args.key?(:name)
998
+ end
999
+ end
1000
+
1001
+ # This resource represents a long-running operation that is the result of a
1002
+ # network API call.
1003
+ class Operation
1004
+ include Google::Apis::Core::Hashable
1005
+
1006
+ # If the value is `false`, it means the operation is still in progress.
1007
+ # If `true`, the operation is completed, and either `error` or `response` is
1008
+ # available.
1009
+ # Corresponds to the JSON property `done`
1010
+ # @return [Boolean]
1011
+ attr_accessor :done
1012
+ alias_method :done?, :done
1013
+
1014
+ # The `Status` type defines a logical error model that is suitable for
1015
+ # different programming environments, including REST APIs and RPC APIs. It is
1016
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1017
+ # three pieces of data: error code, error message, and error details.
1018
+ # You can find out more about this error model and how to work with it in the
1019
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1020
+ # Corresponds to the JSON property `error`
1021
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Status]
1022
+ attr_accessor :error
1023
+
1024
+ # Service-specific metadata associated with the operation. It typically
1025
+ # contains progress information and common metadata such as create time.
1026
+ # Some services might not provide such metadata. Any method that returns a
1027
+ # long-running operation should document the metadata type, if any.
1028
+ # Corresponds to the JSON property `metadata`
1029
+ # @return [Hash<String,Object>]
1030
+ attr_accessor :metadata
1031
+
1032
+ # The server-assigned name, which is only unique within the same service that
1033
+ # originally returns it. If you use the default HTTP mapping, the
1034
+ # `name` should be a resource name ending with `operations/`unique_id``.
1035
+ # Corresponds to the JSON property `name`
1036
+ # @return [String]
1037
+ attr_accessor :name
1038
+
1039
+ # The normal response of the operation in case of success. If the original
1040
+ # method returns no data on success, such as `Delete`, the response is
1041
+ # `google.protobuf.Empty`. If the original method is standard
1042
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
1043
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
1044
+ # is the original method name. For example, if the original method name
1045
+ # is `TakeSnapshot()`, the inferred response type is
1046
+ # `TakeSnapshotResponse`.
1047
+ # Corresponds to the JSON property `response`
1048
+ # @return [Hash<String,Object>]
1049
+ attr_accessor :response
1050
+
1051
+ def initialize(**args)
1052
+ update!(**args)
1053
+ end
1054
+
1055
+ # Update properties of this object
1056
+ def update!(**args)
1057
+ @done = args[:done] if args.key?(:done)
1058
+ @error = args[:error] if args.key?(:error)
1059
+ @metadata = args[:metadata] if args.key?(:metadata)
1060
+ @name = args[:name] if args.key?(:name)
1061
+ @response = args[:response] if args.key?(:response)
1062
+ end
1063
+ end
1064
+
1065
+ # Represents the metadata of the long-running operation.
1066
+ class OperationMetadata
1067
+ include Google::Apis::Core::Hashable
1068
+
1069
+ # [Output only] API version used to start the operation.
1070
+ # Corresponds to the JSON property `apiVersion`
1071
+ # @return [String]
1072
+ attr_accessor :api_version
1073
+
1074
+ # [Output only] Identifies whether the user has requested cancellation
1075
+ # of the operation. Operations that have successfully been cancelled
1076
+ # have Operation.error value with a google.rpc.Status.code of 1,
1077
+ # corresponding to `Code.CANCELLED`.
1078
+ # Corresponds to the JSON property `cancelRequested`
1079
+ # @return [Boolean]
1080
+ attr_accessor :cancel_requested
1081
+ alias_method :cancel_requested?, :cancel_requested
1082
+
1083
+ # [Output only] The time the operation was created.
1084
+ # Corresponds to the JSON property `createTime`
1085
+ # @return [String]
1086
+ attr_accessor :create_time
1087
+
1088
+ # [Output only] The time the operation finished running.
1089
+ # Corresponds to the JSON property `endTime`
1090
+ # @return [String]
1091
+ attr_accessor :end_time
1092
+
1093
+ # [Output only] Human-readable status of the operation, if any.
1094
+ # Corresponds to the JSON property `statusDetail`
1095
+ # @return [String]
1096
+ attr_accessor :status_detail
1097
+
1098
+ # [Output only] Server-defined resource path for the target of the operation.
1099
+ # Corresponds to the JSON property `target`
1100
+ # @return [String]
1101
+ attr_accessor :target
1102
+
1103
+ # [Output only] Name of the verb executed by the operation.
1104
+ # Corresponds to the JSON property `verb`
1105
+ # @return [String]
1106
+ attr_accessor :verb
1107
+
1108
+ def initialize(**args)
1109
+ update!(**args)
1110
+ end
1111
+
1112
+ # Update properties of this object
1113
+ def update!(**args)
1114
+ @api_version = args[:api_version] if args.key?(:api_version)
1115
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1116
+ @create_time = args[:create_time] if args.key?(:create_time)
1117
+ @end_time = args[:end_time] if args.key?(:end_time)
1118
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1119
+ @target = args[:target] if args.key?(:target)
1120
+ @verb = args[:verb] if args.key?(:verb)
1121
+ end
1122
+ end
1123
+
1124
+ # An Identity and Access Management (IAM) policy, which specifies access
1125
+ # controls for Google Cloud resources.
1126
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1127
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1128
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1129
+ # permissions; each `role` can be an IAM predefined role or a user-created
1130
+ # custom role.
1131
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1132
+ # expression that allows access to a resource only if the expression evaluates
1133
+ # to `true`. A condition can add constraints based on attributes of the
1134
+ # request, the resource, or both.
1135
+ # **JSON example:**
1136
+ # `
1137
+ # "bindings": [
1138
+ # `
1139
+ # "role": "roles/resourcemanager.organizationAdmin",
1140
+ # "members": [
1141
+ # "user:mike@example.com",
1142
+ # "group:admins@example.com",
1143
+ # "domain:google.com",
1144
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1145
+ # ]
1146
+ # `,
1147
+ # `
1148
+ # "role": "roles/resourcemanager.organizationViewer",
1149
+ # "members": ["user:eve@example.com"],
1150
+ # "condition": `
1151
+ # "title": "expirable access",
1152
+ # "description": "Does not grant access after Sep 2020",
1153
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1154
+ # ",
1155
+ # `
1156
+ # `
1157
+ # ],
1158
+ # "etag": "BwWWja0YfJA=",
1159
+ # "version": 3
1160
+ # `
1161
+ # **YAML example:**
1162
+ # bindings:
1163
+ # - members:
1164
+ # - user:mike@example.com
1165
+ # - group:admins@example.com
1166
+ # - domain:google.com
1167
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1168
+ # role: roles/resourcemanager.organizationAdmin
1169
+ # - members:
1170
+ # - user:eve@example.com
1171
+ # role: roles/resourcemanager.organizationViewer
1172
+ # condition:
1173
+ # title: expirable access
1174
+ # description: Does not grant access after Sep 2020
1175
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1176
+ # - etag: BwWWja0YfJA=
1177
+ # - version: 3
1178
+ # For a description of IAM and its features, see the
1179
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1180
+ class Policy
1181
+ include Google::Apis::Core::Hashable
1182
+
1183
+ # Associates a list of `members` to a `role`. Optionally, may specify a
1184
+ # `condition` that determines how and when the `bindings` are applied. Each
1185
+ # of the `bindings` must contain at least one member.
1186
+ # Corresponds to the JSON property `bindings`
1187
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Binding>]
1188
+ attr_accessor :bindings
1189
+
1190
+ # `etag` is used for optimistic concurrency control as a way to help
1191
+ # prevent simultaneous updates of a policy from overwriting each other.
1192
+ # It is strongly suggested that systems make use of the `etag` in the
1193
+ # read-modify-write cycle to perform policy updates in order to avoid race
1194
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1195
+ # systems are expected to put that etag in the request to `setIamPolicy` to
1196
+ # ensure that their change will be applied to the same version of the policy.
1197
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1198
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1199
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1200
+ # the conditions in the version `3` policy are lost.
1201
+ # Corresponds to the JSON property `etag`
1202
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1203
+ # @return [String]
1204
+ attr_accessor :etag
1205
+
1206
+ # Specifies the format of the policy.
1207
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1208
+ # are rejected.
1209
+ # Any operation that affects conditional role bindings must specify version
1210
+ # `3`. This requirement applies to the following operations:
1211
+ # * Getting a policy that includes a conditional role binding
1212
+ # * Adding a conditional role binding to a policy
1213
+ # * Changing a conditional role binding in a policy
1214
+ # * Removing any role binding, with or without a condition, from a policy
1215
+ # that includes conditions
1216
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1217
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1218
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1219
+ # the conditions in the version `3` policy are lost.
1220
+ # If a policy does not include any conditions, operations on that policy may
1221
+ # specify any valid version or leave the field unset.
1222
+ # Corresponds to the JSON property `version`
1223
+ # @return [Fixnum]
1224
+ attr_accessor :version
1225
+
1226
+ def initialize(**args)
1227
+ update!(**args)
1228
+ end
1229
+
1230
+ # Update properties of this object
1231
+ def update!(**args)
1232
+ @bindings = args[:bindings] if args.key?(:bindings)
1233
+ @etag = args[:etag] if args.key?(:etag)
1234
+ @version = args[:version] if args.key?(:version)
1235
+ end
1236
+ end
1237
+
1238
+ # Request message for
1239
+ # ReconfigureTrust
1240
+ class ReconfigureTrustRequest
1241
+ include Google::Apis::Core::Hashable
1242
+
1243
+ # Required. The target DNS server IP addresses to resolve the remote domain
1244
+ # involved
1245
+ # in the trust.
1246
+ # Corresponds to the JSON property `targetDnsIpAddresses`
1247
+ # @return [Array<String>]
1248
+ attr_accessor :target_dns_ip_addresses
1249
+
1250
+ # Required. The fully-qualified target domain name which will be in trust with
1251
+ # current
1252
+ # domain.
1253
+ # Corresponds to the JSON property `targetDomainName`
1254
+ # @return [String]
1255
+ attr_accessor :target_domain_name
1256
+
1257
+ def initialize(**args)
1258
+ update!(**args)
1259
+ end
1260
+
1261
+ # Update properties of this object
1262
+ def update!(**args)
1263
+ @target_dns_ip_addresses = args[:target_dns_ip_addresses] if args.key?(:target_dns_ip_addresses)
1264
+ @target_domain_name = args[:target_domain_name] if args.key?(:target_domain_name)
1265
+ end
1266
+ end
1267
+
1268
+ # Request message for
1269
+ # ResetAdminPassword
1270
+ class ResetAdminPasswordRequest
1271
+ include Google::Apis::Core::Hashable
1272
+
1273
+ def initialize(**args)
1274
+ update!(**args)
1275
+ end
1276
+
1277
+ # Update properties of this object
1278
+ def update!(**args)
1279
+ end
1280
+ end
1281
+
1282
+ # Response message for
1283
+ # ResetAdminPassword
1284
+ class ResetAdminPasswordResponse
1285
+ include Google::Apis::Core::Hashable
1286
+
1287
+ # A random password. See admin for more information.
1288
+ # Corresponds to the JSON property `password`
1289
+ # @return [String]
1290
+ attr_accessor :password
1291
+
1292
+ def initialize(**args)
1293
+ update!(**args)
1294
+ end
1295
+
1296
+ # Update properties of this object
1297
+ def update!(**args)
1298
+ @password = args[:password] if args.key?(:password)
1299
+ end
1300
+ end
1301
+
1302
+ # Request message for `SetIamPolicy` method.
1303
+ class SetIamPolicyRequest
1304
+ include Google::Apis::Core::Hashable
1305
+
1306
+ # An Identity and Access Management (IAM) policy, which specifies access
1307
+ # controls for Google Cloud resources.
1308
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1309
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1310
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1311
+ # permissions; each `role` can be an IAM predefined role or a user-created
1312
+ # custom role.
1313
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1314
+ # expression that allows access to a resource only if the expression evaluates
1315
+ # to `true`. A condition can add constraints based on attributes of the
1316
+ # request, the resource, or both.
1317
+ # **JSON example:**
1318
+ # `
1319
+ # "bindings": [
1320
+ # `
1321
+ # "role": "roles/resourcemanager.organizationAdmin",
1322
+ # "members": [
1323
+ # "user:mike@example.com",
1324
+ # "group:admins@example.com",
1325
+ # "domain:google.com",
1326
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1327
+ # ]
1328
+ # `,
1329
+ # `
1330
+ # "role": "roles/resourcemanager.organizationViewer",
1331
+ # "members": ["user:eve@example.com"],
1332
+ # "condition": `
1333
+ # "title": "expirable access",
1334
+ # "description": "Does not grant access after Sep 2020",
1335
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1336
+ # ",
1337
+ # `
1338
+ # `
1339
+ # ],
1340
+ # "etag": "BwWWja0YfJA=",
1341
+ # "version": 3
1342
+ # `
1343
+ # **YAML example:**
1344
+ # bindings:
1345
+ # - members:
1346
+ # - user:mike@example.com
1347
+ # - group:admins@example.com
1348
+ # - domain:google.com
1349
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1350
+ # role: roles/resourcemanager.organizationAdmin
1351
+ # - members:
1352
+ # - user:eve@example.com
1353
+ # role: roles/resourcemanager.organizationViewer
1354
+ # condition:
1355
+ # title: expirable access
1356
+ # description: Does not grant access after Sep 2020
1357
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1358
+ # - etag: BwWWja0YfJA=
1359
+ # - version: 3
1360
+ # For a description of IAM and its features, see the
1361
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1362
+ # Corresponds to the JSON property `policy`
1363
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
1364
+ attr_accessor :policy
1365
+
1366
+ def initialize(**args)
1367
+ update!(**args)
1368
+ end
1369
+
1370
+ # Update properties of this object
1371
+ def update!(**args)
1372
+ @policy = args[:policy] if args.key?(:policy)
1373
+ end
1374
+ end
1375
+
1376
+ # The `Status` type defines a logical error model that is suitable for
1377
+ # different programming environments, including REST APIs and RPC APIs. It is
1378
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1379
+ # three pieces of data: error code, error message, and error details.
1380
+ # You can find out more about this error model and how to work with it in the
1381
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1382
+ class Status
1383
+ include Google::Apis::Core::Hashable
1384
+
1385
+ # The status code, which should be an enum value of google.rpc.Code.
1386
+ # Corresponds to the JSON property `code`
1387
+ # @return [Fixnum]
1388
+ attr_accessor :code
1389
+
1390
+ # A list of messages that carry the error details. There is a common set of
1391
+ # message types for APIs to use.
1392
+ # Corresponds to the JSON property `details`
1393
+ # @return [Array<Hash<String,Object>>]
1394
+ attr_accessor :details
1395
+
1396
+ # A developer-facing error message, which should be in English. Any
1397
+ # user-facing error message should be localized and sent in the
1398
+ # google.rpc.Status.details field, or localized by the client.
1399
+ # Corresponds to the JSON property `message`
1400
+ # @return [String]
1401
+ attr_accessor :message
1402
+
1403
+ def initialize(**args)
1404
+ update!(**args)
1405
+ end
1406
+
1407
+ # Update properties of this object
1408
+ def update!(**args)
1409
+ @code = args[:code] if args.key?(:code)
1410
+ @details = args[:details] if args.key?(:details)
1411
+ @message = args[:message] if args.key?(:message)
1412
+ end
1413
+ end
1414
+
1415
+ # Request message for `TestIamPermissions` method.
1416
+ class TestIamPermissionsRequest
1417
+ include Google::Apis::Core::Hashable
1418
+
1419
+ # The set of permissions to check for the `resource`. Permissions with
1420
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
1421
+ # information see
1422
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1423
+ # Corresponds to the JSON property `permissions`
1424
+ # @return [Array<String>]
1425
+ attr_accessor :permissions
1426
+
1427
+ def initialize(**args)
1428
+ update!(**args)
1429
+ end
1430
+
1431
+ # Update properties of this object
1432
+ def update!(**args)
1433
+ @permissions = args[:permissions] if args.key?(:permissions)
1434
+ end
1435
+ end
1436
+
1437
+ # Response message for `TestIamPermissions` method.
1438
+ class TestIamPermissionsResponse
1439
+ include Google::Apis::Core::Hashable
1440
+
1441
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
1442
+ # allowed.
1443
+ # Corresponds to the JSON property `permissions`
1444
+ # @return [Array<String>]
1445
+ attr_accessor :permissions
1446
+
1447
+ def initialize(**args)
1448
+ update!(**args)
1449
+ end
1450
+
1451
+ # Update properties of this object
1452
+ def update!(**args)
1453
+ @permissions = args[:permissions] if args.key?(:permissions)
1454
+ end
1455
+ end
1456
+
1457
+ # Represents a relationship between two domains. This allows a controller in
1458
+ # one domain to authenticate a user in another domain.
1459
+ class TrustProp
1460
+ include Google::Apis::Core::Hashable
1461
+
1462
+ # Output only. The time the instance was created.
1463
+ # Corresponds to the JSON property `createTime`
1464
+ # @return [String]
1465
+ attr_accessor :create_time
1466
+
1467
+ # Output only. The last heartbeat time when the trust was known to be
1468
+ # connected.
1469
+ # Corresponds to the JSON property `lastTrustHeartbeatTime`
1470
+ # @return [String]
1471
+ attr_accessor :last_trust_heartbeat_time
1472
+
1473
+ # The trust authentication type, which decides whether the trusted side has
1474
+ # forest/domain wide access or selective access to an approved set of
1475
+ # resources.
1476
+ # Corresponds to the JSON property `selectiveAuthentication`
1477
+ # @return [Boolean]
1478
+ attr_accessor :selective_authentication
1479
+ alias_method :selective_authentication?, :selective_authentication
1480
+
1481
+ # Output only. The current state of the trust.
1482
+ # Corresponds to the JSON property `state`
1483
+ # @return [String]
1484
+ attr_accessor :state
1485
+
1486
+ # Output only. Additional information about the current state of the
1487
+ # trust, if available.
1488
+ # Corresponds to the JSON property `stateDescription`
1489
+ # @return [String]
1490
+ attr_accessor :state_description
1491
+
1492
+ # The target DNS server IP addresses which can resolve the remote domain
1493
+ # involved in the trust.
1494
+ # Corresponds to the JSON property `targetDnsIpAddresses`
1495
+ # @return [Array<String>]
1496
+ attr_accessor :target_dns_ip_addresses
1497
+
1498
+ # The fully qualified target domain name which will be in trust with the
1499
+ # current domain.
1500
+ # Corresponds to the JSON property `targetDomainName`
1501
+ # @return [String]
1502
+ attr_accessor :target_domain_name
1503
+
1504
+ # The trust direction, which decides if the current domain is trusted,
1505
+ # trusting, or both.
1506
+ # Corresponds to the JSON property `trustDirection`
1507
+ # @return [String]
1508
+ attr_accessor :trust_direction
1509
+
1510
+ # Input only, and will not be stored. The trust secret used for the handshake
1511
+ # with the target domain.
1512
+ # Corresponds to the JSON property `trustHandshakeSecret`
1513
+ # @return [String]
1514
+ attr_accessor :trust_handshake_secret
1515
+
1516
+ # The type of trust represented by the trust resource.
1517
+ # Corresponds to the JSON property `trustType`
1518
+ # @return [String]
1519
+ attr_accessor :trust_type
1520
+
1521
+ # Output only. The last update time.
1522
+ # Corresponds to the JSON property `updateTime`
1523
+ # @return [String]
1524
+ attr_accessor :update_time
1525
+
1526
+ def initialize(**args)
1527
+ update!(**args)
1528
+ end
1529
+
1530
+ # Update properties of this object
1531
+ def update!(**args)
1532
+ @create_time = args[:create_time] if args.key?(:create_time)
1533
+ @last_trust_heartbeat_time = args[:last_trust_heartbeat_time] if args.key?(:last_trust_heartbeat_time)
1534
+ @selective_authentication = args[:selective_authentication] if args.key?(:selective_authentication)
1535
+ @state = args[:state] if args.key?(:state)
1536
+ @state_description = args[:state_description] if args.key?(:state_description)
1537
+ @target_dns_ip_addresses = args[:target_dns_ip_addresses] if args.key?(:target_dns_ip_addresses)
1538
+ @target_domain_name = args[:target_domain_name] if args.key?(:target_domain_name)
1539
+ @trust_direction = args[:trust_direction] if args.key?(:trust_direction)
1540
+ @trust_handshake_secret = args[:trust_handshake_secret] if args.key?(:trust_handshake_secret)
1541
+ @trust_type = args[:trust_type] if args.key?(:trust_type)
1542
+ @update_time = args[:update_time] if args.key?(:update_time)
1543
+ end
1544
+ end
1545
+
1546
+ # Request message for
1547
+ # ValidateTrust
1548
+ class ValidateTrustRequest
1549
+ include Google::Apis::Core::Hashable
1550
+
1551
+ # Represents a relationship between two domains. This allows a controller in
1552
+ # one domain to authenticate a user in another domain.
1553
+ # Corresponds to the JSON property `trust`
1554
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
1555
+ attr_accessor :trust_prop
1556
+
1557
+ def initialize(**args)
1558
+ update!(**args)
1559
+ end
1560
+
1561
+ # Update properties of this object
1562
+ def update!(**args)
1563
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
1564
+ end
1565
+ end
1566
+ end
1567
+ end
1568
+ end