google-api-client 0.41.0 → 0.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -44,7 +44,7 @@ module Google
44
44
 
45
45
  def initialize
46
46
  super('https://www.googleapis.com/', '')
47
- @batch_path = 'batch/androidpublisher'
47
+ @batch_path = 'batch/androidpublisher/v3'
48
48
  end
49
49
 
50
50
  # Commits an app edit.
@@ -2255,6 +2255,154 @@ module Google
2255
2255
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2256
2256
  execute_or_queue_command(command, &block)
2257
2257
  end
2258
+
2259
+ # Creates an APK which is suitable for inclusion in a system image from an
2260
+ # already uploaded Android App Bundle.
2261
+ # @param [String] package_name
2262
+ # Unique identifier of the Android app.
2263
+ # @param [Fixnum] version_code
2264
+ # The version code of the App Bundle.
2265
+ # @param [Google::Apis::AndroidpublisherV3::Variant] variant_object
2266
+ # @param [String] fields
2267
+ # Selector specifying which fields to include in a partial response.
2268
+ # @param [String] quota_user
2269
+ # Available to use for quota purposes for server-side applications. Can be any
2270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2271
+ # @param [Google::Apis::RequestOptions] options
2272
+ # Request-specific options
2273
+ #
2274
+ # @yield [result, err] Result & error if block supplied
2275
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
2276
+ # @yieldparam err [StandardError] error object if request failed
2277
+ #
2278
+ # @return [Google::Apis::AndroidpublisherV3::Variant]
2279
+ #
2280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2283
+ def create_systemapk_variant(package_name, version_code, variant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2284
+ command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options)
2285
+ command.request_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
2286
+ command.request_object = variant_object
2287
+ command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
2288
+ command.response_class = Google::Apis::AndroidpublisherV3::Variant
2289
+ command.params['packageName'] = package_name unless package_name.nil?
2290
+ command.params['versionCode'] = version_code unless version_code.nil?
2291
+ command.query['fields'] = fields unless fields.nil?
2292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2293
+ execute_or_queue_command(command, &block)
2294
+ end
2295
+
2296
+ # Downloads a previously created system APK which is suitable for inclusion
2297
+ # in a system image.
2298
+ # @param [String] package_name
2299
+ # Unique identifier of the Android app.
2300
+ # @param [Fixnum] version_code
2301
+ # The version code of the App Bundle.
2302
+ # @param [Fixnum] variant_id
2303
+ # The ID of a previously created system APK variant.
2304
+ # @param [String] fields
2305
+ # Selector specifying which fields to include in a partial response.
2306
+ # @param [String] quota_user
2307
+ # Available to use for quota purposes for server-side applications. Can be any
2308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2309
+ # @param [IO, String] download_dest
2310
+ # IO stream or filename to receive content download
2311
+ # @param [Google::Apis::RequestOptions] options
2312
+ # Request-specific options
2313
+ #
2314
+ # @yield [result, err] Result & error if block supplied
2315
+ # @yieldparam result [NilClass] No result returned for this method
2316
+ # @yieldparam err [StandardError] error object if request failed
2317
+ #
2318
+ # @return [void]
2319
+ #
2320
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2321
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2322
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2323
+ def download_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
2324
+ if download_dest.nil?
2325
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
2326
+ else
2327
+ command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
2328
+ command.download_dest = download_dest
2329
+ end
2330
+ command.params['packageName'] = package_name unless package_name.nil?
2331
+ command.params['versionCode'] = version_code unless version_code.nil?
2332
+ command.params['variantId'] = variant_id unless variant_id.nil?
2333
+ command.query['fields'] = fields unless fields.nil?
2334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2335
+ execute_or_queue_command(command, &block)
2336
+ end
2337
+
2338
+ # Returns a previously created system APK variant.
2339
+ # @param [String] package_name
2340
+ # Unique identifier of the Android app.
2341
+ # @param [Fixnum] version_code
2342
+ # The version code of the App Bundle.
2343
+ # @param [Fixnum] variant_id
2344
+ # The ID of a previously created system APK variant.
2345
+ # @param [String] fields
2346
+ # Selector specifying which fields to include in a partial response.
2347
+ # @param [String] quota_user
2348
+ # Available to use for quota purposes for server-side applications. Can be any
2349
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2350
+ # @param [Google::Apis::RequestOptions] options
2351
+ # Request-specific options
2352
+ #
2353
+ # @yield [result, err] Result & error if block supplied
2354
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
2355
+ # @yieldparam err [StandardError] error object if request failed
2356
+ #
2357
+ # @return [Google::Apis::AndroidpublisherV3::Variant]
2358
+ #
2359
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2360
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2361
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2362
+ def get_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, options: nil, &block)
2363
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}', options)
2364
+ command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
2365
+ command.response_class = Google::Apis::AndroidpublisherV3::Variant
2366
+ command.params['packageName'] = package_name unless package_name.nil?
2367
+ command.params['versionCode'] = version_code unless version_code.nil?
2368
+ command.params['variantId'] = variant_id unless variant_id.nil?
2369
+ command.query['fields'] = fields unless fields.nil?
2370
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2371
+ execute_or_queue_command(command, &block)
2372
+ end
2373
+
2374
+ # Returns the list of previously created system APK variants.
2375
+ # @param [String] package_name
2376
+ # Unique identifier of the Android app.
2377
+ # @param [Fixnum] version_code
2378
+ # The version code of the App Bundle.
2379
+ # @param [String] fields
2380
+ # Selector specifying which fields to include in a partial response.
2381
+ # @param [String] quota_user
2382
+ # Available to use for quota purposes for server-side applications. Can be any
2383
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2384
+ # @param [Google::Apis::RequestOptions] options
2385
+ # Request-specific options
2386
+ #
2387
+ # @yield [result, err] Result & error if block supplied
2388
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::SystemApksListResponse] parsed result object
2389
+ # @yieldparam err [StandardError] error object if request failed
2390
+ #
2391
+ # @return [Google::Apis::AndroidpublisherV3::SystemApksListResponse]
2392
+ #
2393
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2394
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2395
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2396
+ def list_systemapk_variants(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block)
2397
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options)
2398
+ command.response_representation = Google::Apis::AndroidpublisherV3::SystemApksListResponse::Representation
2399
+ command.response_class = Google::Apis::AndroidpublisherV3::SystemApksListResponse
2400
+ command.params['packageName'] = package_name unless package_name.nil?
2401
+ command.params['versionCode'] = version_code unless version_code.nil?
2402
+ command.query['fields'] = fields unless fields.nil?
2403
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2404
+ execute_or_queue_command(command, &block)
2405
+ end
2258
2406
 
2259
2407
  protected
2260
2408
 
@@ -31,7 +31,7 @@ module Google
31
31
  # @see https://cloud.google.com/apigee-api-management/
32
32
  module ApigeeV1
33
33
  VERSION = 'V1'
34
- REVISION = '20200604'
34
+ REVISION = '20200720'
35
35
 
36
36
  # View and manage your data across Google Cloud Platform services
37
37
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -791,17 +791,17 @@ module Google
791
791
  class GoogleCloudApigeeV1AsyncQuery
792
792
  include Google::Apis::Core::Hashable
793
793
 
794
- # Creation time of the query
794
+ # Creation time of the query.
795
795
  # Corresponds to the JSON property `created`
796
796
  # @return [String]
797
797
  attr_accessor :created
798
798
 
799
- # Error is set when query fails
799
+ # Error is set when query fails.
800
800
  # Corresponds to the JSON property `error`
801
801
  # @return [String]
802
802
  attr_accessor :error
803
803
 
804
- # ExecutionTime is available only after the query is completed
804
+ # ExecutionTime is available only after the query is completed.
805
805
  # Corresponds to the JSON property `executionTime`
806
806
  # @return [String]
807
807
  attr_accessor :execution_time
@@ -811,8 +811,7 @@ module Google
811
811
  # @return [String]
812
812
  attr_accessor :name
813
813
 
814
- # Contains information like metrics, dimenstions etc
815
- # of the AsyncQuery
814
+ # Contains information like metrics, dimenstions etc of the AsyncQuery.
816
815
  # Corresponds to the JSON property `queryParams`
817
816
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
818
817
  attr_accessor :query_params
@@ -822,22 +821,22 @@ module Google
822
821
  # @return [String]
823
822
  attr_accessor :report_definition_id
824
823
 
825
- # Result is available only after the query is completed
824
+ # Result is available only after the query is completed.
826
825
  # Corresponds to the JSON property `result`
827
826
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult]
828
827
  attr_accessor :result
829
828
 
830
- # ResultFileSize is available only after the query is completed
829
+ # ResultFileSize is available only after the query is completed.
831
830
  # Corresponds to the JSON property `resultFileSize`
832
831
  # @return [String]
833
832
  attr_accessor :result_file_size
834
833
 
835
- # ResultRows is available only after the query is completed
834
+ # ResultRows is available only after the query is completed.
836
835
  # Corresponds to the JSON property `resultRows`
837
836
  # @return [Fixnum]
838
837
  attr_accessor :result_rows
839
838
 
840
- # Self link of the query
839
+ # Self link of the query.
841
840
  # Example:
842
841
  # `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
843
842
  # 318d0cb961bd`
@@ -845,13 +844,12 @@ module Google
845
844
  # @return [String]
846
845
  attr_accessor :self
847
846
 
848
- # Query state could be "enqueued", "running", "completed",
849
- # "failed"
847
+ # Query state could be "enqueued", "running", "completed", "failed".
850
848
  # Corresponds to the JSON property `state`
851
849
  # @return [String]
852
850
  attr_accessor :state
853
851
 
854
- # Last updated timestamp for the query
852
+ # Last updated timestamp for the query.
855
853
  # Corresponds to the JSON property `updated`
856
854
  # @return [String]
857
855
  attr_accessor :updated
@@ -886,7 +884,7 @@ module Google
886
884
  # @return [String]
887
885
  attr_accessor :expires
888
886
 
889
- # Self link of the query results
887
+ # Self link of the query results.
890
888
  # Example:
891
889
  # `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
892
890
  # 318d0cb961bd/result`
@@ -1341,6 +1339,169 @@ module Google
1341
1339
  end
1342
1340
  end
1343
1341
 
