google-api-client 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +305 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  15. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  16. data/generated/google/apis/admob_v1.rb +4 -1
  17. data/generated/google/apis/admob_v1/classes.rb +2 -2
  18. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  19. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  21. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  22. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  23. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  24. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  25. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  26. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
  31. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  33. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  34. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  35. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  36. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  37. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  38. data/generated/google/apis/apigee_v1.rb +1 -1
  39. data/generated/google/apis/apigee_v1/classes.rb +247 -27
  40. data/generated/google/apis/apigee_v1/representations.rb +90 -3
  41. data/generated/google/apis/apigee_v1/service.rb +63 -43
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  44. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  47. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  48. data/generated/google/apis/appsmarket_v2.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  50. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  51. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  52. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  53. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  54. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  55. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  56. data/generated/google/apis/bigquery_v2.rb +1 -1
  57. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  58. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  59. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  64. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  68. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  69. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  70. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  73. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  74. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +2 -2
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +79 -5
  81. data/generated/google/apis/chat_v1/representations.rb +35 -0
  82. data/generated/google/apis/civicinfo_v2.rb +1 -1
  83. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  84. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  85. data/generated/google/apis/classroom_v1.rb +7 -1
  86. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  87. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  88. data/generated/google/apis/classroom_v1/service.rb +240 -0
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  100. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  101. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  102. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  104. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  105. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  107. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  108. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  118. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  119. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  120. data/generated/google/apis/cloudiot_v1.rb +1 -1
  121. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  122. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudkms_v1.rb +1 -1
  124. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  125. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  126. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  128. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  130. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  132. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  134. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  136. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  137. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  138. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  139. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  140. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  142. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  143. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  144. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  146. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  147. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  149. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  150. data/generated/google/apis/composer_v1beta1.rb +1 -1
  151. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  154. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  155. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  156. data/generated/google/apis/compute_beta.rb +1 -1
  157. data/generated/google/apis/compute_beta/classes.rb +491 -83
  158. data/generated/google/apis/compute_beta/representations.rb +96 -1
  159. data/generated/google/apis/compute_beta/service.rb +802 -133
  160. data/generated/google/apis/compute_v1.rb +1 -1
  161. data/generated/google/apis/compute_v1/classes.rb +308 -45
  162. data/generated/google/apis/compute_v1/representations.rb +54 -1
  163. data/generated/google/apis/compute_v1/service.rb +736 -130
  164. data/generated/google/apis/container_v1.rb +1 -1
  165. data/generated/google/apis/container_v1/classes.rb +57 -2
  166. data/generated/google/apis/container_v1/representations.rb +7 -0
  167. data/generated/google/apis/container_v1beta1.rb +1 -1
  168. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  169. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  170. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  171. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  172. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  173. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  174. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  175. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  176. data/generated/google/apis/content_v2.rb +1 -1
  177. data/generated/google/apis/content_v2/classes.rb +4 -2
  178. data/generated/google/apis/content_v2_1.rb +1 -1
  179. data/generated/google/apis/content_v2_1/classes.rb +16 -4
  180. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  181. data/generated/google/apis/content_v2_1/service.rb +1 -1
  182. data/generated/google/apis/customsearch_v1.rb +1 -1
  183. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  184. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  185. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  186. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  189. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  190. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  191. data/generated/google/apis/datafusion_v1.rb +1 -1
  192. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  193. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  194. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  195. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  196. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  197. data/generated/google/apis/dataproc_v1.rb +1 -1
  198. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  199. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  200. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  201. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  202. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  203. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  205. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  206. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  207. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  208. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  209. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  210. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  211. data/generated/google/apis/dialogflow_v2.rb +1 -1
  212. data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
  213. data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
  214. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  215. data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
  216. data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
  217. data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
  218. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  219. data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
  220. data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
  221. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  222. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  223. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  224. data/generated/google/apis/displayvideo_v1.rb +1 -1
  225. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  226. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  227. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  228. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  229. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  230. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  231. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  232. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  233. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  234. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  235. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  236. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  237. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  238. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  239. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  240. data/generated/google/apis/dlp_v2.rb +1 -1
  241. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  242. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  243. data/generated/google/apis/dlp_v2/service.rb +328 -328
  244. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  245. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  246. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  249. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  251. data/generated/google/apis/file_v1.rb +1 -1
  252. data/generated/google/apis/file_v1/classes.rb +1 -1
  253. data/generated/google/apis/file_v1beta1.rb +1 -1
  254. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  256. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  257. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  262. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  263. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  264. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  265. data/generated/google/apis/firestore_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  267. data/generated/google/apis/fitness_v1.rb +3 -3
  268. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  269. data/generated/google/apis/games_v1.rb +1 -1
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  272. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  273. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  274. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  275. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  276. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  277. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  278. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  279. data/generated/google/apis/gmail_v1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/service.rb +1 -1
  281. data/generated/google/apis/healthcare_v1.rb +1 -1
  282. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  283. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  284. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  285. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  286. data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
  287. data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
  288. data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
  289. data/generated/google/apis/homegraph_v1.rb +4 -1
  290. data/generated/google/apis/iam_v1.rb +1 -1
  291. data/generated/google/apis/iam_v1/classes.rb +7 -0
  292. data/generated/google/apis/iam_v1/representations.rb +1 -0
  293. data/generated/google/apis/iam_v1/service.rb +2 -1
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +7 -0
  296. data/generated/google/apis/iap_v1/representations.rb +1 -0
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  299. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  300. data/generated/google/apis/jobs_v2.rb +1 -1
  301. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  302. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  303. data/generated/google/apis/jobs_v2/service.rb +85 -126
  304. data/generated/google/apis/jobs_v3.rb +1 -1
  305. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  306. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  307. data/generated/google/apis/jobs_v3/service.rb +101 -139
  308. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  311. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  312. data/generated/google/apis/licensing_v1.rb +4 -3
  313. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  314. data/generated/google/apis/licensing_v1/service.rb +55 -85
  315. data/generated/google/apis/logging_v2.rb +1 -1
  316. data/generated/google/apis/logging_v2/classes.rb +98 -55
  317. data/generated/google/apis/logging_v2/representations.rb +32 -0
  318. data/generated/google/apis/logging_v2/service.rb +1214 -264
  319. data/generated/google/apis/managedidentities_v1.rb +1 -1
  320. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  321. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  322. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  323. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  324. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  325. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  326. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  327. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  328. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  329. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  330. data/generated/google/apis/ml_v1.rb +1 -1
  331. data/generated/google/apis/ml_v1/classes.rb +7 -0
  332. data/generated/google/apis/ml_v1/representations.rb +1 -0
  333. data/generated/google/apis/ml_v1/service.rb +1 -1
  334. data/generated/google/apis/monitoring_v1.rb +1 -1
  335. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  336. data/generated/google/apis/monitoring_v3.rb +1 -1
  337. data/generated/google/apis/monitoring_v3/classes.rb +43 -37
  338. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  339. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  340. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  341. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  342. data/generated/google/apis/osconfig_v1.rb +3 -3
  343. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  344. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  345. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  346. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  347. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  348. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  349. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  350. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  351. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  352. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  353. data/generated/google/apis/people_v1.rb +1 -1
  354. data/generated/google/apis/people_v1/service.rb +8 -6
  355. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  356. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  359. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  360. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  361. data/generated/google/apis/pubsub_v1.rb +1 -1
  362. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  363. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  364. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  365. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  366. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  367. data/generated/google/apis/pubsublite_v1.rb +1 -1
  368. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  369. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  370. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  371. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  372. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  373. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  374. data/generated/google/apis/recommender_v1.rb +1 -1
  375. data/generated/google/apis/recommender_v1/service.rb +4 -2
  376. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  377. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  378. data/generated/google/apis/redis_v1.rb +1 -1
  379. data/generated/google/apis/redis_v1/classes.rb +5 -391
  380. data/generated/google/apis/redis_v1/representations.rb +0 -139
  381. data/generated/google/apis/redis_v1/service.rb +2 -2
  382. data/generated/google/apis/redis_v1beta1.rb +1 -1
  383. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  384. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  385. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  386. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  389. data/generated/google/apis/reseller_v1.rb +2 -2
  390. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  391. data/generated/google/apis/reseller_v1/service.rb +122 -173
  392. data/generated/google/apis/run_v1.rb +1 -1
  393. data/generated/google/apis/run_v1/classes.rb +8 -132
  394. data/generated/google/apis/run_v1/representations.rb +0 -61
  395. data/generated/google/apis/run_v1/service.rb +0 -342
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  398. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  399. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  400. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  401. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  402. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  403. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  404. data/generated/google/apis/searchconsole_v1.rb +7 -1
  405. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  406. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  407. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  408. data/generated/google/apis/secretmanager_v1.rb +1 -1
  409. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  410. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  411. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  412. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  413. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  414. data/generated/google/apis/securitycenter_v1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  416. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  417. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  418. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  419. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  420. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  421. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  422. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  423. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  424. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  425. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  428. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  429. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  430. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  431. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  432. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  435. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  436. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  439. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  440. data/generated/google/apis/sheets_v4.rb +1 -1
  441. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  442. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  443. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  444. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  445. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  446. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  447. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  448. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  449. data/generated/google/apis/spanner_v1.rb +1 -1
  450. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  451. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  452. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  453. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  454. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
  455. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
  456. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  457. data/generated/google/apis/storage_v1.rb +1 -1
  458. data/generated/google/apis/storage_v1/classes.rb +2 -10
  459. data/generated/google/apis/storage_v1/representations.rb +0 -1
  460. data/generated/google/apis/storage_v1/service.rb +3 -2
  461. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  462. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  463. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  464. data/generated/google/apis/sts_v1/classes.rb +120 -0
  465. data/generated/google/apis/sts_v1/representations.rb +59 -0
  466. data/generated/google/apis/sts_v1/service.rb +90 -0
  467. data/generated/google/apis/sts_v1beta.rb +32 -0
  468. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  469. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  470. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  471. data/generated/google/apis/tagmanager_v2.rb +1 -1
  472. data/generated/google/apis/tasks_v1.rb +1 -1
  473. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  474. data/generated/google/apis/tasks_v1/service.rb +4 -3
  475. data/generated/google/apis/testing_v1.rb +1 -1
  476. data/generated/google/apis/testing_v1/classes.rb +2 -2
  477. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  478. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  479. data/generated/google/apis/tpu_v1.rb +1 -1
  480. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  481. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  482. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  483. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  484. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  485. data/generated/google/apis/translate_v3.rb +1 -1
  486. data/generated/google/apis/translate_v3/classes.rb +2 -2
  487. data/generated/google/apis/vault_v1.rb +1 -1
  488. data/generated/google/apis/vault_v1/classes.rb +80 -103
  489. data/generated/google/apis/vault_v1/service.rb +31 -37
  490. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  491. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  492. data/generated/google/apis/videointelligence_v1.rb +1 -1
  493. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  494. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  495. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  496. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  497. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  498. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  499. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  501. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  502. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  504. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  505. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  507. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  508. data/generated/google/apis/vision_v1.rb +1 -1
  509. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  511. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  512. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  513. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  514. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  515. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  516. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  517. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  518. data/generated/google/apis/workflows_v1beta.rb +34 -0
  519. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  520. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  521. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  522. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  523. data/generated/google/apis/youtube_v3.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  525. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  526. data/generated/google/apis/youtube_v3/service.rb +2 -197
  527. data/google-api-client.gemspec +2 -1
  528. data/lib/google/apis/version.rb +1 -1
  529. metadata +70 -16
  530. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  531. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  532. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  533. data/generated/google/apis/plus_v1.rb +0 -43
  534. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  535. data/generated/google/apis/plus_v1/representations.rb +0 -907
  536. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -48,6 +48,293 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Query your data with filters and parameters that you define. Returns zero or
