google-api-client 0.40.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -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/service.rb +1 -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/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  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 +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  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 -107
@@ -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 = '20200521'
34
+ REVISION = '20200710'
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,33 @@ 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
2172
- # Corresponds to the JSON property `name`
2530
+ # Required. ID of the attached environment.
2531
+ # Corresponds to the JSON property `environment`
2173
2532
  # @return [String]
2174
- attr_accessor :name
2533
+ attr_accessor :environment
2175
2534
 
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`
2535
+ # ID of the environment group attachment.
2536
+ # Corresponds to the JSON property `name`
2179
2537
  # @return [String]
2180
- attr_accessor :shared_flow_name
2538
+ attr_accessor :name
2181
2539
 
2182
2540
  def initialize(**args)
2183
2541
  update!(**args)
@@ -2185,8 +2543,269 @@ module Google
2185
2543
 
2186
2544
  # Update properties of this object
2187
2545
  def update!(**args)
2188
- @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
2189
- @name = args[:name] if args.key?(:name)
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
2800
+
2801
+ def initialize(**args)
2802
+ update!(**args)
2803
+ end
2804
+
2805
+ # Update properties of this object
2806
+ def update!(**args)
2807
+ @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
2808
+ @name = args[:name] if args.key?(:name)
2190
2809
  @shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
2191
2810
  end
2192
2811
  end
@@ -2205,6 +2824,257 @@ module Google
2205
2824
  end
2206
2825
  end
2207
2826
 
2827
+ #
2828
+ class GoogleCloudApigeeV1IngressConfig
2829
+ include Google::Apis::Core::Hashable
2830
+
2831
+ # Time at which the IngressConfig was created.
2832
+ # Corresponds to the JSON property `createTime`
2833
+ # @return [String]
2834
+ attr_accessor :create_time
2835
+
2836
+ # List of environment groups in the organization.
2837
+ # Corresponds to the JSON property `environmentGroups`
2838
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
2839
+ attr_accessor :environment_groups
2840
+
2841
+ # Name of the resource in the following format:
2842
+ # `organizations/`org`/deployedIngressConfig`.
2843
+ # Corresponds to the JSON property `name`
2844
+ # @return [String]
2845
+ attr_accessor :name
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
+ # DEPRECATED: Use revision_id
2855
+ # Corresponds to the JSON property `sequenceNumber`
2856
+ # @return [Fixnum]
2857
+ attr_accessor :sequence_number
2858
+
2859
+ # A unique id for the ingress config that will only change if the
2860
+ # organization is deleted and recreated.
2861
+ # Corresponds to the JSON property `uid`
2862
+ # @return [String]
2863
+ attr_accessor :uid
2864
+
2865
+ def initialize(**args)
2866
+ update!(**args)
2867
+ end
2868
+
2869
+ # Update properties of this object
2870
+ def update!(**args)
2871
+ @create_time = args[:create_time] if args.key?(:create_time)
2872
+ @environment_groups = args[:environment_groups] if args.key?(:environment_groups)
2873
+ @name = args[:name] if args.key?(:name)
2874
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2875
+ @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
2876
+ @uid = args[:uid] if args.key?(:uid)
2877
+ end
2878
+ end
2879
+
2880
+ # Apigee runtime instance.
2881
+ class GoogleCloudApigeeV1Instance
2882
+ include Google::Apis::Core::Hashable
2883
+
2884
+ # Output only. Time the instance was created in milliseconds since epoch.
2885
+ # Corresponds to the JSON property `createdAt`
2886
+ # @return [Fixnum]
2887
+ attr_accessor :created_at
2888
+
2889
+ # Optional. Description of the instance.
2890
+ # Corresponds to the JSON property `description`
2891
+ # @return [String]
2892
+ attr_accessor :description
2893
+
2894
+ # Optional. Customer Managed Encryption Key (CMEK) used for disk & volume
2895
+ # encryption.
2896
+ # Corresponds to the JSON property `diskEncryptionKeyName`
2897
+ # @return [String]
2898
+ attr_accessor :disk_encryption_key_name
2899
+
2900
+ # Optional. Display name for the instance.
2901
+ # Corresponds to the JSON property `displayName`
2902
+ # @return [String]
2903
+ attr_accessor :display_name
2904
+
2905
+ # Output only. Hostname or IP address of the exposed Apigee endpoint used by
2906
+ # clients to
2907
+ # connect to the service.
2908
+ # Corresponds to the JSON property `host`
2909
+ # @return [String]
2910
+ attr_accessor :host
2911
+
2912
+ # Output only. Time the instance was last modified in milliseconds since epoch.
2913
+ # Corresponds to the JSON property `lastModifiedAt`
2914
+ # @return [Fixnum]
2915
+ attr_accessor :last_modified_at
2916
+
2917
+ # Required. Compute Engine location where the instance resides.
2918
+ # Corresponds to the JSON property `location`
2919
+ # @return [String]
2920
+ attr_accessor :location
2921
+
2922
+ # Required. Resource ID of the instance. Values must match the
2923
+ # regular expression `^a-z`0,30`[a-z\d]$`.
2924
+ # Corresponds to the JSON property `name`
2925
+ # @return [String]
2926
+ attr_accessor :name
2927
+
2928
+ # Output only. Port number of the exposed Apigee endpoint.
2929
+ # Corresponds to the JSON property `port`
2930
+ # @return [String]
2931
+ attr_accessor :port
2932
+
2933
+ def initialize(**args)
2934
+ update!(**args)
2935
+ end
2936
+
2937
+ # Update properties of this object
2938
+ def update!(**args)
2939
+ @created_at = args[:created_at] if args.key?(:created_at)
2940
+ @description = args[:description] if args.key?(:description)
2941
+ @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
2942
+ @display_name = args[:display_name] if args.key?(:display_name)
2943
+ @host = args[:host] if args.key?(:host)
2944
+ @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2945
+ @location = args[:location] if args.key?(:location)
2946
+ @name = args[:name] if args.key?(:name)
2947
+ @port = args[:port] if args.key?(:port)
2948
+ end
2949
+ end
2950
+
2951
+ # InstanceAttachment represents the installation of an environment onto an
2952
+ # instance.
2953
+ class GoogleCloudApigeeV1InstanceAttachment
2954
+ include Google::Apis::Core::Hashable
2955
+
2956
+ # Output only. Time the attachment was created in milliseconds since epoch.
2957
+ # Corresponds to the JSON property `createdAt`
2958
+ # @return [Fixnum]
2959
+ attr_accessor :created_at
2960
+
2961
+ # ID of the attached environment.
2962
+ # Corresponds to the JSON property `environment`
2963
+ # @return [String]
2964
+ attr_accessor :environment
2965
+
2966
+ # Output only. ID of the attachment.
2967
+ # Corresponds to the JSON property `name`
2968
+ # @return [String]
2969
+ attr_accessor :name
2970
+
2971
+ def initialize(**args)
2972
+ update!(**args)
2973
+ end
2974
+
2975
+ # Update properties of this object
2976
+ def update!(**args)
2977
+ @created_at = args[:created_at] if args.key?(:created_at)
2978
+ @environment = args[:environment] if args.key?(:environment)
2979
+ @name = args[:name] if args.key?(:name)
2980
+ end
2981
+ end
2982
+
2983
+ # The status of a deployment as reported by a single instance.
2984
+ class GoogleCloudApigeeV1InstanceDeploymentStatus
2985
+ include Google::Apis::Core::Hashable
2986
+
2987
+ # Revisions currently deployed in MPs.
2988
+ # Corresponds to the JSON property `deployedRevisions`
2989
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision>]
2990
+ attr_accessor :deployed_revisions
2991
+
2992
+ # The current routes deployed in the ingress routing table. A route which is
2993
+ # missing will be shown with no destination environment.
2994
+ # Corresponds to the JSON property `deployedRoutes`
2995
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>]
2996
+ attr_accessor :deployed_routes
2997
+
2998
+ # ID of the instance reporting the status.
2999
+ # Corresponds to the JSON property `instance`
3000
+ # @return [String]
3001
+ attr_accessor :instance
3002
+
3003
+ def initialize(**args)
3004
+ update!(**args)
3005
+ end
3006
+
3007
+ # Update properties of this object
3008
+ def update!(**args)
3009
+ @deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions)
3010
+ @deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes)
3011
+ @instance = args[:instance] if args.key?(:instance)
3012
+ end
3013
+ end
3014
+
3015
+ # Revisions deployed in the MPs.
3016
+ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision
3017
+ include Google::Apis::Core::Hashable
3018
+
3019
+ # The percentage of MP replicas reporting this revision
3020
+ # Corresponds to the JSON property `percentage`
3021
+ # @return [Fixnum]
3022
+ attr_accessor :percentage
3023
+
3024
+ # The proxy revision reported as deployed.
3025
+ # Corresponds to the JSON property `revision`
3026
+ # @return [String]
3027
+ attr_accessor :revision
3028
+
3029
+ def initialize(**args)
3030
+ update!(**args)
3031
+ end
3032
+
3033
+ # Update properties of this object
3034
+ def update!(**args)
3035
+ @percentage = args[:percentage] if args.key?(:percentage)
3036
+ @revision = args[:revision] if args.key?(:revision)
3037
+ end
3038
+ end
3039
+
3040
+ # A route deployed in the ingress routing table.
3041
+ class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute
3042
+ include Google::Apis::Core::Hashable
3043
+
3044
+ # The basepath in the routing table.
3045
+ # Corresponds to the JSON property `basepath`
3046
+ # @return [String]
3047
+ attr_accessor :basepath
3048
+
3049
+ # The envgroup where this route is installed.
3050
+ # Corresponds to the JSON property `envgroup`
3051
+ # @return [String]
3052
+ attr_accessor :envgroup
3053
+
3054
+ # The destination environment. This will be empty if the route is not yet
3055
+ # reported.
3056
+ # Corresponds to the JSON property `environment`
3057
+ # @return [String]
3058
+ attr_accessor :environment
3059
+
3060
+ # The percentage of ingress replicas reporting this route.
3061
+ # Corresponds to the JSON property `percentage`
3062
+ # @return [Fixnum]
3063
+ attr_accessor :percentage
3064
+
3065
+ def initialize(**args)
3066
+ update!(**args)
3067
+ end
3068
+
3069
+ # Update properties of this object
3070
+ def update!(**args)
3071
+ @basepath = args[:basepath] if args.key?(:basepath)
3072
+ @envgroup = args[:envgroup] if args.key?(:envgroup)
3073
+ @environment = args[:environment] if args.key?(:environment)
3074
+ @percentage = args[:percentage] if args.key?(:percentage)
3075
+ end
3076
+ end
3077
+
2208
3078
  #
2209
3079
  class GoogleCloudApigeeV1KeyAliasReference
2210
3080
  include Google::Apis::Core::Hashable
@@ -2367,11 +3237,11 @@ module Google
2367
3237
  end
2368
3238
  end
2369
3239
 
2370
- # The response for ListAsyncQueries
3240
+ # The response for ListAsyncQueries.
2371
3241
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
2372
3242
  include Google::Apis::Core::Hashable
2373
3243
 
2374
- # The asynchronous queries belong to requested organization and environment
3244
+ # The asynchronous queries belong to requested resource name.
2375
3245
  # Corresponds to the JSON property `queries`
2376
3246
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery>]
2377
3247
  attr_accessor :queries
@@ -2405,6 +3275,25 @@ module Google
2405
3275
  end
2406
3276
  end
2407
3277
 
3278
+ # The response for ListDatastores
3279
+ class GoogleCloudApigeeV1ListDatastoresResponse
3280
+ include Google::Apis::Core::Hashable
3281
+
3282
+ # A list of datastores
3283
+ # Corresponds to the JSON property `datastores`
3284
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore>]
3285
+ attr_accessor :datastores
3286
+
3287
+ def initialize(**args)
3288
+ update!(**args)
3289
+ end
3290
+
3291
+ # Update properties of this object
3292
+ def update!(**args)
3293
+ @datastores = args[:datastores] if args.key?(:datastores)
3294
+ end
3295
+ end
3296
+
2408
3297
  #
2409
3298
  class GoogleCloudApigeeV1ListDebugSessionsResponse
2410
3299
  include Google::Apis::Core::Hashable
@@ -2466,19 +3355,137 @@ module Google
2466
3355
 
2467
3356
  # Update properties of this object
2468
3357
  def update!(**args)
2469
- @app = args[:app] if args.key?(:app)
3358
+ @app = args[:app] if args.key?(:app)
3359
+ end
3360
+ end
3361
+
3362
+ # Response for
3363
+ # ListEnvironmentGroupAttachments.
3364
+ class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3365
+ include Google::Apis::Core::Hashable
3366
+
3367
+ # EnvironmentGroupAttachments for the specified environment group.
3368
+ # Corresponds to the JSON property `environmentGroupAttachments`
3369
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment>]
3370
+ attr_accessor :environment_group_attachments
3371
+
3372
+ # Page token that you can include in a ListEnvironmentGroupAttachments
3373
+ # request to retrieve the next page. If omitted, no subsequent pages exist.
3374
+ # Corresponds to the JSON property `nextPageToken`
3375
+ # @return [String]
3376
+ attr_accessor :next_page_token
3377
+
3378
+ def initialize(**args)
3379
+ update!(**args)
3380
+ end
3381
+
3382
+ # Update properties of this object
3383
+ def update!(**args)
3384
+ @environment_group_attachments = args[:environment_group_attachments] if args.key?(:environment_group_attachments)
3385
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3386
+ end
3387
+ end
3388
+
3389
+ # Response for
3390
+ # ListEnvironmentGroups.
3391
+ class GoogleCloudApigeeV1ListEnvironmentGroupsResponse
3392
+ include Google::Apis::Core::Hashable
3393
+
3394
+ # EnvironmentGroups in the specified organization.
3395
+ # Corresponds to the JSON property `environmentGroups`
3396
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup>]
3397
+ attr_accessor :environment_groups
3398
+
3399
+ # Page token that you can include in a ListEnvironmentGroups request to
3400
+ # retrieve the next page. If omitted, no subsequent pages exist.
3401
+ # Corresponds to the JSON property `nextPageToken`
3402
+ # @return [String]
3403
+ attr_accessor :next_page_token
3404
+
3405
+ def initialize(**args)
3406
+ update!(**args)
3407
+ end
3408
+
3409
+ # Update properties of this object
3410
+ def update!(**args)
3411
+ @environment_groups = args[:environment_groups] if args.key?(:environment_groups)
3412
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3413
+ end
3414
+ end
3415
+
3416
+ # Response for
3417
+ # ListEnvironmentResources
3418
+ class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
3419
+ include Google::Apis::Core::Hashable
3420
+
3421
+ # List of resources files.
3422
+ # Corresponds to the JSON property `resourceFile`
3423
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
3424
+ attr_accessor :resource_file
3425
+
3426
+ def initialize(**args)
3427
+ update!(**args)
3428
+ end
3429
+
3430
+ # Update properties of this object
3431
+ def update!(**args)
3432
+ @resource_file = args[:resource_file] if args.key?(:resource_file)
3433
+ end
3434
+ end
3435
+
3436
+ # The response for ListExports
3437
+ class GoogleCloudApigeeV1ListExportsResponse
3438
+ include Google::Apis::Core::Hashable
3439
+
3440
+ # Details of the export jobs.
3441
+ # Corresponds to the JSON property `exports`
3442
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export>]
3443
+ attr_accessor :exports
3444
+
3445
+ def initialize(**args)
3446
+ update!(**args)
3447
+ end
3448
+
3449
+ # Update properties of this object
3450
+ def update!(**args)
3451
+ @exports = args[:exports] if args.key?(:exports)
3452
+ end
3453
+ end
3454
+
3455
+ #
3456
+ class GoogleCloudApigeeV1ListHybridIssuersResponse
3457
+ include Google::Apis::Core::Hashable
3458
+
3459
+ # Lists of hybrid services and its trusted issuer email ids.
3460
+ # Corresponds to the JSON property `issuers`
3461
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ServiceIssuersMapping>]
3462
+ attr_accessor :issuers
3463
+
3464
+ def initialize(**args)
3465
+ update!(**args)
3466
+ end
3467
+
3468
+ # Update properties of this object
3469
+ def update!(**args)
3470
+ @issuers = args[:issuers] if args.key?(:issuers)
2470
3471
  end
2471
3472
  end
2472
3473
 
2473
3474
  # Response for
2474
- # ListEnvironmentResources
2475
- class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
3475
+ # ListInstanceAttachments.
3476
+ class GoogleCloudApigeeV1ListInstanceAttachmentsResponse
2476
3477
  include Google::Apis::Core::Hashable
2477
3478
 
2478
- # List of resources files.
2479
- # Corresponds to the JSON property `resourceFile`
2480
- # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
2481
- attr_accessor :resource_file
3479
+ # Attachments for the instance.
3480
+ # Corresponds to the JSON property `attachments`
3481
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment>]
3482
+ attr_accessor :attachments
3483
+
3484
+ # Page token that you can include in a ListInstanceAttachments request to
3485
+ # retrieve the next page of content. If omitted, no subsequent pages exist.
3486
+ # Corresponds to the JSON property `nextPageToken`
3487
+ # @return [String]
3488
+ attr_accessor :next_page_token
2482
3489
 
2483
3490
  def initialize(**args)
2484
3491
  update!(**args)
@@ -2486,18 +3493,25 @@ module Google
2486
3493
 
2487
3494
  # Update properties of this object
2488
3495
  def update!(**args)
2489
- @resource_file = args[:resource_file] if args.key?(:resource_file)
3496
+ @attachments = args[:attachments] if args.key?(:attachments)
3497
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2490
3498
  end
2491
3499
  end
2492
3500
 
2493
- #
2494
- class GoogleCloudApigeeV1ListHybridIssuersResponse
3501
+ # Response for ListInstances.
3502
+ class GoogleCloudApigeeV1ListInstancesResponse
2495
3503
  include Google::Apis::Core::Hashable
2496
3504
 
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
3505
+ # Instances in the specified organization.
3506
+ # Corresponds to the JSON property `instances`
3507
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance>]
3508
+ attr_accessor :instances
3509
+
3510
+ # Page token that you can include in a ListInstance request to retrieve
3511
+ # the next page of content. If omitted, no subsequent pages exist.
3512
+ # Corresponds to the JSON property `nextPageToken`
3513
+ # @return [String]
3514
+ attr_accessor :next_page_token
2501
3515
 
2502
3516
  def initialize(**args)
2503
3517
  update!(**args)
@@ -2505,7 +3519,8 @@ module Google
2505
3519
 
2506
3520
  # Update properties of this object
2507
3521
  def update!(**args)
2508
- @issuers = args[:issuers] if args.key?(:issuers)
3522
+ @instances = args[:instances] if args.key?(:instances)
3523
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2509
3524
  end
2510
3525
  end
2511
3526
 
@@ -2566,11 +3581,11 @@ module Google
2566
3581
  end
2567
3582
  end
2568
3583
 
2569
- # This message type encapsulates additional information about query execution
3584
+ # This message type encapsulates additional information about query execution.
2570
3585
  class GoogleCloudApigeeV1Metadata
2571
3586
  include Google::Apis::Core::Hashable
2572
3587
 
2573
- # List of error messages as strings
3588
+ # List of error messages as strings.
2574
3589
  # Corresponds to the JSON property `errors`
2575
3590
  # @return [Array<String>]
2576
3591
  attr_accessor :errors
@@ -2599,8 +3614,8 @@ module Google
2599
3614
  end
2600
3615
  end
2601
3616
 
2602
- # This message type encapsulates the metric data point
2603
- # Example
3617
+ # This message type encapsulates the metric data point.
3618
+ # Example:
2604
3619
  # `