1342
+ # A DataCollector and its configuration.
1343
+ class GoogleCloudApigeeV1DataCollectorConfig
1344
+ include Google::Apis::Core::Hashable
1345
+
1346
+ # The name of the data collector. Must be of the form
1347
+ # 'organizations/`org`/datacollectors/`dc`'.
1348
+ # Corresponds to the JSON property `name`
1349
+ # @return [String]
1350
+ attr_accessor :name
1351
+
1352
+ # The data type this DataCollector accepts.
1353
+ # Corresponds to the JSON property `type`
1354
+ # @return [String]
1355
+ attr_accessor :type
1356
+
1357
+ def initialize(**args)
1358
+ update!(**args)
1359
+ end
1360
+
1361
+ # Update properties of this object
1362
+ def update!(**args)
1363
+ @name = args[:name] if args.key?(:name)
1364
+ @type = args[:type] if args.key?(:type)
1365
+ end
1366
+ end
1367
+
1368
+ # The data store defines the connection to export data repository
1369
+ # (Cloud Storage, BigQuery), including the credentials used to access the data
1370
+ # repository.
1371
+ class GoogleCloudApigeeV1Datastore
1372
+ include Google::Apis::Core::Hashable
1373
+
1374
+ # Output only. Datastore create time, in milliseconds since the epoch
1375
+ # of 1970-01-01T00:00:00Z
1376
+ # Corresponds to the JSON property `createTime`
1377
+ # @return [Fixnum]
1378
+ attr_accessor :create_time
1379
+
1380
+ # Configuration detail for datastore
1381
+ # Corresponds to the JSON property `datastoreConfig`
1382
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig]
1383
+ attr_accessor :datastore_config
1384
+
1385
+ # Required. Display name in UI
1386
+ # Corresponds to the JSON property `displayName`
1387
+ # @return [String]
1388
+ attr_accessor :display_name
1389
+
1390
+ # Output only. Datastore last update time, in milliseconds since the epoch
1391
+ # of 1970-01-01T00:00:00Z
1392
+ # Corresponds to the JSON property `lastUpdateTime`
1393
+ # @return [Fixnum]
1394
+ attr_accessor :last_update_time
1395
+
1396
+ # Output only. Organization that the datastore belongs to
1397
+ # Corresponds to the JSON property `org`
1398
+ # @return [String]
1399
+ attr_accessor :org
1400
+
1401
+ # Output only. Resource link of Datastore.
1402
+ # Example: `/organizations/`org`/analytics/datastores/`uuid``
1403
+ # Corresponds to the JSON property `self`
1404
+ # @return [String]
1405
+ attr_accessor :self
1406
+
1407
+ # Destination storage type.
1408
+ # Supported types `gcs` or `bigquery`.
1409
+ # Corresponds to the JSON property `targetType`
1410
+ # @return [String]
1411
+ attr_accessor :target_type
1412
+
1413
+ def initialize(**args)
1414
+ update!(**args)
1415
+ end
1416
+
1417
+ # Update properties of this object
1418
+ def update!(**args)
1419
+ @create_time = args[:create_time] if args.key?(:create_time)
1420
+ @datastore_config = args[:datastore_config] if args.key?(:datastore_config)
1421
+ @display_name = args[:display_name] if args.key?(:display_name)
1422
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1423
+ @org = args[:org] if args.key?(:org)
1424
+ @self = args[:self] if args.key?(:self)
1425
+ @target_type = args[:target_type] if args.key?(:target_type)
1426
+ end
1427
+ end
1428
+
1429
+ # Configuration detail for datastore
1430
+ class GoogleCloudApigeeV1DatastoreConfig
1431
+ include Google::Apis::Core::Hashable
1432
+
1433
+ # Name of the Cloud Storage bucket.
1434
+ # Required for `gcs` target_type.
1435
+ # Corresponds to the JSON property `bucketName`
1436
+ # @return [String]
1437
+ attr_accessor :bucket_name
1438
+
1439
+ # BigQuery dataset name
1440
+ # Required for `bigquery` target_type.
1441
+ # Corresponds to the JSON property `datasetName`
1442
+ # @return [String]
1443
+ attr_accessor :dataset_name
1444
+
1445
+ # Path of Cloud Storage bucket
1446
+ # Required for `gcs` target_type.
1447
+ # Corresponds to the JSON property `path`
1448
+ # @return [String]
1449
+ attr_accessor :path
1450
+
1451
+ # Required. GCP project in which the datastore exists
1452
+ # Corresponds to the JSON property `projectId`
1453
+ # @return [String]
1454
+ attr_accessor :project_id
1455
+
1456
+ # Prefix of BigQuery table
1457
+ # Required for `bigquery` target_type.
1458
+ # Corresponds to the JSON property `tablePrefix`
1459
+ # @return [String]
1460
+ attr_accessor :table_prefix
1461
+
1462
+ def initialize(**args)
1463
+ update!(**args)
1464
+ end
1465
+
1466
+ # Update properties of this object
1467
+ def update!(**args)
1468
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
1469
+ @dataset_name = args[:dataset_name] if args.key?(:dataset_name)
1470
+ @path = args[:path] if args.key?(:path)
1471
+ @project_id = args[:project_id] if args.key?(:project_id)
1472
+ @table_prefix = args[:table_prefix] if args.key?(:table_prefix)
1473
+ end
1474
+ end
1475
+
1476
+ # Date range of the data to export.
1477
+ class GoogleCloudApigeeV1DateRange
1478
+ include Google::Apis::Core::Hashable
1479
+
1480
+ # Required. End date (exclusive) of the data to export in the format `yyyy-mm-dd`
1481
+ # .
1482
+ # The date range ends at 00:00:00 UTC on the end date- which will not be in
1483
+ # the output.
1484
+ # Corresponds to the JSON property `end`
1485
+ # @return [String]
1486
+ attr_accessor :end
1487
+
1488
+ # Required. Start date of the data to export in the format `yyyy-mm-dd`.
1489
+ # The date range begins at 00:00:00 UTC on the start date.
1490
+ # Corresponds to the JSON property `start`
1491
+ # @return [String]
1492
+ attr_accessor :start
1493
+
1494
+ def initialize(**args)
1495
+ update!(**args)
1496
+ end
1497
+
1498
+ # Update properties of this object
1499
+ def update!(**args)
1500
+ @end = args[:end] if args.key?(:end)
1501
+ @start = args[:start] if args.key?(:start)
1502
+ end
1503
+ end
1504
+
1344
1505
  #
1345
1506
  class GoogleCloudApigeeV1DebugMask
1346
1507
  include Google::Apis::Core::Hashable
@@ -1544,7 +1705,20 @@ module Google
1544
1705
  # @return [String]
1545
1706
  attr_accessor :environment
1546
1707
 
1547
- # Status reported by runtime pods.
1708
+ # Errors reported for this deployment. Populated only when state == ERROR.
1709
+ # This field is not populated in List APIs.
1710
+ # Corresponds to the JSON property `errors`
1711
+ # @return [Array<Google::Apis::ApigeeV1::GoogleRpcStatus>]
1712
+ attr_accessor :errors
1713
+
1714
+ # Status reported by each runtime instance.
1715
+ # This field is not populated in List APIs.
1716
+ # Corresponds to the JSON property `instances`
1717
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus>]
1718
+ attr_accessor :instances
1719
+
1720
+ # Status reported by runtime pods. This field is not populated for List
1721
+ # APIs.
1548
1722
  # Corresponds to the JSON property `pods`
1549
1723
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
1550
1724
  attr_accessor :pods
@@ -1554,6 +1728,22 @@ module Google
1554
1728
  # @return [String]
1555
1729
  attr_accessor :revision
1556
1730
 
1731
+ # Conflicts in the desired state routing configuration. The presence of
1732
+ # conflicts does not cause the state to be ERROR, but it will mean that
1733
+ # some of the deployments basepaths are not routed to its environment. If
1734
+ # the conflicts change, the state will transition to PROGRESSING until the
1735
+ # latest configuration is rolled out to all instances.
1736
+ # This field is not populated in List APIs.
1737
+ # Corresponds to the JSON property `routeConflicts`
1738
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
1739
+ attr_accessor :route_conflicts
1740
+
1741
+ # Current state of the deployment.
1742
+ # This field is not populated in List APIs.
1743
+ # Corresponds to the JSON property `state`
1744
+ # @return [String]
1745
+ attr_accessor :state
1746
+
1557
1747
  def initialize(**args)
1558
1748
  update!(**args)
1559
1749
  end
@@ -1564,8 +1754,177 @@ module Google
1564
1754
  @base_path = args[:base_path] if args.key?(:base_path)
1565
1755
  @deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
1566
1756
  @environment = args[:environment] if args.key?(:environment)
1757
+ @errors = args[:errors] if args.key?(:errors)
1758
+ @instances = args[:instances] if args.key?(:instances)
1567
1759
  @pods = args[:pods] if args.key?(:pods)
1568
1760
  @revision = args[:revision] if args.key?(:revision)