52
+ # more rows grouped by the row keys that you define. You must define a date
53
+ # range of one or more days. When date is one of the group by values, any days
54
+ # without data are omitted from the result list. If you need to know which days
55
+ # have data, issue a broad date range query grouped by date for any metric, and
56
+ # see which day rows are returned.
57
+ # @param [String] site_url
58
+ # The site's URL, including protocol. For example: `http://www.example.com/`.
59
+ # @param [Google::Apis::SearchconsoleV1::SearchAnalyticsQueryRequest] search_analytics_query_request_object
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def query_searchanalytic(site_url, search_analytics_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:post, 'webmasters/v3/sites/{siteUrl}/searchAnalytics/query', options)
79
+ command.request_representation = Google::Apis::SearchconsoleV1::SearchAnalyticsQueryRequest::Representation
80
+ command.request_object = search_analytics_query_request_object
81
+ command.response_representation = Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse::Representation
82
+ command.response_class = Google::Apis::SearchconsoleV1::SearchAnalyticsQueryResponse
83
+ command.params['siteUrl'] = site_url unless site_url.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
89
+ # Deletes a sitemap from this site.
90
+ # @param [String] site_url
91
+ # The site's URL, including protocol. For example: `http://www.example.com/`.
92
+ # @param [String] feedpath
93
+ # The URL of the actual sitemap. For example: `http://www.example.com/sitemap.
94
+ # xml`.
95
+ # @param [String] fields
96
+ # Selector specifying which fields to include in a partial response.
97
+ # @param [String] quota_user
98
+ # Available to use for quota purposes for server-side applications. Can be any
99
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
100
+ # @param [Google::Apis::RequestOptions] options
101
+ # Request-specific options
102
+ #
103
+ # @yield [result, err] Result & error if block supplied
104
+ # @yieldparam result [NilClass] No result returned for this method
105
+ # @yieldparam err [StandardError] error object if request failed
106
+ #
107
+ # @return [void]
108
+ #
109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
112
+ def delete_sitemap(site_url, feedpath, fields: nil, quota_user: nil, options: nil, &block)
113
+ command = make_simple_command(:delete, 'webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}', options)
114
+ command.params['siteUrl'] = site_url unless site_url.nil?
115
+ command.params['feedpath'] = feedpath unless feedpath.nil?
116
+ command.query['fields'] = fields unless fields.nil?
117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
118
+ execute_or_queue_command(command, &block)
119
+ end
120
+
121
+ # Retrieves information about a specific sitemap.
122
+ # @param [String] site_url
123
+ # The site's URL, including protocol. For example: `http://www.example.com/`.
124
+ # @param [String] feedpath
125
+ # The URL of the actual sitemap. For example: `http://www.example.com/sitemap.
126
+ # xml`.
127
+ # @param [String] fields
128
+ # Selector specifying which fields to include in a partial response.
129
+ # @param [String] quota_user
130
+ # Available to use for quota purposes for server-side applications. Can be any
131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
132
+ # @param [Google::Apis::RequestOptions] options
133
+ # Request-specific options
134
+ #
135
+ # @yield [result, err] Result & error if block supplied
136
+ # @yieldparam result [Google::Apis::SearchconsoleV1::WmxSitemap] parsed result object
137
+ # @yieldparam err [StandardError] error object if request failed
138
+ #
139
+ # @return [Google::Apis::SearchconsoleV1::WmxSitemap]
140
+ #
141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
144
+ def get_sitemap(site_url, feedpath, fields: nil, quota_user: nil, options: nil, &block)
145
+ command = make_simple_command(:get, 'webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}', options)
146
+ command.response_representation = Google::Apis::SearchconsoleV1::WmxSitemap::Representation
147
+ command.response_class = Google::Apis::SearchconsoleV1::WmxSitemap
148
+ command.params['siteUrl'] = site_url unless site_url.nil?
149
+ command.params['feedpath'] = feedpath unless feedpath.nil?
150
+ command.query['fields'] = fields unless fields.nil?
151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
152
+ execute_or_queue_command(command, &block)
153
+ end
154
+
155
+ # Lists the [sitemaps-entries](/webmaster-tools/v3/sitemaps) submitted for this
156
+ # site, or included in the sitemap index file (if `sitemapIndex` is specified in
157
+ # the request).
158
+ # @param [String] site_url
159
+ # The site's URL, including protocol. For example: `http://www.example.com/`.
160
+ # @param [String] sitemap_index
161
+ # A URL of a site's sitemap index. For example: `http://www.example.com/
162
+ # sitemapindex.xml`.
163
+ # @param [String] fields
164
+ # Selector specifying which fields to include in a partial response.
165
+ # @param [String] quota_user
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
168
+ # @param [Google::Apis::RequestOptions] options
169
+ # Request-specific options
170
+ #
171
+ # @yield [result, err] Result & error if block supplied
172
+ # @yieldparam result [Google::Apis::SearchconsoleV1::SitemapsListResponse] parsed result object
173
+ # @yieldparam err [StandardError] error object if request failed
174
+ #
175
+ # @return [Google::Apis::SearchconsoleV1::SitemapsListResponse]
176
+ #
177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
180
+ def list_sitemaps(site_url, sitemap_index: nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:get, 'webmasters/v3/sites/{siteUrl}/sitemaps', options)
182
+ command.response_representation = Google::Apis::SearchconsoleV1::SitemapsListResponse::Representation
183
+ command.response_class = Google::Apis::SearchconsoleV1::SitemapsListResponse
184
+ command.params['siteUrl'] = site_url unless site_url.nil?
185
+ command.query['sitemapIndex'] = sitemap_index unless sitemap_index.nil?
186
+ command.query['fields'] = fields unless fields.nil?
187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
188
+ execute_or_queue_command(command, &block)
189
+ end
190
+
191
+ # Submits a sitemap for a site.
192
+ # @param [String] site_url
193
+ # The site's URL, including protocol. For example: `http://www.example.com/`.
194
+ # @param [String] feedpath
195
+ # The URL of the actual sitemap. For example: `http://www.example.com/sitemap.
196
+ # xml`.
197
+ # @param [String] fields
198
+ # Selector specifying which fields to include in a partial response.
199
+ # @param [String] quota_user
200
+ # Available to use for quota purposes for server-side applications. Can be any
201
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
202
+ # @param [Google::Apis::RequestOptions] options
203
+ # Request-specific options
204
+ #
205
+ # @yield [result, err] Result & error if block supplied
206
+ # @yieldparam result [NilClass] No result returned for this method
207
+ # @yieldparam err [StandardError] error object if request failed
208
+ #
209
+ # @return [void]
210
+ #
211
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
214
+ def submit_sitemap(site_url, feedpath, fields: nil, quota_user: nil, options: nil, &block)
215
+ command = make_simple_command(:put, 'webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}', options)
216
+ command.params['siteUrl'] = site_url unless site_url.nil?
217
+ command.params['feedpath'] = feedpath unless feedpath.nil?
218
+ command.query['fields'] = fields unless fields.nil?
219
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
220
+ execute_or_queue_command(command, &block)
221
+ end
222
+
223
+ # Adds a site to the set of the user's sites in Search Console.
224
+ # @param [String] site_url
225
+ # The URL of the site to add.
226
+ # @param [String] fields
227
+ # Selector specifying which fields to include in a partial response.
228
+ # @param [String] quota_user
229
+ # Available to use for quota purposes for server-side applications. Can be any
230
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
231
+ # @param [Google::Apis::RequestOptions] options
232
+ # Request-specific options
233
+ #
234
+ # @yield [result, err] Result & error if block supplied
235
+ # @yieldparam result [NilClass] No result returned for this method
236
+ # @yieldparam err [StandardError] error object if request failed
237
+ #
238
+ # @return [void]
239
+ #
240
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
241
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
242
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
243
+ def add_site(site_url, fields: nil, quota_user: nil, options: nil, &block)
244
+ command = make_simple_command(:put, 'webmasters/v3/sites/{siteUrl}', options)
245
+ command.params['siteUrl'] = site_url unless site_url.nil?
246
+ command.query['fields'] = fields unless fields.nil?
247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
248
+ execute_or_queue_command(command, &block)
249
+ end
250
+
251
+ # Removes a site from the set of the user's Search Console sites.
252
+ # @param [String] site_url
253
+ # The URI of the property as defined in Search Console. **Examples:** `http://
254
+ # www.example.com/` or `sc-domain:example.com`.
255
+ # @param [String] fields
256
+ # Selector specifying which fields to include in a partial response.
257
+ # @param [String] quota_user
258
+ # Available to use for quota purposes for server-side applications. Can be any
259
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
260
+ # @param [Google::Apis::RequestOptions] options
261
+ # Request-specific options
262
+ #
263
+ # @yield [result, err] Result & error if block supplied
264
+ # @yieldparam result [NilClass] No result returned for this method
265
+ # @yieldparam err [StandardError] error object if request failed
266
+ #
267
+ # @return [void]
268
+ #
269
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
272
+ def delete_site(site_url, fields: nil, quota_user: nil, options: nil, &block)
273
+ command = make_simple_command(:delete, 'webmasters/v3/sites/{siteUrl}', options)
274
+ command.params['siteUrl'] = site_url unless site_url.nil?
275
+ command.query['fields'] = fields unless fields.nil?
276
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
277
+ execute_or_queue_command(command, &block)
278
+ end
279
+
280
+ # Retrieves information about specific site.
281
+ # @param [String] site_url
282
+ # The URI of the property as defined in Search Console. **Examples:** `http://
283
+ # www.example.com/` or `sc-domain:example.com`.
284
+ # @param [String] fields
285
+ # Selector specifying which fields to include in a partial response.
286
+ # @param [String] quota_user
287
+ # Available to use for quota purposes for server-side applications. Can be any
288
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
289
+ # @param [Google::Apis::RequestOptions] options
290
+ # Request-specific options
291
+ #
292
+ # @yield [result, err] Result & error if block supplied
293
+ # @yieldparam result [Google::Apis::SearchconsoleV1::WmxSite] parsed result object
294
+ # @yieldparam err [StandardError] error object if request failed
295
+ #
296
+ # @return [Google::Apis::SearchconsoleV1::WmxSite]
297
+ #
298
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
299
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
300
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
301
+ def get_site(site_url, fields: nil, quota_user: nil, options: nil, &block)
302
+ command = make_simple_command(:get, 'webmasters/v3/sites/{siteUrl}', options)
303
+ command.response_representation = Google::Apis::SearchconsoleV1::WmxSite::Representation
304
+ command.response_class = Google::Apis::SearchconsoleV1::WmxSite
305
+ command.params['siteUrl'] = site_url unless site_url.nil?
306
+ command.query['fields'] = fields unless fields.nil?
307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
308
+ execute_or_queue_command(command, &block)
309
+ end
310
+
311
+ # Lists the user's Search Console sites.
312
+ # @param [String] fields
313
+ # Selector specifying which fields to include in a partial response.
314
+ # @param [String] quota_user
315
+ # Available to use for quota purposes for server-side applications. Can be any
316
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
317
+ # @param [Google::Apis::RequestOptions] options
318
+ # Request-specific options
319
+ #
320
+ # @yield [result, err] Result & error if block supplied
321
+ # @yieldparam result [Google::Apis::SearchconsoleV1::SitesListResponse] parsed result object
322
+ # @yieldparam err [StandardError] error object if request failed
323
+ #
324
+ # @return [Google::Apis::SearchconsoleV1::SitesListResponse]
325
+ #
326
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
327
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
329
+ def list_sites(fields: nil, quota_user: nil, options: nil, &block)
330
+ command = make_simple_command(:get, 'webmasters/v3/sites', options)
331
+ command.response_representation = Google::Apis::SearchconsoleV1::SitesListResponse::Representation
332
+ command.response_class = Google::Apis::SearchconsoleV1::SitesListResponse
333
+ command.query['fields'] = fields unless fields.nil?
334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
335
+ execute_or_queue_command(command, &block)
336
+ end
337
+
51
338
  # Runs Mobile-Friendly Test for a given URL.
