google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -88,12 +88,6 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class CreateBuildRequest
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
91
  class Empty
98
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
93
 
@@ -425,15 +419,6 @@ module Google
425
419
  end
426
420
  end
427
421
 
428
- class CreateBuildRequest
429
- # @private
430
- class Representation < Google::Apis::Core::JsonRepresentation
431
- property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
432
-
433
- property :project_id, as: 'projectId'
434
- end
435
- end
436
-
437
422
  class Empty
438
423
  # @private
439
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -241,7 +241,11 @@ module Google
241
241
  # @param [Fixnum] page_size
242
242
  # Number of results to return in the list.
243
243
  # @param [String] page_token
244
- # Token to provide to skip to a particular spot in the list.
244
+ # The page token for the next page of Builds. If unspecified, the first page of
245
+ # results is returned. If the token is rejected for any reason, INVALID_ARGUMENT
246
+ # will be thrown. In this case, the token should be discarded, and pagination
247
+ # should be restarted from the first page of results. See https://google.aip.dev/
248
+ # 158 for more.
245
249
  # @param [String] parent
246
250
  # The parent of the collection of `Builds`. Format: `projects/`project`/
247
251
  # locations/location`
@@ -367,7 +371,9 @@ module Google
367
371
  # @param [String] parent
368
372
  # The parent resource where this build will be created. Format: `projects/`
369
373
  # project`/locations/`location``
370
- # @param [Google::Apis::CloudbuildV1::CreateBuildRequest] create_build_request_object
374
+ # @param [Google::Apis::CloudbuildV1::Build] build_object
375
+ # @param [String] project_id
376
+ # Required. ID of the project.
371
377
  # @param [String] fields
372
378
  # Selector specifying which fields to include in a partial response.
373
379
  # @param [String] quota_user