1761
+ @route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts)
1762
+ @state = args[:state] if args.key?(:state)
1763
+ end
1764
+ end
1765
+
1766
+ # Response for
1767
+ # GenerateDeployChangeReport
1768
+ # and
1769
+ # GenerateUndeployChangeReport.
1770
+ # This report contains any validation failures that would cause the deployment
1771
+ # to be rejected, as well changes and conflicts in routing that may occur due
1772
+ # to the new deployment.
1773
+ # The existence of a routing warning does not necessarily imply that the
1774
+ # deployment request is bad, if the desired state of the deployment request is
1775
+ # to effect a routing change. The primary purposes of the routing messages are:
1776
+ # 1) To inform users of routing changes that may have an effect on traffic
1777
+ # currently being routed to other existing deployments.
1778
+ # 2) To warn users if some basepath in the proxy will not receive traffic due
1779
+ # to an existing deployment having already claimed that basepath.
1780
+ # The presence of routing conflicts/changes will not cause non-dry-run
1781
+ # DeployApiProxy/UndeployApiProxy requests to be rejected.
1782
+ class GoogleCloudApigeeV1DeploymentChangeReport
1783
+ include Google::Apis::Core::Hashable
1784
+
1785
+ # All routing changes that may result from a deployment request.
1786
+ # Corresponds to the JSON property `routingChanges`
1787
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange>]
1788
+ attr_accessor :routing_changes
1789
+
1790
+ # All basepath conflicts detected for a deployment request.
1791
+ # Corresponds to the JSON property `routingConflicts`
1792
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
1793
+ attr_accessor :routing_conflicts
1794
+
1795
+ # Describes what preconditions have failed.
1796
+ # For example, if an RPC failed because it required the Terms of Service to be
1797
+ # acknowledged, it could list the terms of service violation in the
1798
+ # PreconditionFailure message.
1799
+ # Corresponds to the JSON property `validationErrors`
1800
+ # @return [Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure]
1801
+ attr_accessor :validation_errors
1802
+
1803
+ def initialize(**args)
1804
+ update!(**args)
1805
+ end
1806
+
1807
+ # Update properties of this object
1808
+ def update!(**args)
1809
+ @routing_changes = args[:routing_changes] if args.key?(:routing_changes)
1810
+ @routing_conflicts = args[:routing_conflicts] if args.key?(:routing_conflicts)
1811
+ @validation_errors = args[:validation_errors] if args.key?(:validation_errors)
1812
+ end
1813
+ end
1814
+
1815
+ # Describes a potential routing change that may occur as a result
1816
+ # of some deployment operation.
1817
+ class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
1818
+ include Google::Apis::Core::Hashable
1819
+
1820
+ # A human-readable description of this routing change.
1821
+ # Corresponds to the JSON property `description`
1822
+ # @return [String]
1823
+ attr_accessor :description
1824
+
1825
+ # The name of the environment group affected by this routing change.
1826
+ # Corresponds to the JSON property `environmentGroup`
1827
+ # @return [String]
1828
+ attr_accessor :environment_group
1829
+
1830
+ # A tuple representing a basepath and the deployment containing it.
1831
+ # Corresponds to the JSON property `fromDeployment`
1832
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
1833
+ attr_accessor :from_deployment
1834
+
1835
+ # True if using sequenced rollout would make this routing change safer.
1836
+ # Note: this does not necessarily imply that automated sequenced rollout
1837
+ # mode is supported for the operation.
1838
+ # Corresponds to the JSON property `shouldSequenceRollout`
1839
+ # @return [Boolean]
1840
+ attr_accessor :should_sequence_rollout
1841
+ alias_method :should_sequence_rollout?, :should_sequence_rollout
1842
+
1843
+ # A tuple representing a basepath and the deployment containing it.
1844
+ # Corresponds to the JSON property `toDeployment`
1845
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
1846
+ attr_accessor :to_deployment
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @description = args[:description] if args.key?(:description)
1855
+ @environment_group = args[:environment_group] if args.key?(:environment_group)
1856
+ @from_deployment = args[:from_deployment] if args.key?(:from_deployment)
1857
+ @should_sequence_rollout = args[:should_sequence_rollout] if args.key?(:should_sequence_rollout)
1858
+ @to_deployment = args[:to_deployment] if args.key?(:to_deployment)
1859
+ end
1860
+ end
1861
+
1862
+ # Describes a routing conflict that may cause a deployment not to receive
1863
+ # traffic at some basepath.
1864
+ class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict
1865
+ include Google::Apis::Core::Hashable
1866
+
1867
+ # A tuple representing a basepath and the deployment containing it.
1868
+ # Corresponds to the JSON property `conflictingDeployment`
1869
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
1870
+ attr_accessor :conflicting_deployment
1871
+
1872
+ # A human-readable description of this conflict.
1873
+ # Corresponds to the JSON property `description`
1874
+ # @return [String]
1875
+ attr_accessor :description
1876
+
1877
+ # The name of the environment group in which this conflict exists.
1878
+ # Corresponds to the JSON property `environmentGroup`
1879
+ # @return [String]
1880
+ attr_accessor :environment_group
1881
+
1882
+ def initialize(**args)
1883
+ update!(**args)
1884
+ end
1885
+
1886
+ # Update properties of this object
1887
+ def update!(**args)
1888
+ @conflicting_deployment = args[:conflicting_deployment] if args.key?(:conflicting_deployment)
1889
+ @description = args[:description] if args.key?(:description)
1890
+ @environment_group = args[:environment_group] if args.key?(:environment_group)
1891
+ end
1892
+ end
1893
+
1894
+ # A tuple representing a basepath and the deployment containing it.
1895
+ class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
1896
+ include Google::Apis::Core::Hashable
1897
+
1898
+ # The name of the deployed proxy revision containing the basepath.
1899
+ # Corresponds to the JSON property `apiProxy`
1900
+ # @return [String]
1901
+ attr_accessor :api_proxy
1902
+
1903
+ # The basepath receiving traffic.
1904
+ # Corresponds to the JSON property `basepath`
1905
+ # @return [String]
1906
+ attr_accessor :basepath
1907
+
1908
+ # The name of the environment in which the proxy is deployed.
1909
+ # Corresponds to the JSON property `environment`
1910
+ # @return [String]
1911
+ attr_accessor :environment
1912
+
1913
+ # The name of the deployed proxy revision containing the basepath.
1914
+ # Corresponds to the JSON property `revision`
1915
+ # @return [String]
1916
+ attr_accessor :revision
1917
+
1918
+ def initialize(**args)
1919
+ update!(**args)
1920
+ end
1921
+
1922
+ # Update properties of this object
1923
+ def update!(**args)
1924
+ @api_proxy = args[:api_proxy] if args.key?(:api_proxy)
1925
+ @basepath = args[:basepath] if args.key?(:basepath)
1926
+ @environment = args[:environment] if args.key?(:environment)
1927
+ @revision = args[:revision] if args.key?(:revision)
1569
1928
  end
1570
1929
  end
1571
1930
 
@@ -1890,16 +2249,16 @@ module Google
1890
2249
  end
1891
2250
  end
1892
2251
 
1893
- # This message type encapsulates a metric grouped by dimension
2252
+ # This message type encapsulates a metric grouped by dimension.
1894
2253
  class GoogleCloudApigeeV1DimensionMetric
1895
2254
  include Google::Apis::Core::Hashable
1896
2255
 
1897
- # This field contains a list of metrics
2256
+ # This field contains a list of metrics.
1898
2257
  # Corresponds to the JSON property `metrics`
1899
2258
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
1900
2259
  attr_accessor :metrics
1901
2260
 
1902
- # This field contains the name of the dimension
2261
+ # This field contains the name of the dimension.
1903
2262
  # Corresponds to the JSON property `name`
1904
2263
  # @return [String]
1905
2264
  attr_accessor :name
@@ -2008,6 +2367,11 @@ module Google
2008
2367
  # @return [String]
2009
2368
  attr_accessor :create_time
2010
2369
 
2370
+ # The list of Data Collectors used by deployments in the environment.
2371
+ # Corresponds to the JSON property `dataCollectors`
2372
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig>]
2373
+ attr_accessor :data_collectors
2374
+
2011
2375
  # Debug mask that applies to all deployments in the environment.
2012
2376
  # Corresponds to the JSON property `debugMask`
2013
2377
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
@@ -2092,6 +2456,7 @@ module Google
2092
2456
  # Update properties of this object
2093
2457
  def update!(**args)
2094
2458
  @create_time = args[:create_time] if args.key?(:create_time)
2459
+ @data_collectors = args[:data_collectors] if args.key?(:data_collectors)
2095
2460
  @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
2096
2461
  @deployments = args[:deployments] if args.key?(:deployments)
2097
2462
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
@@ -2109,37 +2474,34 @@ module Google
2109
2474
  end
2110
2475
  end
2111
2476
 
2112
- #
2113
- class GoogleCloudApigeeV1FlowHook
2477
+ # EnvironmentGroup configuration. An environment group is used to group one or
2478
+ # more Apigee environments under a single host name.
2479
+ class GoogleCloudApigeeV1EnvironmentGroup
2114
2480
  include Google::Apis::Core::Hashable
2115
2481
 
2116
- # Optional. Flag that specifies whether execution should continue if the flow
2117
- # hook
2118
- # throws an exception. Set to `true` to continue execution. Set to
2119
- # `false` to stop execution if the flow hook throws an exception.Defaults
2120
- # to `true`.
2121
- # Corresponds to the JSON property `continueOnError`
2122
- # @return [Boolean]
2123
- attr_accessor :continue_on_error
2124
- alias_method :continue_on_error?, :continue_on_error
2482
+ # Output only. The time at which the environment group was created as
2483
+ # milliseconds since
2484
+ # epoch.
2485
+ # Corresponds to the JSON property `createdAt`
2486
+ # @return [Fixnum]
2487
+ attr_accessor :created_at
2125
2488
 
2126
- # Description of the flow hook.
2127
- # Corresponds to the JSON property `description`
2128
- # @return [String]
2129
- attr_accessor :description
2489
+ # Required. Host names for this environment group.
2490
+ # Corresponds to the JSON property `hostnames`
2491
+ # @return [Array<String>]
2492
+ attr_accessor :hostnames
2130
2493
 
2131
- # Output only. Where in the API call flow the flow hook is invoked. Must be one
2132
- # of
2133
- # `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or
2134
- # `PostTargetFlowHook`.
2135
- # Corresponds to the JSON property `flowHookPoint`
2136
- # @return [String]
2137
- attr_accessor :flow_hook_point
2494
+ # Output only. The time at which the environment group was last updated as
2495
+ # milliseconds
2496
+ # since epoch.
2497
+ # Corresponds to the JSON property `lastModifiedAt`
2498
+ # @return [Fixnum]
2499
+ attr_accessor :last_modified_at
2138
2500
 
2139
- # Shared flow attached to this flow hook, or empty if there is none attached.
2140
- # Corresponds to the JSON property `sharedFlow`
2501
+ # ID of the environment group.
2502
+ # Corresponds to the JSON property `name`
2141
2503
  # @return [String]
2142
- attr_accessor :shared_flow
2504
+ attr_accessor :name
2143
2505
 
2144
2506
  def initialize(**args)
2145
2507
  update!(**args)
@@ -2147,37 +2509,294 @@ module Google
2147
2509
 
2148
2510
  # Update properties of this object
2149
2511
  def update!(**args)
2150
- @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
2151
- @description = args[:description] if args.key?(:description)
2152
- @flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
2153
- @shared_flow = args[:shared_flow] if args.key?(:shared_flow)
2512
+ @created_at = args[:created_at] if args.key?(:created_at)
2513
+ @hostnames = args[:hostnames] if args.key?(:hostnames)
2514
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2515
+ @name = args[:name] if args.key?(:name)
2154
2516
  end
2155
2517
  end
2156
2518
 
2157
- #
2158
- class GoogleCloudApigeeV1FlowHookConfig
2519
+ # EnvironmentGroupAttachment is a resource which defines an attachment of an
2520
+ # environment to an environment group.
2521
+ class GoogleCloudApigeeV1EnvironmentGroupAttachment
2159
2522
  include Google::Apis::Core::Hashable
2160
2523
 
2161
- # Should the flow abort after an error in the flow hook.
2162
- # Should default to true if unset.
2163
- # Corresponds to the JSON property `continueOnError`
2164
- # @return [Boolean]
2165
- attr_accessor :continue_on_error
2166
- alias_method :continue_on_error?, :continue_on_error
2524
+ # Output only. The time at which the environment group attachment was created as
2525
+ # milliseconds since epoch.
2526
+ # Corresponds to the JSON property `createdAt`
2527
+ # @return [Fixnum]
2528
+ attr_accessor :created_at
2167
2529
 