2605
3620
  # "name": "sum(message_count)",
2606
3621
  # "values" : [ `
@@ -2620,13 +3635,13 @@ module Google
2620
3635
  class GoogleCloudApigeeV1Metric
2621
3636
  include Google::Apis::Core::Hashable
2622
3637
 
2623
- # This field contains the metric name
3638
+ # This field contains the metric name.
2624
3639
  # Corresponds to the JSON property `name`
2625
3640
  # @return [String]
2626
3641
  attr_accessor :name
2627
3642
 
2628
- # List of metric values
2629
- # Possible value format
3643
+ # List of metric values.
3644
+ # Possible value format:
2630
3645
  # "values":["39.0"] or
2631
3646
  # "values":[ ` "value": "39.0", "timestamp": 1232434354` ]
2632
3647
  # Corresponds to the JSON property `values`
@@ -2679,7 +3694,7 @@ module Google
2679
3694
  class GoogleCloudApigeeV1OptimizedStats
2680
3695
  include Google::Apis::Core::Hashable
2681
3696
 
2682
- # This message type encapsulates a response format for Js Optimized Scenario
3697
+ # This message type encapsulates a response format for Js Optimized Scenario.
2683
3698
  # Corresponds to the JSON property `Response`
2684
3699
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse]
2685
3700
  attr_accessor :response
@@ -2694,7 +3709,37 @@ module Google
2694
3709
  end
2695
3710
  end
2696
3711
 
2697
- #
3712
+ # This message type encapsulates a data node as represented below:
3713
+ # `
3714
+ # "identifier": `
3715
+ # "names": [
3716
+ # "apiproxy"
3717
+ # ],
3718
+ # "values": [
3719
+ # "sirjee"
3720
+ # ]
3721
+ # `,
3722
+ # "metric": [
3723
+ # `
3724
+ # "env": "prod",
3725
+ # "name": "sum(message_count)",
3726
+ # "values": [
3727
+ # 36.0
3728
+ # ]
3729
+ # `
3730
+ # ]
3731
+ # `
3732
+ # OR
3733
+ # `
3734
+ # "env": "prod",
3735
+ # "name": "sum(message_count)",
3736
+ # "values": [
3737
+ # 36.0
3738
+ # ]
3739
+ # `
3740
+ # Depending on whether a dimension is present in the query or not
3741
+ # the data node type can be a simple metric value or dimension identifier
3742
+ # with list of metrics.
2698
3743
  class GoogleCloudApigeeV1OptimizedStatsNode
2699
3744
  include Google::Apis::Core::Hashable
2700
3745
 
@@ -2713,7 +3758,7 @@ module Google
2713
3758
  end
2714
3759
  end
2715
3760
 
2716
- # This message type encapsulates a response format for Js Optimized Scenario
3761
+ # This message type encapsulates a response format for Js Optimized Scenario.
2717
3762
  class GoogleCloudApigeeV1OptimizedStatsResponse
2718
3763
  include Google::Apis::Core::Hashable
2719
3764
 
@@ -2723,7 +3768,7 @@ module Google
2723
3768
  # @return [Array<Fixnum>]
2724
3769
  attr_accessor :time_unit
2725
3770
 
2726
- # This message type encapsulates additional information about query execution
3771
+ # This message type encapsulates additional information about query execution.
2727
3772
  # Corresponds to the JSON property `metaData`
2728
3773
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
2729
3774
  attr_accessor :meta_data
@@ -2735,7 +3780,37 @@ module Google
2735
3780
  attr_accessor :result_truncated
2736
3781
  alias_method :result_truncated?, :result_truncated
2737
3782
 
2738
- # This field contains a stats results
3783
+ # This message type encapsulates a data node as represented below:
3784
+ # `
3785
+ # "identifier": `
3786
+ # "names": [
3787
+ # "apiproxy"
3788
+ # ],
3789
+ # "values": [
3790
+ # "sirjee"
3791
+ # ]
3792
+ # `,
3793
+ # "metric": [
3794
+ # `
3795
+ # "env": "prod",
3796
+ # "name": "sum(message_count)",
3797
+ # "values": [
3798
+ # 36.0
3799
+ # ]
3800
+ # `
3801
+ # ]
3802
+ # `
3803
+ # OR
3804
+ # `
3805
+ # "env": "prod",
3806
+ # "name": "sum(message_count)",
3807
+ # "values": [
3808
+ # 36.0
3809
+ # ]
3810
+ # `
3811
+ # Depending on whether a dimension is present in the query or not
3812
+ # the data node type can be a simple metric value or dimension identifier
3813
+ # with list of metrics.
2739
3814
  # Corresponds to the JSON property `stats`
2740
3815
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
2741
3816
  attr_accessor :stats
@@ -2769,6 +3844,26 @@ module Google
2769
3844
  # @return [Array<String>]
2770
3845
  attr_accessor :attributes
2771
3846
 
3847
+ # Compute Engine network used for ServiceNetworking to
3848
+ # be peered with Apigee runtime instances. See
3849
+ # [Getting started with the Service Networking
3850
+ # API](https://cloud.google.com/service-infrastructure/docs/service-networking/
3851
+ # getting-started).
3852
+ # Valid only when [RuntimeType] is set to CLOUD. The value can be updated
3853
+ # only when there are no runtime instances.
3854
+ # For example: "default".
3855
+ # **Note:** Not supported for Apigee hybrid.
3856
+ # Corresponds to the JSON property `authorizedNetwork`
3857
+ # @return [String]
3858
+ attr_accessor :authorized_network
3859
+
3860
+ # Output only. Base64-encoded public certificate for the root CA of the Apigee
3861
+ # organization. Valid only when [RuntimeType] is CLOUD.
3862
+ # Corresponds to the JSON property `caCertificate`
3863
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3864
+ # @return [String]
3865
+ attr_accessor :ca_certificate
3866
+
2772
3867
  # Output only. Time that the Apigee organization was created in milliseconds
2773
3868
  # since epoch.
2774
3869
  # Corresponds to the JSON property `createdAt`
@@ -2807,6 +3902,11 @@ module Google
2807
3902
  # @return [String]
2808
3903
  attr_accessor :name
2809
3904
 
3905
+ # The project ID associated with the Apigee organization.
3906
+ # Corresponds to the JSON property `projectId`
3907
+ # @return [String]
3908
+ attr_accessor :project_id
3909
+
2810
3910
  # Message for compatibility with legacy Edge specification for Java Properties
2811
3911
  # object in JSON.
2812
3912
  # Corresponds to the JSON property `properties`
@@ -2842,6 +3942,8 @@ module Google
2842
3942
  def update!(**args)
2843
3943
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
2844
3944
  @attributes = args[:attributes] if args.key?(:attributes)
3945
+ @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
3946
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
2845
3947
  @created_at = args[:created_at] if args.key?(:created_at)
2846
3948
  @customer_name = args[:customer_name] if args.key?(:customer_name)
2847
3949
  @description = args[:description] if args.key?(:description)
@@ -2849,6 +3951,7 @@ module Google
2849
3951
  @environments = args[:environments] if args.key?(:environments)
2850
3952
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
2851
3953
  @name = args[:name] if args.key?(:name)
3954
+ @project_id = args[:project_id] if args.key?(:project_id)
2852
3955
  @properties = args[:properties] if args.key?(:properties)
2853
3956
  @runtime_type = args[:runtime_type] if args.key?(:runtime_type)
2854
3957
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
@@ -3067,7 +4170,7 @@ module Google
3067
4170
  # @return [String]
3068
4171
  attr_accessor :csv_delimiter
3069
4172
 
3070
- # A list of dimensions
4173
+ # A list of dimensions.
3071
4174
  # https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions
3072
4175
  # Corresponds to the JSON property `dimensions`
3073
4176
  # @return [Array<String>]
@@ -3103,7 +4206,7 @@ module Google
3103
4206
  # @return [Fixnum]
3104
4207
  attr_accessor :limit
3105
4208
 
3106
- # A list of Metrics
4209
+ # A list of Metrics.
3107
4210
  # Corresponds to the JSON property `metrics`