52
339
  # @param [Google::Apis::SearchconsoleV1::RunMobileFriendlyTestRequest] run_mobile_friendly_test_request_object
53
340
  # @param [String] fields
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/secret-manager/
27
27
  module SecretmanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200807'
29
+ REVISION = '20200911'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -145,12 +145,39 @@ module Google
145
145
  class Automatic
146
146
  include Google::Apis::Core::Hashable
147
147
 
148
+ # Configuration for encrypting secret payloads using customer-managed encryption
149
+ # keys (CMEK).
150
+ # Corresponds to the JSON property `customerManagedEncryption`
151
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryption]
152
+ attr_accessor :customer_managed_encryption
153
+
154
+ def initialize(**args)
155
+ update!(**args)
156
+ end
157
+
158
+ # Update properties of this object
159
+ def update!(**args)
160
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
161
+ end
162
+ end
163
+
164
+ # The replication status of a SecretVersion using automatic replication. Only
165
+ # populated if the parent Secret has an automatic replication policy.
166
+ class AutomaticStatus
167
+ include Google::Apis::Core::Hashable
168
+
169
+ # Describes the status of customer-managed encryption.
170
+ # Corresponds to the JSON property `customerManagedEncryption`
171
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus]
172
+ attr_accessor :customer_managed_encryption
173
+
148
174
  def initialize(**args)