2168
- # The name of the flow hook. Must be of the form
2169
- # 'organizations/`org`/environments/`env`/flowhooks/`point`''.
2170
- # Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
2171
- # and PostTargetFlowHook
2530
+ # Required. ID of the attached environment.
2531
+ # Corresponds to the JSON property `environment`
2532
+ # @return [String]
2533
+ attr_accessor :environment
2534
+
2535
+ # ID of the environment group attachment.
2172
2536
  # Corresponds to the JSON property `name`
2173
2537
  # @return [String]
2174
2538
  attr_accessor :name
2175
2539
 
2176
- # The name of the shared flow to invoke. Must be of the form
2177
- # 'organizations/`org`/sharedflows/`sharedflow`'.
2178
- # Corresponds to the JSON property `sharedFlowName`
2179
- # @return [String]
2180
- attr_accessor :shared_flow_name
2540
+ def initialize(**args)
2541
+ update!(**args)
2542
+ end
2543
+
2544
+ # Update properties of this object
2545
+ def update!(**args)
2546
+ @created_at = args[:created_at] if args.key?(:created_at)
2547
+ @environment = args[:environment] if args.key?(:environment)
2548
+ @name = args[:name] if args.key?(:name)
2549
+ end
2550
+ end
2551
+
2552
+ # EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and
2553
+ # its associated routing rules.
2554
+ class GoogleCloudApigeeV1EnvironmentGroupConfig
2555
+ include Google::Apis::Core::Hashable
2556
+
2557
+ # Host names for the environment group.
2558
+ # Corresponds to the JSON property `hostnames`
2559
+ # @return [Array<String>]
2560
+ attr_accessor :hostnames
2561
+
2562
+ # Name of the environment group in the following format:
2563
+ # `organizations/`org`/envgroups/`envgroup``.
2564
+ # Corresponds to the JSON property `name`
2565
+ # @return [String]
2566
+ attr_accessor :name
2567
+
2568
+ # Revision id that defines the ordering of the EnvironmentGroupConfig
2569
+ # resource. The higher the revision, the more recently the
2570
+ # configuration was deployed.
2571
+ # Corresponds to the JSON property `revisionId`
2572
+ # @return [Fixnum]
2573
+ attr_accessor :revision_id
2574
+
2575
+ # Ordered list of routing rules defining how traffic to this environment
2576
+ # group's hostnames should be routed to different environments.
2577
+ # Corresponds to the JSON property `routingRules`
2578
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule>]
2579
+ attr_accessor :routing_rules
2580
+
2581
+ # A unique id for the environment group config that will only change if
2582
+ # the environment group is deleted and recreated.
2583
+ # Corresponds to the JSON property `uid`
2584
+ # @return [String]
2585
+ attr_accessor :uid
2586
+
2587
+ def initialize(**args)
2588
+ update!(**args)
2589
+ end
2590
+
2591
+ # Update properties of this object
2592
+ def update!(**args)
2593
+ @hostnames = args[:hostnames] if args.key?(:hostnames)
2594
+ @name = args[:name] if args.key?(:name)
2595
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2596
+ @routing_rules = args[:routing_rules] if args.key?(:routing_rules)
2597
+ @uid = args[:uid] if args.key?(:uid)
2598
+ end
2599
+ end
2600
+
2601
+ # Details of an export job.
2602
+ class GoogleCloudApigeeV1Export
2603
+ include Google::Apis::Core::Hashable
2604
+
2605
+ # Output only. Time the export job was created.
2606
+ # Corresponds to the JSON property `created`
2607
+ # @return [String]
2608
+ attr_accessor :created
2609
+
2610
+ # Name of the datastore that is the destination of the export job [datastore]
2611
+ # Corresponds to the JSON property `datastoreName`
2612
+ # @return [String]
2613
+ attr_accessor :datastore_name
2614
+
2615
+ # Description of the export job.
2616
+ # Corresponds to the JSON property `description`
2617
+ # @return [String]
2618
+ attr_accessor :description
2619
+
2620
+ # Output only. Error is set when export fails
2621
+ # Corresponds to the JSON property `error`
2622
+ # @return [String]
2623
+ attr_accessor :error
2624
+
2625
+ # Output only. Execution time for this export job.
2626
+ # If the job is still in progress, it will be set to the amount of time that
2627
+ # has elapsed since`created`, in seconds.
2628
+ # Else, it will set to (`updated` - `created`), in seconds.
2629
+ # Corresponds to the JSON property `executionTime`
2630
+ # @return [String]
2631
+ attr_accessor :execution_time
2632
+
2633
+ # Display name of the export job.
2634
+ # Corresponds to the JSON property `name`
2635
+ # @return [String]
2636
+ attr_accessor :name
2637
+
2638
+ # Output only. Self link of the export job.
2639
+ # A URI that can be used to retrieve the status of an export job.
2640
+ # Example:
2641
+ # `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-
2642
+ # ae6f-318d0cb961bd`
2643
+ # Corresponds to the JSON property `self`
2644
+ # @return [String]
2645
+ attr_accessor :self
2646
+
2647
+ # Output only. Status of the export job.
2648
+ # Valid values include `enqueued`, `running`, `completed`, and `failed`.
2649
+ # Corresponds to the JSON property `state`
2650
+ # @return [String]
2651
+ attr_accessor :state
2652
+
2653
+ # Output only. Time the export job was last updated.
2654
+ # Corresponds to the JSON property `updated`
2655
+ # @return [String]
2656
+ attr_accessor :updated
2657
+
2658
+ def initialize(**args)
2659
+ update!(**args)
2660
+ end
2661
+
2662
+ # Update properties of this object
2663
+ def update!(**args)
2664
+ @created = args[:created] if args.key?(:created)
2665
+ @datastore_name = args[:datastore_name] if args.key?(:datastore_name)
2666
+ @description = args[:description] if args.key?(:description)
2667
+ @error = args[:error] if args.key?(:error)
2668
+ @execution_time = args[:execution_time] if args.key?(:execution_time)
2669
+ @name = args[:name] if args.key?(:name)
2670
+ @self = args[:self] if args.key?(:self)
2671
+ @state = args[:state] if args.key?(:state)
2672
+ @updated = args[:updated] if args.key?(:updated)
2673
+ end
2674
+ end
2675
+
2676
+ # Request body for [CreateExportRequest]
2677
+ class GoogleCloudApigeeV1ExportRequest
2678
+ include Google::Apis::Core::Hashable
2679
+
2680
+ # Optional. Delimiter used in the CSV file, if `outputFormat` is set
2681
+ # to `csv`. Defaults to the `,` (comma) character.
2682
+ # Supported delimiter characters include comma (`,`), pipe (`|`),
2683
+ # and tab (`\t`).
2684
+ # Corresponds to the JSON property `csvDelimiter`
2685
+ # @return [String]
2686
+ attr_accessor :csv_delimiter
2687
+
2688
+ # Required. Name of the preconfigured datastore.
2689
+ # Corresponds to the JSON property `datastoreName`
2690
+ # @return [String]
2691
+ attr_accessor :datastore_name
2692
+
2693
+ # Date range of the data to export.
2694
+ # Corresponds to the JSON property `dateRange`
2695
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange]
2696
+ attr_accessor :date_range
2697
+
2698
+ # Optional. Description of the export job.
2699
+ # Corresponds to the JSON property `description`
2700
+ # @return [String]
2701
+ attr_accessor :description
2702
+
2703
+ # Required. Display name of the export job.
2704
+ # Corresponds to the JSON property `name`
2705
+ # @return [String]
2706
+ attr_accessor :name
2707
+
2708
+ # Optional. Output format of the export.
2709
+ # Valid values include: `csv` or `json`. Defaults to `json`.
2710
+ # Note: Configure the delimiter for CSV output using the `csvDelimiter`
2711
+ # property.
2712
+ # Corresponds to the JSON property `outputFormat`
2713
+ # @return [String]
2714
+ attr_accessor :output_format
2715
+
2716
+ def initialize(**args)
2717
+ update!(**args)
2718
+ end
2719
+
2720
+ # Update properties of this object
2721
+ def update!(**args)
2722
+ @csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
2723
+ @datastore_name = args[:datastore_name] if args.key?(:datastore_name)
2724
+ @date_range = args[:date_range] if args.key?(:date_range)
2725
+ @description = args[:description] if args.key?(:description)
2726
+ @name = args[:name] if args.key?(:name)
2727
+ @output_format = args[:output_format] if args.key?(:output_format)
2728
+ end
2729
+ end
2730
+
2731
+ #
2732
+ class GoogleCloudApigeeV1FlowHook
2733
+ include Google::Apis::Core::Hashable
2734
+
2735
+ # Optional. Flag that specifies whether execution should continue if the flow
2736
+ # hook
2737
+ # throws an exception. Set to `true` to continue execution. Set to
2738
+ # `false` to stop execution if the flow hook throws an exception.Defaults
2739
+ # to `true`.
2740
+ # Corresponds to the JSON property `continueOnError`
2741
+ # @return [Boolean]
2742
+ attr_accessor :continue_on_error
2743
+ alias_method :continue_on_error?, :continue_on_error
2744
+
2745
+ # Description of the flow hook.
2746
+ # Corresponds to the JSON property `description`
2747
+ # @return [String]
2748
+ attr_accessor :description
2749
+
2750
+ # Output only. Where in the API call flow the flow hook is invoked. Must be one
2751
+ # of
2752
+ # `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or
2753
+ # `PostTargetFlowHook`.
2754
+ # Corresponds to the JSON property `flowHookPoint`
2755
+ # @return [String]
2756
+ attr_accessor :flow_hook_point
2757
+
2758
+ # Shared flow attached to this flow hook, or empty if there is none attached.
2759
+ # Corresponds to the JSON property `sharedFlow`
2760
+ # @return [String]
2761
+ attr_accessor :shared_flow
2762
+
2763
+ def initialize(**args)
2764
+ update!(**args)
2765
+ end
2766
+
2767
+ # Update properties of this object
2768
+ def update!(**args)
2769
+ @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
2770
+ @description = args[:description] if args.key?(:description)
2771
+ @flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
2772
+ @shared_flow = args[:shared_flow] if args.key?(:shared_flow)
2773
+ end
2774
+ end
2775
+
2776
+ #
2777
+ class GoogleCloudApigeeV1FlowHookConfig
2778
+ include Google::Apis::Core::Hashable
2779
+
2780
+ # Should the flow abort after an error in the flow hook.
2781
+ # Should default to true if unset.
2782
+ # Corresponds to the JSON property `continueOnError`
2783
+ # @return [Boolean]
2784
+ attr_accessor :continue_on_error
2785
+ alias_method :continue_on_error?, :continue_on_error
2786
+
2787
+ # The name of the flow hook. Must be of the form
2788
+ # 'organizations/`org`/environments/`env`/flowhooks/`point`'.
2789
+ # Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
2790
+ # and PostTargetFlowHook
2791
+ # Corresponds to the JSON property `name`
2792
+ # @return [String]
2793
+ attr_accessor :name
2794
+
2795
+ # The name of the shared flow to invoke. Must be of the form
2796
+ # 'organizations/`org`/sharedflows/`sharedflow`'.
2797
+ # Corresponds to the JSON property `sharedFlowName`
2798
+ # @return [String]
2799
+ attr_accessor :shared_flow_name
2181
2800
 
