google-api-client 0.47.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (605) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +57 -0
  3. data/CHANGELOG.md +466 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/accessapproval_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  11. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  13. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  14. data/generated/google/apis/admin_directory_v1.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  16. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  17. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  18. data/generated/google/apis/admin_reports_v1.rb +2 -2
  19. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  20. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/service.rb +4 -0
  23. data/generated/google/apis/admob_v1beta.rb +38 -0
  24. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  25. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  26. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  27. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  28. data/generated/google/apis/analytics_v3/service.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  30. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
  31. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
  32. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  33. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
  34. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  35. data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  38. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  39. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  40. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  41. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  42. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  45. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  46. data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
  47. data/generated/google/apis/apigee_v1.rb +1 -1
  48. data/generated/google/apis/apigee_v1/classes.rb +433 -84
  49. data/generated/google/apis/apigee_v1/representations.rb +150 -0
  50. data/generated/google/apis/apigee_v1/service.rb +926 -110
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  53. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  54. data/generated/google/apis/appengine_v1beta.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  56. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  58. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  59. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  60. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  61. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  62. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
  63. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  64. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  65. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  66. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  67. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  68. data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
  69. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  70. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  71. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  72. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  73. data/generated/google/apis/bigquery_v2.rb +1 -1
  74. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  76. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  77. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  78. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  79. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  80. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  81. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  82. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  83. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  84. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
  87. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
  90. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  93. data/generated/google/apis/chat_v1.rb +1 -1
  94. data/generated/google/apis/chat_v1/classes.rb +1 -2
  95. data/generated/google/apis/chat_v1/service.rb +176 -0
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  98. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  99. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  100. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  101. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  102. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  104. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  105. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  107. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  108. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
  118. data/generated/google/apis/cloudiot_v1.rb +1 -1
  119. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  120. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  121. data/generated/google/apis/cloudkms_v1.rb +1 -1
  122. data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
  123. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  124. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  126. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  128. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  129. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  130. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  132. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  133. data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
  134. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  136. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  137. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
  138. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  140. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  141. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  142. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  143. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  144. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  146. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  147. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
  149. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
  150. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  151. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  152. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
  153. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
  154. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  155. data/generated/google/apis/composer_v1.rb +1 -1
  156. data/generated/google/apis/composer_v1/classes.rb +123 -0
  157. data/generated/google/apis/composer_v1/representations.rb +49 -0
  158. data/generated/google/apis/composer_v1/service.rb +19 -15
  159. data/generated/google/apis/composer_v1beta1.rb +1 -1
  160. data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
  161. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  162. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  163. data/generated/google/apis/compute_alpha.rb +1 -1
  164. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  165. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  166. data/generated/google/apis/compute_alpha/service.rb +291 -15
  167. data/generated/google/apis/compute_beta.rb +1 -1
  168. data/generated/google/apis/compute_beta/classes.rb +926 -283
  169. data/generated/google/apis/compute_beta/representations.rb +221 -18
  170. data/generated/google/apis/compute_beta/service.rb +24 -15
  171. data/generated/google/apis/compute_v1.rb +1 -1
  172. data/generated/google/apis/compute_v1/classes.rb +688 -176
  173. data/generated/google/apis/compute_v1/representations.rb +99 -0
  174. data/generated/google/apis/compute_v1/service.rb +704 -552
  175. data/generated/google/apis/container_v1.rb +1 -1
  176. data/generated/google/apis/container_v1/classes.rb +48 -9
  177. data/generated/google/apis/container_v1/representations.rb +17 -0
  178. data/generated/google/apis/container_v1/service.rb +4 -2
  179. data/generated/google/apis/container_v1beta1.rb +1 -1
  180. data/generated/google/apis/container_v1beta1/classes.rb +53 -13
  181. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  182. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  183. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  184. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  185. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  186. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  187. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  188. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  189. data/generated/google/apis/content_v2.rb +1 -1
  190. data/generated/google/apis/content_v2/classes.rb +7 -7
  191. data/generated/google/apis/content_v2/service.rb +10 -8
  192. data/generated/google/apis/content_v2_1.rb +3 -4
  193. data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
  194. data/generated/google/apis/content_v2_1/representations.rb +421 -0
  195. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  196. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  197. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  198. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  199. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  200. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  201. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  202. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  203. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  204. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  205. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  206. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  207. data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
  208. data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
  209. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  210. data/generated/google/apis/dataproc_v1.rb +1 -1
  211. data/generated/google/apis/dataproc_v1/classes.rb +80 -9
  212. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  213. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  214. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
  215. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  216. data/generated/google/apis/datastore_v1.rb +1 -1
  217. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  218. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  219. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  220. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  221. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  222. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  223. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  224. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  225. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  226. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  227. data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
  228. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  229. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  230. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  231. data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
  232. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  233. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  234. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  235. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  236. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  237. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  238. data/generated/google/apis/dialogflow_v2.rb +1 -1
  239. data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
  240. data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
  241. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  242. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  243. data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
  244. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
  245. data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
  246. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  247. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  248. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  249. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  250. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  251. data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
  252. data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
  253. data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
  254. data/generated/google/apis/displayvideo_v1.rb +1 -1
  255. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  256. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  257. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  258. data/generated/google/apis/dlp_v2.rb +1 -1
  259. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  260. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  261. data/generated/google/apis/dlp_v2/service.rb +294 -1
  262. data/generated/google/apis/dns_v1.rb +1 -1
  263. data/generated/google/apis/dns_v1/classes.rb +71 -0
  264. data/generated/google/apis/dns_v1/representations.rb +33 -0
  265. data/generated/google/apis/dns_v1beta2.rb +1 -1
  266. data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
  267. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  268. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  269. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  270. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  271. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  272. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  273. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  274. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  275. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  276. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  277. data/generated/google/apis/domains_v1beta1.rb +1 -1
  278. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  279. data/generated/google/apis/drive_v2.rb +1 -1
  280. data/generated/google/apis/drive_v2/classes.rb +24 -21
  281. data/generated/google/apis/drive_v2/service.rb +26 -58
  282. data/generated/google/apis/drive_v3.rb +1 -1
  283. data/generated/google/apis/drive_v3/classes.rb +12 -8
  284. data/generated/google/apis/drive_v3/service.rb +14 -30
  285. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  286. data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
  287. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  288. data/generated/google/apis/file_v1.rb +1 -1
  289. data/generated/google/apis/file_v1/classes.rb +566 -4
  290. data/generated/google/apis/file_v1/representations.rb +222 -0
  291. data/generated/google/apis/file_v1/service.rb +229 -1
  292. data/generated/google/apis/file_v1beta1.rb +1 -1
  293. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  294. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  295. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  296. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  297. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  298. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  299. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  300. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  301. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  302. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  303. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  304. data/generated/google/apis/firestore_v1.rb +1 -1
  305. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  306. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  307. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  308. data/generated/google/apis/games_v1.rb +1 -1
  309. data/generated/google/apis/games_v1/classes.rb +353 -0
  310. data/generated/google/apis/games_v1/representations.rb +145 -0
  311. data/generated/google/apis/games_v1/service.rb +67 -0
  312. data/generated/google/apis/gameservices_v1.rb +1 -1
  313. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  314. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  315. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  316. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  317. data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
  318. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  319. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  320. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  321. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  322. data/generated/google/apis/healthcare_v1.rb +1 -1
  323. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  324. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  325. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  326. data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
  327. data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
  328. data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
  329. data/generated/google/apis/iam_v1.rb +2 -5
  330. data/generated/google/apis/iam_v1/classes.rb +109 -11
  331. data/generated/google/apis/iam_v1/representations.rb +33 -1
  332. data/generated/google/apis/iam_v1/service.rb +63 -4
  333. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  334. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  335. data/generated/google/apis/iap_v1.rb +1 -1
  336. data/generated/google/apis/iap_v1/classes.rb +0 -18
  337. data/generated/google/apis/iap_v1/representations.rb +0 -2
  338. data/generated/google/apis/iap_v1beta1.rb +1 -1
  339. data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
  340. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  341. data/generated/google/apis/jobs_v3.rb +1 -1
  342. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  343. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  344. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  345. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  346. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  347. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  348. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  349. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  350. data/generated/google/apis/jobs_v4/service.rb +903 -0
  351. data/generated/google/apis/licensing_v1.rb +1 -1
  352. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  353. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  354. data/generated/google/apis/licensing_v1/service.rb +32 -29
  355. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  356. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  357. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  358. data/generated/google/apis/logging_v2.rb +1 -1
  359. data/generated/google/apis/logging_v2/classes.rb +187 -9
  360. data/generated/google/apis/logging_v2/representations.rb +77 -0
  361. data/generated/google/apis/logging_v2/service.rb +446 -25
  362. data/generated/google/apis/managedidentities_v1.rb +1 -1
  363. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  364. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  365. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  366. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  367. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  368. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  369. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  370. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  371. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  372. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  373. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  374. data/generated/google/apis/metastore_v1beta.rb +35 -0
  375. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  376. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  377. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  378. data/generated/google/apis/ml_v1.rb +1 -1
  379. data/generated/google/apis/ml_v1/classes.rb +85 -25
  380. data/generated/google/apis/ml_v1/representations.rb +42 -1
  381. data/generated/google/apis/ml_v1/service.rb +35 -0
  382. data/generated/google/apis/monitoring_v3.rb +1 -1
  383. data/generated/google/apis/monitoring_v3/classes.rb +13 -8
  384. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  385. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  386. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  387. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  388. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  389. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  390. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  391. data/generated/google/apis/notebooks_v1.rb +34 -0
  392. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  393. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  394. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  395. data/generated/google/apis/osconfig_v1.rb +1 -1
  396. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  397. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  398. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  399. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  400. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  401. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  402. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  403. data/generated/google/apis/people_v1.rb +1 -1
  404. data/generated/google/apis/people_v1/classes.rb +10 -6
  405. data/generated/google/apis/people_v1/service.rb +21 -18
  406. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  407. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  408. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  409. data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
  410. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  411. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  412. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  413. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  414. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  415. data/generated/google/apis/pubsub_v1.rb +1 -1
  416. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  417. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  418. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  419. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  420. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  421. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  422. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  423. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  424. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  425. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  426. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  427. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  428. data/generated/google/apis/recommender_v1.rb +1 -1
  429. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  430. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  431. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  432. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  433. data/generated/google/apis/redis_v1.rb +1 -1
  434. data/generated/google/apis/redis_v1/classes.rb +86 -0
  435. data/generated/google/apis/redis_v1/representations.rb +34 -0
  436. data/generated/google/apis/redis_v1/service.rb +34 -0
  437. data/generated/google/apis/redis_v1beta1.rb +1 -1
  438. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  439. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  440. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  441. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  442. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  443. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  444. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  445. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  446. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  447. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  448. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  449. data/generated/google/apis/reseller_v1.rb +4 -4
  450. data/generated/google/apis/reseller_v1/service.rb +5 -5
  451. data/generated/google/apis/run_v1.rb +1 -1
  452. data/generated/google/apis/run_v1/classes.rb +2 -1
  453. data/generated/google/apis/run_v1alpha1.rb +1 -1
  454. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  455. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  456. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  457. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  458. data/generated/google/apis/safebrowsing_v4.rb +35 -0
  459. data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
  460. data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
  461. data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
  462. data/generated/google/apis/searchconsole_v1.rb +1 -1
  463. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  464. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  465. data/generated/google/apis/secretmanager_v1.rb +1 -1
  466. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  467. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  468. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  469. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  470. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  471. data/generated/google/apis/securitycenter_v1.rb +1 -1
  472. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  473. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  474. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  475. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  476. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  477. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  478. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  479. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  480. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  481. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  482. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  483. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  484. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
  485. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  486. data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
  487. data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
  488. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  489. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  490. data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
  491. data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
  492. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  493. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  494. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  495. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  496. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  497. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  498. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  499. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  500. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  501. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
  502. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  503. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  504. data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
  505. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
  506. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  507. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  508. data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
  509. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  510. data/generated/google/apis/serviceusage_v1.rb +1 -1
  511. data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
  512. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  513. data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
  514. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  515. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  516. data/generated/google/apis/sheets_v4.rb +1 -1
  517. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  518. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  519. data/generated/google/apis/slides_v1.rb +1 -1
  520. data/generated/google/apis/slides_v1/classes.rb +9 -3
  521. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  522. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  523. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  524. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  525. data/generated/google/apis/spanner_v1.rb +1 -1
  526. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  527. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  528. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  529. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  530. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  531. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  532. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  533. data/generated/google/apis/storage_v1.rb +1 -1
  534. data/generated/google/apis/storage_v1/classes.rb +7 -0
  535. data/generated/google/apis/storage_v1/representations.rb +1 -0
  536. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  537. data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
  538. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  539. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  540. data/generated/google/apis/testing_v1.rb +1 -1
  541. data/generated/google/apis/testing_v1/classes.rb +1 -1
  542. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  543. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  544. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  545. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  546. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  547. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  548. data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
  549. data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
  550. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  551. data/generated/google/apis/translate_v3.rb +1 -1
  552. data/generated/google/apis/translate_v3/classes.rb +3 -2
  553. data/generated/google/apis/translate_v3beta1.rb +1 -1
  554. data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
  555. data/generated/google/apis/vault_v1.rb +1 -1
  556. data/generated/google/apis/vault_v1/classes.rb +76 -0
  557. data/generated/google/apis/vault_v1/representations.rb +45 -0
  558. data/generated/google/apis/vectortile_v1.rb +1 -1
  559. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  560. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  561. data/generated/google/apis/videointelligence_v1.rb +1 -1
  562. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  563. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  564. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  565. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  566. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  567. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  568. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  569. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  570. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  571. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  572. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  573. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  574. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  575. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  576. data/generated/google/apis/vision_v1.rb +1 -1
  577. data/generated/google/apis/vision_v1/classes.rb +16 -16
  578. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  579. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  580. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  581. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  582. data/generated/google/apis/workflows_v1beta.rb +1 -1
  583. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  584. data/generated/google/apis/youtube_v3.rb +1 -1
  585. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  586. data/generated/google/apis/youtube_v3/service.rb +8 -8
  587. data/lib/google/apis/version.rb +1 -1
  588. metadata +60 -27
  589. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  590. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  591. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  592. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  593. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  594. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  595. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  596. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  597. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  598. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  599. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  600. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  601. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  602. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  603. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  604. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  605. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudApigeeV1ActivateNatAddressRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudApigeeV1Alias
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class GoogleCloudApigeeV1AsyncQueryResultView
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class GoogleCloudApigeeV1Attribute
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -136,6 +148,18 @@ module Google
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
150
 
151
+ class GoogleCloudApigeeV1CanaryEvaluation
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudApigeeV1CanaryEvaluationMetricLabels
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class GoogleCloudApigeeV1CertInfo
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -178,6 +202,12 @@ module Google
178
202
  include Google::Apis::Core::JsonObjectSupport
179
203
  end
180
204
 
205
+ class GoogleCloudApigeeV1DataCollector
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
181
211
  class GoogleCloudApigeeV1DataCollectorConfig
182
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
213
 
@@ -448,6 +478,12 @@ module Google
448
478
  include Google::Apis::Core::JsonObjectSupport
449
479
  end
450
480
 
481
+ class GoogleCloudApigeeV1ListDataCollectorsResponse
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
451
487
  class GoogleCloudApigeeV1ListDatastoresResponse
452
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
489
 
@@ -514,6 +550,12 @@ module Google
514
550
  include Google::Apis::Core::JsonObjectSupport
515
551
  end
516
552
 
553
+ class GoogleCloudApigeeV1ListNatAddressesResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
517
559
  class GoogleCloudApigeeV1ListOfDevelopersResponse
518
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
561
 
@@ -544,6 +586,12 @@ module Google
544
586
  include Google::Apis::Core::JsonObjectSupport
545
587
  end
546
588
 
589
+ class GoogleCloudApigeeV1NatAddress
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
547
595
  class GoogleCloudApigeeV1Operation
548
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
597
 
@@ -796,6 +844,12 @@ module Google
796
844
  include Google::Apis::Core::JsonObjectSupport
797
845
  end
798
846
 
847
+ class GoogleCloudApigeeV1StatsHostStats
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
799
853
  class GoogleCloudApigeeV1Subscription
800
854
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
855
 
@@ -980,6 +1034,12 @@ module Google
980
1034
  end
981
1035
  end
982
1036
 
1037
+ class GoogleCloudApigeeV1ActivateNatAddressRequest
1038
+ # @private
1039
+ class Representation < Google::Apis::Core::JsonRepresentation
1040
+ end
1041
+ end
1042
+
983
1043
  class GoogleCloudApigeeV1Alias
984
1044
  # @private
985
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1129,6 +1189,7 @@ module Google
1129
1189
  # @private
1130
1190
  class Representation < Google::Apis::Core::JsonRepresentation
1131
1191
  property :created, as: 'created'
1192
+ property :envgroup_hostname, as: 'envgroupHostname'
1132
1193
  property :error, as: 'error'
1133
1194
  property :execution_time, as: 'executionTime'
1134
1195
  property :name, as: 'name'
@@ -1153,6 +1214,18 @@ module Google
1153
1214
  end
1154
1215
  end
1155
1216
 
1217
+ class GoogleCloudApigeeV1AsyncQueryResultView
1218
+ # @private
1219
+ class Representation < Google::Apis::Core::JsonRepresentation
1220
+ property :code, as: 'code'
1221
+ property :error, as: 'error'
1222
+ property :metadata, as: 'metadata', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata::Representation
1223
+
1224
+ collection :rows, as: 'rows'
1225
+ property :state, as: 'state'
1226
+ end
1227
+ end
1228
+
1156
1229
  class GoogleCloudApigeeV1Attribute
1157
1230
  # @private
1158
1231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1169,6 +1242,31 @@ module Google
1169
1242
  end
1170
1243
  end
1171
1244
 
1245
+ class GoogleCloudApigeeV1CanaryEvaluation
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ property :control, as: 'control'
1249
+ property :create_time, as: 'createTime'
1250
+ property :end_time, as: 'endTime'
1251
+ property :metric_labels, as: 'metricLabels', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels::Representation
1252
+
1253
+ property :name, as: 'name'
1254
+ property :start_time, as: 'startTime'
1255
+ property :state, as: 'state'
1256
+ property :treatment, as: 'treatment'
1257
+ property :verdict, as: 'verdict'
1258
+ end
1259
+ end
1260
+
1261
+ class GoogleCloudApigeeV1CanaryEvaluationMetricLabels
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :env, as: 'env'
1265
+ property :instance_id, as: 'instance_id'
1266
+ property :location, as: 'location'
1267
+ end
1268
+ end
1269
+
1172
1270
  class GoogleCloudApigeeV1CertInfo
1173
1271
  # @private
1174
1272
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1264,6 +1362,17 @@ module Google
1264
1362
  end
1265
1363
  end
1266
1364
 
1365
+ class GoogleCloudApigeeV1DataCollector
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ property :created_at, :numeric_string => true, as: 'createdAt'
1369
+ property :description, as: 'description'
1370
+ property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
1371
+ property :name, as: 'name'
1372
+ property :type, as: 'type'
1373
+ end
1374
+ end
1375
+
1267
1376
  class GoogleCloudApigeeV1DataCollectorConfig
1268
1377
  # @private
1269
1378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1779,6 +1888,15 @@ module Google
1779
1888
  end
1780
1889
  end
1781
1890
 
1891
+ class GoogleCloudApigeeV1ListDataCollectorsResponse
1892
+ # @private
1893
+ class Representation < Google::Apis::Core::JsonRepresentation
1894
+ collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1895
+
1896
+ property :next_page_token, as: 'nextPageToken'
1897
+ end
1898
+ end
1899
+
1782
1900
  class GoogleCloudApigeeV1ListDatastoresResponse
1783
1901
  # @private
1784
1902
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1872,6 +1990,15 @@ module Google
1872
1990
  end
1873
1991
  end
1874
1992
 
1993
+ class GoogleCloudApigeeV1ListNatAddressesResponse
1994
+ # @private
1995
+ class Representation < Google::Apis::Core::JsonRepresentation
1996
+ collection :nat_addresses, as: 'natAddresses', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
1997
+
1998
+ property :next_page_token, as: 'nextPageToken'
1999
+ end
2000
+ end
2001
+
1875
2002
  class GoogleCloudApigeeV1ListOfDevelopersResponse
1876
2003
  # @private
1877
2004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1912,6 +2039,15 @@ module Google
1912
2039
  end
1913
2040
  end
1914
2041
 
2042
+ class GoogleCloudApigeeV1NatAddress
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :ip_address, as: 'ipAddress'
2046
+ property :name, as: 'name'
2047
+ property :state, as: 'state'
2048
+ end
2049
+ end
2050
+
1915
2051
  class GoogleCloudApigeeV1Operation
1916
2052
  # @private
1917
2053
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2064,6 +2200,7 @@ module Google
2064
2200
  class Representation < Google::Apis::Core::JsonRepresentation
2065
2201
  property :csv_delimiter, as: 'csvDelimiter'
2066
2202
  collection :dimensions, as: 'dimensions'
2203
+ property :envgroup_hostname, as: 'envgroupHostname'
2067
2204
  property :filter, as: 'filter'
2068
2205
  property :group_by_time_unit, as: 'groupByTimeUnit'
2069
2206
  property :limit, as: 'limit'
@@ -2346,6 +2483,8 @@ module Google
2346
2483
  class Representation < Google::Apis::Core::JsonRepresentation
2347
2484
  collection :environments, as: 'environments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats::Representation
2348
2485
 
2486
+ collection :hosts, as: 'hosts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats::Representation
2487
+
2349
2488
  property :meta_data, as: 'metaData', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata::Representation
2350
2489
 
2351
2490
  end
@@ -2362,6 +2501,17 @@ module Google
2362
2501
  end
2363
2502
  end
2364
2503
 
2504
+ class GoogleCloudApigeeV1StatsHostStats
2505
+ # @private
2506
+ class Representation < Google::Apis::Core::JsonRepresentation
2507
+ collection :dimensions, as: 'dimensions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric::Representation
2508
+
2509
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric::Representation
2510
+
2511
+ property :name, as: 'name'
2512
+ end
2513
+ end
2514
+
2365
2515
  class GoogleCloudApigeeV1Subscription
2366
2516
  # @private
2367
2517
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,6 +119,37 @@ module Google
119
119
  execute_or_queue_command(command, &block)
120
120
  end
121
121
 
122
+ # Delete an Apigee organization. Only supported for SubscriptionType TRIAL.
123
+ # @param [String] name
124
+ # Required. Name of the organization. Use the following structure in your
125
+ # request: `organizations/`org``
126
+ # @param [String] fields
127
+ # Selector specifying which fields to include in a partial response.
128
+ # @param [String] quota_user
129
+ # Available to use for quota purposes for server-side applications. Can be any
130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
131
+ # @param [Google::Apis::RequestOptions] options
132
+ # Request-specific options
133
+ #
134
+ # @yield [result, err] Result & error if block supplied
135
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
136
+ # @yieldparam err [StandardError] error object if request failed
137
+ #
138
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
139
+ #
140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
143
+ def delete_organization(name, fields: nil, quota_user: nil, options: nil, &block)
144
+ command = make_simple_command(:delete, 'v1/{+name}', options)
145
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
146
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
147
+ command.params['name'] = name unless name.nil?
148
+ command.query['fields'] = fields unless fields.nil?
149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
150
+ execute_or_queue_command(command, &block)
151
+ end
152
+
122
153
  # Gets the profile for an Apigee organization. See [Understanding organizations](
123
154
  # https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-
124
155
  # structure).
@@ -541,16 +572,16 @@ module Google
541
572
  # Updates or creates API product attributes. This API **replaces** the current
542
573
  # list of attributes with the attributes specified in the request body. In this
543
574
  # way, you can update existing attributes, add new attributes, or delete
544
- # existing attributes by omitting them from the request body. OAuth access
545
- # tokens and Key Management Service (KMS) entities (apps, developers, and API
546
- # products) are cached for 180 seconds (current default). Any custom attributes
547
- # associated with entities also get cached for at least 180 seconds after entity
548
- # is accessed during runtime. In this case, the `ExpiresIn` element on the
549
- # OAuthV2 policy won't be able to expire an access token in less than 180
575
+ # existing attributes by omitting them from the request body. **Note**: OAuth
576
+ # access tokens and Key Management Service (KMS) entities (apps, developers, and
577
+ # API products) are cached for 180 seconds (current default). Any custom
578
+ # attributes associated with entities also get cached for at least 180 seconds
579
+ # after entity is accessed during runtime. In this case, the `ExpiresIn` element
580
+ # on the OAuthV2 policy won't be able to expire an access token in less than 180
550
581
  # seconds.
551
582
  # @param [String] name
552
- # **Required.** API product name in the following form: organizations/
553
- # organization_ID/apiproducts/api_product_name
583
+ # Required. Name of the API product. Use the following structure in your request:
584
+ # `organizations/`org`/apiproducts/`apiproduct``
554
585
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
555
586
  # @param [String] fields
556
587
  # Selector specifying which fields to include in a partial response.
@@ -592,14 +623,14 @@ module Google
592
623
  # provision credentials to apps to enable them to start testing your APIs. After
593
624
  # you have authentication and authorization working against a simple API product,
594
625
  # you can iterate to create finer grained API products, defining different sets
595
- # of API resources for each API product. *WARNING:* - If you don't specify an
626
+ # of API resources for each API product. **WARNING:** - If you don't specify an
596
627
  # API proxy in the request body, *any* app associated with the product can make
597
628
  # calls to *any* API in your entire organization. - If you don't specify an
598
629
  # environment in the request body, the product allows access to all environments.
599
- # For more information, see ``what_api_product``
630
+ # For more information, see What is an API product?
600
631
  # @param [String] parent
601
- # Required. The parent organization name under which the API product will be
602
- # created. Must be in the following form: organizations/organization_ID
632
+ # Required. Name of the organization in which the API product will be created.
633
+ # Use the following structure in your request: `organizations/`org``
603
634
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
604
635
  # @param [String] fields
605
636
  # Selector specifying which fields to include in a partial response.
@@ -639,8 +670,8 @@ module Google
639
670
  # whether the API product was created via the UI or the API. View the list of
640
671
  # API products to verify the internal name.
641
672
  # @param [String] name
642
- # Required. API product name in the following form: organizations/
643
- # organization_ID/apiproducts/api_product_name
673
+ # Required. Name of the API product. Use the following structure in your request:
674
+ # `organizations/`org`/apiproducts/`apiproduct``
644
675
  # @param [String] fields
645
676
  # Selector specifying which fields to include in a partial response.
646
677
  # @param [String] quota_user
@@ -674,8 +705,8 @@ module Google
674
705
  # via the UI or the API. View the list of API products to verify the internal
675
706
  # name.
676
707
  # @param [String] name
677
- # **Required.** API product name in the following form: organizations/
678
- # organization_ID/apiproducts/api_product_name
708
+ # Required. Name of the API product. Use the following structure in your request:
709
+ # `organizations/`org`/apiproducts/`apiproduct``
679
710
  # @param [String] fields
680
711
  # Selector specifying which fields to include in a partial response.
681
712
  # @param [String] quota_user
@@ -708,17 +739,18 @@ module Google
708
739
  # returned by the API is 1000. You can paginate the list of API products
709
740
  # returned using the `startKey` and `count` query parameters.
710
741
  # @param [String] parent
711
- # **Required.** The parent organization name in the following form:
712
- # organizations/organization_ID
742
+ # Required. Name of the organization. Use the following structure in your
743
+ # request: `organizations/`org``
713
744
  # @param [String] attributename
714
- # The name of the attribute to search.
745
+ # Name of the attribute used to filter the search.
715
746
  # @param [String] attributevalue
716
- # The value of the attribute.
747
+ # Value of the attribute used to filter the search.
717
748
  # @param [Fixnum] count
718
749
  # Enter the number of API products you want returned in the API call. The limit
719
750
  # is 1000.
720
751
  # @param [Boolean] expand
721
- # Set to `true` to get expanded details about each API.
752
+ # Flag that specifies whether to expand the results. Set to `true` to get
753
+ # expanded details about each API.
722
754
  # @param [String] start_key
723
755
  # Gets a list of API products starting with a specific API product in the list.
724
756
  # For example, if you're returning 50 API products at a time (using the `count`
@@ -764,8 +796,8 @@ module Google
764
796
  # depends on whether the API product was created via UI or API. View the list of
765
797
  # API products to identify their internal names.
766
798
  # @param [String] name
767
- # **Required.** API product name in the following form: organizations/
768
- # organization_ID/apiproducts/api_product_name
799
+ # Required. Name of the API product. Use the following structure in your request:
800
+ # `organizations/`org`/apiproducts/`apiproduct``
769
801
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
770
802
  # @param [String] fields
771
803
  # Selector specifying which fields to include in a partial response.
@@ -798,8 +830,9 @@ module Google
798
830
 
799
831
  # Deletes an API product attribute.
800
832
  # @param [String] name
801
- # **Required.** API product name in the following form: organizations/
802
- # organization_ID/apiproducts/api_product_name/attributes/attribute_name
833
+ # Required. Name of the API product attribute. Use the following structure in
834
+ # your request: `organizations/`org`/apiproducts/`apiproduct`/attributes/`
835
+ # attribute``
803
836
  # @param [String] fields
804
837
  # Selector specifying which fields to include in a partial response.
805
838
  # @param [String] quota_user
@@ -827,10 +860,11 @@ module Google
827
860
  execute_or_queue_command(command, &block)
828
861
  end
829
862
 
830
- # Returns the value of an API product attribute.
863
+ # Gets the value of an API product attribute.
831
864
  # @param [String] name
832
- # **Required.** API product name in the following form: organizations/
833
- # organization_ID/apiproducts/api_product_name/attributes/attribute_name
865
+ # Required. Name of the API product attribute. Use the following structure in
866
+ # your request: `organizations/`org`/apiproducts/`apiproduct`/attributes/`
867
+ # attribute``
834
868
  # @param [String] fields
835
869
  # Selector specifying which fields to include in a partial response.
836
870
  # @param [String] quota_user
@@ -858,10 +892,10 @@ module Google
858
892
  execute_or_queue_command(command, &block)
859
893
  end
860
894
 
861
- # Returns a list of all API product attributes.
895
+ # Lists all API product attributes.
862
896
  # @param [String] parent
863
- # Required. The parent organization name. Must be in the following form:
864
- # organizations/organization_ID/apiproducts/api_product_name
897
+ # Required. Name of the API product. Use the following structure in your request:
898
+ # `organizations/`org`/apiproducts/`apiproduct``
865
899
  # @param [String] fields
866
900
  # Selector specifying which fields to include in a partial response.
867
901
  # @param [String] quota_user
@@ -889,16 +923,15 @@ module Google
889
923
  execute_or_queue_command(command, &block)
890
924
  end
891
925
 
892
- # Updates the value of an API product attribute. Limitations are: OAuth access
893
- # tokens and Key Management Service (KMS) entities (apps, developers, and API
894
- # products) are cached for 180 seconds (current default). Any custom attributes
895
- # associated with entities also get cached for at least 180 seconds after entity
896
- # is accessed during runtime. In this case, the `ExpiresIn` element on the
897
- # OAuthV2 policy won't be able to expire an access token in less than 180
898
- # seconds.
926
+ # Updates the value of an API product attribute. **Note**: OAuth access tokens
927
+ # and Key Management Service (KMS) entities (apps, developers, and API products)
928
+ # are cached for 180 seconds (current default). Any custom attributes associated
929
+ # with entities also get cached for at least 180 seconds after entity is
930
+ # accessed during runtime. In this case, the `ExpiresIn` element on the OAuthV2
931
+ # policy won't be able to expire an access token in less than 180 seconds.
899
932
  # @param [String] name
900
- # **Required.** API product name in the following form: organizations/
901
- # organization_ID/apiproducts/api_product_name
933
+ # Required. Name of the API product. Use the following structure in your request:
934
+ # `organizations/`org`/apiproducts/`apiproduct``
902
935
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute] google_cloud_apigee_v1_attribute_object
903
936
  # @param [String] fields
904
937
  # Selector specifying which fields to include in a partial response.
@@ -1428,6 +1461,181 @@ module Google
1428
1461
  execute_or_queue_command(command, &block)
1429
1462
  end
1430
1463
 
1464
+ # Creates a new data collector.
1465
+ # @param [String] parent
1466
+ # Required. Name of the organization in which to create the data collector in
1467
+ # the following format: `organizations/`org``.
1468
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
1469
+ # @param [String] data_collector_id
1470
+ # ID of the data collector. Overrides any ID in the data collector resource.
1471
+ # Must begin with `dc_`.
1472
+ # @param [String] fields
1473
+ # Selector specifying which fields to include in a partial response.
1474
+ # @param [String] quota_user
1475
+ # Available to use for quota purposes for server-side applications. Can be any
1476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1477
+ # @param [Google::Apis::RequestOptions] options
1478
+ # Request-specific options
1479
+ #
1480
+ # @yield [result, err] Result & error if block supplied
1481
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] parsed result object
1482
+ # @yieldparam err [StandardError] error object if request failed
1483
+ #
1484
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector]
1485
+ #
1486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1489
+ def create_organization_datacollector(parent, google_cloud_apigee_v1_data_collector_object = nil, data_collector_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1490
+ command = make_simple_command(:post, 'v1/{+parent}/datacollectors', options)
1491
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1492
+ command.request_object = google_cloud_apigee_v1_data_collector_object
1493
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1494
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector
1495
+ command.params['parent'] = parent unless parent.nil?
1496
+ command.query['dataCollectorId'] = data_collector_id unless data_collector_id.nil?
1497
+ command.query['fields'] = fields unless fields.nil?
1498
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1499
+ execute_or_queue_command(command, &block)
1500
+ end
1501
+
1502
+ # Deletes a data collector.
1503
+ # @param [String] name
1504
+ # Required. Name of the data collector in the following format: `organizations/`
1505
+ # org`/datacollectors/`data_collector_id``.
1506
+ # @param [String] fields
1507
+ # Selector specifying which fields to include in a partial response.
1508
+ # @param [String] quota_user
1509
+ # Available to use for quota purposes for server-side applications. Can be any
1510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1511
+ # @param [Google::Apis::RequestOptions] options
1512
+ # Request-specific options
1513
+ #
1514
+ # @yield [result, err] Result & error if block supplied
1515
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
1516
+ # @yieldparam err [StandardError] error object if request failed
1517
+ #
1518
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
1519
+ #
1520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1523
+ def delete_organization_datacollector(name, fields: nil, quota_user: nil, options: nil, &block)
1524
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1525
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
1526
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
1527
+ command.params['name'] = name unless name.nil?
1528
+ command.query['fields'] = fields unless fields.nil?
1529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1530
+ execute_or_queue_command(command, &block)
1531
+ end
1532
+
1533
+ # Gets a data collector.
1534
+ # @param [String] name
1535
+ # Required. Name of the data collector in the following format: `organizations/`
1536
+ # org`/datacollectors/`data_collector_id``.
1537
+ # @param [String] fields
1538
+ # Selector specifying which fields to include in a partial response.
1539
+ # @param [String] quota_user
1540
+ # Available to use for quota purposes for server-side applications. Can be any
1541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1542
+ # @param [Google::Apis::RequestOptions] options
1543
+ # Request-specific options
1544
+ #
1545
+ # @yield [result, err] Result & error if block supplied
1546
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] parsed result object
1547
+ # @yieldparam err [StandardError] error object if request failed
1548
+ #
1549
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector]
1550
+ #
1551
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1552
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1553
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1554
+ def get_organization_datacollector(name, fields: nil, quota_user: nil, options: nil, &block)
1555
+ command = make_simple_command(:get, 'v1/{+name}', options)
1556
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1557
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector
1558
+ command.params['name'] = name unless name.nil?
1559
+ command.query['fields'] = fields unless fields.nil?
1560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1561
+ execute_or_queue_command(command, &block)
1562
+ end
1563
+
1564
+ # Lists all data collectors.
1565
+ # @param [String] parent
1566
+ # Required. Name of the organization for which to list data collectors in the
1567
+ # following format: `organizations/`org``.
1568
+ # @param [Fixnum] page_size
1569
+ # Maximum number of data collectors to return. The page size defaults to 25.
1570
+ # @param [String] page_token
1571
+ # Page token, returned from a previous ListDataCollectors call, that you can use
1572
+ # to retrieve the next page.
1573
+ # @param [String] fields
1574
+ # Selector specifying which fields to include in a partial response.
1575
+ # @param [String] quota_user
1576
+ # Available to use for quota purposes for server-side applications. Can be any
1577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1578
+ # @param [Google::Apis::RequestOptions] options
1579
+ # Request-specific options
1580
+ #
1581
+ # @yield [result, err] Result & error if block supplied
1582
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDataCollectorsResponse] parsed result object
1583
+ # @yieldparam err [StandardError] error object if request failed
1584
+ #
1585
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDataCollectorsResponse]
1586
+ #
1587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1590
+ def list_organization_datacollectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1591
+ command = make_simple_command(:get, 'v1/{+parent}/datacollectors', options)
1592
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDataCollectorsResponse::Representation
1593
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDataCollectorsResponse
1594
+ command.params['parent'] = parent unless parent.nil?
1595
+ command.query['pageSize'] = page_size unless page_size.nil?
1596
+ command.query['pageToken'] = page_token unless page_token.nil?
1597
+ command.query['fields'] = fields unless fields.nil?
1598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1599
+ execute_or_queue_command(command, &block)
1600
+ end
1601
+
1602
+ # Updates a data collector.
1603
+ # @param [String] name
1604
+ # Required. Name of the data collector in the following format: `organizations/`
1605
+ # org`/datacollectors/`data_collector_id``.
1606
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
1607
+ # @param [String] update_mask
1608
+ # List of fields to be updated.
1609
+ # @param [String] fields
1610
+ # Selector specifying which fields to include in a partial response.
1611
+ # @param [String] quota_user
1612
+ # Available to use for quota purposes for server-side applications. Can be any
1613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1614
+ # @param [Google::Apis::RequestOptions] options
1615
+ # Request-specific options
1616
+ #
1617
+ # @yield [result, err] Result & error if block supplied
1618
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] parsed result object
1619
+ # @yieldparam err [StandardError] error object if request failed
1620
+ #
1621
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector]
1622
+ #
1623
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1624
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1625
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1626
+ def patch_organization_datacollector(name, google_cloud_apigee_v1_data_collector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1627
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1628
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1629
+ command.request_object = google_cloud_apigee_v1_data_collector_object
1630
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector::Representation
1631
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector
1632
+ command.params['name'] = name unless name.nil?
1633
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1634
+ command.query['fields'] = fields unless fields.nil?
1635
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1636
+ execute_or_queue_command(command, &block)
1637
+ end
1638
+
1431
1639
  # Lists all deployments of API proxies or shared flows.
1432
1640
  # @param [String] parent
1433
1641
  # Required. Name of the organization for which to return deployment information
@@ -1624,6 +1832,9 @@ module Google
1624
1832
  # @param [String] parent
1625
1833
  # Required. Name of the Apigee organization. Use the following structure in your
1626
1834
  # request: `organizations/`org``.
1835
+ # @param [String] app
1836
+ # Optional. List only Developers that are associated with the app. Note that
1837
+ # start_key, count are not applicable for this filter criteria.
1627
1838
  # @param [Fixnum] count
1628
1839
  # Optional. Number of developers to return in the API call. Use with the `
1629
1840
  # startKey` parameter to provide more targeted filtering. The limit is 1000.
@@ -1659,11 +1870,12 @@ module Google
1659
1870
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1660
1871
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1661
1872
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1662
- def list_organization_developers(parent, count: nil, expand: nil, ids: nil, include_company: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1873
+ def list_organization_developers(parent, app: nil, count: nil, expand: nil, ids: nil, include_company: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1663
1874
  command = make_simple_command(:get, 'v1/{+parent}/developers', options)
1664
1875
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListOfDevelopersResponse::Representation
1665
1876
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListOfDevelopersResponse
1666
1877
  command.params['parent'] = parent unless parent.nil?
1878
+ command.query['app'] = app unless app.nil?
1667
1879
  command.query['count'] = count unless count.nil?
1668
1880
  command.query['expand'] = expand unless expand.nil?
1669
1881
  command.query['ids'] = ids unless ids.nil?
@@ -4271,7 +4483,9 @@ module Google
4271
4483
  # organization`/environments/`environment`/keystores/`keystore``.
4272
4484
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
4273
4485
  # @param [String] _password
4274
- # The password for the private key file, if it exists.
4486
+ # DEPRECATED: For improved security, send the password in the body instead of
4487
+ # using this query param. To send it in the body, use a multipart/form-data part
4488
+ # with name "password". The password for the private key file, if it exists.
4275
4489
  # @param [String] alias_
4276
4490
  # The alias for the key, certificate pair. Values must match regular expression `
4277
4491
  # [\w\s-.]`1,255``. This must be provided for all formats except 'selfsignedcert'
@@ -5558,13 +5772,13 @@ module Google
5558
5772
  execute_or_queue_command(command, &block)
5559
5773
  end
5560
5774
 
5561
- # Creates an Apigee runtime instance. The instance is accessible from the
5562
- # authorized network configured on the organization. **Note:** Not supported for
5563
- # Apigee hybrid.
5775
+ # Submit a query at host level to be processed in the background. If the
5776
+ # submission of the query succeeds, the API returns a 201 status and an ID that
5777
+ # refer to the query. In addition to the HTTP status 201, the `state` of "
5778
+ # enqueued" means that the request succeeded.
5564
5779
  # @param [String] parent
5565
- # Required. Name of the organization. Use the following structure in your
5566
- # request: `organizations/`org``.
5567
- # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
5780
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5781
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
5568
5782
  # @param [String] fields
5569
5783
  # Selector specifying which fields to include in a partial response.
5570
5784
  # @param [String] quota_user
@@ -5574,31 +5788,32 @@ module Google
5574
5788
  # Request-specific options
5575
5789
  #
5576
5790
  # @yield [result, err] Result & error if block supplied
5577
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5791
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5578
5792
  # @yieldparam err [StandardError] error object if request failed
5579
5793
  #
5580
- # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5794
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5581
5795
  #
5582
5796
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5583
5797
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5584
5798
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5585
- def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5586
- command = make_simple_command(:post, 'v1/{+parent}/instances', options)
5587
- command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
5588
- command.request_object = google_cloud_apigee_v1_instance_object
5589
- command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5590
- command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5799
+ def create_organization_host_query(parent, google_cloud_apigee_v1_query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5800
+ command = make_simple_command(:post, 'v1/{+parent}/hostQueries', options)
5801
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query::Representation
5802
+ command.request_object = google_cloud_apigee_v1_query_object
5803
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5804
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5591
5805
  command.params['parent'] = parent unless parent.nil?
5592
5806
  command.query['fields'] = fields unless fields.nil?
5593
5807
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5594
5808
  execute_or_queue_command(command, &block)
5595
5809
  end
5596
5810
 
5597
- # Deletes an Apigee runtime instance. The instance stops serving requests and
5598
- # the runtime data is deleted. **Note:** Not supported for Apigee hybrid.
5811
+ # Get status of a query submitted at host level. If the query is still in
5812
+ # progress, the `state` is set to "running" After the query has completed
5813
+ # successfully, `state` is set to "completed"
5599
5814
  # @param [String] name
5600
- # Required. Name of the instance. Use the following structure in your request: `
5601
- # organizations/`org`/instance/`instance``.
5815
+ # Required. Name of the asynchronous query to get. Must be of the form `
5816
+ # organizations/`org`/queries/`queryId``.
5602
5817
  # @param [String] fields
5603
5818
  # Selector specifying which fields to include in a partial response.
5604
5819
  # @param [String] quota_user
@@ -5608,29 +5823,32 @@ module Google
5608
5823
  # Request-specific options
5609
5824
  #
5610
5825
  # @yield [result, err] Result & error if block supplied
5611
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5826
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5612
5827
  # @yieldparam err [StandardError] error object if request failed
5613
5828
  #
5614
- # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5829
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5615
5830
  #
5616
5831
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5617
5832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5618
5833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5619
- def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
5620
- command = make_simple_command(:delete, 'v1/{+name}', options)
5621
- command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5622
- command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5834
+ def get_organization_host_query(name, fields: nil, quota_user: nil, options: nil, &block)
5835
+ command = make_simple_command(:get, 'v1/{+name}', options)
5836
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5837
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5623
5838
  command.params['name'] = name unless name.nil?
5624
5839
  command.query['fields'] = fields unless fields.nil?
5625
5840
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5626
5841
  execute_or_queue_command(command, &block)
5627
5842
  end
5628
5843
 
5629
- # Gets the details for an Apigee runtime instance. **Note:** Not supported for
5630
- # Apigee hybrid.
5844
+ # After the query is completed, use this API to retrieve the results. If the
5845
+ # request succeeds, and there is a non-zero result set, the result is downloaded
5846
+ # to the client as a zipped JSON file. The name of the downloaded file will be:
5847
+ # OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-
5848
+ # 318d0cb961bd.zip`
5631
5849
  # @param [String] name
5632
- # Required. Name of the instance. Use the following structure in your request: `
5633
- # organizations/`org`/instances/`instance``.
5850
+ # Required. Name of the asynchronous query result to get. Must be of the form `
5851
+ # organizations/`org`/queries/`queryId`/result`.
5634
5852
  # @param [String] fields
5635
5853
  # Selector specifying which fields to include in a partial response.
5636
5854
  # @param [String] quota_user
@@ -5640,34 +5858,28 @@ module Google
5640
5858
  # Request-specific options
5641
5859
  #
5642
5860
  # @yield [result, err] Result & error if block supplied
5643
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
5861
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleApiHttpBody] parsed result object
5644
5862
  # @yieldparam err [StandardError] error object if request failed
5645
5863
  #
5646
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
5864
+ # @return [Google::Apis::ApigeeV1::GoogleApiHttpBody]
5647
5865
  #
5648
5866
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5649
5867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5650
5868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5651
- def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
5869
+ def get_organization_host_query_result(name, fields: nil, quota_user: nil, options: nil, &block)
5652
5870
  command = make_simple_command(:get, 'v1/{+name}', options)
5653
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
5654
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
5871
+ command.response_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
5872
+ command.response_class = Google::Apis::ApigeeV1::GoogleApiHttpBody
5655
5873
  command.params['name'] = name unless name.nil?
5656
5874
  command.query['fields'] = fields unless fields.nil?
5657
5875
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5658
5876
  execute_or_queue_command(command, &block)
5659
5877
  end
5660
5878
 
5661
- # Lists all Apigee runtime instances for the organization. **Note:** Not
5662
- # supported for Apigee hybrid.
5663
- # @param [String] parent
5664
- # Required. Name of the organization. Use the following structure in your
5665
- # request: `organizations/`org``.
5666
- # @param [Fixnum] page_size
5667
- # Maximum number of instances to return. Defaults to 25.
5668
- # @param [String] page_token
5669
- # Page token, returned from a previous ListInstances call, that you can use to
5670
- # retrieve the next page of content.
5879
+ #
5880
+ # @param [String] name
5881
+ # Required. Name of the asynchronous query result view to get. Must be of the
5882
+ # form `organizations/`org`/queries/`queryId`/resultView`.
5671
5883
  # @param [String] fields
5672
5884
  # Selector specifying which fields to include in a partial response.
5673
5885
  # @param [String] quota_user
@@ -5677,42 +5889,322 @@ module Google
5677
5889
  # Request-specific options
5678
5890
  #
5679
5891
  # @yield [result, err] Result & error if block supplied
5680
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
5892
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] parsed result object
5681
5893
  # @yieldparam err [StandardError] error object if request failed
5682
5894
  #
5683
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
5895
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView]
5684
5896
  #
5685
5897
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5686
5898
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5687
5899
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5688
- def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5689
- command = make_simple_command(:get, 'v1/{+parent}/instances', options)
5690
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation
5691
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse
5692
- command.params['parent'] = parent unless parent.nil?
5693
- command.query['pageSize'] = page_size unless page_size.nil?
5694
- command.query['pageToken'] = page_token unless page_token.nil?
5900
+ def get_organization_host_query_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
5901
+ command = make_simple_command(:get, 'v1/{+name}', options)
5902
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView::Representation
5903
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
5904
+ command.params['name'] = name unless name.nil?
5695
5905
  command.query['fields'] = fields unless fields.nil?
5696
5906
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5697
5907
  execute_or_queue_command(command, &block)
5698
5908
  end
5699
5909
 
5700
- # Reports the latest status for a runtime instance.
5701
- # @param [String] instance
5702
- # The name of the instance reporting this status. For SaaS the request will be
5703
- # rejected if no instance exists under this name. Format is organizations/`org`/
5704
- # instances/`instance`
5705
- # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object
5706
- # @param [String] fields
5707
- # Selector specifying which fields to include in a partial response.
5708
- # @param [String] quota_user
5709
- # Available to use for quota purposes for server-side applications. Can be any
5710
- # arbitrary string assigned to a user, but should not exceed 40 characters.
5711
- # @param [Google::Apis::RequestOptions] options
5712
- # Request-specific options
5713
- #
5714
- # @yield [result, err] Result & error if block supplied
5715
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object
5910
+ # Return a list of Asynchronous Queries at host level.
5911
+ # @param [String] parent
5912
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5913
+ # @param [String] dataset
5914
+ # Filter response list by dataset. Example: `api`, `mint`
5915
+ # @param [String] envgroup_hostname
5916
+ # Required. Filter response list by hostname.
5917
+ # @param [String] from
5918
+ # Filter response list by returning asynchronous queries that created after this
5919
+ # date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
5920
+ # @param [String] incl_queries_without_report
5921
+ # Flag to include asynchronous queries that don't have a report denifition.
5922
+ # @param [String] status
5923
+ # Filter response list by asynchronous query status.
5924
+ # @param [String] submitted_by
5925
+ # Filter response list by user who submitted queries.
5926
+ # @param [String] to
5927
+ # Filter response list by returning asynchronous queries that created before
5928
+ # this date time. Time must be in ISO date-time format like '2011-12-03T10:16:
5929
+ # 30Z'.
5930
+ # @param [String] fields
5931
+ # Selector specifying which fields to include in a partial response.
5932
+ # @param [String] quota_user
5933
+ # Available to use for quota purposes for server-side applications. Can be any
5934
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5935
+ # @param [Google::Apis::RequestOptions] options
5936
+ # Request-specific options
5937
+ #
5938
+ # @yield [result, err] Result & error if block supplied
5939
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse] parsed result object
5940
+ # @yieldparam err [StandardError] error object if request failed
5941
+ #
5942
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse]
5943
+ #
5944
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5945
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5946
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5947
+ def list_organization_host_queries(parent, dataset: nil, envgroup_hostname: nil, from: nil, incl_queries_without_report: nil, status: nil, submitted_by: nil, to: nil, fields: nil, quota_user: nil, options: nil, &block)
5948
+ command = make_simple_command(:get, 'v1/{+parent}/hostQueries', options)
5949
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse::Representation
5950
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse
5951
+ command.params['parent'] = parent unless parent.nil?
5952
+ command.query['dataset'] = dataset unless dataset.nil?
5953
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
5954
+ command.query['from'] = from unless from.nil?
5955
+ command.query['inclQueriesWithoutReport'] = incl_queries_without_report unless incl_queries_without_report.nil?
5956
+ command.query['status'] = status unless status.nil?
5957
+ command.query['submittedBy'] = submitted_by unless submitted_by.nil?
5958
+ command.query['to'] = to unless to.nil?
5959
+ command.query['fields'] = fields unless fields.nil?
5960
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5961
+ execute_or_queue_command(command, &block)
5962
+ end
5963
+
5964
+ # Retrieve metrics grouped by dimensions in host level. The types of metrics you
5965
+ # can retrieve include traffic, message counts, API call latency, response size,
5966
+ # and cache hits and counts. Dimensions let you view metrics in meaningful
5967
+ # groups. The stats api does accept dimensions as path params. The dimensions
5968
+ # are optional in which case the metrics are computed on the entire data for the
5969
+ # given timerange.
5970
+ # @param [String] name
5971
+ # Required. The resource name for which the interactive query will be executed.
5972
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
5973
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
5974
+ # target_host. The value of dimensions should be comma separated list as shown
5975
+ # below `organizations/`org`/stats/apiproxy,request_verb`
5976
+ # @param [String] accuracy
5977
+ # Legacy field: not used anymore.
5978
+ # @param [String] envgroup_hostname
5979
+ # Required. The hostname for which the interactive query will be executed.
5980
+ # @param [String] filter
5981
+ # Enables drill-down on specific dimension values.
5982
+ # @param [String] limit
5983
+ # This parameter is used to limit the number of result items. Default and the
5984
+ # max value is 14400.
5985
+ # @param [String] offset
5986
+ # Use offset with limit to enable pagination of results. For example, to display
5987
+ # results 11-20, set limit to '10' and offset to '10'.
5988
+ # @param [Boolean] realtime
5989
+ # Legacy field: not used anymore.
5990
+ # @param [String] select
5991
+ # The select parameter contains a comma separated list of metrics. E.g. sum(
5992
+ # message_count),sum(error_count)
5993
+ # @param [String] sort
5994
+ # This parameter specifies if the sort order should be ascending or descending
5995
+ # Supported values are DESC and ASC.
5996
+ # @param [String] sortby
5997
+ # Comma separated list of columns to sort the final result.
5998
+ # @param [String] time_range
5999
+ # Time interval for the interactive query. Time range is specified as start~end
6000
+ # E.g. 04/15/2017 00:00~05/15/2017 23:59
6001
+ # @param [String] time_unit
6002
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
6003
+ # granularity of metrics returned.
6004
+ # @param [String] topk
6005
+ # Take 'top k' results from results, for example, to return the top 5 results '
6006
+ # topk=5'.
6007
+ # @param [Boolean] ts_ascending
6008
+ # Lists timestamps in ascending order if set to true. Recommend setting this
6009
+ # value to true if you are using sortby with sort=DESC.
6010
+ # @param [String] tzo
6011
+ # This parameters contains the timezone offset value.
6012
+ # @param [String] fields
6013
+ # Selector specifying which fields to include in a partial response.
6014
+ # @param [String] quota_user
6015
+ # Available to use for quota purposes for server-side applications. Can be any
6016
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6017
+ # @param [Google::Apis::RequestOptions] options
6018
+ # Request-specific options
6019
+ #
6020
+ # @yield [result, err] Result & error if block supplied
6021
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats] parsed result object
6022
+ # @yieldparam err [StandardError] error object if request failed
6023
+ #
6024
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats]
6025
+ #
6026
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6027
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6028
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6029
+ def get_organization_host_stat(name, accuracy: nil, envgroup_hostname: nil, filter: nil, limit: nil, offset: nil, realtime: nil, select: nil, sort: nil, sortby: nil, time_range: nil, time_unit: nil, topk: nil, ts_ascending: nil, tzo: nil, fields: nil, quota_user: nil, options: nil, &block)
6030
+ command = make_simple_command(:get, 'v1/{+name}', options)
6031
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats::Representation
6032
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats
6033
+ command.params['name'] = name unless name.nil?
6034
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6035
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6036
+ command.query['filter'] = filter unless filter.nil?
6037
+ command.query['limit'] = limit unless limit.nil?
6038
+ command.query['offset'] = offset unless offset.nil?
6039
+ command.query['realtime'] = realtime unless realtime.nil?
6040
+ command.query['select'] = select unless select.nil?
6041
+ command.query['sort'] = sort unless sort.nil?
6042
+ command.query['sortby'] = sortby unless sortby.nil?
6043
+ command.query['timeRange'] = time_range unless time_range.nil?
6044
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6045
+ command.query['topk'] = topk unless topk.nil?
6046
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6047
+ command.query['tzo'] = tzo unless tzo.nil?
6048
+ command.query['fields'] = fields unless fields.nil?
6049
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6050
+ execute_or_queue_command(command, &block)
6051
+ end
6052
+
6053
+ # Creates an Apigee runtime instance. The instance is accessible from the
6054
+ # authorized network configured on the organization. **Note:** Not supported for
6055
+ # Apigee hybrid.
6056
+ # @param [String] parent
6057
+ # Required. Name of the organization. Use the following structure in your
6058
+ # request: `organizations/`org``.
6059
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
6060
+ # @param [String] fields
6061
+ # Selector specifying which fields to include in a partial response.
6062
+ # @param [String] quota_user
6063
+ # Available to use for quota purposes for server-side applications. Can be any
6064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6065
+ # @param [Google::Apis::RequestOptions] options
6066
+ # Request-specific options
6067
+ #
6068
+ # @yield [result, err] Result & error if block supplied
6069
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6070
+ # @yieldparam err [StandardError] error object if request failed
6071
+ #
6072
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6073
+ #
6074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6077
+ def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6078
+ command = make_simple_command(:post, 'v1/{+parent}/instances', options)
6079
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
6080
+ command.request_object = google_cloud_apigee_v1_instance_object
6081
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6082
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6083
+ command.params['parent'] = parent unless parent.nil?
6084
+ command.query['fields'] = fields unless fields.nil?
6085
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6086
+ execute_or_queue_command(command, &block)
6087
+ end
6088
+
6089
+ # Deletes an Apigee runtime instance. The instance stops serving requests and
6090
+ # the runtime data is deleted. **Note:** Not supported for Apigee hybrid.
6091
+ # @param [String] name
6092
+ # Required. Name of the instance. Use the following structure in your request: `
6093
+ # organizations/`org`/instances/`instance``.
6094
+ # @param [String] fields
6095
+ # Selector specifying which fields to include in a partial response.
6096
+ # @param [String] quota_user
6097
+ # Available to use for quota purposes for server-side applications. Can be any
6098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6099
+ # @param [Google::Apis::RequestOptions] options
6100
+ # Request-specific options
6101
+ #
6102
+ # @yield [result, err] Result & error if block supplied
6103
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6104
+ # @yieldparam err [StandardError] error object if request failed
6105
+ #
6106
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6107
+ #
6108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6111
+ def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
6112
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6113
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6114
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6115
+ command.params['name'] = name unless name.nil?
6116
+ command.query['fields'] = fields unless fields.nil?
6117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6118
+ execute_or_queue_command(command, &block)
6119
+ end
6120
+
6121
+ # Gets the details for an Apigee runtime instance. **Note:** Not supported for
6122
+ # Apigee hybrid.
6123
+ # @param [String] name
6124
+ # Required. Name of the instance. Use the following structure in your request: `
6125
+ # organizations/`org`/instances/`instance``.
6126
+ # @param [String] fields
6127
+ # Selector specifying which fields to include in a partial response.
6128
+ # @param [String] quota_user
6129
+ # Available to use for quota purposes for server-side applications. Can be any
6130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6131
+ # @param [Google::Apis::RequestOptions] options
6132
+ # Request-specific options
6133
+ #
6134
+ # @yield [result, err] Result & error if block supplied
6135
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
6136
+ # @yieldparam err [StandardError] error object if request failed
6137
+ #
6138
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
6139
+ #
6140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6143
+ def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
6144
+ command = make_simple_command(:get, 'v1/{+name}', options)
6145
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
6146
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
6147
+ command.params['name'] = name unless name.nil?
6148
+ command.query['fields'] = fields unless fields.nil?
6149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6150
+ execute_or_queue_command(command, &block)
6151
+ end
6152
+
6153
+ # Lists all Apigee runtime instances for the organization. **Note:** Not
6154
+ # supported for Apigee hybrid.
6155
+ # @param [String] parent
6156
+ # Required. Name of the organization. Use the following structure in your
6157
+ # request: `organizations/`org``.
6158
+ # @param [Fixnum] page_size
6159
+ # Maximum number of instances to return. Defaults to 25.
6160
+ # @param [String] page_token
6161
+ # Page token, returned from a previous ListInstances call, that you can use to
6162
+ # retrieve the next page of content.
6163
+ # @param [String] fields
6164
+ # Selector specifying which fields to include in a partial response.
6165
+ # @param [String] quota_user
6166
+ # Available to use for quota purposes for server-side applications. Can be any
6167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6168
+ # @param [Google::Apis::RequestOptions] options
6169
+ # Request-specific options
6170
+ #
6171
+ # @yield [result, err] Result & error if block supplied
6172
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
6173
+ # @yieldparam err [StandardError] error object if request failed
6174
+ #
6175
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
6176
+ #
6177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6180
+ def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6181
+ command = make_simple_command(:get, 'v1/{+parent}/instances', options)
6182
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation
6183
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse
6184
+ command.params['parent'] = parent unless parent.nil?
6185
+ command.query['pageSize'] = page_size unless page_size.nil?
6186
+ command.query['pageToken'] = page_token unless page_token.nil?
6187
+ command.query['fields'] = fields unless fields.nil?
6188
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6189
+ execute_or_queue_command(command, &block)
6190
+ end
6191
+
6192
+ # Reports the latest status for a runtime instance.
6193
+ # @param [String] instance
6194
+ # The name of the instance reporting this status. For SaaS the request will be
6195
+ # rejected if no instance exists under this name. Format is organizations/`org`/
6196
+ # instances/`instance`
6197
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object
6198
+ # @param [String] fields
6199
+ # Selector specifying which fields to include in a partial response.
6200
+ # @param [String] quota_user
6201
+ # Available to use for quota purposes for server-side applications. Can be any
6202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6203
+ # @param [Google::Apis::RequestOptions] options
6204
+ # Request-specific options
6205
+ #
6206
+ # @yield [result, err] Result & error if block supplied
6207
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object
5716
6208
  # @yieldparam err [StandardError] error object if request failed
5717
6209
  #
5718
6210
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse]
@@ -5868,6 +6360,246 @@ module Google
5868
6360
  execute_or_queue_command(command, &block)
5869
6361
  end
5870
6362
 
6363
+ # Creates a new canary evaluation for an organization.
6364
+ # @param [String] parent
6365
+ # Required. Name of the organization. Use the following structure in your
6366
+ # request: `organizations/`org`/instances/`instance``.
6367
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation] google_cloud_apigee_v1_canary_evaluation_object
6368
+ # @param [String] fields
6369
+ # Selector specifying which fields to include in a partial response.
6370
+ # @param [String] quota_user
6371
+ # Available to use for quota purposes for server-side applications. Can be any
6372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6373
+ # @param [Google::Apis::RequestOptions] options
6374
+ # Request-specific options
6375
+ #
6376
+ # @yield [result, err] Result & error if block supplied
6377
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6378
+ # @yieldparam err [StandardError] error object if request failed
6379
+ #
6380
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6381
+ #
6382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6385
+ def create_organization_instance_canaryevaluation(parent, google_cloud_apigee_v1_canary_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6386
+ command = make_simple_command(:post, 'v1/{+parent}/canaryevaluations', options)
6387
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation::Representation
6388
+ command.request_object = google_cloud_apigee_v1_canary_evaluation_object
6389
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6390
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6391
+ command.params['parent'] = parent unless parent.nil?
6392
+ command.query['fields'] = fields unless fields.nil?
6393
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6394
+ execute_or_queue_command(command, &block)
6395
+ end
6396
+
6397
+ # Gets a CanaryEvaluation for an organization.
6398
+ # @param [String] name
6399
+ # Required. Name of the CanaryEvaluation. Use the following structure in your
6400
+ # request: `organizations/`org`/instances/*/canaryevaluations/`evaluation``
6401
+ # @param [String] fields
6402
+ # Selector specifying which fields to include in a partial response.
6403
+ # @param [String] quota_user
6404
+ # Available to use for quota purposes for server-side applications. Can be any
6405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6406
+ # @param [Google::Apis::RequestOptions] options
6407
+ # Request-specific options
6408
+ #
6409
+ # @yield [result, err] Result & error if block supplied
6410
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation] parsed result object
6411
+ # @yieldparam err [StandardError] error object if request failed
6412
+ #
6413
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation]
6414
+ #
6415
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6416
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6417
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6418
+ def get_organization_instance_canaryevaluation(name, fields: nil, quota_user: nil, options: nil, &block)
6419
+ command = make_simple_command(:get, 'v1/{+name}', options)
6420
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation::Representation
6421
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation
6422
+ command.params['name'] = name unless name.nil?
6423
+ command.query['fields'] = fields unless fields.nil?
6424
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6425
+ execute_or_queue_command(command, &block)
6426
+ end
6427
+
6428
+ # Activates the NAT address. The Apigee instance can now use this for Internet
6429
+ # egress traffic. **Note:** Not supported for Apigee hybrid.
6430
+ # @param [String] name
6431
+ # Required. Name of the nat address. Use the following structure in your request:
6432
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6433
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest] google_cloud_apigee_v1_activate_nat_address_request_object
6434
+ # @param [String] fields
6435
+ # Selector specifying which fields to include in a partial response.
6436
+ # @param [String] quota_user
6437
+ # Available to use for quota purposes for server-side applications. Can be any
6438
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6439
+ # @param [Google::Apis::RequestOptions] options
6440
+ # Request-specific options
6441
+ #
6442
+ # @yield [result, err] Result & error if block supplied
6443
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6444
+ # @yieldparam err [StandardError] error object if request failed
6445
+ #
6446
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6447
+ #
6448
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6449
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6450
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6451
+ def activate_organization_instance_nat_address(name, google_cloud_apigee_v1_activate_nat_address_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6452
+ command = make_simple_command(:post, 'v1/{+name}:activate', options)
6453
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest::Representation
6454
+ command.request_object = google_cloud_apigee_v1_activate_nat_address_request_object
6455
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6456
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6457
+ command.params['name'] = name unless name.nil?
6458
+ command.query['fields'] = fields unless fields.nil?
6459
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6460
+ execute_or_queue_command(command, &block)
6461
+ end
6462
+
6463
+ # Creates a NAT address. The address is created in the RESERVED state and a
6464
+ # static external IP address will be provisioned. At this time, the instance
6465
+ # will not use this IP address for Internet egress traffic. The address can be
6466
+ # activated for use once any required firewall IP whitelisting has been
6467
+ # completed. **Note:** Not supported for Apigee hybrid.
6468
+ # @param [String] parent
6469
+ # Required. Name of the instance. Use the following structure in your request: `
6470
+ # organizations/`org`/instances/`instance``
6471
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] google_cloud_apigee_v1_nat_address_object
6472
+ # @param [String] fields
6473
+ # Selector specifying which fields to include in a partial response.
6474
+ # @param [String] quota_user
6475
+ # Available to use for quota purposes for server-side applications. Can be any
6476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6477
+ # @param [Google::Apis::RequestOptions] options
6478
+ # Request-specific options
6479
+ #
6480
+ # @yield [result, err] Result & error if block supplied
6481
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6482
+ # @yieldparam err [StandardError] error object if request failed
6483
+ #
6484
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6485
+ #
6486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6489
+ def create_organization_instance_nat_address(parent, google_cloud_apigee_v1_nat_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6490
+ command = make_simple_command(:post, 'v1/{+parent}/natAddresses', options)
6491
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6492
+ command.request_object = google_cloud_apigee_v1_nat_address_object
6493
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6494
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6495
+ command.params['parent'] = parent unless parent.nil?
6496
+ command.query['fields'] = fields unless fields.nil?
6497
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6498
+ execute_or_queue_command(command, &block)
6499
+ end
6500
+
6501
+ # Deletes the NAT address. Connections that are actively using the address are
6502
+ # drained before it is removed. **Note:** Not supported for Apigee hybrid.
6503
+ # @param [String] name
6504
+ # Required. Name of the nat address. Use the following structure in your request:
6505
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6506
+ # @param [String] fields
6507
+ # Selector specifying which fields to include in a partial response.
6508
+ # @param [String] quota_user
6509
+ # Available to use for quota purposes for server-side applications. Can be any
6510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6511
+ # @param [Google::Apis::RequestOptions] options
6512
+ # Request-specific options
6513
+ #
6514
+ # @yield [result, err] Result & error if block supplied
6515
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6516
+ # @yieldparam err [StandardError] error object if request failed
6517
+ #
6518
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6519
+ #
6520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6523
+ def delete_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6524
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6525
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6526
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6527
+ command.params['name'] = name unless name.nil?
6528
+ command.query['fields'] = fields unless fields.nil?
6529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6530
+ execute_or_queue_command(command, &block)
6531
+ end
6532
+
6533
+ # Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.
6534
+ # @param [String] name
6535
+ # Required. Name of the nat address. Use the following structure in your request:
6536
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress``
6537
+ # @param [String] fields
6538
+ # Selector specifying which fields to include in a partial response.
6539
+ # @param [String] quota_user
6540
+ # Available to use for quota purposes for server-side applications. Can be any
6541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6542
+ # @param [Google::Apis::RequestOptions] options
6543
+ # Request-specific options
6544
+ #
6545
+ # @yield [result, err] Result & error if block supplied
6546
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] parsed result object
6547
+ # @yieldparam err [StandardError] error object if request failed
6548
+ #
6549
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress]
6550
+ #
6551
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6552
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6553
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6554
+ def get_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6555
+ command = make_simple_command(:get, 'v1/{+name}', options)
6556
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6557
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
6558
+ command.params['name'] = name unless name.nil?
6559
+ command.query['fields'] = fields unless fields.nil?
6560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6561
+ execute_or_queue_command(command, &block)
6562
+ end
6563
+
6564
+ # Lists the NAT addresses for an Apigee instance. **Note:** Not supported for
6565
+ # Apigee hybrid.
6566
+ # @param [String] parent
6567
+ # Required. Name of the instance. Use the following structure in your request: `
6568
+ # organizations/`org`/instances/`instance``
6569
+ # @param [Fixnum] page_size
6570
+ # Maximum number of natAddresses to return. Defaults to 25.
6571
+ # @param [String] page_token
6572
+ # Page token, returned from a previous ListNatAddresses call, that you can use
6573
+ # to retrieve the next page of content.
6574
+ # @param [String] fields
6575
+ # Selector specifying which fields to include in a partial response.
6576
+ # @param [String] quota_user
6577
+ # Available to use for quota purposes for server-side applications. Can be any
6578
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6579
+ # @param [Google::Apis::RequestOptions] options
6580
+ # Request-specific options
6581
+ #
6582
+ # @yield [result, err] Result & error if block supplied
6583
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse] parsed result object
6584
+ # @yieldparam err [StandardError] error object if request failed
6585
+ #
6586
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse]
6587
+ #
6588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6591
+ def list_organization_instance_nat_addresses(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6592
+ command = make_simple_command(:get, 'v1/{+parent}/natAddresses', options)
6593
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse::Representation
6594
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse
6595
+ command.params['parent'] = parent unless parent.nil?
6596
+ command.query['pageSize'] = page_size unless page_size.nil?
6597
+ command.query['pageToken'] = page_token unless page_token.nil?
6598
+ command.query['fields'] = fields unless fields.nil?
6599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6600
+ execute_or_queue_command(command, &block)
6601
+ end
6602
+
5871
6603
  # Creates a key value map in an organization.
5872
6604
  # @param [String] parent
5873
6605
  # Required. The name of the organization in which to create the key value map
@@ -6010,6 +6742,90 @@ module Google
6010
6742
  execute_or_queue_command(command, &block)
6011
6743
  end
6012
6744
 
6745
+ # This api is similar to GetHostStats except that the response is less verbose.
6746
+ # @param [String] name
6747
+ # Required. The resource name for which the interactive query will be executed.
6748
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
6749
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
6750
+ # target_host. The value of dimensions should be comma separated list as shown
6751
+ # below `organizations/`org`/stats/apiproxy,request_verb`
6752
+ # @param [String] accuracy
6753
+ # Legacy field: not used anymore.
6754
+ # @param [String] envgroup_hostname
6755
+ # Required. The hostname for which the interactive query will be executed.
6756
+ # @param [String] filter
6757
+ # Enables drill-down on specific dimension values.
6758
+ # @param [String] limit
6759
+ # This parameter is used to limit the number of result items. Default and the
6760
+ # max value is 14400.
6761
+ # @param [String] offset
6762
+ # Use offset with limit to enable pagination of results. For example, to display
6763
+ # results 11-20, set limit to '10' and offset to '10'.
6764
+ # @param [Boolean] realtime
6765
+ # Legacy field: not used anymore.
6766
+ # @param [String] select
6767
+ # Required. The select parameter contains a comma separated list of metrics. E.g.
6768
+ # sum(message_count),sum(error_count)
6769
+ # @param [String] sort
6770
+ # This parameter specifies if the sort order should be ascending or descending
6771
+ # Supported values are DESC and ASC.
6772
+ # @param [String] sortby
6773
+ # Comma separated list of columns to sort the final result.
6774
+ # @param [String] time_range
6775
+ # Required. Time interval for the interactive query. Time range is specified as
6776
+ # start~end. E.g 04/15/2017 00:00~05/15/2017 23:59.
6777
+ # @param [String] time_unit
6778
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
6779
+ # granularity of metrics returned.
6780
+ # @param [String] topk
6781
+ # Take 'top k' results from results, for example, to return the top 5 results '
6782
+ # topk=5'.
6783
+ # @param [Boolean] ts_ascending
6784
+ # Lists timestamps in ascending order if set to true. Recommend setting this
6785
+ # value to true if you are using sortby with sort=DESC.
6786
+ # @param [String] tzo
6787
+ # This parameters contains the timezone offset value.
6788
+ # @param [String] fields
6789
+ # Selector specifying which fields to include in a partial response.
6790
+ # @param [String] quota_user
6791
+ # Available to use for quota purposes for server-side applications. Can be any
6792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6793
+ # @param [Google::Apis::RequestOptions] options
6794
+ # Request-specific options
6795
+ #
6796
+ # @yield [result, err] Result & error if block supplied
6797
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats] parsed result object
6798
+ # @yieldparam err [StandardError] error object if request failed
6799
+ #
6800
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats]
6801
+ #
6802
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6803
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6804
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6805
+ def get_organization_optimized_host_stat(name, accuracy: nil, envgroup_hostname: nil, filter: nil, limit: nil, offset: nil, realtime: nil, select: nil, sort: nil, sortby: nil, time_range: nil, time_unit: nil, topk: nil, ts_ascending: nil, tzo: nil, fields: nil, quota_user: nil, options: nil, &block)
6806
+ command = make_simple_command(:get, 'v1/{+name}', options)
6807
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats::Representation
6808
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats
6809
+ command.params['name'] = name unless name.nil?
6810
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6811
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6812
+ command.query['filter'] = filter unless filter.nil?
6813
+ command.query['limit'] = limit unless limit.nil?
6814
+ command.query['offset'] = offset unless offset.nil?
6815
+ command.query['realtime'] = realtime unless realtime.nil?
6816
+ command.query['select'] = select unless select.nil?
6817
+ command.query['sort'] = sort unless sort.nil?
6818
+ command.query['sortby'] = sortby unless sortby.nil?
6819
+ command.query['timeRange'] = time_range unless time_range.nil?
6820
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6821
+ command.query['topk'] = topk unless topk.nil?
6822
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6823
+ command.query['tzo'] = tzo unless tzo.nil?
6824
+ command.query['fields'] = fields unless fields.nil?
6825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6826
+ execute_or_queue_command(command, &block)
6827
+ end
6828
+
6013
6829
  # Creates a Custom Report for an Organization. A Custom Report provides Apigee
6014
6830
  # Customers to create custom dashboards in addition to the standard dashboards
6015
6831
  # which are provided. The Custom Report in its simplest form contains