149
175
  update!(**args)
150
176
  end
151
177
 
152
178
  # Update properties of this object
153
179
  def update!(**args)
180
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
154
181
  end
155
182
  end
156
183
 
@@ -158,6 +185,12 @@ module Google
158
185
  class Binding
159
186
  include Google::Apis::Core::Hashable
160
187
 
188
+ # A client-specified ID for this binding. Expected to be globally unique to
189
+ # support the internal bindings-by-ID API.
190
+ # Corresponds to the JSON property `bindingId`
191
+ # @return [String]
192
+ attr_accessor :binding_id
193
+
161
194
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
162
195
  # CEL is a C-like expression language. The syntax and semantics of CEL are
163
196
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -219,12 +252,59 @@ module Google
219
252
 
220
253
  # Update properties of this object
221
254
  def update!(**args)
255
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
222
256
  @condition = args[:condition] if args.key?(:condition)
223
257
  @members = args[:members] if args.key?(:members)
224
258
  @role = args[:role] if args.key?(:role)
225
259
  end
226
260
  end
227
261
 
262
+ # Configuration for encrypting secret payloads using customer-managed encryption
263
+ # keys (CMEK).
264
+ class CustomerManagedEncryption
265
+ include Google::Apis::Core::Hashable
266
+
267
+ # Required. The resource name of the Cloud KMS CryptoKey used to encrypt secret
268
+ # payloads. For secrets using the UserManaged replication policy type, Cloud KMS
269
+ # CryptoKeys must reside in the same location as the replica location. For
270
+ # secrets using the Automatic replication policy type, Cloud KMS CryptoKeys must
271
+ # reside in `global`. The expected format is `projects/*/locations/*/keyRings/*/
272
+ # cryptoKeys/*`.
273
+ # Corresponds to the JSON property `kmsKeyName`
274
+ # @return [String]
275
+ attr_accessor :kms_key_name
276
+
277
+ def initialize(**args)
278
+ update!(**args)
279
+ end
280
+
281
+ # Update properties of this object
282
+ def update!(**args)
283
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
284
+ end
285
+ end
286
+
287
+ # Describes the status of customer-managed encryption.
288
+ class CustomerManagedEncryptionStatus
289
+ include Google::Apis::Core::Hashable
290
+
291
+ # Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt
292
+ # the secret payload, in the following format: `projects/*/locations/*/keyRings/*
293
+ # /cryptoKeys/*/versions/*`.
294
+ # Corresponds to the JSON property `kmsKeyVersionName`
295
+ # @return [String]
296
+ attr_accessor :kms_key_version_name
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
305
+ end
306
+ end
307
+
228
308
  # Request message for SecretManagerService.DestroySecretVersion.