2182
2801
  def initialize(**args)
2183
2802
  update!(**args)
@@ -2205,6 +2824,251 @@ module Google
2205
2824
  end
2206
2825
  end
2207
2826
 
2827
+ #
2828
+ class GoogleCloudApigeeV1IngressConfig
2829
+ include Google::Apis::Core::Hashable
2830
+
2831
+ # List of environment groups in the organization.
2832
+ # Corresponds to the JSON property `environmentGroups`
2833
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
2834
+ attr_accessor :environment_groups
2835
+
2836
+ # Name of the resource in the following format:
2837
+ # `organizations/`org`/deployedIngressConfig`.
2838
+ # Corresponds to the JSON property `name`
2839
+ # @return [String]
2840
+ attr_accessor :name
2841
+
2842
+ # Time at which the IngressConfig revision was created.
2843
+ # Corresponds to the JSON property `revisionCreateTime`
2844
+ # @return [String]
2845
+ attr_accessor :revision_create_time
2846
+
2847
+ # Revision id that defines the ordering on IngressConfig resources.
2848
+ # The higher the revision, the more recently the configuration
2849
+ # was deployed.
2850
+ # Corresponds to the JSON property `revisionId`
2851
+ # @return [Fixnum]
2852
+ attr_accessor :revision_id
2853
+
2854
+ # A unique id for the ingress config that will only change if the
2855
+ # organization is deleted and recreated.
2856
+ # Corresponds to the JSON property `uid`
2857
+ # @return [String]
2858
+ attr_accessor :uid
2859
+
2860
+ def initialize(**args)
2861
+ update!(**args)
2862
+ end
2863
+
2864
+ # Update properties of this object
2865
+ def update!(**args)
2866
+ @environment_groups = args[:environment_groups] if args.key?(:environment_groups)
2867
+ @name = args[:name] if args.key?(:name)
2868
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
2869
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2870
+ @uid = args[:uid] if args.key?(:uid)
2871
+ end
2872
+ end
2873
+
2874
+ # Apigee runtime instance.
2875
+ class GoogleCloudApigeeV1Instance
2876
+ include Google::Apis::Core::Hashable
2877
+
2878
+ # Output only. Time the instance was created in milliseconds since epoch.
2879
+ # Corresponds to the JSON property `createdAt`
2880
+ # @return [Fixnum]
2881
+ attr_accessor :created_at
2882
+
2883
+ # Optional. Description of the instance.
2884
+ # Corresponds to the JSON property `description`
2885
+ # @return [String]
2886
+ attr_accessor :description
2887
+
2888
+ # Optional. Customer Managed Encryption Key (CMEK) used for disk & volume
2889
+ # encryption.
2890
+ # Corresponds to the JSON property `diskEncryptionKeyName`
2891
+ # @return [String]
2892
+ attr_accessor :disk_encryption_key_name
2893
+
2894
+ # Optional. Display name for the instance.
2895
+ # Corresponds to the JSON property `displayName`
2896
+ # @return [String]
2897
+ attr_accessor :display_name
2898
+
2899
+ # Output only. Hostname or IP address of the exposed Apigee endpoint used by
2900
+ # clients to
2901
+ # connect to the service.
2902
+ # Corresponds to the JSON property `host`
2903
+ # @return [String]
2904
+ attr_accessor :host
2905
+
2906
+ # Output only. Time the instance was last modified in milliseconds since epoch.
2907
+ # Corresponds to the JSON property `lastModifiedAt`
2908
+ # @return [Fixnum]
2909
+ attr_accessor :last_modified_at
2910
+
2911
+ # Required. Compute Engine location where the instance resides.
2912
+ # Corresponds to the JSON property `location`
2913
+ # @return [String]
2914
+ attr_accessor :location
2915
+
2916
+ # Required. Resource ID of the instance. Values must match the
2917
+ # regular expression `^a-z`0,30`[a-z\d]$`.
2918
+ # Corresponds to the JSON property `name`
2919
+ # @return [String]
2920
+ attr_accessor :name
2921
+
2922
+ # Output only. Port number of the exposed Apigee endpoint.
2923
+ # Corresponds to the JSON property `port`
2924
+ # @return [String]
2925
+ attr_accessor :port
2926
+
2927
+ def initialize(**args)
2928
+ update!(**args)
2929
+ end
2930
+
2931
+ # Update properties of this object
2932
+ def update!(**args)
2933
+ @created_at = args[:created_at] if args.key?(:created_at)
2934
+ @description = args[:description] if args.key?(:description)
2935
+ @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
2936
+ @display_name = args[:display_name] if args.key?(:display_name)
2937
+ @host = args[:host] if args.key?(:host)
2938
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2939
+ @location = args[:location] if args.key?(:location)
2940
+ @name = args[:name] if args.key?(:name)
2941
+ @port = args[:port] if args.key?(:port)
2942
+ end
2943
+ end
2944
+
2945
+ # InstanceAttachment represents the installation of an environment onto an
2946
+ # instance.
2947
+ class GoogleCloudApigeeV1InstanceAttachment
2948
+ include Google::Apis::Core::Hashable
2949
+
2950
+ # Output only. Time the attachment was created in milliseconds since epoch.
2951
+ # Corresponds to the JSON property `createdAt`
2952
+ # @return [Fixnum]
2953
+ attr_accessor :created_at
2954
+
2955
+ # ID of the attached environment.
2956
+ # Corresponds to the JSON property `environment`
2957
+ # @return [String]
2958
+ attr_accessor :environment
2959
+
2960
+ # Output only. ID of the attachment.
2961
+ # Corresponds to the JSON property `name`
2962
+ # @return [String]
2963
+ attr_accessor :name
2964
+
2965
+ def initialize(**args)
2966
+ update!(**args)
2967
+ end
2968
+
2969
+ # Update properties of this object
2970
+ def update!(**args)
2971
+ @created_at = args[:created_at] if args.key?(:created_at)
2972
+ @environment = args[:environment] if args.key?(:environment)
2973
+ @name = args[:name] if args.key?(:name)
2974
+ end
2975
+ end
2976
+
2977
+ # The status of a deployment as reported by a single instance.
2978
+ class GoogleCloudApigeeV1InstanceDeploymentStatus
2979
+ include Google::Apis::Core::Hashable
2980
+
2981
+ # Revisions currently deployed in MPs.
2982
+ # Corresponds to the JSON property `deployedRevisions`
2983
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision>]
2984
+ attr_accessor :deployed_revisions
2985
+
2986
+ # The current routes deployed in the ingress routing table. A route which is
2987
+ # missing will be shown with no destination environment.
2988
+ # Corresponds to the JSON property `deployedRoutes`
2989
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>]
2990
+ attr_accessor :deployed_routes
2991
+
2992
+ # ID of the instance reporting the status.
2993
+ # Corresponds to the JSON property `instance`
2994
+ # @return [String]
2995
+ attr_accessor :instance
2996
+
2997
+ def initialize(**args)
2998
+ update!(**args)
2999
+ end
3000
+
3001
+ # Update properties of this object
3002
+ def update!(**args)
3003
+ @deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions)
3004
+ @deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes)
3005
+ @instance = args[:instance] if args.key?(:instance)
3006
+ end
3007
+ end
3008
+
3009
+ # Revisions deployed in the MPs.
3010
+ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision
3011
+ include Google::Apis::Core::Hashable
3012
+
3013
+ # The percentage of MP replicas reporting this revision
3014
+ # Corresponds to the JSON property `percentage`
3015
+ # @return [Fixnum]
3016
+ attr_accessor :percentage
3017
+
3018
+ # The proxy revision reported as deployed.
3019
+ # Corresponds to the JSON property `revision`
3020
+ # @return [String]
3021
+ attr_accessor :revision
3022
+
3023
+ def initialize(**args)
3024
+ update!(**args)
3025
+ end
3026
+
3027
+ # Update properties of this object
3028
+ def update!(**args)
3029
+ @percentage = args[:percentage] if args.key?(:percentage)
3030
+ @revision = args[:revision] if args.key?(:revision)
3031
+ end
3032
+ end
3033
+
3034
+ # A route deployed in the ingress routing table.
3035
+ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute
3036
+ include Google::Apis::Core::Hashable
3037
+
3038
+ # The basepath in the routing table.
3039
+ # Corresponds to the JSON property `basepath`
3040
+ # @return [String]
3041
+ attr_accessor :basepath
3042
+
3043
+ # The envgroup where this route is installed.
3044
+ # Corresponds to the JSON property `envgroup`
3045
+ # @return [String]
3046
+ attr_accessor :envgroup
3047
+
3048
+ # The destination environment. This will be empty if the route is not yet
3049
+ # reported.
3050
+ # Corresponds to the JSON property `environment`
3051
+ # @return [String]
3052
+ attr_accessor :environment
3053
+
3054
+ # The percentage of ingress replicas reporting this route.
3055
+ # Corresponds to the JSON property `percentage`
3056
+ # @return [Fixnum]
3057
+ attr_accessor :percentage
3058
+
3059
+ def initialize(**args)
3060
+ update!(**args)
3061
+ end
3062
+
3063
+ # Update properties of this object
3064
+ def update!(**args)
3065
+ @basepath = args[:basepath] if args.key?(:basepath)
3066
+ @envgroup = args[:envgroup] if args.key?(:envgroup)
3067
+ @environment = args[:environment] if args.key?(:environment)
3068
+ @percentage = args[:percentage] if args.key?(:percentage)
3069
+ end
3070
+ end
3071
+
2208
3072
  #
2209
3073
  class GoogleCloudApigeeV1KeyAliasReference
2210
3074
  include Google::Apis::Core::Hashable
@@ -2367,11 +3231,11 @@ module Google
2367
3231
  end
2368
3232
  end
2369
3233
 
2370
- # The response for ListAsyncQueries
3234
+ # The response for ListAsyncQueries.
2371
3235
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
2372
3236
  include Google::Apis::Core::Hashable
2373
3237
 
2374
- # The asynchronous queries belong to requested organization and environment
3238
+ # The asynchronous queries belong to requested resource name.
2375
3239
  # Corresponds to the JSON property `queries`
2376
3240
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery>]
2377
3241
  attr_accessor :queries
@@ -2405,6 +3269,25 @@ module Google
2405
3269
  end
2406
3270
  end
2407
3271
 
3272
+ # The response for ListDatastores
3273
+ class GoogleCloudApigeeV1ListDatastoresResponse
3274
+ include Google::Apis::Core::Hashable
3275
+
3276
+ # A list of datastores
3277
+ # Corresponds to the JSON property `datastores`
3278
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore>]
3279
+ attr_accessor :datastores
3280
+
3281
+ def initialize(**args)
3282
+ update!(**args)
3283
+ end
3284
+
3285
+ # Update properties of this object
3286
+ def update!(**args)
3287
+ @datastores = args[:datastores] if args.key?(:datastores)
3288
+ end
3289
+ end
3290
+
2408
3291
  #
2409
3292
  class GoogleCloudApigeeV1ListDebugSessionsResponse
2410
3293
  include Google::Apis::Core::Hashable
@@ -2455,10 +3338,122 @@ module Google
2455
3338
  class GoogleCloudApigeeV1ListDeveloperAppsResponse
2456
3339
  include Google::Apis::Core::Hashable
2457
3340
 
2458
- # List of developer apps and their credentials.
2459
- # Corresponds to the JSON property `app`
2460
- # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp>]
2461
- attr_accessor :app
3341
+ # List of developer apps and their credentials.
3342
+ # Corresponds to the JSON property `app`
3343
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp>]
3344
+ attr_accessor :app
3345
+
3346
+ def initialize(**args)
3347
+ update!(**args)
3348
+ end
3349
+
3350
+ # Update properties of this object
3351
+ def update!(**args)
3352
+ @app = args[:app] if args.key?(:app)
3353
+ end
3354
+ end
3355
+
3356
+ # Response for
3357
+ # ListEnvironmentGroupAttachments.
3358
+ class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3359
+ include Google::Apis::Core::Hashable
3360
+
3361
+ # EnvironmentGroupAttachments for the specified environment group.
3362
+ # Corresponds to the JSON property `environmentGroupAttachments`
3363
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment>]
3364
+ attr_accessor :environment_group_attachments
3365
+
3366
+ # Page token that you can include in a ListEnvironmentGroupAttachments
3367
+ # request to retrieve the next page. If omitted, no subsequent pages exist.
3368
+ # Corresponds to the JSON property `nextPageToken`
3369
+ # @return [String]
3370
+ attr_accessor :next_page_token
3371
+
3372
+ def initialize(**args)
3373
+ update!(**args)
3374
+ end
3375
+
3376
+ # Update properties of this object
3377
+ def update!(**args)
3378
+ @environment_group_attachments = args[:environment_group_attachments] if args.key?(:environment_group_attachments)
3379
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3380
+ end
3381
+ end
3382
+
3383
+ # Response for
3384
+ # ListEnvironmentGroups.
3385
+ class GoogleCloudApigeeV1ListEnvironmentGroupsResponse
3386
+ include Google::Apis::Core::Hashable
3387
+
3388
+ # EnvironmentGroups in the specified organization.
3389
+ # Corresponds to the JSON property `environmentGroups`
3390
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup>]
3391
+ attr_accessor :environment_groups
3392
+
3393
+ # Page token that you can include in a ListEnvironmentGroups request to
3394
+ # retrieve the next page. If omitted, no subsequent pages exist.
3395
+ # Corresponds to the JSON property `nextPageToken`
3396
+ # @return [String]
3397
+ attr_accessor :next_page_token
3398
+
3399
+ def initialize(**args)
3400
+ update!(**args)
3401
+ end
3402
+
3403
+ # Update properties of this object
3404
+ def update!(**args)
3405
+ @environment_groups = args[:environment_groups] if args.key?(:environment_groups)
3406
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3407
+ end
3408
+ end
3409
+
3410
+ # Response for
3411
+ # ListEnvironmentResources
3412
+ class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
3413
+ include Google::Apis::Core::Hashable
3414
+
3415
+ # List of resources files.
3416
+ # Corresponds to the JSON property `resourceFile`
3417
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
3418
+ attr_accessor :resource_file
3419
+
3420
+ def initialize(**args)
3421
+ update!(**args)
3422
+ end
3423
+
3424
+ # Update properties of this object
3425
+ def update!(**args)
3426
+ @resource_file = args[:resource_file] if args.key?(:resource_file)
3427
+ end
3428
+ end
3429
+
3430
+ # The response for ListExports
3431
+ class GoogleCloudApigeeV1ListExportsResponse
3432
+ include Google::Apis::Core::Hashable
3433
+
3434
+ # Details of the export jobs.
3435
+ # Corresponds to the JSON property `exports`
3436
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export>]
3437
+ attr_accessor :exports
3438
+
3439
+ def initialize(**args)
3440
+ update!(**args)
3441
+ end
3442
+
3443
+ # Update properties of this object
3444
+ def update!(**args)
3445
+ @exports = args[:exports] if args.key?(:exports)
3446
+ end
3447
+ end
3448
+
3449
+ #
3450
+ class GoogleCloudApigeeV1ListHybridIssuersResponse
3451
+ include Google::Apis::Core::Hashable
3452
+
3453
+ # Lists of hybrid services and its trusted issuer email ids.
3454
+ # Corresponds to the JSON property `issuers`
3455
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ServiceIssuersMapping>]
3456
+ attr_accessor :issuers
2462
3457
 
2463
3458
  def initialize(**args)
2464
3459
  update!(**args)
@@ -2466,19 +3461,25 @@ module Google
2466
3461
 
2467
3462
  # Update properties of this object
2468
3463
  def update!(**args)
2469
- @app = args[:app] if args.key?(:app)
3464
+ @issuers = args[:issuers] if args.key?(:issuers)
2470
3465
  end
2471
3466
  end
2472
3467
 
2473
3468
  # Response for
2474
- # ListEnvironmentResources
2475
- class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
3469
+ # ListInstanceAttachments.
3470
+ class GoogleCloudApigeeV1ListInstanceAttachmentsResponse
2476
3471
  include Google::Apis::Core::Hashable
2477
3472
 
2478
- # List of resources files.
2479
- # Corresponds to the JSON property `resourceFile`
2480
- # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
2481
- attr_accessor :resource_file
3473
+ # Attachments for the instance.
3474
+ # Corresponds to the JSON property `attachments`
3475
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment>]
3476
+ attr_accessor :attachments
3477
+
3478
+ # Page token that you can include in a ListInstanceAttachments request to
3479
+ # retrieve the next page of content. If omitted, no subsequent pages exist.
3480
+ # Corresponds to the JSON property `nextPageToken`
3481
+ # @return [String]
3482
+ attr_accessor :next_page_token
2482
3483
 
2483
3484
  def initialize(**args)
2484
3485
  update!(**args)
@@ -2486,18 +3487,25 @@ module Google
2486
3487
 
2487
3488
  # Update properties of this object
2488
3489
  def update!(**args)
2489
- @resource_file = args[:resource_file] if args.key?(:resource_file)
3490
+ @attachments = args[:attachments] if args.key?(:attachments)
3491
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2490
3492
  end
2491
3493
  end
2492
3494
 
2493
- #
2494
- class GoogleCloudApigeeV1ListHybridIssuersResponse
3495
+ # Response for ListInstances.
3496
+ class GoogleCloudApigeeV1ListInstancesResponse
2495
3497
  include Google::Apis::Core::Hashable
2496
3498
 
2497
- # Lists of hybrid services and its trusted issuer email ids.
2498
- # Corresponds to the JSON property `issuers`
2499
- # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ServiceIssuersMapping>]
2500
- attr_accessor :issuers
3499
+ # Instances in the specified organization.
3500
+ # Corresponds to the JSON property `instances`
3501
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance>]
3502
+ attr_accessor :instances
3503
+
3504
+ # Page token that you can include in a ListInstance request to retrieve
3505
+ # the next page of content. If omitted, no subsequent pages exist.
3506
+ # Corresponds to the JSON property `nextPageToken`
3507
+ # @return [String]
3508
+ attr_accessor :next_page_token
2501
3509
 
2502
3510
  def initialize(**args)
2503
3511
  update!(**args)
@@ -2505,7 +3513,8 @@ module Google
2505
3513
 
2506
3514
  # Update properties of this object
2507
3515
  def update!(**args)
2508
- @issuers = args[:issuers] if args.key?(:issuers)
3516
+ @instances = args[:instances] if args.key?(:instances)
3517
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2509
3518
  end
2510
3519
  end
2511
3520
 
@@ -2566,11 +3575,11 @@ module Google
2566
3575
  end
2567
3576
  end
2568
3577
 
2569
- # This message type encapsulates additional information about query execution
3578
+ # This message type encapsulates additional information about query execution.
2570
3579
  class GoogleCloudApigeeV1Metadata
2571
3580
  include Google::Apis::Core::Hashable
2572
3581
 
2573
- # List of error messages as strings
3582
+ # List of error messages as strings.
2574
3583
  # Corresponds to the JSON property `errors`
2575
3584
  # @return [Array<String>]
2576
3585
  attr_accessor :errors
@@ -2599,8 +3608,8 @@ module Google
2599
3608
  end
2600
3609
  end
2601
3610
 
2602
- # This message type encapsulates the metric data point
2603
- # Example
3611
+ # This message type encapsulates the metric data point.
3612
+ # Example:
2604
3613
  # `
2605
3614
  # "name": "sum(message_count)",
2606
3615
  # "values" : [ `
@@ -2620,13 +3629,13 @@ module Google
2620
3629
  class GoogleCloudApigeeV1Metric
2621
3630
  include Google::Apis::Core::Hashable
2622
3631
 
2623
- # This field contains the metric name
3632
+ # This field contains the metric name.
2624
3633
  # Corresponds to the JSON property `name`
2625
3634
  # @return [String]
2626
3635
  attr_accessor :name
2627
3636
 
2628
- # List of metric values
2629
- # Possible value format
3637
+ # List of metric values.
3638
+ # Possible value format:
2630
3639
  # "values":["39.0"] or
2631
3640
  # "values":[ ` "value": "39.0", "timestamp": 1232434354` ]
2632
3641
  # Corresponds to the JSON property `values`
@@ -2679,7 +3688,7 @@ module Google
2679
3688
  class GoogleCloudApigeeV1OptimizedStats
2680
3689
  include Google::Apis::Core::Hashable
2681
3690
 