@@ -385,13 +391,14 @@ module Google
385
391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
386
392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
387
393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
388
- def create_build(parent, create_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
394
+ def create_build(parent, build_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
389
395
  command = make_simple_command(:post, 'v1/{+parent}/builds', options)
390
- command.request_representation = Google::Apis::CloudbuildV1::CreateBuildRequest::Representation
391
- command.request_object = create_build_request_object
396
+ command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
397
+ command.request_object = build_object
392
398
  command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
393
399
  command.response_class = Google::Apis::CloudbuildV1::Operation
394
400
  command.params['parent'] = parent unless parent.nil?
401
+ command.query['projectId'] = project_id unless project_id.nil?
395
402
  command.query['fields'] = fields unless fields.nil?
396
403
  command.query['quotaUser'] = quota_user unless quota_user.nil?
397
404
  execute_or_queue_command(command, &block)
@@ -446,7 +453,11 @@ module Google
446
453
  # @param [Fixnum] page_size
447
454
  # Number of results to return in the list.
448
455
  # @param [String] page_token
449
- # Token to provide to skip to a particular spot in the list.
456
+ # The page token for the next page of Builds. If unspecified, the first page of
457
+ # results is returned. If the token is rejected for any reason, INVALID_ARGUMENT
458
+ # will be thrown. In this case, the token should be discarded, and pagination
459
+ # should be restarted from the first page of results. See https://google.aip.dev/
460
+ # 158 for more.
450
461
  # @param [String] project_id
451
462
  # Required. ID of the project.
452
463
  # @param [String] fields
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200910'
28
+ REVISION = '20201015'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -226,6 +226,11 @@ module Google
226
226
  # @return [Fixnum]
227
227
  attr_accessor :available_memory_mb
228
228
 
229
+ # Build environment variables that shall be available during build time.
230
+ # Corresponds to the JSON property `buildEnvironmentVariables`
231
+ # @return [Hash<String,String>]
232
+ attr_accessor :build_environment_variables
233
+
229
234
  # Output only. The Cloud Build ID of the latest successful deployment of the
230
235
  # function.
231
236
  # Corresponds to the JSON property `buildId`
@@ -272,7 +277,12 @@ module Google
272
277
  attr_accessor :labels
273
278
 
274
279
  # The limit on the maximum number of function instances that may coexist at a
275
- # given time.
280
+ # given time. In some cases, such as rapid traffic surges, Cloud Functions may,
281
+ # for a short period of time, create more instances than the specified max
282
+ # instances limit. If your function cannot tolerate this temporary behavior, you
283
+ # may want to factor in a safety margin and set a lower max instances value than
284
+ # your function can tolerate. See the [Max Instances](https://cloud.google.com/
285
+ # functions/docs/max-instances) Guide for more details.
276
286
  # Corresponds to the JSON property `maxInstances`
277
287
  # @return [Fixnum]
278
288
  attr_accessor :max_instances
@@ -375,6 +385,7 @@ module Google
375
385
  # Update properties of this object
376
386
  def update!(**args)
377
387
  @available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
388
+ @build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
378
389
  @build_id = args[:build_id] if args.key?(:build_id)
379
390
  @description = args[:description] if args.key?(:description)
380
391
  @entry_point = args[:entry_point] if args.key?(:entry_point)
@@ -231,6 +231,7 @@ module Google
231
231
  # @private
232
232
  class Representation < Google::Apis::Core::JsonRepresentation
233
233
  property :available_memory_mb, as: 'availableMemoryMb'
234
+ hash :build_environment_variables, as: 'buildEnvironmentVariables'
234
235
  property :build_id, as: 'buildId'
235
236
  property :description, as: 'description'
236
237
  property :entry_point, as: 'entryPoint'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200806'
28
+ REVISION = '20200917'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,22 +22,26 @@ module Google
22
22
  module Apis
23
23
  module CloudidentityV1
24
24
 
25
- # An EntityKey uniquely identifies an Entity. Namespaces are used to provide
26
- # isolation for IDs. A single ID can be reused across namespaces but the
27
- # combination of a namespace and an ID must be unique.
25
+ # A unique identifier for an entity in the Cloud Identity Groups API. An entity
26
+ # can represent either a group with an optional `namespace` or a user without a `
27
+ # namespace`. The combination of `id` and `namespace` must be unique; however,
28
+ # the same `id` can be used with different `namespace`s.
28
29
  class EntityKey
29
30
  include Google::Apis::Core::Hashable
30
31
 
31
- # The ID of the entity within the given namespace. The ID must be unique within
32
- # its namespace.
32
+ # The ID of the entity. For Google-managed entities, the `id` should be the
33
+ # email address of an existing group or user. For external-identity-mapped
34
+ # entities, the `id` must be a string conforming to the Identity Source's
35
+ # requirements. Must be unique within a `namespace`.
33
36
  # Corresponds to the JSON property `id`
34
37
  # @return [String]
35
38
  attr_accessor :id
36
39
 
37
- # Namespaces provide isolation for IDs, so an ID only needs to be unique within
38
- # its namespace. Namespaces are currently only created as part of IdentitySource
39
- # creation from Admin Console. A namespace `"identitysources/`identity_source_id`
40
- # "` is created corresponding to every Identity Source `identity_source_id`.
40
+ # The namespace in which the entity exists. If not specified, the `EntityKey`
41
+ # represents a Google-managed entity such as a Google user or a Google Group. If
42
+ # specified, the `EntityKey` represents an external-identity-mapped group. The
43
+ # namespace must correspond to an identity source created in Admin Console and
44
+ # must be in the form of `identitysources/`identity_source_id`.
41
45
  # Corresponds to the JSON property `namespace`
42
46
  # @return [String]
43
47
  attr_accessor :namespace
@@ -875,58 +879,66 @@ module Google
875
879
  end
876
880
  end
877
881
 
878
- # Resource representing a Group.
882
+ # A group within the Cloud Identity Groups API. A `Group` is a collection of
883
+ # entities, where each entity is either a user, another group, or a service
884
+ # account.
879
885
  class Group
880
886
  include Google::Apis::Core::Hashable
881
887
 
882
- # Output only. The time when the Group was created. Output only.
888
+ # Output only. The time when the `Group` was created.
883
889
  # Corresponds to the JSON property `createTime`
884
890
  # @return [String]
885
891
  attr_accessor :create_time
886
892
 
887
- # An extended description to help users determine the purpose of a Group. For
888
- # example, you can include information about who should join the Group, the
889
- # types of messages to send to the Group, links to FAQs about the Group, or
890
- # related Groups. Maximum length is 4,096 characters.
893
+ # An extended description to help users determine the purpose of a `Group`. Must
894
+ # not be longer than 4,096 characters.
891
895
  # Corresponds to the JSON property `description`
892
896
  # @return [String]
893
897
  attr_accessor :description
894
898
 
895
- # The Group's display name.
899
+ # The display name of the `Group`.
896
900
  # Corresponds to the JSON property `displayName`
897
901
  # @return [String]
898
902
  attr_accessor :display_name
899
903
 
900
- # An EntityKey uniquely identifies an Entity. Namespaces are used to provide
901
- # isolation for IDs. A single ID can be reused across namespaces but the
902
- # combination of a namespace and an ID must be unique.
904
+ # A unique identifier for an entity in the Cloud Identity Groups API. An entity
905
+ # can represent either a group with an optional `namespace` or a user without a `
906
+ # namespace`. The combination of `id` and `namespace` must be unique; however,
907
+ # the same `id` can be used with different `namespace`s.
903
908
  # Corresponds to the JSON property `groupKey`
904
909
  # @return [Google::Apis::CloudidentityV1::EntityKey]
905
910
  attr_accessor :group_key
906
911
 
907
- # Required. `Required`. Labels for Group resource. For creating Groups under a
908
- # namespace, set label key to 'labels/system/groups/external' and label value as
909
- # empty.
912
+ # Required. One or more label entries that apply to the Group. Currently
913
+ # supported labels contain a key with an empty value. Google Groups are the
914
+ # default type of group and have a label with a key of `cloudidentity.googleapis.
915
+ # com/groups.discussion_forum` and an empty value. Existing Google Groups can
916
+ # have an additional label with a key of `cloudidentity.googleapis.com/groups.
917
+ # security` and an empty value added to them. **This is an immutable change and
918
+ # the security label cannot be removed once added.** Dynamic groups have a label
919
+ # with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped
920
+ # groups for Cloud Search have a label with a key of `system/groups/external`
921
+ # and an empty value. Examples: `"cloudidentity.googleapis.com/groups.
922
+ # discussion_forum": ""` or `"system/groups/external": ""`.
910
923
  # Corresponds to the JSON property `labels`
911
924
  # @return [Hash<String,String>]
912
925
  attr_accessor :labels
913
926
 
914
- # Output only. [Resource name](https://cloud.google.com/apis/design/
915
- # resource_names) of the Group in the format: `groups/`group_id``, where
916
- # group_id is the unique ID assigned to the Group. Must be left blank while
917
- # creating a Group.
927
+ # Output only. The [resource name](https://cloud.google.com/apis/design/
928
+ # resource_names) of the `Group`. Shall be of the form `groups/`group_id``.
918
929
  # Corresponds to the JSON property `name`
919
930
  # @return [String]
920
931
  attr_accessor :name
921
932
 
922
- # Required. Immutable. The entity under which this Group resides in Cloud
923
- # Identity resource hierarchy. Must be set when creating a Group, read-only
924
- # afterwards. Currently allowed types: `identitysources`.
933
+ # Required. Immutable. The resource name of the entity under which this `Group`
934
+ # resides in the Cloud Identity resource hierarchy. Must be of the form `
935
+ # identitysources/`identity_source_id`` for external- identity-mapped groups or `
936
+ # customers/`customer_id`` for Google Groups.
925
937
  # Corresponds to the JSON property `parent`
926
938
  # @return [String]
927
939
  attr_accessor :parent
928
940
 
929
- # Output only. The time when the Group was last updated. Output only.
941
+ # Output only. The time when the `Group` was last updated.
930
942
  # Corresponds to the JSON property `updateTime`
931
943
  # @return [String]
932
944
  attr_accessor :update_time
@@ -974,17 +986,17 @@ module Google
974
986
  end
975
987
  end
976
988
 
977
- #
989
+ # The response message for MembershipsService.ListMemberships.
978
990
  class ListMembershipsResponse
979
991
  include Google::Apis::Core::Hashable
980
992
 
981
- # List of Memberships.
993
+ # The `Membership`s under the specified `parent`.
982
994
  # Corresponds to the JSON property `memberships`
983
995
  # @return [Array<Google::Apis::CloudidentityV1::Membership>]
984
996
  attr_accessor :memberships
985
997
 
986
- # Token to retrieve the next page of results, or empty if there are no more
987
- # results available for listing.
998
+ # A continuation token to retrieve the next page of results, or empty if there
999
+ # are no more results available.
988
1000
  # Corresponds to the JSON property `nextPageToken`
989
1001
  # @return [String]
990
1002
  attr_accessor :next_page_token
@@ -1000,13 +1012,12 @@ module Google
1000
1012
  end
1001
1013
  end
1002
1014
 
1003
- #
1015
+ # The response message for GroupsService.LookupGroupName.
1004
1016
  class LookupGroupNameResponse
1005
1017
  include Google::Apis::Core::Hashable
1006
1018
 
1007
- # [Resource name](https://cloud.google.com/apis/design/resource_names) of the
1008
- # Group in the format: `groups/`group_id``, where `group_id` is the unique ID
1009
- # assigned to the Group.
1019
+ # The [resource name](https://cloud.google.com/apis/design/resource_names) of
1020
+ # the looked-up `Group`.
1010
1021
  # Corresponds to the JSON property `name`
1011
1022
  # @return [String]
1012
1023
  attr_accessor :name
@@ -1021,14 +1032,13 @@ module Google
1021
1032
  end
1022
1033
  end
1023
1034
 
1024
- #
1035
+ # The response message for MembershipsService.LookupMembershipName.
1025
1036
  class LookupMembershipNameResponse
1026
1037
  include Google::Apis::Core::Hashable
1027
1038
 
1028
- # [Resource name](https://cloud.google.com/apis/design/resource_names) of the
1029
- # Membership being looked up. Format: `groups/`group_id`/memberships/`member_id``
1030
- # , where `group_id` is the unique ID assigned to the Group to which Membership
1031
- # belongs to, and `member_id` is the unique ID assigned to the member.
1039
+ # The [resource name](https://cloud.google.com/apis/design/resource_names) of
1040
+ # the looked-up `Membership`. Must be of the form `groups/`group_id`/memberships/
1041
+ # `membership_id``.
1032
1042
  # Corresponds to the JSON property `name`
1033
1043
  # @return [String]
1034
1044
  attr_accessor :name
@@ -1043,33 +1053,35 @@ module Google
1043
1053
  end
1044
1054
  end
1045
1055
 
1046
- # Resource representing a Membership within a Group
1056
+ # A membership within the Cloud Identity Groups API. A `Membership` defines a
1057
+ # relationship between a `Group` and an entity belonging to that `Group`,
1058
+ # referred to as a "member".
1047
1059
  class Membership
1048
1060
  include Google::Apis::Core::Hashable
1049
1061
 
1050
- # Output only. Creation timestamp of the Membership. Output only.
1062
+ # Output only. The time when the `Membership` was created.
1051
1063
  # Corresponds to the JSON property `createTime`
1052
1064
  # @return [String]
1053
1065
  attr_accessor :create_time
1054
1066
 
1055
- # Output only. [Resource name](https://cloud.google.com/apis/design/
1056
- # resource_names) of the Membership in the format: `groups/`group_id`/
1057
- # memberships/`member_id``, where group_id is the unique ID assigned to the
1058
- # Group to which Membership belongs to, and member_id is the unique ID assigned
1059
- # to the member Must be left blank while creating a Membership.
1067
+ # Output only. The [resource name](https://cloud.google.com/apis/design/
1068
+ # resource_names) of the `Membership`. Shall be of the form `groups/`group_id`/
1069
+ # memberships/`membership_id``.
1060
1070
  # Corresponds to the JSON property `name`
1061
1071
  # @return [String]
1062
1072
  attr_accessor :name
1063
1073
 
1064
- # An EntityKey uniquely identifies an Entity. Namespaces are used to provide
1065
- # isolation for IDs. A single ID can be reused across namespaces but the
1066
- # combination of a namespace and an ID must be unique.
1074
+ # A unique identifier for an entity in the Cloud Identity Groups API. An entity
1075
+ # can represent either a group with an optional `namespace` or a user without a `
1076
+ # namespace`. The combination of `id` and `namespace` must be unique; however,
1077
+ # the same `id` can be used with different `namespace`s.
1067
1078
  # Corresponds to the JSON property `preferredMemberKey`
1068
1079
  # @return [Google::Apis::CloudidentityV1::EntityKey]
1069
1080
  attr_accessor :preferred_member_key
1070
1081
 
1071
- # Roles for a member within the Group. Currently supported MembershipRoles: `"
1072
- # MEMBER"`.
1082
+ # The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults
1083
+ # to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `
1084
+ # MembershipRole`s with the same `name`.
1073
1085
  # Corresponds to the JSON property `roles`
1074
1086
  # @return [Array<Google::Apis::CloudidentityV1::MembershipRole>]
1075
1087
  attr_accessor :roles
@@ -1079,7 +1091,7 @@ module Google
1079
1091
  # @return [String]
1080
1092
  attr_accessor :type
1081
1093
 
1082
- # Output only. Last updated timestamp of the Membership. Output only.
1094
+ # Output only. The time when the `Membership` was last updated.
1083
1095
  # Corresponds to the JSON property `updateTime`
1084
1096
  # @return [String]
1085
1097
  attr_accessor :update_time
@@ -1099,12 +1111,12 @@ module Google
1099
1111
  end
1100
1112
  end
1101
1113
 
1102
- # Resource representing a role within a Membership.
1114
+ # A membership role within the Cloud Identity Groups API. A `MembershipRole`
1115
+ # defines the privileges granted to a `Membership`.
1103
1116
  class MembershipRole
1104
1117
  include Google::Apis::Core::Hashable
1105
1118
 
1106
- # MembershipRole in string format. Currently supported MembershipRoles: `"MEMBER"
1107
- # `.
1119
+ # The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`.
1108
1120
  # Corresponds to the JSON property `name`
1109
1121
  # @return [String]
1110
1122
  attr_accessor :name
@@ -1139,13 +1151,6 @@ module Google
1139
1151
  # @return [Array<String>]
1140
1152
  attr_accessor :remove_roles
1141
1153
 
1142
- # The `MembershipRole`s to be updated. Updating roles in the same request as
1143
- # adding or removing roles is not supported. Must not be set if either `
1144
- # add_roles` or `remove_roles` is set.
1145
- # Corresponds to the JSON property `updateRolesParams`
1146
- # @return [Array<Google::Apis::CloudidentityV1::UpdateMembershipRolesParams>]
1147
- attr_accessor :update_roles_params
1148
-
1149
1154
  def initialize(**args)
1150
1155
  update!(**args)
1151
1156
  end
@@ -1154,7 +1159,6 @@ module Google
1154
1159
  def update!(**args)
1155
1160
  @add_roles = args[:add_roles] if args.key?(:add_roles)
1156
1161
  @remove_roles = args[:remove_roles] if args.key?(:remove_roles)
1157
- @update_roles_params = args[:update_roles_params] if args.key?(:update_roles_params)
1158
1162
  end
1159
1163
  end
1160
1164
 
@@ -1162,7 +1166,9 @@ module Google
1162
1166
  class ModifyMembershipRolesResponse
1163
1167
  include Google::Apis::Core::Hashable
1164
1168
 
1165
- # Resource representing a Membership within a Group
1169
+ # A membership within the Cloud Identity Groups API. A `Membership` defines a
1170
+ # relationship between a `Group` and an entity belonging to that `Group`,
1171
+ # referred to as a "member".
1166
1172
  # Corresponds to the JSON property `membership`
1167
1173
  # @return [Google::Apis::CloudidentityV1::Membership]
1168
1174
  attr_accessor :membership
@@ -1239,17 +1245,17 @@ module Google
1239
1245
  end
1240
1246
  end
1241
1247
 
1242
- #
1248
+ # The response message for GroupsService.SearchGroups.
1243
1249
  class SearchGroupsResponse
1244
1250
  include Google::Apis::Core::Hashable
1245
1251
 
1246
- # List of Groups satisfying the search query.
1252
+ # The `Group`s that match the search query.
1247
1253
  # Corresponds to the JSON property `groups`
1248
1254
  # @return [Array<Google::Apis::CloudidentityV1::Group>]
1249
1255
  attr_accessor :groups
1250
1256
 
1251
- # Token to retrieve the next page of results, or empty if there are no more
1252
- # results available for specified query.
1257
+ # A continuation token to retrieve the next page of results, or empty if there
1258
+ # are no more results available.
1253
1259
  # Corresponds to the JSON property `nextPageToken`
1254
1260
  # @return [String]
1255
1261
  attr_accessor :next_page_token
@@ -1303,32 +1309,6 @@ module Google
1303
1309
  @message = args[:message] if args.key?(:message)
1304
1310
  end
1305
1311
  end
1306
-
1307
- # The details of an update to a `MembershipRole`.
1308
- class UpdateMembershipRolesParams
1309
- include Google::Apis::Core::Hashable
1310
-
1311
- # The fully-qualified names of fields to update. May only contain the field `
1312
- # expiry_detail`.
1313
- # Corresponds to the JSON property `fieldMask`
1314
- # @return [String]
1315
- attr_accessor :field_mask
1316
-
1317
- # Resource representing a role within a Membership.
1318
- # Corresponds to the JSON property `membershipRole`
1319
- # @return [Google::Apis::CloudidentityV1::MembershipRole]
1320
- attr_accessor :membership_role
1321
-
1322
- def initialize(**args)
1323
- update!(**args)
1324
- end
1325
-
1326
- # Update properties of this object
1327
- def update!(**args)
1328
- @field_mask = args[:field_mask] if args.key?(:field_mask)
1329
- @membership_role = args[:membership_role] if args.key?(:membership_role)
1330
- end
1331
- end
1332
1312
  end
1333
1313
  end
1334
1314
  end
@@ -226,12 +226,6 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class UpdateMembershipRolesParams
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
229
  class EntityKey
236
230
  # @private
237
231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -529,8 +523,6 @@ module Google
529
523
  collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
530
524
 
531
525
  collection :remove_roles, as: 'removeRoles'
532
- collection :update_roles_params, as: 'updateRolesParams', class: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams, decorator: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams::Representation
533
-
534
526
  end
535
527
  end
536
528
 
@@ -571,15 +563,6 @@ module Google
571
563
  property :message, as: 'message'
572
564
  end
573
565
  end
574
-
575
- class UpdateMembershipRolesParams
576
- # @private
577
- class Representation < Google::Apis::Core::JsonRepresentation
578
- property :field_mask, as: 'fieldMask'
579
- property :membership_role, as: 'membershipRole', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
580
-
581
- end
582
- end
583
566
  end
584
567
  end
585
568
  end