229
309
  class DestroySecretVersionRequest
230
310
  include Google::Apis::Core::Hashable
@@ -565,6 +645,12 @@ module Google
565
645
  class Replica
566
646
  include Google::Apis::Core::Hashable
567
647
 
648
+ # Configuration for encrypting secret payloads using customer-managed encryption
649
+ # keys (CMEK).
650
+ # Corresponds to the JSON property `customerManagedEncryption`
651
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryption]
652
+ attr_accessor :customer_managed_encryption
653
+
568
654
  # The canonical IDs of the location to replicate data. For example: `"us-east1"`.
569
655
  # Corresponds to the JSON property `location`
570
656
  # @return [String]
@@ -576,11 +662,38 @@ module Google
576
662
 
577
663
  # Update properties of this object
578
664
  def update!(**args)
665
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
666
+ @location = args[:location] if args.key?(:location)
667
+ end
668
+ end
669
+
670
+ # Describes the status of a user-managed replica for the SecretVersion.
671
+ class ReplicaStatus
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # Describes the status of customer-managed encryption.
675
+ # Corresponds to the JSON property `customerManagedEncryption`
676
+ # @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus]
677
+ attr_accessor :customer_managed_encryption
678
+
679
+ # Output only. The canonical ID of the replica location. For example: `"us-east1"
680
+ # `.
681
+ # Corresponds to the JSON property `location`
682
+ # @return [String]
683
+ attr_accessor :location
684
+
685
+ def initialize(**args)
686
+ update!(**args)
687
+ end
688
+
689
+ # Update properties of this object
690
+ def update!(**args)
691
+ @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
579
692
  @location = args[:location] if args.key?(:location)