2682
- # This message type encapsulates a response format for Js Optimized Scenario
3691
+ # This message type encapsulates a response format for Js Optimized Scenario.
2683
3692
  # Corresponds to the JSON property `Response`
2684
3693
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse]
2685
3694
  attr_accessor :response
@@ -2694,7 +3703,37 @@ module Google
2694
3703
  end
2695
3704
  end
2696
3705
 
2697
- #
3706
+ # This message type encapsulates a data node as represented below:
3707
+ # `
3708
+ # "identifier": `
3709
+ # "names": [
3710
+ # "apiproxy"
3711
+ # ],
3712
+ # "values": [
3713
+ # "sirjee"
3714
+ # ]
3715
+ # `,
3716
+ # "metric": [
3717
+ # `
3718
+ # "env": "prod",
3719
+ # "name": "sum(message_count)",
3720
+ # "values": [
3721
+ # 36.0
3722
+ # ]
3723
+ # `
3724
+ # ]
3725
+ # `
3726
+ # OR
3727
+ # `
3728
+ # "env": "prod",
3729
+ # "name": "sum(message_count)",
3730
+ # "values": [
3731
+ # 36.0
3732
+ # ]
3733
+ # `
3734
+ # Depending on whether a dimension is present in the query or not
3735
+ # the data node type can be a simple metric value or dimension identifier
3736
+ # with list of metrics.
2698
3737
  class GoogleCloudApigeeV1OptimizedStatsNode
2699
3738
  include Google::Apis::Core::Hashable
2700
3739
 
@@ -2713,7 +3752,7 @@ module Google
2713
3752
  end
2714
3753
  end
2715
3754
 
2716
- # This message type encapsulates a response format for Js Optimized Scenario
3755
+ # This message type encapsulates a response format for Js Optimized Scenario.
2717
3756
  class GoogleCloudApigeeV1OptimizedStatsResponse
2718
3757
  include Google::Apis::Core::Hashable
2719
3758
 
@@ -2723,7 +3762,7 @@ module Google
2723
3762
  # @return [Array<Fixnum>]
2724
3763
  attr_accessor :time_unit
2725
3764
 
2726
- # This message type encapsulates additional information about query execution
3765
+ # This message type encapsulates additional information about query execution.
2727
3766
  # Corresponds to the JSON property `metaData`
2728
3767
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
2729
3768
  attr_accessor :meta_data
@@ -2735,7 +3774,37 @@ module Google
2735
3774
  attr_accessor :result_truncated
2736
3775
  alias_method :result_truncated?, :result_truncated
2737
3776
 
2738
- # This field contains a stats results
3777
+ # This message type encapsulates a data node as represented below:
3778
+ # `
3779
+ # "identifier": `
3780
+ # "names": [
3781
+ # "apiproxy"
3782
+ # ],
3783
+ # "values": [
3784
+ # "sirjee"
3785
+ # ]
3786
+ # `,
3787
+ # "metric": [
3788
+ # `
3789
+ # "env": "prod",
3790
+ # "name": "sum(message_count)",
3791
+ # "values": [
3792
+ # 36.0
3793
+ # ]
3794
+ # `
3795
+ # ]
3796
+ # `
3797
+ # OR
3798
+ # `
3799
+ # "env": "prod",
3800
+ # "name": "sum(message_count)",
3801
+ # "values": [
3802
+ # 36.0
3803
+ # ]
3804
+ # `
3805
+ # Depending on whether a dimension is present in the query or not
3806
+ # the data node type can be a simple metric value or dimension identifier
3807
+ # with list of metrics.
2739
3808
  # Corresponds to the JSON property `stats`
2740
3809
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
2741
3810
  attr_accessor :stats
@@ -2769,6 +3838,26 @@ module Google
2769
3838
  # @return [Array<String>]
2770
3839
  attr_accessor :attributes
2771
3840
 
3841
+ # Compute Engine network used for ServiceNetworking to
3842
+ # be peered with Apigee runtime instances. See
3843
+ # [Getting started with the Service Networking
3844
+ # API](https://cloud.google.com/service-infrastructure/docs/service-networking/
3845
+ # getting-started).
3846
+ # Valid only when [RuntimeType] is set to CLOUD. The value can be updated
3847
+ # only when there are no runtime instances.
3848
+ # For example: "default".
3849
+ # **Note:** Not supported for Apigee hybrid.
3850
+ # Corresponds to the JSON property `authorizedNetwork`
3851
+ # @return [String]
3852
+ attr_accessor :authorized_network
3853
+
3854
+ # Output only. Base64-encoded public certificate for the root CA of the Apigee
3855
+ # organization. Valid only when [RuntimeType] is CLOUD.
3856
+ # Corresponds to the JSON property `caCertificate`
3857
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3858
+ # @return [String]
3859
+ attr_accessor :ca_certificate
3860
+
2772
3861
  # Output only. Time that the Apigee organization was created in milliseconds
2773
3862
  # since epoch.
2774
3863
  # Corresponds to the JSON property `createdAt`
@@ -2847,6 +3936,8 @@ module Google
2847
3936
  def update!(**args)
2848
3937
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
2849
3938
  @attributes = args[:attributes] if args.key?(:attributes)
3939
+ @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
3940
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
2850
3941
  @created_at = args[:created_at] if args.key?(:created_at)
2851
3942
  @customer_name = args[:customer_name] if args.key?(:customer_name)
2852
3943
  @description = args[:description] if args.key?(:description)
@@ -3073,7 +4164,7 @@ module Google
3073
4164
  # @return [String]
3074
4165
  attr_accessor :csv_delimiter
3075
4166
 
3076
- # A list of dimensions
4167
+ # A list of dimensions.
3077
4168
  # https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions
3078
4169
  # Corresponds to the JSON property `dimensions`
3079
4170
  # @return [Array<String>]
@@ -3109,7 +4200,7 @@ module Google
3109
4200
  # @return [Fixnum]
3110
4201
  attr_accessor :limit
3111
4202
 
3112
- # A list of Metrics
4203
+ # A list of Metrics.
3113
4204
  # Corresponds to the JSON property `metrics`
3114
4205
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetric>]
3115
4206
  attr_accessor :metrics
@@ -3227,17 +4318,17 @@ module Google
3227
4318
  # @return [String]
3228
4319
  attr_accessor :alias
3229
4320
 
3230
- # Aggregation function: avg, min, max, or sum
4321
+ # Aggregation function: avg, min, max, or sum.
3231
4322
  # Corresponds to the JSON property `function`
3232
4323
  # @return [String]
3233
4324
  attr_accessor :function
3234
4325
 
3235
- # Required. Metric name
4326
+ # Required. Metric name.
3236
4327
  # Corresponds to the JSON property `name`
3237
4328
  # @return [String]
3238
4329
  attr_accessor :name
3239
4330
 
3240
- # One of `+`, `-`, `/`, `%`, `*`
4331
+ # One of `+`, `-`, `/`, `%`, `*`.
3241
4332
  # Corresponds to the JSON property `operator`
3242
4333
  # @return [String]
3243
4334
  attr_accessor :operator
@@ -3331,6 +4422,53 @@ module Google
3331
4422
  end
3332
4423
  end
3333
4424
 
4425
+ # Request for ReportInstanceStatus.
4426
+ class GoogleCloudApigeeV1ReportInstanceStatusRequest
4427
+ include Google::Apis::Core::Hashable
4428
+
4429
+ # A unique ID for the instance which is guaranteed to be unique in case the
4430
+ # user installs multiple hybrid runtimes with the same instance ID.
4431
+ # Corresponds to the JSON property `instanceUid`
4432
+ # @return [String]
4433
+ attr_accessor :instance_uid
4434
+
4435
+ # The time the report was generated in the runtime. Used to prevent an old
4436
+ # status from overwriting a newer one. An instance should space out it's
4437
+ # status reports so that clock skew does not play a factor.
4438
+ # Corresponds to the JSON property `reportTime`
4439
+ # @return [String]
4440
+ attr_accessor :report_time
4441
+
4442
+ # Status for config resources
4443
+ # Corresponds to the JSON property `resources`
4444
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>]
4445
+ attr_accessor :resources
4446
+
4447
+ def initialize(**args)
4448
+ update!(**args)
4449
+ end
4450
+
4451
+ # Update properties of this object
4452
+ def update!(**args)
4453
+ @instance_uid = args[:instance_uid] if args.key?(:instance_uid)
4454
+ @report_time = args[:report_time] if args.key?(:report_time)
4455
+ @resources = args[:resources] if args.key?(:resources)
4456
+ end
4457
+ end
4458
+
4459
+ # Placeholder for future enhancements to status reporting protocol
4460
+ class GoogleCloudApigeeV1ReportInstanceStatusResponse
4461
+ include Google::Apis::Core::Hashable
4462
+
4463
+ def initialize(**args)
4464
+ update!(**args)
4465
+ end
4466
+
4467
+ # Update properties of this object
4468
+ def update!(**args)
4469
+ end
4470
+ end
4471
+
3334
4472
  #
3335
4473
  class GoogleCloudApigeeV1ReportProperty
3336
4474
  include Google::Apis::Core::Hashable
@@ -3428,6 +4566,48 @@ module Google
3428
4566
  end
3429
4567
  end
3430
4568
 
4569
+ # The status of a resource loaded in the runtime.
4570
+ class GoogleCloudApigeeV1ResourceStatus
4571
+ include Google::Apis::Core::Hashable
4572
+
4573
+ # The resource name. Currently only two resources are supported:
4574
+ # EnvironmentGroup - organizations/`org`/envgroups/`envgroup`
4575
+ # EnvironmentConfig -
4576
+ # organizations/`org`/environments/`environment`/deployedConfig
4577
+ # Corresponds to the JSON property `resource`
4578
+ # @return [String]
4579
+ attr_accessor :resource
4580
+
4581
+ # Revisions of the resource currently deployed in the instance.
4582
+ # Corresponds to the JSON property `revisions`
4583
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus>]
4584
+ attr_accessor :revisions
4585
+
4586
+ # The total number of replicas that should have this resource.
4587
+ # Corresponds to the JSON property `totalReplicas`
4588
+ # @return [Fixnum]
4589
+ attr_accessor :total_replicas
4590
+
4591
+ # The uid of the resource. In the unexpected case that the instance has
4592
+ # multiple uids for the same name, they should be reported under separate
4593
+ # ResourceStatuses.
4594
+ # Corresponds to the JSON property `uid`
4595
+ # @return [String]
4596
+ attr_accessor :uid
4597
+
4598
+ def initialize(**args)
4599
+ update!(**args)
4600
+ end
4601
+
4602
+ # Update properties of this object
4603
+ def update!(**args)
4604
+ @resource = args[:resource] if args.key?(:resource)
4605
+ @revisions = args[:revisions] if args.key?(:revisions)
4606
+ @total_replicas = args[:total_replicas] if args.key?(:total_replicas)
4607
+ @uid = args[:uid] if args.key?(:uid)
4608
+ end
4609
+ end
4610
+
3431
4611
  # Result is short for "action result", could be different types identified by
3432
4612
  # "action_result" field. Supported types:
3433
4613
  # 1. DebugInfo : generic debug info collected by runtime recorded as a list of
@@ -3530,6 +4710,71 @@ module Google
3530
4710
  end
3531
4711
  end
3532
4712
 
4713
+ # The status of a specific resource revision.
4714
+ class GoogleCloudApigeeV1RevisionStatus
4715
+ include Google::Apis::Core::Hashable
4716
+
4717
+ # Errors reported when attempting to load this revision.
4718
+ # Corresponds to the JSON property `errors`
4719
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
4720
+ attr_accessor :errors
4721
+
4722
+ # The json content of the resource revision.
4723
+ # Corresponds to the JSON property `jsonSpec`
4724
+ # @return [String]
4725
+ attr_accessor :json_spec
4726
+
4727
+ # The number of replicas that have successfully loaded this revision.
4728
+ # Corresponds to the JSON property `replicas`
4729
+ # @return [Fixnum]
4730
+ attr_accessor :replicas
4731
+
4732
+ # The revision of the resource.
4733
+ # Corresponds to the JSON property `revisionId`
4734
+ # @return [String]
4735
+ attr_accessor :revision_id
4736
+
4737
+ def initialize(**args)
4738
+ update!(**args)
4739
+ end
4740
+
4741
+ # Update properties of this object
4742
+ def update!(**args)
4743
+ @errors = args[:errors] if args.key?(:errors)
4744
+ @json_spec = args[:json_spec] if args.key?(:json_spec)
4745
+ @replicas = args[:replicas] if args.key?(:replicas)
4746
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
4747
+ end
4748
+ end
4749
+
4750
+ #
4751
+ class GoogleCloudApigeeV1RoutingRule
4752
+ include Google::Apis::Core::Hashable
4753
+
4754
+ # URI path prefix used to route to the specified environment. May contain
4755
+ # one or more wildcards. For example, path segments consisting of a single
4756
+ # `*` character will match any string.
4757
+ # Corresponds to the JSON property `basepath`
4758
+ # @return [String]
4759
+ attr_accessor :basepath
4760
+
4761
+ # Name of an environment bound to the environment group in the following
4762
+ # format: `organizations/`org`/environments/`env``.
4763
+ # Corresponds to the JSON property `environment`
4764
+ # @return [String]
4765
+ attr_accessor :environment
4766
+
4767
+ def initialize(**args)
4768
+ update!(**args)
4769
+ end
4770
+
4771
+ # Update properties of this object
4772
+ def update!(**args)
4773
+ @basepath = args[:basepath] if args.key?(:basepath)
4774
+ @environment = args[:environment] if args.key?(:environment)
4775
+ end
4776
+ end
4777
+
3533
4778
  # Response for Schema call
3534
4779
  class GoogleCloudApigeeV1Schema
3535
4780
  include Google::Apis::Core::Hashable
@@ -3808,16 +5053,16 @@ module Google
3808
5053
  end
3809
5054
  end
3810
5055
 
3811
- # This message type encapsulates a stats response
5056
+ # This message type encapsulates a stats response.
3812
5057
  class GoogleCloudApigeeV1Stats
3813
5058
  include Google::Apis::Core::Hashable
3814
5059
 
3815
- #
5060
+ # This field contains a list of query results on environment level.
3816
5061
  # Corresponds to the JSON property `environments`
3817
5062
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
3818
5063
  attr_accessor :environments
3819
5064
 
3820
- # This message type encapsulates additional information about query execution
5065
+ # This message type encapsulates additional information about query execution.
3821
5066
  # Corresponds to the JSON property `metaData`
3822
5067
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
3823
5068
  attr_accessor :meta_data
@@ -3833,7 +5078,7 @@ module Google
3833
5078
  end
3834
5079
  end
3835
5080
 
3836
- # This message type encapsulates the environment wrapper
5081
+ # This message type encapsulates the environment wrapper:
3837
5082
  # "environments": [
3838
5083
  # `
3839
5084
  # "metrics": [
@@ -3850,7 +5095,7 @@ module Google
3850
5095
  class GoogleCloudApigeeV1StatsEnvironmentStats
3851
5096
  include Google::Apis::Core::Hashable
3852
5097
 
3853
- # This field contains the list of metrics grouped under dimensions
5098
+ # This field contains the list of metrics grouped under dimensions.
3854
5099
  # Corresponds to the JSON property `dimensions`
3855
5100
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
3856
5101
  attr_accessor :dimensions
@@ -3893,7 +5138,7 @@ module Google
3893
5138
  # "name": "prod"
3894
5139
  # `
3895
5140
  # ]
3896
- # This field contains the list of metric values
5141
+ # This field contains the list of metric values.
3897
5142
  # Corresponds to the JSON property `metrics`
3898
5143
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
3899
5144
  attr_accessor :metrics
@@ -4079,6 +5324,31 @@ module Google
4079
5324
  end
4080
5325
  end
4081
5326
 
5327
+ # The response for TestDatastore
5328
+ class GoogleCloudApigeeV1TestDatastoreResponse
5329
+ include Google::Apis::Core::Hashable
5330
+
5331
+ # Output only. Error message of test connection failure
5332
+ # Corresponds to the JSON property `error`
5333
+ # @return [String]
5334
+ attr_accessor :error
5335
+
5336
+ # Output only. It could be `completed` or `failed`
5337
+ # Corresponds to the JSON property `state`
5338
+ # @return [String]
5339
+ attr_accessor :state
5340
+
5341
+ def initialize(**args)
5342
+ update!(**args)
5343
+ end
5344
+
5345
+ # Update properties of this object
5346
+ def update!(**args)
5347
+ @error = args[:error] if args.key?(:error)
5348
+ @state = args[:state] if args.key?(:state)
5349
+ end
5350
+ end
5351
+
4082
5352
  # TLS configuration information for
4083
5353
  # VirtualHosts and
4084
5354
  # TargetServers.
@@ -4263,6 +5533,45 @@ module Google
4263
5533
  end
4264
5534
  end
4265
5535
 
5536
+ # Details on why a resource update failed in the runtime.
5537
+ class GoogleCloudApigeeV1UpdateError
5538
+ include Google::Apis::Core::Hashable
5539
+
5540
+ # Status code.
5541
+ # Corresponds to the JSON property `code`
5542
+ # @return [String]
5543
+ attr_accessor :code
5544
+
5545
+ # User-friendly error message.
5546
+ # Corresponds to the JSON property `message`
5547
+ # @return [String]
5548
+ attr_accessor :message
5549
+
5550
+ # The sub resource specific to this error (e.g. a proxy deployed within the
5551
+ # EnvironmentConfig). If empty the error refers to the top level resource.
5552
+ # Corresponds to the JSON property `resource`
5553
+ # @return [String]
5554
+ attr_accessor :resource
5555
+
5556
+ # A string that uniquely identifies the type of error. This provides a
5557
+ # more reliable means to deduplicate errors across revisions and instances.
5558
+ # Corresponds to the JSON property `type`
5559
+ # @return [String]
5560
+ attr_accessor :type
5561
+
5562
+ def initialize(**args)
5563
+ update!(**args)
5564
+ end
5565
+
5566
+ # Update properties of this object
5567
+ def update!(**args)
5568
+ @code = args[:code] if args.key?(:code)
5569
+ @message = args[:message] if args.key?(:message)
5570
+ @resource = args[:resource] if args.key?(:resource)
5571
+ @type = args[:type] if args.key?(:type)
5572
+ end
5573
+ end
5574
+
4266
5575
  # Specifies the audit configuration for a service.
4267
5576
  # The configuration determines which permission types are logged, and what
4268
5577
  # identities, if any, are exempted from logging.
@@ -4828,6 +6137,65 @@ module Google
4828
6137
  end
4829
6138
  end
4830
6139
 
6140
+ # Describes what preconditions have failed.
6141
+ # For example, if an RPC failed because it required the Terms of Service to be
6142
+ # acknowledged, it could list the terms of service violation in the
6143
+ # PreconditionFailure message.
6144
+ class GoogleRpcPreconditionFailure
6145
+ include Google::Apis::Core::Hashable
6146
+
6147
+ # Describes all precondition violations.
6148
+ # Corresponds to the JSON property `violations`
6149
+ # @return [Array<Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation>]
6150
+ attr_accessor :violations
6151
+
6152
+ def initialize(**args)
6153
+ update!(**args)
6154
+ end
6155
+
6156
+ # Update properties of this object
6157
+ def update!(**args)
6158
+ @violations = args[:violations] if args.key?(:violations)
6159
+ end
6160
+ end
6161
+
6162
+ # A message type used to describe a single precondition failure.
6163
+ class GoogleRpcPreconditionFailureViolation
6164
+ include Google::Apis::Core::Hashable
6165
+
6166
+ # A description of how the precondition failed. Developers can use this
6167
+ # description to understand how to fix the failure.
6168
+ # For example: "Terms of service not accepted".
6169
+ # Corresponds to the JSON property `description`
6170
+ # @return [String]
6171
+ attr_accessor :description
6172
+
6173
+ # The subject, relative to the type, that failed.
6174
+ # For example, "google.com/cloud" relative to the "TOS" type would indicate
6175
+ # which terms of service is being referenced.
6176
+ # Corresponds to the JSON property `subject`
6177
+ # @return [String]
6178
+ attr_accessor :subject
6179
+
6180
+ # The type of PreconditionFailure. We recommend using a service-specific
6181
+ # enum type to define the supported precondition violation subjects. For
6182
+ # example, "TOS" for "Terms of Service violation".
6183
+ # Corresponds to the JSON property `type`
6184
+ # @return [String]
6185
+ attr_accessor :type
6186
+
6187
+ def initialize(**args)
6188
+ update!(**args)
6189
+ end
6190
+
6191
+ # Update properties of this object
6192
+ def update!(**args)
6193
+ @description = args[:description] if args.key?(:description)
6194
+ @subject = args[:subject] if args.key?(:subject)
6195
+ @type = args[:type] if args.key?(:type)
6196
+ end
6197
+ end
6198
+
4831
6199
  # The `Status` type defines a logical error model that is suitable for
4832
6200
  # different programming environments, including REST APIs and RPC APIs. It is
4833
6201
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains