google-api-client 0.48.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (702) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -14
  3. data/CHANGELOG.md +408 -0
  4. data/OVERVIEW.md +36 -27
  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/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
  9. data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  15. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  16. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  17. data/generated/google/apis/admin_directory_v1.rb +2 -2
  18. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  19. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  20. data/generated/google/apis/admin_directory_v1/service.rb +325 -185
  21. data/generated/google/apis/admin_reports_v1.rb +2 -2
  22. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  23. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  24. data/generated/google/apis/admob_v1.rb +4 -1
  25. data/generated/google/apis/admob_v1/service.rb +4 -0
  26. data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/admob_v1beta.rb} +18 -12
  27. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  28. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  29. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  30. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  31. data/generated/google/apis/analytics_v3/service.rb +1 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -10
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +45 -25
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  42. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  43. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  44. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  45. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  46. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  47. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  48. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  49. data/{lib/google/apis/core/logging.rb → generated/google/apis/apigateway_v1.rb} +14 -10
  50. data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
  51. data/generated/google/apis/apigateway_v1/representations.rb +442 -0
  52. data/generated/google/apis/apigateway_v1/service.rb +1172 -0
  53. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  54. data/generated/google/apis/apigateway_v1beta/classes.rb +24 -16
  55. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  56. data/generated/google/apis/apigee_v1.rb +1 -1
  57. data/generated/google/apis/apigee_v1/classes.rb +457 -106
  58. data/generated/google/apis/apigee_v1/representations.rb +150 -0
  59. data/generated/google/apis/apigee_v1/service.rb +973 -155
  60. data/generated/google/apis/appengine_v1.rb +1 -1
  61. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  62. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  63. data/generated/google/apis/appengine_v1beta.rb +1 -1
  64. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  65. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  66. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  67. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  68. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  69. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  70. data/generated/google/apis/artifactregistry_v1.rb +38 -0
  71. data/generated/google/apis/{displayvideo_v1beta2 → artifactregistry_v1}/classes.rb +104 -8
  72. data/generated/google/apis/{displayvideo_v1beta → artifactregistry_v1}/representations.rb +49 -5
  73. data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
  74. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  75. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -127
  76. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -63
  77. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  78. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  79. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +917 -0
  80. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +381 -0
  81. data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
  82. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  83. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  84. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  85. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  86. data/generated/google/apis/bigquery_v2.rb +1 -1
  87. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  88. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  89. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  90. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  91. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  92. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  93. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  94. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  95. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  96. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  97. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  98. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
  99. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  100. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  101. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
  102. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  103. data/generated/google/apis/calendar_v3.rb +1 -1
  104. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  105. data/generated/google/apis/chat_v1.rb +1 -1
  106. data/generated/google/apis/chat_v1/classes.rb +1 -2
  107. data/generated/google/apis/chat_v1/service.rb +308 -0
  108. data/generated/google/apis/cloudasset_v1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1/classes.rb +757 -3
  110. data/generated/google/apis/cloudasset_v1/representations.rb +309 -0
  111. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  112. data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
  113. data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
  114. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  115. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  116. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  117. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
  118. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +4 -4
  121. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  122. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
  124. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  125. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
  126. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  127. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  128. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  131. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  132. data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
  133. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  134. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  135. data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
  136. data/generated/google/apis/cloudiot_v1.rb +1 -1
  137. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  138. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
  141. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  142. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  143. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +375 -7
  144. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +256 -1
  145. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +375 -7
  147. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +256 -1
  148. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +379 -11
  150. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +256 -1
  151. data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +379 -11
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +256 -1
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
  156. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  157. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  158. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  159. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  160. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  161. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  162. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  163. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  164. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  165. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  166. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
  167. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
  168. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  169. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  170. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
  171. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
  172. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  173. data/generated/google/apis/composer_v1.rb +1 -1
  174. data/generated/google/apis/composer_v1/classes.rb +123 -0
  175. data/generated/google/apis/composer_v1/representations.rb +49 -0
  176. data/generated/google/apis/composer_v1/service.rb +19 -15
  177. data/generated/google/apis/composer_v1beta1.rb +1 -1
  178. data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
  179. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  180. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  181. data/generated/google/apis/compute_alpha.rb +1 -1
  182. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  183. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  184. data/generated/google/apis/compute_alpha/service.rb +291 -15
  185. data/generated/google/apis/compute_beta.rb +1 -1
  186. data/generated/google/apis/compute_beta/classes.rb +926 -283
  187. data/generated/google/apis/compute_beta/representations.rb +221 -18
  188. data/generated/google/apis/compute_beta/service.rb +24 -15
  189. data/generated/google/apis/compute_v1.rb +1 -1
  190. data/generated/google/apis/compute_v1/classes.rb +461 -173
  191. data/generated/google/apis/compute_v1/representations.rb +58 -0
  192. data/generated/google/apis/compute_v1/service.rb +702 -552
  193. data/generated/google/apis/container_v1.rb +1 -1
  194. data/generated/google/apis/container_v1/classes.rb +55 -16
  195. data/generated/google/apis/container_v1/representations.rb +17 -0
  196. data/generated/google/apis/container_v1/service.rb +4 -2
  197. data/generated/google/apis/container_v1beta1.rb +1 -1
  198. data/generated/google/apis/container_v1beta1/classes.rb +60 -20
  199. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  200. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  201. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  202. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  203. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  204. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  205. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  206. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  207. data/generated/google/apis/content_v2.rb +1 -1
  208. data/generated/google/apis/content_v2/classes.rb +7 -7
  209. data/generated/google/apis/content_v2/service.rb +3 -1
  210. data/generated/google/apis/content_v2_1.rb +1 -1
  211. data/generated/google/apis/content_v2_1/classes.rb +1088 -30
  212. data/generated/google/apis/content_v2_1/representations.rb +402 -0
  213. data/generated/google/apis/content_v2_1/service.rb +331 -1
  214. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  215. data/generated/google/apis/datacatalog_v1beta1/classes.rb +7 -17
  216. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -1
  217. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  218. data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
  219. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  220. data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
  221. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  222. data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
  223. data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
  224. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  225. data/generated/google/apis/dataproc_v1.rb +1 -1
  226. data/generated/google/apis/dataproc_v1/classes.rb +109 -10
  227. data/generated/google/apis/dataproc_v1/representations.rb +36 -1
  228. data/generated/google/apis/dataproc_v1/service.rb +42 -0
  229. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  230. data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -10
  231. data/generated/google/apis/dataproc_v1beta2/representations.rb +32 -1
  232. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
  233. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  234. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  235. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  236. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  237. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  238. data/generated/google/apis/deploymentmanager_v2/service.rb +6 -26
  239. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  240. data/generated/google/apis/deploymentmanager_v2beta/service.rb +9 -41
  241. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  242. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  243. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  244. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  245. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  246. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  247. data/generated/google/apis/dialogflow_v2.rb +1 -1
  248. data/generated/google/apis/dialogflow_v2/classes.rb +4084 -692
  249. data/generated/google/apis/dialogflow_v2/representations.rb +1853 -287
  250. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  251. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  252. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4080 -693
  253. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1862 -296
  254. data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
  255. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  256. data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
  257. data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
  258. data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
  259. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  260. data/generated/google/apis/dialogflow_v3beta1/classes.rb +5161 -2225
  261. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1783 -350
  262. data/generated/google/apis/dialogflow_v3beta1/service.rb +591 -2
  263. data/generated/google/apis/displayvideo_v1.rb +1 -1
  264. data/generated/google/apis/displayvideo_v1/classes.rb +133 -39
  265. data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
  266. data/generated/google/apis/displayvideo_v1/service.rb +104 -40
  267. data/generated/google/apis/dlp_v2.rb +1 -1
  268. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  269. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  270. data/generated/google/apis/dlp_v2/service.rb +297 -10
  271. data/generated/google/apis/dns_v1.rb +1 -1
  272. data/generated/google/apis/dns_v1/classes.rb +71 -0
  273. data/generated/google/apis/dns_v1/representations.rb +33 -0
  274. data/generated/google/apis/dns_v1beta2.rb +1 -1
  275. data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
  276. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  277. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  278. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  279. data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
  280. data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
  281. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  282. data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
  283. data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
  284. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  285. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  286. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  287. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  288. data/generated/google/apis/domains_v1beta1.rb +1 -1
  289. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  290. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  291. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  292. data/generated/google/apis/drive_v2.rb +1 -1
  293. data/generated/google/apis/drive_v2/classes.rb +24 -21
  294. data/generated/google/apis/drive_v2/service.rb +26 -58
  295. data/generated/google/apis/drive_v3.rb +1 -1
  296. data/generated/google/apis/drive_v3/classes.rb +12 -8
  297. data/generated/google/apis/drive_v3/service.rb +14 -30
  298. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  299. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  300. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  301. data/generated/google/apis/file_v1.rb +1 -1
  302. data/generated/google/apis/file_v1/classes.rb +566 -4
  303. data/generated/google/apis/file_v1/representations.rb +222 -0
  304. data/generated/google/apis/file_v1/service.rb +229 -1
  305. data/generated/google/apis/file_v1beta1.rb +1 -1
  306. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  307. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  308. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  309. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  310. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  311. data/generated/google/apis/{displayvideo_v1beta2 → firebasedatabase_v1beta}/representations.rb +26 -16
  312. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  313. data/generated/google/apis/games_v1.rb +1 -1
  314. data/generated/google/apis/games_v1/classes.rb +67 -14
  315. data/generated/google/apis/games_v1/representations.rb +31 -2
  316. data/generated/google/apis/games_v1/service.rb +33 -0
  317. data/generated/google/apis/gameservices_v1.rb +1 -1
  318. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  319. data/generated/google/apis/gameservices_v1/service.rb +14 -14
  320. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  321. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  322. data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
  323. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  324. data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
  325. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  326. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  327. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  328. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  329. data/generated/google/apis/healthcare_v1.rb +1 -1
  330. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  331. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  332. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  333. data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
  334. data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
  335. data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
  336. data/generated/google/apis/iam_v1.rb +1 -1
  337. data/generated/google/apis/iam_v1/classes.rb +109 -11
  338. data/generated/google/apis/iam_v1/representations.rb +33 -1
  339. data/generated/google/apis/iam_v1/service.rb +62 -0
  340. data/generated/google/apis/iap_v1.rb +1 -1
  341. data/generated/google/apis/iap_v1/classes.rb +0 -18
  342. data/generated/google/apis/iap_v1/representations.rb +0 -2
  343. data/generated/google/apis/iap_v1beta1.rb +1 -1
  344. data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
  345. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  346. data/generated/google/apis/jobs_v3.rb +1 -1
  347. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  348. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  349. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  350. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  351. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  352. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  353. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  354. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  355. data/generated/google/apis/jobs_v4/service.rb +903 -0
  356. data/generated/google/apis/licensing_v1.rb +1 -1
  357. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  358. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  359. data/generated/google/apis/licensing_v1/service.rb +32 -29
  360. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  361. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  362. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  363. data/generated/google/apis/localservices_v1.rb +4 -1
  364. data/generated/google/apis/logging_v2.rb +1 -1
  365. data/generated/google/apis/logging_v2/classes.rb +115 -9
  366. data/generated/google/apis/logging_v2/representations.rb +45 -0
  367. data/generated/google/apis/logging_v2/service.rb +101 -25
  368. data/generated/google/apis/managedidentities_v1.rb +1 -1
  369. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  370. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  371. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  372. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  373. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  374. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  375. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  376. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  377. data/generated/google/apis/manufacturers_v1.rb +1 -1
  378. data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
  379. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  380. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  381. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  382. data/generated/google/apis/metastore_v1beta.rb +35 -0
  383. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  384. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  385. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  386. data/generated/google/apis/ml_v1.rb +1 -1
  387. data/generated/google/apis/ml_v1/classes.rb +85 -25
  388. data/generated/google/apis/ml_v1/representations.rb +42 -1
  389. data/generated/google/apis/ml_v1/service.rb +35 -0
  390. data/generated/google/apis/monitoring_v3.rb +1 -1
  391. data/generated/google/apis/monitoring_v3/classes.rb +15 -10
  392. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  393. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  394. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  395. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  396. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  397. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  398. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  399. data/generated/google/apis/notebooks_v1.rb +34 -0
  400. data/generated/google/apis/notebooks_v1/classes.rb +1468 -0
  401. data/generated/google/apis/notebooks_v1/representations.rb +592 -0
  402. data/generated/google/apis/notebooks_v1/service.rb +1076 -0
  403. data/generated/google/apis/osconfig_v1.rb +1 -1
  404. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  405. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  406. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  407. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  408. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  409. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  410. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  411. data/generated/google/apis/people_v1.rb +1 -1
  412. data/generated/google/apis/people_v1/classes.rb +6 -2
  413. data/generated/google/apis/people_v1/service.rb +9 -6
  414. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  415. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  416. data/generated/google/apis/privateca_v1beta1.rb +4 -2
  417. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  418. data/generated/google/apis/privateca_v1beta1/service.rb +3 -53
  419. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  420. data/generated/google/apis/pubsub_v1.rb +1 -1
  421. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  422. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  423. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  424. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  425. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  426. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  427. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  428. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  429. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  430. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  431. data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
  432. data/generated/google/apis/recommender_v1.rb +1 -1
  433. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  434. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  435. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  436. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  437. data/generated/google/apis/redis_v1.rb +1 -1
  438. data/generated/google/apis/redis_v1/classes.rb +86 -0
  439. data/generated/google/apis/redis_v1/representations.rb +34 -0
  440. data/generated/google/apis/redis_v1/service.rb +34 -0
  441. data/generated/google/apis/redis_v1beta1.rb +1 -1
  442. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  443. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  444. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  445. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  446. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  447. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  448. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  449. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  450. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  451. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  452. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  453. data/generated/google/apis/reseller_v1.rb +4 -4
  454. data/generated/google/apis/reseller_v1/service.rb +5 -5
  455. data/generated/google/apis/run_v1.rb +1 -1
  456. data/generated/google/apis/run_v1/classes.rb +2 -1
  457. data/generated/google/apis/run_v1alpha1.rb +1 -1
  458. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  459. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  460. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  461. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  462. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  463. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  464. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  465. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  466. data/generated/google/apis/searchconsole_v1.rb +1 -1
  467. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  468. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  469. data/generated/google/apis/secretmanager_v1.rb +1 -1
  470. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  471. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  472. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  473. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  474. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  475. data/generated/google/apis/securitycenter_v1.rb +1 -1
  476. data/generated/google/apis/securitycenter_v1/classes.rb +109 -10
  477. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  478. data/generated/google/apis/securitycenter_v1/service.rb +1464 -430
  479. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  480. data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -0
  481. data/generated/google/apis/securitycenter_v1beta1/representations.rb +33 -0
  482. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  483. data/generated/google/apis/securitycenter_v1beta2/classes.rb +75 -0
  484. data/generated/google/apis/securitycenter_v1beta2/representations.rb +33 -0
  485. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  486. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  487. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  488. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
  489. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  490. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  491. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  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 +12 -11
  502. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  503. data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
  504. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
  505. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  506. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  507. data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
  508. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  509. data/generated/google/apis/serviceusage_v1.rb +1 -1
  510. data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
  511. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  512. data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -11
  513. data/generated/google/apis/sheets_v4.rb +1 -1
  514. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  515. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  516. data/generated/google/apis/slides_v1.rb +1 -1
  517. data/generated/google/apis/slides_v1/classes.rb +9 -3
  518. data/generated/google/apis/spanner_v1.rb +1 -1
  519. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  520. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  521. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  522. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  523. data/generated/google/apis/sqladmin_v1beta4/classes.rb +97 -14
  524. data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
  525. data/generated/google/apis/sqladmin_v1beta4/service.rb +5 -2
  526. data/generated/google/apis/storage_v1.rb +1 -1
  527. data/generated/google/apis/storage_v1/classes.rb +7 -0
  528. data/generated/google/apis/storage_v1/representations.rb +1 -0
  529. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  530. data/generated/google/apis/storagetransfer_v1/classes.rb +54 -16
  531. data/generated/google/apis/storagetransfer_v1/representations.rb +6 -0
  532. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  533. data/generated/google/apis/testing_v1.rb +1 -1
  534. data/generated/google/apis/testing_v1/classes.rb +1 -1
  535. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  536. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  537. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  538. data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
  539. data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
  540. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  541. data/generated/google/apis/translate_v3.rb +1 -1
  542. data/generated/google/apis/translate_v3/classes.rb +1 -1
  543. data/generated/google/apis/translate_v3beta1.rb +1 -1
  544. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  545. data/generated/google/apis/vault_v1.rb +1 -1
  546. data/generated/google/apis/vault_v1/classes.rb +76 -0
  547. data/generated/google/apis/vault_v1/representations.rb +45 -0
  548. data/generated/google/apis/vectortile_v1.rb +1 -1
  549. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  550. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  551. data/generated/google/apis/videointelligence_v1.rb +1 -1
  552. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  553. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  554. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  555. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  556. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  557. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  558. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  559. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  560. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  561. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  562. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  563. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  564. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  565. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  566. data/generated/google/apis/webmasters_v3/classes.rb +8 -0
  567. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  568. data/generated/google/apis/workflows_v1beta.rb +1 -1
  569. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  570. data/generated/google/apis/youtube_v3.rb +1 -1
  571. data/generated/google/apis/youtube_v3/classes.rb +20 -145
  572. data/generated/google/apis/youtube_v3/representations.rb +0 -57
  573. data/generated/google/apis/youtube_v3/service.rb +6 -49
  574. data/lib/google/apis/version.rb +1 -23
  575. metadata +71 -287
  576. data/.github/CONTRIBUTING.md +0 -31
  577. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  578. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  579. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  580. data/.github/workflows/autoapprove.yml +0 -49
  581. data/.github/workflows/release-please.yml +0 -77
  582. data/.gitignore +0 -23
  583. data/.kokoro/build.bat +0 -11
  584. data/.kokoro/build.sh +0 -4
  585. data/.kokoro/continuous/common.cfg +0 -25
  586. data/.kokoro/continuous/linux.cfg +0 -25
  587. data/.kokoro/continuous/osx.cfg +0 -8
  588. data/.kokoro/continuous/post.cfg +0 -30
  589. data/.kokoro/continuous/windows.cfg +0 -29
  590. data/.kokoro/osx.sh +0 -4
  591. data/.kokoro/presubmit/common.cfg +0 -24
  592. data/.kokoro/presubmit/linux.cfg +0 -24
  593. data/.kokoro/presubmit/osx.cfg +0 -8
  594. data/.kokoro/presubmit/windows.cfg +0 -29
  595. data/.kokoro/release.cfg +0 -94
  596. data/.kokoro/trampoline.bat +0 -10
  597. data/.kokoro/trampoline.sh +0 -4
  598. data/.repo-metadata.json +0 -5
  599. data/.rspec +0 -2
  600. data/.rubocop.yml +0 -12
  601. data/.rubocop_todo.yml +0 -63
  602. data/CODE_OF_CONDUCT.md +0 -43
  603. data/Gemfile +0 -55
  604. data/MIGRATING.md +0 -215
  605. data/README.md +0 -402
  606. data/Rakefile +0 -131
  607. data/api_list_config.yaml +0 -9
  608. data/api_names.yaml +0 -1082
  609. data/bin/generate-api +0 -194
  610. data/docs/api-keys.md +0 -20
  611. data/docs/auth.md +0 -53
  612. data/docs/client-secrets.md +0 -69
  613. data/docs/getting-started.md +0 -340
  614. data/docs/installation.md +0 -0
  615. data/docs/logging.md +0 -34
  616. data/docs/media-upload.md +0 -25
  617. data/docs/oauth-installed.md +0 -191
  618. data/docs/oauth-server.md +0 -133
  619. data/docs/oauth-web.md +0 -280
  620. data/docs/oauth.md +0 -268
  621. data/docs/pagination.md +0 -29
  622. data/docs/performance.md +0 -25
  623. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  624. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  625. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  626. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  627. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  628. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  629. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  630. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  631. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  632. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  633. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  634. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  635. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  636. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  637. data/generated/google/apis/jobs_v2/service.rb +0 -693
  638. data/google-api-client.gemspec +0 -36
  639. data/lib/google/api_client/auth/installed_app.rb +0 -143
  640. data/lib/google/api_client/auth/key_utils.rb +0 -94
  641. data/lib/google/api_client/auth/storage.rb +0 -104
  642. data/lib/google/api_client/auth/storages/file_store.rb +0 -57
  643. data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
  644. data/lib/google/api_client/client_secrets.rb +0 -176
  645. data/lib/google/apis.rb +0 -58
  646. data/lib/google/apis/core/api_command.rb +0 -209
  647. data/lib/google/apis/core/base_service.rb +0 -447
  648. data/lib/google/apis/core/batch.rb +0 -236
  649. data/lib/google/apis/core/composite_io.rb +0 -97
  650. data/lib/google/apis/core/download.rb +0 -118
  651. data/lib/google/apis/core/hashable.rb +0 -44
  652. data/lib/google/apis/core/http_command.rb +0 -447
  653. data/lib/google/apis/core/json_representation.rb +0 -153
  654. data/lib/google/apis/core/multipart.rb +0 -135
  655. data/lib/google/apis/core/upload.rb +0 -273
  656. data/lib/google/apis/errors.rb +0 -89
  657. data/lib/google/apis/generator.rb +0 -71
  658. data/lib/google/apis/generator/annotator.rb +0 -339
  659. data/lib/google/apis/generator/helpers.rb +0 -76
  660. data/lib/google/apis/generator/model.rb +0 -187
  661. data/lib/google/apis/generator/template.rb +0 -124
  662. data/lib/google/apis/generator/templates/_class.tmpl +0 -43
  663. data/lib/google/apis/generator/templates/_method.tmpl +0 -92
  664. data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
  665. data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
  666. data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
  667. data/lib/google/apis/generator/templates/classes.rb.tmpl +0 -29
  668. data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
  669. data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
  670. data/lib/google/apis/options.rb +0 -116
  671. data/rakelib/devsite/devsite_builder.rb +0 -126
  672. data/rakelib/devsite/link_checker.rb +0 -64
  673. data/rakelib/devsite/repo_metadata.rb +0 -56
  674. data/rakelib/metrics.rake +0 -22
  675. data/rakelib/rubocop.rake +0 -10
  676. data/rakelib/spec.rake +0 -11
  677. data/rakelib/yard.rake +0 -11
  678. data/samples/cli/.env +0 -4
  679. data/samples/cli/Gemfile +0 -7
  680. data/samples/cli/README.md +0 -51
  681. data/samples/cli/google-api-samples +0 -32
  682. data/samples/cli/lib/base_cli.rb +0 -95
  683. data/samples/cli/lib/samples/adsense.rb +0 -99
  684. data/samples/cli/lib/samples/analytics.rb +0 -80
  685. data/samples/cli/lib/samples/androidpublisher.rb +0 -47
  686. data/samples/cli/lib/samples/bigquery.rb +0 -101
  687. data/samples/cli/lib/samples/calendar.rb +0 -83
  688. data/samples/cli/lib/samples/drive.rb +0 -82
  689. data/samples/cli/lib/samples/gmail.rb +0 -157
  690. data/samples/cli/lib/samples/pubsub.rb +0 -114
  691. data/samples/cli/lib/samples/sheets.rb +0 -61
  692. data/samples/cli/lib/samples/translate.rb +0 -44
  693. data/samples/cli/lib/samples/vision.rb +0 -69
  694. data/samples/cli/lib/samples/you_tube.rb +0 -47
  695. data/samples/web/Gemfile +0 -9
  696. data/samples/web/README.md +0 -44
  697. data/samples/web/app.rb +0 -120
  698. data/samples/web/views/calendar.erb +0 -34
  699. data/samples/web/views/drive.erb +0 -33
  700. data/samples/web/views/home.erb +0 -34
  701. data/samples/web/views/layout.erb +0 -40
  702. data/synth.py +0 -40
@@ -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?
@@ -4153,16 +4365,16 @@ module Google
4153
4365
  execute_or_queue_command(command, &block)
4154
4366
  end
4155
4367
 
4156
- # Creates a keystore or truststore: * Keystore: Contains certificates and their
4157
- # associated keys. * Truststore: Contains trusted certificates used to validate
4368
+ # Creates a keystore or truststore. - Keystore: Contains certificates and their
4369
+ # associated keys. - Truststore: Contains trusted certificates used to validate
4158
4370
  # a server's certificate. These certificates are typically self-signed
4159
4371
  # certificates or certificates that are not signed by a trusted CA.
4160
4372
  # @param [String] parent
4161
- # Required. The name of the environment in which to create the keystore. Must be
4162
- # of the form `organizations/`organization`/environments/`environment``.
4373
+ # Required. Name of the environment in which to create the keystore. Use the
4374
+ # following format in your request: `organizations/`org`/environments/`env``
4163
4375
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Keystore] google_cloud_apigee_v1_keystore_object
4164
4376
  # @param [String] name
4165
- # Optional. Overrides the value in Keystore.
4377
+ # Optional. Name of the keystore. Overrides the value in Keystore.
4166
4378
  # @param [String] fields
4167
4379
  # Selector specifying which fields to include in a partial response.
4168
4380
  # @param [String] quota_user
@@ -4195,8 +4407,8 @@ module Google
4195
4407
 
4196
4408
  # Deletes a keystore or truststore.
4197
4409
  # @param [String] name
4198
- # Required. The name of keystore to delete. Must be of the form `organizations/`
4199
- # organization`/environments/`environment`/keystores/`keystore``.
4410
+ # Required. Name of the keystore. Use the following format in your request: `
4411
+ # organizations/`org`/environments/`env`/keystores/`keystore``
4200
4412
  # @param [String] fields
4201
4413
  # Selector specifying which fields to include in a partial response.
4202
4414
  # @param [String] quota_user
@@ -4226,8 +4438,8 @@ module Google
4226
4438
 
4227
4439
  # Gets a keystore or truststore.
4228
4440
  # @param [String] name
4229
- # Required. The name of keystore. Must be of the form `organizations/`
4230
- # organization`/environments/`environment`/keystores/`keystore``.
4441
+ # Required. Name of the keystore. Use the following format in your request: `
4442
+ # organizations/`org`/environments/`env`/keystores/`keystore``.
4231
4443
  # @param [String] fields
4232
4444
  # Selector specifying which fields to include in a partial response.
4233
4445
  # @param [String] quota_user
@@ -4255,37 +4467,40 @@ module Google
4255
4467
  execute_or_queue_command(command, &block)
4256
4468
  end
4257
4469
 
4258
- # Creates an alias from a key, certificate pair. The structure of the request is
4259
- # controlled by the `format` query parameter: * `keycertfile` - Separate PEM-
4260
- # encoded key and certificate files are uploaded. The request must have `Content-
4261
- # Type: multipart/form-data` and include fields `keyFile` and `certFile`. If
4262
- # uploading to a truststore, omit `keyFile`. A `password` field should be
4263
- # provided for encrypted keys. * `pkcs12` - A PKCS12 file is uploaded. The
4264
- # request must have `Content-Type: multipart/form-data` with the file provided
4265
- # in the `file` field and a `password` field if the file is encrypted. * `
4266
- # selfsignedcert` - A new private key and certificate are generated. The request
4267
- # must have `Content-Type: application/json` and a body of
4268
- # CertificateGenerationSpec.
4470
+ # Creates an alias from a key/certificate pair. The structure of the request is
4471
+ # controlled by the `format` query parameter: - `keycertfile` - Separate PEM-
4472
+ # encoded key and certificate files are uploaded. Set `Content-Type: multipart/
4473
+ # form-data` and include the `keyFile`, `certFile`, and `password` (if keys are
4474
+ # encrypted) fields in the request body. If uploading to a truststore, omit `
4475
+ # keyFile`. - `pkcs12` - A PKCS12 file is uploaded. Set `Content-Type: multipart/
4476
+ # form-data`, provide the file in the `file` field, and include the `password`
4477
+ # field if the file is encrypted in the request body. - `selfsignedcert` - A new
4478
+ # private key and certificate are generated. Set `Content-Type: application/json`
4479
+ # and include CertificateGenerationSpec in the request body.
4269
4480
  # @param [String] parent
4270
- # Required. The name of the keystore. Must be of the form `organizations/`
4271
- # organization`/environments/`environment`/keystores/`keystore``.
4481
+ # Required. Name of the keystore. Use the following format in your request: `
4482
+ # organizations/`org`/environments/`env`/keystores/`keystore``.
4272
4483
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
4273
4484
  # @param [String] _password
4274
- # The password for the private key file, if it exists.
4485
+ # DEPRECATED: For improved security, specify the password in the request body
4486
+ # instead of using the query parameter. To specify the password in the request
4487
+ # body, set `Content-type: multipart/form-data` part with name `password`.
4488
+ # Password for the private key file, if required.
4275
4489
  # @param [String] alias_
4276
- # The alias for the key, certificate pair. Values must match regular expression `
4277
- # [\w\s-.]`1,255``. This must be provided for all formats except 'selfsignedcert'
4278
- # ; self-signed certs may specify the alias in either this parameter or the JSON
4490
+ # Alias for the key/certificate pair. Values must match the regular expression `[
4491
+ # \w\s-.]`1,255``. This must be provided for all formats except `selfsignedcert`;
4492
+ # self-signed certs may specify the alias in either this parameter or the JSON
4279
4493
  # body.
4280
4494
  # @param [String] format
4281
- # Required. The format of the data. Must be either `selfsignedcert`, `
4282
- # keycertfile`, or `pkcs12`.
4495
+ # Required. Format of the data. Valid values include: `selfsignedcert`, `
4496
+ # keycertfile`, or `pkcs12`
4283
4497
  # @param [Boolean] ignore_expiry_validation
4284
- # If `true`, no expiry validation will be performed.
4498
+ # Flag that specifies whether to ignore expiry validation. If set to `true`, no
4499
+ # expiry validation will be performed.
4285
4500
  # @param [Boolean] ignore_newline_validation
4286
- # If `true`, do not throw an error when the file contains a chain with no
4287
- # newline between each certificate. By default, a newline is needed between each
4288
- # certificate in a chain.
4501
+ # Flag that specifies whether to ignore newline validation. If set to `true`, no
4502
+ # error is thrown when the file contains a certificate chain with no newline
4503
+ # between each certificate. Defaults to `false`.
4289
4504
  # @param [String] fields
4290
4505
  # Selector specifying which fields to include in a partial response.
4291
4506
  # @param [String] quota_user
@@ -4323,8 +4538,8 @@ module Google
4323
4538
  # Generates a PKCS #10 Certificate Signing Request for the private key in an
4324
4539
  # alias.
4325
4540
  # @param [String] name
4326
- # Required. The name of the alias. Must be of the form `organizations/`
4327
- # organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
4541
+ # Required. Name of the alias. Use the following format in your request: `
4542
+ # organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias``.
4328
4543
  # @param [String] fields
4329
4544
  # Selector specifying which fields to include in a partial response.
4330
4545
  # @param [String] quota_user
@@ -4354,8 +4569,8 @@ module Google
4354
4569
 
4355
4570
  # Deletes an alias.
4356
4571
  # @param [String] name
4357
- # Required. The name of the alias. Must be of the form `organizations/`
4358
- # organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
4572
+ # Required. Name of the alias. Use the following format in your request: `
4573
+ # organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias``.
4359
4574
  # @param [String] fields
4360
4575
  # Selector specifying which fields to include in a partial response.
4361
4576
  # @param [String] quota_user
@@ -4385,8 +4600,8 @@ module Google
4385
4600
 
4386
4601
  # Gets an alias.
4387
4602
  # @param [String] name
4388
- # Required. The name of the alias. Must be of the form `organizations/`
4389
- # organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
4603
+ # Required. Name of the alias. Use the following format in your request: `
4604
+ # organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias``.
4390
4605
  # @param [String] fields
4391
4606
  # Selector specifying which fields to include in a partial response.
4392
4607
  # @param [String] quota_user
@@ -4416,8 +4631,8 @@ module Google
4416
4631
 
4417
4632
  # Gets the certificate from an alias in PEM-encoded form.
4418
4633
  # @param [String] name
4419
- # Required. The name of the alias. Must be of the form `organizations/`
4420
- # organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
4634
+ # Required. Name of the alias. Use the following format in your request: `
4635
+ # organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias``.
4421
4636
  # @param [String] fields
4422
4637
  # Selector specifying which fields to include in a partial response.
4423
4638
  # @param [String] quota_user
@@ -4447,15 +4662,16 @@ module Google
4447
4662
 
4448
4663
  # Updates the certificate in an alias.
4449
4664
  # @param [String] name
4450
- # Required. The name of the alias. Must be of the form `organizations/`
4451
- # organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
4665
+ # Required. Name of the alias. Use the following format in your request: `
4666
+ # organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias``
4452
4667
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
4453
4668
  # @param [Boolean] ignore_expiry_validation
4454
- # Required. If `true`, no expiry validation will be performed.
4669
+ # Required. Flag that specifies whether to ignore expiry validation. If set to `
4670
+ # true`, no expiry validation will be performed.
4455
4671
  # @param [Boolean] ignore_newline_validation
4456
- # If `true`, do not throw an error when the file contains a chain with no
4457
- # newline between each certificate. By default, a newline is needed between each
4458
- # certificate in a chain.
4672
+ # Flag that specifies whether to ignore newline validation. If set to `true`, no
4673
+ # error is thrown when the file contains a certificate chain with no newline
4674
+ # between each certificate. Defaults to `false`.
4459
4675
  # @param [String] fields
4460
4676
  # Selector specifying which fields to include in a partial response.
4461
4677
  # @param [String] quota_user
@@ -5558,13 +5774,13 @@ module Google
5558
5774
  execute_or_queue_command(command, &block)
5559
5775
  end
5560
5776
 
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.
5777
+ # Submit a query at host level to be processed in the background. If the
5778
+ # submission of the query succeeds, the API returns a 201 status and an ID that
5779
+ # refer to the query. In addition to the HTTP status 201, the `state` of "
5780
+ # enqueued" means that the request succeeded.
5564
5781
  # @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
5782
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5783
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
5568
5784
  # @param [String] fields
5569
5785
  # Selector specifying which fields to include in a partial response.
5570
5786
  # @param [String] quota_user
@@ -5574,31 +5790,32 @@ module Google
5574
5790
  # Request-specific options
5575
5791
  #
5576
5792
  # @yield [result, err] Result & error if block supplied
5577
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5793
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5578
5794
  # @yieldparam err [StandardError] error object if request failed
5579
5795
  #
5580
- # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5796
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5581
5797
  #
5582
5798
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5583
5799
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5584
5800
  # @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
5801
+ def create_organization_host_query(parent, google_cloud_apigee_v1_query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5802
+ command = make_simple_command(:post, 'v1/{+parent}/hostQueries', options)
5803
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query::Representation
5804
+ command.request_object = google_cloud_apigee_v1_query_object
5805
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5806
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5591
5807
  command.params['parent'] = parent unless parent.nil?
5592
5808
  command.query['fields'] = fields unless fields.nil?
5593
5809
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5594
5810
  execute_or_queue_command(command, &block)
5595
5811
  end
5596
5812
 
5597
- # Deletes an Apigee runtime instance. The instance stops serving requests and
5598
- # the runtime data is deleted. **Note:** Not supported for Apigee hybrid.
5813
+ # Get status of a query submitted at host level. If the query is still in
5814
+ # progress, the `state` is set to "running" After the query has completed
5815
+ # successfully, `state` is set to "completed"
5599
5816
  # @param [String] name
5600
- # Required. Name of the instance. Use the following structure in your request: `
5601
- # organizations/`org`/instance/`instance``.
5817
+ # Required. Name of the asynchronous query to get. Must be of the form `
5818
+ # organizations/`org`/queries/`queryId``.
5602
5819
  # @param [String] fields
5603
5820
  # Selector specifying which fields to include in a partial response.
5604
5821
  # @param [String] quota_user
@@ -5608,29 +5825,32 @@ module Google
5608
5825
  # Request-specific options
5609
5826
  #
5610
5827
  # @yield [result, err] Result & error if block supplied
5611
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5828
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5612
5829
  # @yieldparam err [StandardError] error object if request failed
5613
5830
  #
5614
- # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5831
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5615
5832
  #
5616
5833
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5617
5834
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5618
5835
  # @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
5836
+ def get_organization_host_query(name, fields: nil, quota_user: nil, options: nil, &block)
5837
+ command = make_simple_command(:get, 'v1/{+name}', options)
5838
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5839
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5623
5840
  command.params['name'] = name unless name.nil?
5624
5841
  command.query['fields'] = fields unless fields.nil?
5625
5842
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5626
5843
  execute_or_queue_command(command, &block)
5627
5844
  end
5628
5845
 
5629
- # Gets the details for an Apigee runtime instance. **Note:** Not supported for
5630
- # Apigee hybrid.
5846
+ # After the query is completed, use this API to retrieve the results. If the
5847
+ # request succeeds, and there is a non-zero result set, the result is downloaded
5848
+ # to the client as a zipped JSON file. The name of the downloaded file will be:
5849
+ # OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-
5850
+ # 318d0cb961bd.zip`
5631
5851
  # @param [String] name
5632
- # Required. Name of the instance. Use the following structure in your request: `
5633
- # organizations/`org`/instances/`instance``.
5852
+ # Required. Name of the asynchronous query result to get. Must be of the form `
5853
+ # organizations/`org`/queries/`queryId`/result`.
5634
5854
  # @param [String] fields
5635
5855
  # Selector specifying which fields to include in a partial response.
5636
5856
  # @param [String] quota_user
@@ -5640,34 +5860,28 @@ module Google
5640
5860
  # Request-specific options
5641
5861
  #
5642
5862
  # @yield [result, err] Result & error if block supplied
5643
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
5863
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleApiHttpBody] parsed result object
5644
5864
  # @yieldparam err [StandardError] error object if request failed
5645
5865
  #
5646
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
5866
+ # @return [Google::Apis::ApigeeV1::GoogleApiHttpBody]
5647
5867
  #
5648
5868
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5649
5869
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5650
5870
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5651
- def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
5871
+ def get_organization_host_query_result(name, fields: nil, quota_user: nil, options: nil, &block)
5652
5872
  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
5873
+ command.response_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
5874
+ command.response_class = Google::Apis::ApigeeV1::GoogleApiHttpBody
5655
5875
  command.params['name'] = name unless name.nil?
5656
5876
  command.query['fields'] = fields unless fields.nil?
5657
5877
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5658
5878
  execute_or_queue_command(command, &block)
5659
5879
  end
5660
5880
 
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.
5881
+ #
5882
+ # @param [String] name
5883
+ # Required. Name of the asynchronous query result view to get. Must be of the
5884
+ # form `organizations/`org`/queries/`queryId`/resultView`.
5671
5885
  # @param [String] fields
5672
5886
  # Selector specifying which fields to include in a partial response.
5673
5887
  # @param [String] quota_user
@@ -5677,42 +5891,322 @@ module Google
5677
5891
  # Request-specific options
5678
5892
  #
5679
5893
  # @yield [result, err] Result & error if block supplied
5680
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
5894
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] parsed result object
5681
5895
  # @yieldparam err [StandardError] error object if request failed
5682
5896
  #
5683
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
5897
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView]
5684
5898
  #
5685
5899
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5686
5900
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5687
5901
  # @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?
5902
+ def get_organization_host_query_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
5903
+ command = make_simple_command(:get, 'v1/{+name}', options)
5904
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView::Representation
5905
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
5906
+ command.params['name'] = name unless name.nil?
5695
5907
  command.query['fields'] = fields unless fields.nil?
5696
5908
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5697
5909
  execute_or_queue_command(command, &block)
5698
5910
  end
5699
5911
 
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
5912
+ # Return a list of Asynchronous Queries at host level.
5913
+ # @param [String] parent
5914
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5915
+ # @param [String] dataset
5916
+ # Filter response list by dataset. Example: `api`, `mint`
5917
+ # @param [String] envgroup_hostname
5918
+ # Required. Filter response list by hostname.
5919
+ # @param [String] from
5920
+ # Filter response list by returning asynchronous queries that created after this
5921
+ # date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
5922
+ # @param [String] incl_queries_without_report
5923
+ # Flag to include asynchronous queries that don't have a report denifition.
5924
+ # @param [String] status
5925
+ # Filter response list by asynchronous query status.
5926
+ # @param [String] submitted_by
5927
+ # Filter response list by user who submitted queries.
5928
+ # @param [String] to
5929
+ # Filter response list by returning asynchronous queries that created before
5930
+ # this date time. Time must be in ISO date-time format like '2011-12-03T10:16:
5931
+ # 30Z'.
5932
+ # @param [String] fields
5933
+ # Selector specifying which fields to include in a partial response.
5934
+ # @param [String] quota_user
5935
+ # Available to use for quota purposes for server-side applications. Can be any
5936
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5937
+ # @param [Google::Apis::RequestOptions] options
5938
+ # Request-specific options
5939
+ #
5940
+ # @yield [result, err] Result & error if block supplied
5941
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse] parsed result object
5942
+ # @yieldparam err [StandardError] error object if request failed
5943
+ #
5944
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse]
5945
+ #
5946
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5947
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5948
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5949
+ 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)
5950
+ command = make_simple_command(:get, 'v1/{+parent}/hostQueries', options)
5951
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse::Representation
5952
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse
5953
+ command.params['parent'] = parent unless parent.nil?
5954
+ command.query['dataset'] = dataset unless dataset.nil?
5955
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
5956
+ command.query['from'] = from unless from.nil?
5957
+ command.query['inclQueriesWithoutReport'] = incl_queries_without_report unless incl_queries_without_report.nil?
5958
+ command.query['status'] = status unless status.nil?
5959
+ command.query['submittedBy'] = submitted_by unless submitted_by.nil?
5960
+ command.query['to'] = to unless to.nil?
5961
+ command.query['fields'] = fields unless fields.nil?
5962
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5963
+ execute_or_queue_command(command, &block)
5964
+ end
5965
+
5966
+ # Retrieve metrics grouped by dimensions in host level. The types of metrics you
5967
+ # can retrieve include traffic, message counts, API call latency, response size,
5968
+ # and cache hits and counts. Dimensions let you view metrics in meaningful
5969
+ # groups. The stats api does accept dimensions as path params. The dimensions
5970
+ # are optional in which case the metrics are computed on the entire data for the
5971
+ # given timerange.
5972
+ # @param [String] name
5973
+ # Required. The resource name for which the interactive query will be executed.
5974
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
5975
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
5976
+ # target_host. The value of dimensions should be comma separated list as shown
5977
+ # below `organizations/`org`/stats/apiproxy,request_verb`
5978
+ # @param [String] accuracy
5979
+ # Legacy field: not used anymore.
5980
+ # @param [String] envgroup_hostname
5981
+ # Required. The hostname for which the interactive query will be executed.
5982
+ # @param [String] filter
5983
+ # Enables drill-down on specific dimension values.
5984
+ # @param [String] limit
5985
+ # This parameter is used to limit the number of result items. Default and the
5986
+ # max value is 14400.
5987
+ # @param [String] offset
5988
+ # Use offset with limit to enable pagination of results. For example, to display
5989
+ # results 11-20, set limit to '10' and offset to '10'.
5990
+ # @param [Boolean] realtime
5991
+ # Legacy field: not used anymore.
5992
+ # @param [String] select
5993
+ # The select parameter contains a comma separated list of metrics. E.g. sum(
5994
+ # message_count),sum(error_count)
5995
+ # @param [String] sort
5996
+ # This parameter specifies if the sort order should be ascending or descending
5997
+ # Supported values are DESC and ASC.
5998
+ # @param [String] sortby
5999
+ # Comma separated list of columns to sort the final result.
6000
+ # @param [String] time_range
6001
+ # Time interval for the interactive query. Time range is specified as start~end
6002
+ # E.g. 04/15/2017 00:00~05/15/2017 23:59
6003
+ # @param [String] time_unit
6004
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
6005
+ # granularity of metrics returned.
6006
+ # @param [String] topk
6007
+ # Take 'top k' results from results, for example, to return the top 5 results '
6008
+ # topk=5'.
6009
+ # @param [Boolean] ts_ascending
6010
+ # Lists timestamps in ascending order if set to true. Recommend setting this
6011
+ # value to true if you are using sortby with sort=DESC.
6012
+ # @param [String] tzo
6013
+ # This parameters contains the timezone offset value.
6014
+ # @param [String] fields
6015
+ # Selector specifying which fields to include in a partial response.
6016
+ # @param [String] quota_user
6017
+ # Available to use for quota purposes for server-side applications. Can be any
6018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6019
+ # @param [Google::Apis::RequestOptions] options
6020
+ # Request-specific options
6021
+ #
6022
+ # @yield [result, err] Result & error if block supplied
6023
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats] parsed result object
6024
+ # @yieldparam err [StandardError] error object if request failed
6025
+ #
6026
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats]
6027
+ #
6028
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6029
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6030
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6031
+ 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)
6032
+ command = make_simple_command(:get, 'v1/{+name}', options)
6033
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats::Representation
6034
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats
6035
+ command.params['name'] = name unless name.nil?
6036
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6037
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6038
+ command.query['filter'] = filter unless filter.nil?
6039
+ command.query['limit'] = limit unless limit.nil?
6040
+ command.query['offset'] = offset unless offset.nil?
6041
+ command.query['realtime'] = realtime unless realtime.nil?
6042
+ command.query['select'] = select unless select.nil?
6043
+ command.query['sort'] = sort unless sort.nil?
6044
+ command.query['sortby'] = sortby unless sortby.nil?
6045
+ command.query['timeRange'] = time_range unless time_range.nil?
6046
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6047
+ command.query['topk'] = topk unless topk.nil?
6048
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6049
+ command.query['tzo'] = tzo unless tzo.nil?
6050
+ command.query['fields'] = fields unless fields.nil?
6051
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6052
+ execute_or_queue_command(command, &block)
6053
+ end
6054
+
6055
+ # Creates an Apigee runtime instance. The instance is accessible from the
6056
+ # authorized network configured on the organization. **Note:** Not supported for
6057
+ # Apigee hybrid.
6058
+ # @param [String] parent
6059
+ # Required. Name of the organization. Use the following structure in your
6060
+ # request: `organizations/`org``.
6061
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
6062
+ # @param [String] fields
6063
+ # Selector specifying which fields to include in a partial response.
6064
+ # @param [String] quota_user
6065
+ # Available to use for quota purposes for server-side applications. Can be any
6066
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6067
+ # @param [Google::Apis::RequestOptions] options
6068
+ # Request-specific options
6069
+ #
6070
+ # @yield [result, err] Result & error if block supplied
6071
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6072
+ # @yieldparam err [StandardError] error object if request failed
6073
+ #
6074
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6075
+ #
6076
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6077
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6078
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6079
+ def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6080
+ command = make_simple_command(:post, 'v1/{+parent}/instances', options)
6081
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
6082
+ command.request_object = google_cloud_apigee_v1_instance_object
6083
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6084
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6085
+ command.params['parent'] = parent unless parent.nil?
6086
+ command.query['fields'] = fields unless fields.nil?
6087
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6088
+ execute_or_queue_command(command, &block)
6089
+ end
6090
+
6091
+ # Deletes an Apigee runtime instance. The instance stops serving requests and
6092
+ # the runtime data is deleted. **Note:** Not supported for Apigee hybrid.
6093
+ # @param [String] name
6094
+ # Required. Name of the instance. Use the following structure in your request: `
6095
+ # organizations/`org`/instances/`instance``.
6096
+ # @param [String] fields
6097
+ # Selector specifying which fields to include in a partial response.
6098
+ # @param [String] quota_user
6099
+ # Available to use for quota purposes for server-side applications. Can be any
6100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6101
+ # @param [Google::Apis::RequestOptions] options
6102
+ # Request-specific options
6103
+ #
6104
+ # @yield [result, err] Result & error if block supplied
6105
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6106
+ # @yieldparam err [StandardError] error object if request failed
6107
+ #
6108
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6109
+ #
6110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6113
+ def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
6114
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6115
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6116
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6117
+ command.params['name'] = name unless name.nil?
6118
+ command.query['fields'] = fields unless fields.nil?
6119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6120
+ execute_or_queue_command(command, &block)
6121
+ end
6122
+
6123
+ # Gets the details for an Apigee runtime instance. **Note:** Not supported for
6124
+ # Apigee hybrid.
6125
+ # @param [String] name
6126
+ # Required. Name of the instance. Use the following structure in your request: `
6127
+ # organizations/`org`/instances/`instance``.
6128
+ # @param [String] fields
6129
+ # Selector specifying which fields to include in a partial response.
6130
+ # @param [String] quota_user
6131
+ # Available to use for quota purposes for server-side applications. Can be any
6132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6133
+ # @param [Google::Apis::RequestOptions] options
6134
+ # Request-specific options
6135
+ #
6136
+ # @yield [result, err] Result & error if block supplied
6137
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
6138
+ # @yieldparam err [StandardError] error object if request failed
6139
+ #
6140
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
6141
+ #
6142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6145
+ def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
6146
+ command = make_simple_command(:get, 'v1/{+name}', options)
6147
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
6148
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
6149
+ command.params['name'] = name unless name.nil?
6150
+ command.query['fields'] = fields unless fields.nil?
6151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6152
+ execute_or_queue_command(command, &block)
6153
+ end
6154
+
6155
+ # Lists all Apigee runtime instances for the organization. **Note:** Not
6156
+ # supported for Apigee hybrid.
6157
+ # @param [String] parent
6158
+ # Required. Name of the organization. Use the following structure in your
6159
+ # request: `organizations/`org``.
6160
+ # @param [Fixnum] page_size
6161
+ # Maximum number of instances to return. Defaults to 25.
6162
+ # @param [String] page_token
6163
+ # Page token, returned from a previous ListInstances call, that you can use to
6164
+ # retrieve the next page of content.
6165
+ # @param [String] fields
6166
+ # Selector specifying which fields to include in a partial response.
6167
+ # @param [String] quota_user
6168
+ # Available to use for quota purposes for server-side applications. Can be any
6169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6170
+ # @param [Google::Apis::RequestOptions] options
6171
+ # Request-specific options
6172
+ #
6173
+ # @yield [result, err] Result & error if block supplied
6174
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
6175
+ # @yieldparam err [StandardError] error object if request failed
6176
+ #
6177
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
6178
+ #
6179
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6180
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6181
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6182
+ def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6183
+ command = make_simple_command(:get, 'v1/{+parent}/instances', options)
6184
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation
6185
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse
6186
+ command.params['parent'] = parent unless parent.nil?
6187
+ command.query['pageSize'] = page_size unless page_size.nil?
6188
+ command.query['pageToken'] = page_token unless page_token.nil?
6189
+ command.query['fields'] = fields unless fields.nil?
6190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6191
+ execute_or_queue_command(command, &block)
6192
+ end
6193
+
6194
+ # Reports the latest status for a runtime instance.
6195
+ # @param [String] instance
6196
+ # The name of the instance reporting this status. For SaaS the request will be
6197
+ # rejected if no instance exists under this name. Format is organizations/`org`/
6198
+ # instances/`instance`
6199
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object
6200
+ # @param [String] fields
6201
+ # Selector specifying which fields to include in a partial response.
6202
+ # @param [String] quota_user
6203
+ # Available to use for quota purposes for server-side applications. Can be any
6204
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6205
+ # @param [Google::Apis::RequestOptions] options
6206
+ # Request-specific options
6207
+ #
6208
+ # @yield [result, err] Result & error if block supplied
6209
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object
5716
6210
  # @yieldparam err [StandardError] error object if request failed
5717
6211
  #
5718
6212
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse]
@@ -5868,6 +6362,246 @@ module Google
5868
6362
  execute_or_queue_command(command, &block)
5869
6363
  end
5870
6364
 
6365
+ # Creates a new canary evaluation for an organization.
6366
+ # @param [String] parent
6367
+ # Required. Name of the organization. Use the following structure in your
6368
+ # request: `organizations/`org`/instances/`instance``.
6369
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation] google_cloud_apigee_v1_canary_evaluation_object
6370
+ # @param [String] fields
6371
+ # Selector specifying which fields to include in a partial response.
6372
+ # @param [String] quota_user
6373
+ # Available to use for quota purposes for server-side applications. Can be any
6374
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6375
+ # @param [Google::Apis::RequestOptions] options
6376
+ # Request-specific options
6377
+ #
6378
+ # @yield [result, err] Result & error if block supplied
6379
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6380
+ # @yieldparam err [StandardError] error object if request failed
6381
+ #
6382
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6383
+ #
6384
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6385
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6386
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6387
+ def create_organization_instance_canaryevaluation(parent, google_cloud_apigee_v1_canary_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6388
+ command = make_simple_command(:post, 'v1/{+parent}/canaryevaluations', options)
6389
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation::Representation
6390
+ command.request_object = google_cloud_apigee_v1_canary_evaluation_object
6391
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6392
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6393
+ command.params['parent'] = parent unless parent.nil?
6394
+ command.query['fields'] = fields unless fields.nil?
6395
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6396
+ execute_or_queue_command(command, &block)
6397
+ end
6398
+
6399
+ # Gets a CanaryEvaluation for an organization.
6400
+ # @param [String] name
6401
+ # Required. Name of the CanaryEvaluation. Use the following structure in your
6402
+ # request: `organizations/`org`/instances/*/canaryevaluations/`evaluation``
6403
+ # @param [String] fields
6404
+ # Selector specifying which fields to include in a partial response.
6405
+ # @param [String] quota_user
6406
+ # Available to use for quota purposes for server-side applications. Can be any
6407
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6408
+ # @param [Google::Apis::RequestOptions] options
6409
+ # Request-specific options
6410
+ #
6411
+ # @yield [result, err] Result & error if block supplied
6412
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation] parsed result object
6413
+ # @yieldparam err [StandardError] error object if request failed
6414
+ #
6415
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation]
6416
+ #
6417
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6418
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6419
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6420
+ def get_organization_instance_canaryevaluation(name, fields: nil, quota_user: nil, options: nil, &block)
6421
+ command = make_simple_command(:get, 'v1/{+name}', options)
6422
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation::Representation
6423
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluation
6424
+ command.params['name'] = name unless name.nil?
6425
+ command.query['fields'] = fields unless fields.nil?
6426
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6427
+ execute_or_queue_command(command, &block)
6428
+ end
6429
+
6430
+ # Activates the NAT address. The Apigee instance can now use this for Internet
6431
+ # egress traffic. **Note:** Not supported for Apigee hybrid.
6432
+ # @param [String] name
6433
+ # Required. Name of the nat address. Use the following structure in your request:
6434
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6435
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest] google_cloud_apigee_v1_activate_nat_address_request_object
6436
+ # @param [String] fields
6437
+ # Selector specifying which fields to include in a partial response.
6438
+ # @param [String] quota_user
6439
+ # Available to use for quota purposes for server-side applications. Can be any
6440
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6441
+ # @param [Google::Apis::RequestOptions] options
6442
+ # Request-specific options
6443
+ #
6444
+ # @yield [result, err] Result & error if block supplied
6445
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6446
+ # @yieldparam err [StandardError] error object if request failed
6447
+ #
6448
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6449
+ #
6450
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6451
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6452
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6453
+ 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)
6454
+ command = make_simple_command(:post, 'v1/{+name}:activate', options)
6455
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest::Representation
6456
+ command.request_object = google_cloud_apigee_v1_activate_nat_address_request_object
6457
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6458
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6459
+ command.params['name'] = name unless name.nil?
6460
+ command.query['fields'] = fields unless fields.nil?
6461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6462
+ execute_or_queue_command(command, &block)
6463
+ end
6464
+
6465
+ # Creates a NAT address. The address is created in the RESERVED state and a
6466
+ # static external IP address will be provisioned. At this time, the instance
6467
+ # will not use this IP address for Internet egress traffic. The address can be
6468
+ # activated for use once any required firewall IP whitelisting has been
6469
+ # completed. **Note:** Not supported for Apigee hybrid.
6470
+ # @param [String] parent
6471
+ # Required. Name of the instance. Use the following structure in your request: `
6472
+ # organizations/`org`/instances/`instance``
6473
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] google_cloud_apigee_v1_nat_address_object
6474
+ # @param [String] fields
6475
+ # Selector specifying which fields to include in a partial response.
6476
+ # @param [String] quota_user
6477
+ # Available to use for quota purposes for server-side applications. Can be any
6478
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6479
+ # @param [Google::Apis::RequestOptions] options
6480
+ # Request-specific options
6481
+ #
6482
+ # @yield [result, err] Result & error if block supplied
6483
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6484
+ # @yieldparam err [StandardError] error object if request failed
6485
+ #
6486
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6487
+ #
6488
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6489
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6490
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6491
+ def create_organization_instance_nat_address(parent, google_cloud_apigee_v1_nat_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6492
+ command = make_simple_command(:post, 'v1/{+parent}/natAddresses', options)
6493
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6494
+ command.request_object = google_cloud_apigee_v1_nat_address_object
6495
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6496
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6497
+ command.params['parent'] = parent unless parent.nil?
6498
+ command.query['fields'] = fields unless fields.nil?
6499
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6500
+ execute_or_queue_command(command, &block)
6501
+ end
6502
+
6503
+ # Deletes the NAT address. Connections that are actively using the address are
6504
+ # drained before it is removed. **Note:** Not supported for Apigee hybrid.
6505
+ # @param [String] name
6506
+ # Required. Name of the nat address. Use the following structure in your request:
6507
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6508
+ # @param [String] fields
6509
+ # Selector specifying which fields to include in a partial response.
6510
+ # @param [String] quota_user
6511
+ # Available to use for quota purposes for server-side applications. Can be any
6512
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6513
+ # @param [Google::Apis::RequestOptions] options
6514
+ # Request-specific options
6515
+ #
6516
+ # @yield [result, err] Result & error if block supplied
6517
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6518
+ # @yieldparam err [StandardError] error object if request failed
6519
+ #
6520
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6521
+ #
6522
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6523
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6524
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6525
+ def delete_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6526
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6527
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6528
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6529
+ command.params['name'] = name unless name.nil?
6530
+ command.query['fields'] = fields unless fields.nil?
6531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6532
+ execute_or_queue_command(command, &block)
6533
+ end
6534
+
6535
+ # Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.
6536
+ # @param [String] name
6537
+ # Required. Name of the nat address. Use the following structure in your request:
6538
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress``
6539
+ # @param [String] fields
6540
+ # Selector specifying which fields to include in a partial response.
6541
+ # @param [String] quota_user
6542
+ # Available to use for quota purposes for server-side applications. Can be any
6543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6544
+ # @param [Google::Apis::RequestOptions] options
6545
+ # Request-specific options
6546
+ #
6547
+ # @yield [result, err] Result & error if block supplied
6548
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] parsed result object
6549
+ # @yieldparam err [StandardError] error object if request failed
6550
+ #
6551
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress]
6552
+ #
6553
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6554
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6555
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6556
+ def get_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6557
+ command = make_simple_command(:get, 'v1/{+name}', options)
6558
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6559
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
6560
+ command.params['name'] = name unless name.nil?
6561
+ command.query['fields'] = fields unless fields.nil?
6562
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6563
+ execute_or_queue_command(command, &block)
6564
+ end
6565
+
6566
+ # Lists the NAT addresses for an Apigee instance. **Note:** Not supported for
6567
+ # Apigee hybrid.
6568
+ # @param [String] parent
6569
+ # Required. Name of the instance. Use the following structure in your request: `
6570
+ # organizations/`org`/instances/`instance``
6571
+ # @param [Fixnum] page_size
6572
+ # Maximum number of natAddresses to return. Defaults to 25.
6573
+ # @param [String] page_token
6574
+ # Page token, returned from a previous ListNatAddresses call, that you can use
6575
+ # to retrieve the next page of content.
6576
+ # @param [String] fields
6577
+ # Selector specifying which fields to include in a partial response.
6578
+ # @param [String] quota_user
6579
+ # Available to use for quota purposes for server-side applications. Can be any
6580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6581
+ # @param [Google::Apis::RequestOptions] options
6582
+ # Request-specific options
6583
+ #
6584
+ # @yield [result, err] Result & error if block supplied
6585
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse] parsed result object
6586
+ # @yieldparam err [StandardError] error object if request failed
6587
+ #
6588
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse]
6589
+ #
6590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6593
+ def list_organization_instance_nat_addresses(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6594
+ command = make_simple_command(:get, 'v1/{+parent}/natAddresses', options)
6595
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse::Representation
6596
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse
6597
+ command.params['parent'] = parent unless parent.nil?
6598
+ command.query['pageSize'] = page_size unless page_size.nil?
6599
+ command.query['pageToken'] = page_token unless page_token.nil?
6600
+ command.query['fields'] = fields unless fields.nil?
6601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6602
+ execute_or_queue_command(command, &block)
6603
+ end
6604
+
5871
6605
  # Creates a key value map in an organization.
5872
6606
  # @param [String] parent
5873
6607
  # Required. The name of the organization in which to create the key value map
@@ -6010,6 +6744,90 @@ module Google
6010
6744
  execute_or_queue_command(command, &block)
6011
6745
  end
6012
6746
 
6747
+ # This api is similar to GetHostStats except that the response is less verbose.
6748
+ # @param [String] name
6749
+ # Required. The resource name for which the interactive query will be executed.
6750
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
6751
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
6752
+ # target_host. The value of dimensions should be comma separated list as shown
6753
+ # below `organizations/`org`/stats/apiproxy,request_verb`
6754
+ # @param [String] accuracy
6755
+ # Legacy field: not used anymore.
6756
+ # @param [String] envgroup_hostname
6757
+ # Required. The hostname for which the interactive query will be executed.
6758
+ # @param [String] filter
6759
+ # Enables drill-down on specific dimension values.
6760
+ # @param [String] limit
6761
+ # This parameter is used to limit the number of result items. Default and the
6762
+ # max value is 14400.
6763
+ # @param [String] offset
6764
+ # Use offset with limit to enable pagination of results. For example, to display
6765
+ # results 11-20, set limit to '10' and offset to '10'.
6766
+ # @param [Boolean] realtime
6767
+ # Legacy field: not used anymore.
6768
+ # @param [String] select
6769
+ # Required. The select parameter contains a comma separated list of metrics. E.g.
6770
+ # sum(message_count),sum(error_count)
6771
+ # @param [String] sort
6772
+ # This parameter specifies if the sort order should be ascending or descending
6773
+ # Supported values are DESC and ASC.
6774
+ # @param [String] sortby
6775
+ # Comma separated list of columns to sort the final result.
6776
+ # @param [String] time_range
6777
+ # Required. Time interval for the interactive query. Time range is specified as
6778
+ # start~end. E.g 04/15/2017 00:00~05/15/2017 23:59.
6779
+ # @param [String] time_unit
6780
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
6781
+ # granularity of metrics returned.
6782
+ # @param [String] topk
6783
+ # Take 'top k' results from results, for example, to return the top 5 results '
6784
+ # topk=5'.
6785
+ # @param [Boolean] ts_ascending
6786
+ # Lists timestamps in ascending order if set to true. Recommend setting this
6787
+ # value to true if you are using sortby with sort=DESC.
6788
+ # @param [String] tzo
6789
+ # This parameters contains the timezone offset value.
6790
+ # @param [String] fields
6791
+ # Selector specifying which fields to include in a partial response.
6792
+ # @param [String] quota_user
6793
+ # Available to use for quota purposes for server-side applications. Can be any
6794
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6795
+ # @param [Google::Apis::RequestOptions] options
6796
+ # Request-specific options
6797
+ #
6798
+ # @yield [result, err] Result & error if block supplied
6799
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats] parsed result object
6800
+ # @yieldparam err [StandardError] error object if request failed
6801
+ #
6802
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats]
6803
+ #
6804
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6805
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6806
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6807
+ 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)
6808
+ command = make_simple_command(:get, 'v1/{+name}', options)
6809
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats::Representation
6810
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats
6811
+ command.params['name'] = name unless name.nil?
6812
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6813
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6814
+ command.query['filter'] = filter unless filter.nil?
6815
+ command.query['limit'] = limit unless limit.nil?
6816
+ command.query['offset'] = offset unless offset.nil?
6817
+ command.query['realtime'] = realtime unless realtime.nil?
6818
+ command.query['select'] = select unless select.nil?
6819
+ command.query['sort'] = sort unless sort.nil?
6820
+ command.query['sortby'] = sortby unless sortby.nil?
6821
+ command.query['timeRange'] = time_range unless time_range.nil?
6822
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6823
+ command.query['topk'] = topk unless topk.nil?
6824
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6825
+ command.query['tzo'] = tzo unless tzo.nil?
6826
+ command.query['fields'] = fields unless fields.nil?
6827
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6828
+ execute_or_queue_command(command, &block)
6829
+ end
6830
+
6013
6831
  # Creates a Custom Report for an Organization. A Custom Report provides Apigee
6014
6832
  # Customers to create custom dashboards in addition to the standard dashboards
6015
6833
  # which are provided. The Custom Report in its simplest form contains