580
693
  end
581
694
  end
582
695
 
583
- # A policy that defines the replication configuration of data.
696
+ # A policy that defines the replication and encryption configuration of data.
584
697
  class Replication
585
698
  include Google::Apis::Core::Hashable
586
699
 
@@ -607,6 +720,33 @@ module Google
607
720
  end
608
721
  end
609
722
 
723
+ # The replication status of a SecretVersion.
724
+ class ReplicationStatus
725
+ include Google::Apis::Core::Hashable
726
+
727
+ # The replication status of a SecretVersion using automatic replication. Only
728
+ # populated if the parent Secret has an automatic replication policy.
729
+ # Corresponds to the JSON property `automatic`
730
+ # @return [Google::Apis::SecretmanagerV1::AutomaticStatus]
731
+ attr_accessor :automatic
732
+
733
+ # The replication status of a SecretVersion using user-managed replication. Only
734
+ # populated if the parent Secret has a user-managed replication policy.
735
+ # Corresponds to the JSON property `userManaged`
736
+ # @return [Google::Apis::SecretmanagerV1::UserManagedStatus]
737
+ attr_accessor :user_managed
738
+
739
+ def initialize(**args)
740
+ update!(**args)
741
+ end
742
+
743
+ # Update properties of this object
744
+ def update!(**args)
745
+ @automatic = args[:automatic] if args.key?(:automatic)
746
+ @user_managed = args[:user_managed] if args.key?(:user_managed)
747
+ end
748
+ end
749
+
610
750
  # A Secret is a logical secret whose value and versions can be accessed. A
611
751
  # Secret is made up of zero or more SecretVersions that represent the secret
612
752
  # data.
@@ -634,7 +774,7 @@ module Google
634
774
  # @return [String]
635
775
  attr_accessor :name
636
776
 
637
- # A policy that defines the replication configuration of data.
777
+ # A policy that defines the replication and encryption configuration of data.
638
778
  # Corresponds to the JSON property `replication`
639
779
  # @return [Google::Apis::SecretmanagerV1::Replication]
640
780
  attr_accessor :replication
@@ -695,6 +835,11 @@ module Google
695
835
  # @return [String]
696
836
  attr_accessor :name
697
837
 
838
+ # The replication status of a SecretVersion.
839
+ # Corresponds to the JSON property `replicationStatus`
840
+ # @return [Google::Apis::SecretmanagerV1::ReplicationStatus]
841
+ attr_accessor :replication_status
842
+
698
843
  # Output only. The current state of the SecretVersion.
699
844
  # Corresponds to the JSON property `state`
700
845
  # @return [String]
@@ -709,6 +854,7 @@ module Google
709
854
  @create_time = args[:create_time] if args.key?(:create_time)
710
855
  @destroy_time = args[:destroy_time] if args.key?(:destroy_time)
711
856
  @name = args[:name] if args.key?(:name)
857
+ @replication_status = args[:replication_status] if args.key?(:replication_status)
712
858
  @state = args[:state] if args.key?(:state)
713
859
  end
714
860
  end
@@ -825,6 +971,26 @@ module Google
825
971
  @replicas = args[:replicas] if args.key?(:replicas)
826
972
  end
827
973
  end
974
+
975
+ # The replication status of a SecretVersion using user-managed replication. Only
976
+ # populated if the parent Secret has a user-managed replication policy.
977
+ class UserManagedStatus
978
+ include Google::Apis::Core::Hashable
979
+
980
+ # Output only. The list of replica statuses for the SecretVersion.
981
+ # Corresponds to the JSON property `replicas`
982
+ # @return [Array<Google::Apis::SecretmanagerV1::ReplicaStatus>]
983
+ attr_accessor :replicas
984
+
985
+ def initialize(**args)
986
+ update!(**args)
987
+ end
988
+
989
+ # Update properties of this object
990
+ def update!(**args)
991
+ @replicas = args[:replicas] if args.key?(:replicas)
992
+ end
993
+ end
828
994
  end
829
995
  end
830
996
  end