3108
4211
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetric>]
3109
4212
  attr_accessor :metrics
@@ -3221,17 +4324,17 @@ module Google
3221
4324
  # @return [String]
3222
4325
  attr_accessor :alias
3223
4326
 
3224
- # Aggregation function: avg, min, max, or sum
4327
+ # Aggregation function: avg, min, max, or sum.
3225
4328
  # Corresponds to the JSON property `function`
3226
4329
  # @return [String]
3227
4330
  attr_accessor :function
3228
4331
 
3229
- # Required. Metric name
4332
+ # Required. Metric name.
3230
4333
  # Corresponds to the JSON property `name`
3231
4334
  # @return [String]
3232
4335
  attr_accessor :name
3233
4336
 
3234
- # One of `+`, `-`, `/`, `%`, `*`
4337
+ # One of `+`, `-`, `/`, `%`, `*`.
3235
4338
  # Corresponds to the JSON property `operator`
3236
4339
  # @return [String]
3237
4340
  attr_accessor :operator
@@ -3325,6 +4428,53 @@ module Google
3325
4428
  end
3326
4429
  end
3327
4430
 
4431
+ # Request for ReportInstanceStatus.
4432
+ class GoogleCloudApigeeV1ReportInstanceStatusRequest
4433
+ include Google::Apis::Core::Hashable
4434
+
4435
+ # A unique ID for the instance which is guaranteed to be unique in case the
4436
+ # user installs multiple hybrid runtimes with the same instance ID.
4437
+ # Corresponds to the JSON property `instanceUid`
4438
+ # @return [String]
4439
+ attr_accessor :instance_uid
4440
+
4441
+ # The time the report was generated in the runtime. Used to prevent an old
4442
+ # status from overwriting a newer one. An instance should space out it's
4443
+ # status reports so that clock skew does not play a factor.
4444
+ # Corresponds to the JSON property `reportTime`
4445
+ # @return [String]
4446
+ attr_accessor :report_time
4447
+
4448
+ # Status for config resources
4449
+ # Corresponds to the JSON property `resources`
4450
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>]
4451
+ attr_accessor :resources
4452
+
4453
+ def initialize(**args)
4454
+ update!(**args)
4455
+ end
4456
+
4457
+ # Update properties of this object
4458
+ def update!(**args)
4459
+ @instance_uid = args[:instance_uid] if args.key?(:instance_uid)
4460
+ @report_time = args[:report_time] if args.key?(:report_time)
4461
+ @resources = args[:resources] if args.key?(:resources)
4462
+ end
4463
+ end
4464
+
4465
+ # Placeholder for future enhancements to status reporting protocol
4466
+ class GoogleCloudApigeeV1ReportInstanceStatusResponse
4467
+ include Google::Apis::Core::Hashable
4468
+
4469
+ def initialize(**args)
4470
+ update!(**args)
4471
+ end
4472
+
4473
+ # Update properties of this object
4474
+ def update!(**args)
4475
+ end
4476
+ end
4477
+
3328
4478
  #
3329
4479
  class GoogleCloudApigeeV1ReportProperty
3330
4480
  include Google::Apis::Core::Hashable
@@ -3422,6 +4572,48 @@ module Google
3422
4572
  end
3423
4573
  end
3424
4574
 
4575
+ # The status of a resource loaded in the runtime.
4576
+ class GoogleCloudApigeeV1ResourceStatus
4577
+ include Google::Apis::Core::Hashable
4578
+
4579
+ # The resource name. Currently only two resources are supported:
4580
+ # EnvironmentGroup - organizations/`org`/envgroups/`envgroup`
4581
+ # EnvironmentConfig -
4582
+ # organizations/`org`/environments/`environment`/deployedConfig
4583
+ # Corresponds to the JSON property `resource`
4584
+ # @return [String]
4585
+ attr_accessor :resource
4586
+
4587
+ # Revisions of the resource currently deployed in the instance.
4588
+ # Corresponds to the JSON property `revisions`
4589
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus>]
4590
+ attr_accessor :revisions
4591
+
4592
+ # The total number of replicas that should have this resource.
4593
+ # Corresponds to the JSON property `totalReplicas`
4594
+ # @return [Fixnum]
4595
+ attr_accessor :total_replicas
4596
+
4597
+ # The uid of the resource. In the unexpected case that the instance has
4598
+ # multiple uids for the same name, they should be reported under separate
4599
+ # ResourceStatuses.
4600
+ # Corresponds to the JSON property `uid`
4601
+ # @return [String]
4602
+ attr_accessor :uid
4603
+
4604
+ def initialize(**args)
4605
+ update!(**args)
4606
+ end
4607
+
4608
+ # Update properties of this object
4609
+ def update!(**args)
4610
+ @resource = args[:resource] if args.key?(:resource)
4611
+ @revisions = args[:revisions] if args.key?(:revisions)
4612
+ @total_replicas = args[:total_replicas] if args.key?(:total_replicas)
4613
+ @uid = args[:uid] if args.key?(:uid)
4614
+ end
4615
+ end
4616
+
3425
4617
  # Result is short for "action result", could be different types identified by
3426
4618
  # "action_result" field. Supported types:
3427
4619
  # 1. DebugInfo : generic debug info collected by runtime recorded as a list of
@@ -3524,6 +4716,71 @@ module Google
3524
4716
  end
3525
4717
  end
3526
4718
 
4719
+ # The status of a specific resource revision.
4720
+ class GoogleCloudApigeeV1RevisionStatus
4721
+ include Google::Apis::Core::Hashable
4722
+
4723
+ # Errors reported when attempting to load this revision.
4724
+ # Corresponds to the JSON property `errors`
4725
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
4726
+ attr_accessor :errors
4727
+
4728
+ # The json content of the resource revision.
4729
+ # Corresponds to the JSON property `jsonSpec`
4730
+ # @return [String]
4731
+ attr_accessor :json_spec
4732
+
4733
+ # The number of replicas that have successfully loaded this revision.
4734
+ # Corresponds to the JSON property `replicas`
4735
+ # @return [Fixnum]
4736
+ attr_accessor :replicas
4737
+
4738
+ # The revision of the resource.
4739
+ # Corresponds to the JSON property `revisionId`
4740
+ # @return [String]
4741
+ attr_accessor :revision_id
4742
+
4743
+ def initialize(**args)
4744
+ update!(**args)
4745
+ end
4746
+
4747
+ # Update properties of this object
4748
+ def update!(**args)
4749
+ @errors = args[:errors] if args.key?(:errors)
4750
+ @json_spec = args[:json_spec] if args.key?(:json_spec)
4751
+ @replicas = args[:replicas] if args.key?(:replicas)
4752
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
4753
+ end
4754
+ end
4755
+
4756
+ #
4757
+ class GoogleCloudApigeeV1RoutingRule
4758
+ include Google::Apis::Core::Hashable
4759
+
4760
+ # URI path prefix used to route to the specified environment. May contain
4761
+ # one or more wildcards. For example, path segments consisting of a single
4762
+ # `*` character will match any string.
4763
+ # Corresponds to the JSON property `basepath`
4764
+ # @return [String]
4765
+ attr_accessor :basepath
4766
+
4767
+ # Name of an environment bound to the environment group in the following
4768
+ # format: `organizations/`org`/environments/`env``.
4769
+ # Corresponds to the JSON property `environment`
4770
+ # @return [String]
4771
+ attr_accessor :environment
4772
+
4773
+ def initialize(**args)
4774
+ update!(**args)
4775
+ end
4776
+
4777
+ # Update properties of this object
4778
+ def update!(**args)
4779
+ @basepath = args[:basepath] if args.key?(:basepath)
4780
+ @environment = args[:environment] if args.key?(:environment)
4781
+ end
4782
+ end
4783
+
3527
4784
  # Response for Schema call
3528
4785
  class GoogleCloudApigeeV1Schema
3529
4786
  include Google::Apis::Core::Hashable
@@ -3802,16 +5059,16 @@ module Google
3802
5059
  end
3803
5060
  end
3804
5061
 
3805
- # This message type encapsulates a stats response
5062
+ # This message type encapsulates a stats response.
3806
5063
  class GoogleCloudApigeeV1Stats
3807
5064
  include Google::Apis::Core::Hashable
3808
5065
 
3809
- #
5066
+ # This field contains a list of query results on environment level.
3810
5067
  # Corresponds to the JSON property `environments`
3811
5068
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
3812
5069
  attr_accessor :environments
3813
5070
 
3814
- # This message type encapsulates additional information about query execution
5071
+ # This message type encapsulates additional information about query execution.
3815
5072
  # Corresponds to the JSON property `metaData`
3816
5073
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
3817
5074
  attr_accessor :meta_data
@@ -3827,7 +5084,7 @@ module Google
3827
5084
  end
3828
5085
  end
3829
5086
 
3830
- # This message type encapsulates the environment wrapper
5087
+ # This message type encapsulates the environment wrapper:
3831
5088
  # "environments": [
3832
5089
  # `
3833
5090
  # "metrics": [
@@ -3844,7 +5101,7 @@ module Google
3844
5101
  class GoogleCloudApigeeV1StatsEnvironmentStats
3845
5102
  include Google::Apis::Core::Hashable
3846
5103
 
3847
- # This field contains the list of metrics grouped under dimensions
5104
+ # This field contains the list of metrics grouped under dimensions.
3848
5105
  # Corresponds to the JSON property `dimensions`
3849
5106
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
3850
5107
  attr_accessor :dimensions
@@ -3887,7 +5144,7 @@ module Google
3887
5144
  # "name": "prod"
3888
5145
  # `
3889
5146
  # ]
3890
- # This field contains the list of metric values
5147
+ # This field contains the list of metric values.
3891
5148
  # Corresponds to the JSON property `metrics`
3892
5149
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
3893
5150
  attr_accessor :metrics
@@ -4073,6 +5330,31 @@ module Google
4073
5330
  end
4074
5331
  end
4075
5332
 
5333
+ # The response for TestDatastore
5334
+ class GoogleCloudApigeeV1TestDatastoreResponse
5335
+ include Google::Apis::Core::Hashable
5336
+
5337
+ # Output only. Error message of test connection failure
5338
+ # Corresponds to the JSON property `error`
5339
+ # @return [String]
5340
+ attr_accessor :error
5341
+
5342
+ # Output only. It could be `completed` or `failed`
5343
+ # Corresponds to the JSON property `state`
5344
+ # @return [String]
5345
+ attr_accessor :state
5346
+
5347
+ def initialize(**args)
5348
+ update!(**args)
5349
+ end
5350
+
5351
+ # Update properties of this object
5352
+ def update!(**args)
5353
+ @error = args[:error] if args.key?(:error)
5354
+ @state = args[:state] if args.key?(:state)
5355
+ end
5356
+ end
5357
+
4076
5358
  # TLS configuration information for
4077
5359
  # VirtualHosts and
4078
5360
  # TargetServers.
@@ -4257,6 +5539,45 @@ module Google
4257
5539
  end
4258
5540
  end
4259
5541
 
5542
+ # Details on why a resource update failed in the runtime.
5543
+ class GoogleCloudApigeeV1UpdateError
5544
+ include Google::Apis::Core::Hashable
5545
+
5546
+ # Status code.
5547
+ # Corresponds to the JSON property `code`
5548
+ # @return [String]
5549
+ attr_accessor :code
5550
+
5551
+ # User-friendly error message.
5552
+ # Corresponds to the JSON property `message`
5553
+ # @return [String]
5554
+ attr_accessor :message
5555
+
5556
+ # The sub resource specific to this error (e.g. a proxy deployed within the
5557
+ # EnvironmentConfig). If empty the error refers to the top level resource.
5558
+ # Corresponds to the JSON property `resource`
5559
+ # @return [String]
5560
+ attr_accessor :resource
5561
+
5562
+ # A string that uniquely identifies the type of error. This provides a
5563
+ # more reliable means to deduplicate errors across revisions and instances.
5564
+ # Corresponds to the JSON property `type`
5565
+ # @return [String]
5566
+ attr_accessor :type
5567
+
5568
+ def initialize(**args)
5569
+ update!(**args)
5570
+ end
5571
+
5572
+ # Update properties of this object
5573
+ def update!(**args)
5574
+ @code = args[:code] if args.key?(:code)
5575
+ @message = args[:message] if args.key?(:message)
5576
+ @resource = args[:resource] if args.key?(:resource)
5577
+ @type = args[:type] if args.key?(:type)
5578
+ end
5579
+ end
5580
+
4260
5581
  # Specifies the audit configuration for a service.
4261
5582
  # The configuration determines which permission types are logged, and what
4262
5583
  # identities, if any, are exempted from logging.
@@ -4269,7 +5590,7 @@ module Google
4269
5590
  # `
4270
5591
  # "audit_configs": [
4271
5592
  # `
4272
- # "service": "allServices"
5593
+ # "service": "allServices",
4273
5594
  # "audit_log_configs": [
4274
5595
  # `
4275
5596
  # "log_type": "DATA_READ",
@@ -4278,18 +5599,18 @@ module Google
4278
5599
  # ]
4279
5600
  # `,
4280
5601
  # `
4281
- # "log_type": "DATA_WRITE",
5602
+ # "log_type": "DATA_WRITE"
4282
5603
  # `,
4283
5604
  # `
4284
- # "log_type": "ADMIN_READ",
5605
+ # "log_type": "ADMIN_READ"
4285
5606
  # `
4286
5607
  # ]
4287
5608
  # `,
4288
5609
  # `
4289
- # "service": "sampleservice.googleapis.com"
5610
+ # "service": "sampleservice.googleapis.com",
4290
5611
  # "audit_log_configs": [
4291
5612
  # `
4292
- # "log_type": "DATA_READ",
5613
+ # "log_type": "DATA_READ"
4293
5614
  # `,
4294
5615
  # `
4295
5616
  # "log_type": "DATA_WRITE",
@@ -4341,7 +5662,7 @@ module Google
4341
5662
  # ]
4342
5663
  # `,
4343
5664
  # `
4344
- # "log_type": "DATA_WRITE",
5665
+ # "log_type": "DATA_WRITE"
4345
5666
  # `
4346
5667
  # ]
4347
5668
  # `
@@ -4822,6 +6143,65 @@ module Google
4822
6143
  end
4823
6144
  end
4824
6145
 
6146
+ # Describes what preconditions have failed.
6147
+ # For example, if an RPC failed because it required the Terms of Service to be
6148
+ # acknowledged, it could list the terms of service violation in the
6149
+ # PreconditionFailure message.
6150
+ class GoogleRpcPreconditionFailure
6151
+ include Google::Apis::Core::Hashable
6152
+
6153
+ # Describes all precondition violations.
6154
+ # Corresponds to the JSON property `violations`
6155
+ # @return [Array<Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation>]
6156
+ attr_accessor :violations
6157
+
6158
+ def initialize(**args)
6159
+ update!(**args)
6160
+ end
6161
+
6162
+ # Update properties of this object
6163
+ def update!(**args)
6164
+ @violations = args[:violations] if args.key?(:violations)
6165
+ end
6166
+ end
6167
+
6168
+ # A message type used to describe a single precondition failure.
6169
+ class GoogleRpcPreconditionFailureViolation
6170
+ include Google::Apis::Core::Hashable
6171
+
6172
+ # A description of how the precondition failed. Developers can use this
6173
+ # description to understand how to fix the failure.
6174
+ # For example: "Terms of service not accepted".
6175
+ # Corresponds to the JSON property `description`
6176
+ # @return [String]
6177
+ attr_accessor :description
6178
+
6179
+ # The subject, relative to the type, that failed.
6180
+ # For example, "google.com/cloud" relative to the "TOS" type would indicate
6181
+ # which terms of service is being referenced.
6182
+ # Corresponds to the JSON property `subject`
6183
+ # @return [String]
6184
+ attr_accessor :subject
6185
+
6186
+ # The type of PreconditionFailure. We recommend using a service-specific
6187
+ # enum type to define the supported precondition violation subjects. For
6188
+ # example, "TOS" for "Terms of Service violation".
6189
+ # Corresponds to the JSON property `type`
6190
+ # @return [String]
6191
+ attr_accessor :type
6192
+
6193
+ def initialize(**args)
6194
+ update!(**args)
6195
+ end
6196
+
6197
+ # Update properties of this object
6198
+ def update!(**args)
6199
+ @description = args[:description] if args.key?(:description)
6200
+ @subject = args[:subject] if args.key?(:subject)
6201
+ @type = args[:type] if args.key?(:type)
6202
+ end
6203
+ end
6204
+
4825
6205
  # The `Status` type defines a logical error model that is suitable for
4826
6206
  # different programming environments, including REST APIs and RPC APIs. It is
4827
6207
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains