google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -159,6 +159,38 @@ module Google
159
159
  execute_or_queue_command(command, &block)
160
160
  end
161
161
 
162
+ # Gets the deployed ingress configuration for an organization.
163
+ # @param [String] name
164
+ # Required. Name of the deployed configuration for the organization in the
165
+ # following
166
+ # format: 'organizations/`org`/deployedIngressConfig'.
167
+ # @param [String] fields
168
+ # Selector specifying which fields to include in a partial response.
169
+ # @param [String] quota_user
170
+ # Available to use for quota purposes for server-side applications. Can be any
171
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
172
+ # @param [Google::Apis::RequestOptions] options
173
+ # Request-specific options
174
+ #
175
+ # @yield [result, err] Result & error if block supplied
176
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig] parsed result object
177
+ # @yieldparam err [StandardError] error object if request failed
178
+ #
179
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig]
180
+ #
181
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
184
+ def get_organization_deployed_ingress_config(name, fields: nil, quota_user: nil, options: nil, &block)
185
+ command = make_simple_command(:get, 'v1/{+name}', options)
186
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig::Representation
187
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig
188
+ command.params['name'] = name unless name.nil?
189
+ command.query['fields'] = fields unless fields.nil?
190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
191
+ execute_or_queue_command(command, &block)
192
+ end
193
+
162
194
  # Lists the service accounts with the permissions required to allow
163
195
  # the Synchronizer to download environment data from the control plane.
164
196
  # An ETag is returned in the response to `getSyncAuthorization`.
@@ -321,6 +353,206 @@ module Google
321
353
  execute_or_queue_command(command, &block)
322
354
  end
323
355
 
356
+ # Create a Datastore for an org
357
+ # @param [String] parent
358
+ # Required. The parent organization name.
359
+ # Must be of the form `organizations/`org``.
360
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
361
+ # @param [String] fields
362
+ # Selector specifying which fields to include in a partial response.
363
+ # @param [String] quota_user
364
+ # Available to use for quota purposes for server-side applications. Can be any
365
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
366
+ # @param [Google::Apis::RequestOptions] options
367
+ # Request-specific options
368
+ #
369
+ # @yield [result, err] Result & error if block supplied
370
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
371
+ # @yieldparam err [StandardError] error object if request failed
372
+ #
373
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
374
+ #
375
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
376
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
377
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
378
+ def create_organization_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
379
+ command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores', options)
380
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
381
+ command.request_object = google_cloud_apigee_v1_datastore_object
382
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
383
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
384
+ command.params['parent'] = parent unless parent.nil?
385
+ command.query['fields'] = fields unless fields.nil?
386
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
387
+ execute_or_queue_command(command, &block)
388
+ end
389
+
390
+ # Delete a Datastore from an org.
391
+ # @param [String] name
392
+ # Required. Resource name of the Datastore to be deleted. Must be of the
393
+ # form `organizations/`org`/analytics/datastores/`datastoreId``
394
+ # @param [String] fields
395
+ # Selector specifying which fields to include in a partial response.
396
+ # @param [String] quota_user
397
+ # Available to use for quota purposes for server-side applications. Can be any
398
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
399
+ # @param [Google::Apis::RequestOptions] options
400
+ # Request-specific options
401
+ #
402
+ # @yield [result, err] Result & error if block supplied
403
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
404
+ # @yieldparam err [StandardError] error object if request failed
405
+ #
406
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
407
+ #
408
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
409
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
410
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
411
+ def delete_organization_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
412
+ command = make_simple_command(:delete, 'v1/{+name}', options)
413
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
414
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
415
+ command.params['name'] = name unless name.nil?
416
+ command.query['fields'] = fields unless fields.nil?
417
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
418
+ execute_or_queue_command(command, &block)
419
+ end
420
+
421
+ # Get a Datastore
422
+ # @param [String] name
423
+ # Required. Resource name of the Datastore to be get. Must be of the
424
+ # form `organizations/`org`/analytics/datastores/`datastoreId``
425
+ # @param [String] fields
426
+ # Selector specifying which fields to include in a partial response.
427
+ # @param [String] quota_user
428
+ # Available to use for quota purposes for server-side applications. Can be any
429
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
430
+ # @param [Google::Apis::RequestOptions] options
431
+ # Request-specific options
432
+ #
433
+ # @yield [result, err] Result & error if block supplied
434
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
435
+ # @yieldparam err [StandardError] error object if request failed
436
+ #
437
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
438
+ #
439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
442
+ def get_organization_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
443
+ command = make_simple_command(:get, 'v1/{+name}', options)
444
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
445
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
446
+ command.params['name'] = name unless name.nil?
447
+ command.query['fields'] = fields unless fields.nil?
448
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
449
+ execute_or_queue_command(command, &block)
450
+ end
451
+
452
+ # List Datastores
453
+ # @param [String] parent
454
+ # Required. The parent organization name.
455
+ # Must be of the form `organizations/`org``.
456
+ # @param [String] target_type
457
+ # Optional. TargetType is used to fetch all Datastores that match the type
458
+ # @param [String] fields
459
+ # Selector specifying which fields to include in a partial response.
460
+ # @param [String] quota_user
461
+ # Available to use for quota purposes for server-side applications. Can be any
462
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
463
+ # @param [Google::Apis::RequestOptions] options
464
+ # Request-specific options
465
+ #
466
+ # @yield [result, err] Result & error if block supplied
467
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse] parsed result object
468
+ # @yieldparam err [StandardError] error object if request failed
469
+ #
470
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse]
471
+ #
472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
475
+ def list_organization_analytic_datastores(parent, target_type: nil, fields: nil, quota_user: nil, options: nil, &block)
476
+ command = make_simple_command(:get, 'v1/{+parent}/analytics/datastores', options)
477
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse::Representation
478
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse
479
+ command.params['parent'] = parent unless parent.nil?
480
+ command.query['targetType'] = target_type unless target_type.nil?
481
+ command.query['fields'] = fields unless fields.nil?
482
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
483
+ execute_or_queue_command(command, &block)
484
+ end
485
+
486
+ # Test if Datastore configuration is correct. This includes checking
487
+ # if credentials provided by customer have required permissions in target
488
+ # destination storage
489
+ # @param [String] parent
490
+ # Required. The parent organization name
491
+ # Must be of the form `organizations/`org``
492
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
493
+ # @param [String] fields
494
+ # Selector specifying which fields to include in a partial response.
495
+ # @param [String] quota_user
496
+ # Available to use for quota purposes for server-side applications. Can be any
497
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
498
+ # @param [Google::Apis::RequestOptions] options
499
+ # Request-specific options
500
+ #
501
+ # @yield [result, err] Result & error if block supplied
502
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse] parsed result object
503
+ # @yieldparam err [StandardError] error object if request failed
504
+ #
505
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse]
506
+ #
507
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
508
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
509
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
510
+ def test_organization_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
511
+ command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores:test', options)
512
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
513
+ command.request_object = google_cloud_apigee_v1_datastore_object
514
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse::Representation
515
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse
516
+ command.params['parent'] = parent unless parent.nil?
517
+ command.query['fields'] = fields unless fields.nil?
518
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
519
+ execute_or_queue_command(command, &block)
520
+ end
521
+
522
+ # Update a Datastore
523
+ # @param [String] name
524
+ # Required. The resource name of datastore to be updated. Must be of the
525
+ # form `organizations/`org`/analytics/datastores/`datastoreId``
526
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
527
+ # @param [String] fields
528
+ # Selector specifying which fields to include in a partial response.
529
+ # @param [String] quota_user
530
+ # Available to use for quota purposes for server-side applications. Can be any
531
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
532
+ # @param [Google::Apis::RequestOptions] options
533
+ # Request-specific options
534
+ #
535
+ # @yield [result, err] Result & error if block supplied
536
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
537
+ # @yieldparam err [StandardError] error object if request failed
538
+ #
539
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
540
+ #
541
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
542
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
543
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
544
+ def update_organization_analytic_datastore(name, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
545
+ command = make_simple_command(:put, 'v1/{+name}', options)
546
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
547
+ command.request_object = google_cloud_apigee_v1_datastore_object
548
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
549
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
550
+ command.params['name'] = name unless name.nil?
551
+ command.query['fields'] = fields unless fields.nil?
552
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
553
+ execute_or_queue_command(command, &block)
554
+ end
555
+
324
556
  # Updates or creates API product attributes. This API **replaces** the
325
557
  # current list of attributes with the attributes specified in the request
326
558
  # body. In this way, you can update existing attributes, add new attributes,
@@ -2568,16 +2800,15 @@ module Google
2568
2800
  execute_or_queue_command(command, &block)
2569
2801
  end
2570
2802
 
2571
- # Creates an environment in an organization.
2803
+ # Creates a new environment group.
2572
2804
  # @param [String] parent
2573
- # Required. Name of the organization in which the environment will
2574
- # be created. Use the following structure in your request:
2575
- # `organizations/`org``
2576
- # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] google_cloud_apigee_v1_environment_object
2805
+ # Required. Name of the organization in which to create the environment group in
2806
+ # the
2807
+ # following format: `organizations/`org``.
2808
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
2577
2809
  # @param [String] name
2578
- # Optional. Name of the environment. Alternatively, the name may
2579
- # be specified in the request body in the
2580
- # name field.
2810
+ # ID of the environment group. Overrides any ID in the environment_group
2811
+ # resource.
2581
2812
  # @param [String] fields
2582
2813
  # Selector specifying which fields to include in a partial response.
2583
2814
  # @param [String] quota_user
@@ -2595,10 +2826,10 @@ module Google
2595
2826
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2596
2827
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2597
2828
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2598
- def create_organization_environment(parent, google_cloud_apigee_v1_environment_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
2599
- command = make_simple_command(:post, 'v1/{+parent}/environments', options)
2600
- command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
2601
- command.request_object = google_cloud_apigee_v1_environment_object
2829
+ def create_organization_envgroup(parent, google_cloud_apigee_v1_environment_group_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
2830
+ command = make_simple_command(:post, 'v1/{+parent}/envgroups', options)
2831
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
2832
+ command.request_object = google_cloud_apigee_v1_environment_group_object
2602
2833
  command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
2603
2834
  command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
2604
2835
  command.params['parent'] = parent unless parent.nil?
@@ -2608,11 +2839,10 @@ module Google
2608
2839
  execute_or_queue_command(command, &block)
2609
2840
  end
2610
2841
 
2611
- # Deletes an environment from an organization.
2842
+ # Deletes an environment group.
2612
2843
  # @param [String] name
2613
- # Required. Name of the environment. Use the following structure in your
2614
- # request:
2615
- # `organizations/`org`/environments/`env``
2844
+ # Required. Name of the environment group in the following format:
2845
+ # `organizations/`org`/envgroups/`envgroup``.
2616
2846
  # @param [String] fields
2617
2847
  # Selector specifying which fields to include in a partial response.
2618
2848
  # @param [String] quota_user
@@ -2630,7 +2860,7 @@ module Google
2630
2860
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2631
2861
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2632
2862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2633
- def delete_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
2863
+ def delete_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block)
2634
2864
  command = make_simple_command(:delete, 'v1/{+name}', options)
2635
2865
  command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
2636
2866
  command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
@@ -2640,10 +2870,10 @@ module Google
2640
2870
  execute_or_queue_command(command, &block)
2641
2871
  end
2642
2872
 
2643
- # Gets environment details.
2873
+ # Gets an environment group.
2644
2874
  # @param [String] name
2645
- # Required. Name of the environment. Use the following structure in your request:
2646
- # `organizations/`org`/environments/`env``
2875
+ # Required. Name of the environment group in the following format:
2876
+ # `organizations/`org`/envgroups/`envgroup``.
2647
2877
  # @param [String] fields
2648
2878
  # Selector specifying which fields to include in a partial response.
2649
2879
  # @param [String] quota_user
@@ -2653,28 +2883,34 @@ module Google
2653
2883
  # Request-specific options
2654
2884
  #
2655
2885
  # @yield [result, err] Result & error if block supplied
2656
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] parsed result object
2886
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] parsed result object
2657
2887
  # @yieldparam err [StandardError] error object if request failed
2658
2888
  #
2659
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment]
2889
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup]
2660
2890
  #
2661
2891
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2662
2892
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2663
2893
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2664
- def get_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
2894
+ def get_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block)
2665
2895
  command = make_simple_command(:get, 'v1/{+name}', options)
2666
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
2667
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment
2896
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
2897
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup
2668
2898
  command.params['name'] = name unless name.nil?
2669
2899
  command.query['fields'] = fields unless fields.nil?
2670
2900
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2671
2901
  execute_or_queue_command(command, &block)
2672
2902
  end
2673
2903
 
2674
- # Gets the debug mask singleton resource for an environment.
2675
- # @param [String] name
2676
- # Required. Name of the debug mask. Use the following structure in your request:
2677
- # `organizations/`org`/environments/`env`/debugmask`.
2904
+ # Lists all environment groups.
2905
+ # @param [String] parent
2906
+ # Required. Name of the organization for which to list environment groups in the
2907
+ # following format: `organizations/`org``.
2908
+ # @param [Fixnum] page_size
2909
+ # Maximum number of environment groups to return. The page size defaults
2910
+ # to 25.
2911
+ # @param [String] page_token
2912
+ # Page token, returned from a previous ListEnvironmentGroups call, that you
2913
+ # can use to retrieve the next page.
2678
2914
  # @param [String] fields
2679
2915
  # Selector specifying which fields to include in a partial response.
2680
2916
  # @param [String] quota_user
@@ -2684,30 +2920,33 @@ module Google
2684
2920
  # Request-specific options
2685
2921
  #
2686
2922
  # @yield [result, err] Result & error if block supplied
2687
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask] parsed result object
2923
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse] parsed result object
2688
2924
  # @yieldparam err [StandardError] error object if request failed
2689
2925
  #
2690
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
2926
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse]
2691
2927
  #
2692
2928
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2693
2929
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2694
2930
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2695
- def get_organization_environment_debugmask(name, fields: nil, quota_user: nil, options: nil, &block)
2696
- command = make_simple_command(:get, 'v1/{+name}', options)
2697
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
2698
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask
2699
- command.params['name'] = name unless name.nil?
2931
+ def list_organization_envgroups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2932
+ command = make_simple_command(:get, 'v1/{+parent}/envgroups', options)
2933
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse::Representation
2934
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse
2935
+ command.params['parent'] = parent unless parent.nil?
2936
+ command.query['pageSize'] = page_size unless page_size.nil?
2937
+ command.query['pageToken'] = page_token unless page_token.nil?
2700
2938
  command.query['fields'] = fields unless fields.nil?
2701
2939
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2702
2940
  execute_or_queue_command(command, &block)
2703
2941
  end
2704
2942
 
2705
- # Gets the deployed configuration for an environment.
2943
+ # Updates an environment group.
2706
2944
  # @param [String] name
2707
- # Required. Name of the environment deployed configuration resource. Use the
2708
- # following
2709
- # structure in your request:
2710
- # `organizations/`org`/environments/`env`/deployedConfig`
2945
+ # Required. Name of the environment group to update in the format:
2946
+ # `organizations/`org`/envgroups/`envgroup`.
2947
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
2948
+ # @param [String] update_mask
2949
+ # List of fields to be updated.
2711
2950
  # @param [String] fields
2712
2951
  # Selector specifying which fields to include in a partial response.
2713
2952
  # @param [String] quota_user
@@ -2717,42 +2956,33 @@ module Google
2717
2956
  # Request-specific options
2718
2957
  #
2719
2958
  # @yield [result, err] Result & error if block supplied
2720
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig] parsed result object
2959
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
2721
2960
  # @yieldparam err [StandardError] error object if request failed
2722
2961
  #
2723
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig]
2962
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
2724
2963
  #
2725
2964
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2726
2965
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2727
2966
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2728
- def get_organization_environment_deployed_config(name, fields: nil, quota_user: nil, options: nil, &block)
2729
- command = make_simple_command(:get, 'v1/{+name}', options)
2730
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig::Representation
2731
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig
2967
+ def patch_organization_envgroup(name, google_cloud_apigee_v1_environment_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2968
+ command = make_simple_command(:patch, 'v1/{+name}', options)
2969
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
2970
+ command.request_object = google_cloud_apigee_v1_environment_group_object
2971
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
2972
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
2732
2973
  command.params['name'] = name unless name.nil?
2974
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2733
2975
  command.query['fields'] = fields unless fields.nil?
2734
2976
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2735
2977
  execute_or_queue_command(command, &block)
2736
2978
  end
2737
2979
 
2738
- # Gets the IAM policy on an environment. For more information, see
2739
- # [Manage users, roles, and permissions
2740
- # using the API](https://docs.apigee.com/hybrid/latest/manage-users-roles).
2741
- # You must have the `apigee.environments.getIamPolicy` permission to call
2742
- # this API.
2743
- # @param [String] resource
2744
- # REQUIRED: The resource for which the policy is being requested.
2745
- # See the operation documentation for the appropriate value for this field.
2746
- # @param [Fixnum] options_requested_policy_version
2747
- # Optional. The policy format version to be returned.
2748
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2749
- # rejected.
2750
- # Requests for policies with any conditional bindings must specify version 3.
2751
- # Policies without any conditional bindings may specify any valid value or
2752
- # leave the field unset.
2753
- # To learn which resources support conditions in their IAM policies, see the
2754
- # [IAM
2755
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2980
+ # Creates a new attachment of an environment to an environment group.
2981
+ # @param [String] parent
2982
+ # Required. EnvironmentGroup under which to create the attachment in the
2983
+ # following
2984
+ # format: `organizations/`org`/envgroups/`envgroup``.
2985
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] google_cloud_apigee_v1_environment_group_attachment_object
2756
2986
  # @param [String] fields
2757
2987
  # Selector specifying which fields to include in a partial response.
2758
2988
  # @param [String] quota_user
@@ -2762,20 +2992,336 @@ module Google
2762
2992
  # Request-specific options
2763
2993
  #
2764
2994
  # @yield [result, err] Result & error if block supplied
2765
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
2995
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
2766
2996
  # @yieldparam err [StandardError] error object if request failed
2767
2997
  #
2768
- # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
2998
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
2769
2999
  #
2770
3000
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2771
3001
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2772
3002
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2773
- def get_organization_environment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2774
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2775
- command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
2776
- command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
2777
- command.params['resource'] = resource unless resource.nil?
2778
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3003
+ def create_organization_envgroup_attachment(parent, google_cloud_apigee_v1_environment_group_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3004
+ command = make_simple_command(:post, 'v1/{+parent}/attachments', options)
3005
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation
3006
+ command.request_object = google_cloud_apigee_v1_environment_group_attachment_object
3007
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3008
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3009
+ command.params['parent'] = parent unless parent.nil?
3010
+ command.query['fields'] = fields unless fields.nil?
3011
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3012
+ execute_or_queue_command(command, &block)
3013
+ end
3014
+
3015
+ # Deletes an environment group attachment.
3016
+ # @param [String] name
3017
+ # Required. Name of the environment group attachment to delete in the following
3018
+ # format:
3019
+ # `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``.
3020
+ # @param [String] fields
3021
+ # Selector specifying which fields to include in a partial response.
3022
+ # @param [String] quota_user
3023
+ # Available to use for quota purposes for server-side applications. Can be any
3024
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3025
+ # @param [Google::Apis::RequestOptions] options
3026
+ # Request-specific options
3027
+ #
3028
+ # @yield [result, err] Result & error if block supplied
3029
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3030
+ # @yieldparam err [StandardError] error object if request failed
3031
+ #
3032
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3033
+ #
3034
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3035
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3036
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3037
+ def delete_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3038
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3039
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3040
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3041
+ command.params['name'] = name unless name.nil?
3042
+ command.query['fields'] = fields unless fields.nil?
3043
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3044
+ execute_or_queue_command(command, &block)
3045
+ end
3046
+
3047
+ # Gets an environment group attachment.
3048
+ # @param [String] name
3049
+ # Required. Name of the environment group attachment in the following format:
3050
+ # `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``
3051
+ # @param [String] fields
3052
+ # Selector specifying which fields to include in a partial response.
3053
+ # @param [String] quota_user
3054
+ # Available to use for quota purposes for server-side applications. Can be any
3055
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3056
+ # @param [Google::Apis::RequestOptions] options
3057
+ # Request-specific options
3058
+ #
3059
+ # @yield [result, err] Result & error if block supplied
3060
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] parsed result object
3061
+ # @yieldparam err [StandardError] error object if request failed
3062
+ #
3063
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment]
3064
+ #
3065
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3066
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3067
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3068
+ def get_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3069
+ command = make_simple_command(:get, 'v1/{+name}', options)
3070
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation
3071
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment
3072
+ command.params['name'] = name unless name.nil?
3073
+ command.query['fields'] = fields unless fields.nil?
3074
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3075
+ execute_or_queue_command(command, &block)
3076
+ end
3077
+
3078
+ # Lists all attachments of an environment group.
3079
+ # @param [String] parent
3080
+ # Required. Name of the organization in the following format: `organizations/`
3081
+ # org``.
3082
+ # @param [Fixnum] page_size
3083
+ # Maximum number of environment group attachments to return. The page size
3084
+ # defaults to 25.
3085
+ # @param [String] page_token
3086
+ # Page token, returned by a previous ListEnvironmentGroupAttachments call,
3087
+ # that you can use to retrieve the next page.
3088
+ # @param [String] fields
3089
+ # Selector specifying which fields to include in a partial response.
3090
+ # @param [String] quota_user
3091
+ # Available to use for quota purposes for server-side applications. Can be any
3092
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3093
+ # @param [Google::Apis::RequestOptions] options
3094
+ # Request-specific options
3095
+ #
3096
+ # @yield [result, err] Result & error if block supplied
3097
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse] parsed result object
3098
+ # @yieldparam err [StandardError] error object if request failed
3099
+ #
3100
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse]
3101
+ #
3102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3105
+ def list_organization_envgroup_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3106
+ command = make_simple_command(:get, 'v1/{+parent}/attachments', options)
3107
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse::Representation
3108
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
3109
+ command.params['parent'] = parent unless parent.nil?
3110
+ command.query['pageSize'] = page_size unless page_size.nil?
3111
+ command.query['pageToken'] = page_token unless page_token.nil?
3112
+ command.query['fields'] = fields unless fields.nil?
3113
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3114
+ execute_or_queue_command(command, &block)
3115
+ end
3116
+
3117
+ # Creates an environment in an organization.
3118
+ # @param [String] parent
3119
+ # Required. Name of the organization in which the environment will
3120
+ # be created. Use the following structure in your request:
3121
+ # `organizations/`org``
3122
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] google_cloud_apigee_v1_environment_object
3123
+ # @param [String] name
3124
+ # Optional. Name of the environment. Alternatively, the name may
3125
+ # be specified in the request body in the
3126
+ # name field.
3127
+ # @param [String] fields
3128
+ # Selector specifying which fields to include in a partial response.
3129
+ # @param [String] quota_user
3130
+ # Available to use for quota purposes for server-side applications. Can be any
3131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3132
+ # @param [Google::Apis::RequestOptions] options
3133
+ # Request-specific options
3134
+ #
3135
+ # @yield [result, err] Result & error if block supplied
3136
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3137
+ # @yieldparam err [StandardError] error object if request failed
3138
+ #
3139
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3140
+ #
3141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3144
+ def create_organization_environment(parent, google_cloud_apigee_v1_environment_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
3145
+ command = make_simple_command(:post, 'v1/{+parent}/environments', options)
3146
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
3147
+ command.request_object = google_cloud_apigee_v1_environment_object
3148
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3149
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3150
+ command.params['parent'] = parent unless parent.nil?
3151
+ command.query['name'] = name unless name.nil?
3152
+ command.query['fields'] = fields unless fields.nil?
3153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3154
+ execute_or_queue_command(command, &block)
3155
+ end
3156
+
3157
+ # Deletes an environment from an organization.
3158
+ # @param [String] name
3159
+ # Required. Name of the environment. Use the following structure in your
3160
+ # request:
3161
+ # `organizations/`org`/environments/`env``
3162
+ # @param [String] fields
3163
+ # Selector specifying which fields to include in a partial response.
3164
+ # @param [String] quota_user
3165
+ # Available to use for quota purposes for server-side applications. Can be any
3166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3167
+ # @param [Google::Apis::RequestOptions] options
3168
+ # Request-specific options
3169
+ #
3170
+ # @yield [result, err] Result & error if block supplied
3171
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3172
+ # @yieldparam err [StandardError] error object if request failed
3173
+ #
3174
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3175
+ #
3176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3179
+ def delete_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
3180
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3181
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3182
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3183
+ command.params['name'] = name unless name.nil?
3184
+ command.query['fields'] = fields unless fields.nil?
3185
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3186
+ execute_or_queue_command(command, &block)
3187
+ end
3188
+
3189
+ # Gets environment details.
3190
+ # @param [String] name
3191
+ # Required. Name of the environment. Use the following structure in your request:
3192
+ # `organizations/`org`/environments/`env``
3193
+ # @param [String] fields
3194
+ # Selector specifying which fields to include in a partial response.
3195
+ # @param [String] quota_user
3196
+ # Available to use for quota purposes for server-side applications. Can be any
3197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3198
+ # @param [Google::Apis::RequestOptions] options
3199
+ # Request-specific options
3200
+ #
3201
+ # @yield [result, err] Result & error if block supplied
3202
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] parsed result object
3203
+ # @yieldparam err [StandardError] error object if request failed
3204
+ #
3205
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment]
3206
+ #
3207
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3208
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3209
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3210
+ def get_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
3211
+ command = make_simple_command(:get, 'v1/{+name}', options)
3212
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
3213
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment
3214
+ command.params['name'] = name unless name.nil?
3215
+ command.query['fields'] = fields unless fields.nil?
3216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3217
+ execute_or_queue_command(command, &block)
3218
+ end
3219
+
3220
+ # Gets the debug mask singleton resource for an environment.
3221
+ # @param [String] name
3222
+ # Required. Name of the debug mask. Use the following structure in your request:
3223
+ # `organizations/`org`/environments/`env`/debugmask`.
3224
+ # @param [String] fields
3225
+ # Selector specifying which fields to include in a partial response.
3226
+ # @param [String] quota_user
3227
+ # Available to use for quota purposes for server-side applications. Can be any
3228
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3229
+ # @param [Google::Apis::RequestOptions] options
3230
+ # Request-specific options
3231
+ #
3232
+ # @yield [result, err] Result & error if block supplied
3233
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask] parsed result object
3234
+ # @yieldparam err [StandardError] error object if request failed
3235
+ #
3236
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
3237
+ #
3238
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3239
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3240
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3241
+ def get_organization_environment_debugmask(name, fields: nil, quota_user: nil, options: nil, &block)
3242
+ command = make_simple_command(:get, 'v1/{+name}', options)
3243
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
3244
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask
3245
+ command.params['name'] = name unless name.nil?
3246
+ command.query['fields'] = fields unless fields.nil?
3247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3248
+ execute_or_queue_command(command, &block)
3249
+ end
3250
+
3251
+ # Gets the deployed configuration for an environment.
3252
+ # @param [String] name
3253
+ # Required. Name of the environment deployed configuration resource. Use the
3254
+ # following
3255
+ # structure in your request:
3256
+ # `organizations/`org`/environments/`env`/deployedConfig`
3257
+ # @param [String] fields
3258
+ # Selector specifying which fields to include in a partial response.
3259
+ # @param [String] quota_user
3260
+ # Available to use for quota purposes for server-side applications. Can be any
3261
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3262
+ # @param [Google::Apis::RequestOptions] options
3263
+ # Request-specific options
3264
+ #
3265
+ # @yield [result, err] Result & error if block supplied
3266
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig] parsed result object
3267
+ # @yieldparam err [StandardError] error object if request failed
3268
+ #
3269
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig]
3270
+ #
3271
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3272
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3273
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3274
+ def get_organization_environment_deployed_config(name, fields: nil, quota_user: nil, options: nil, &block)
3275
+ command = make_simple_command(:get, 'v1/{+name}', options)
3276
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig::Representation
3277
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig
3278
+ command.params['name'] = name unless name.nil?
3279
+ command.query['fields'] = fields unless fields.nil?
3280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3281
+ execute_or_queue_command(command, &block)
3282
+ end
3283
+
3284
+ # Gets the IAM policy on an environment. For more information, see
3285
+ # [Manage users, roles, and permissions
3286
+ # using the API](https://docs.apigee.com/hybrid/latest/manage-users-roles).
3287
+ # You must have the `apigee.environments.getIamPolicy` permission to call
3288
+ # this API.
3289
+ # @param [String] resource
3290
+ # REQUIRED: The resource for which the policy is being requested.
3291
+ # See the operation documentation for the appropriate value for this field.
3292
+ # @param [Fixnum] options_requested_policy_version
3293
+ # Optional. The policy format version to be returned.
3294
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3295
+ # rejected.
3296
+ # Requests for policies with any conditional bindings must specify version 3.
3297
+ # Policies without any conditional bindings may specify any valid value or
3298
+ # leave the field unset.
3299
+ # To learn which resources support conditions in their IAM policies, see the
3300
+ # [IAM
3301
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3302
+ # @param [String] fields
3303
+ # Selector specifying which fields to include in a partial response.
3304
+ # @param [String] quota_user
3305
+ # Available to use for quota purposes for server-side applications. Can be any
3306
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3307
+ # @param [Google::Apis::RequestOptions] options
3308
+ # Request-specific options
3309
+ #
3310
+ # @yield [result, err] Result & error if block supplied
3311
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
3312
+ # @yieldparam err [StandardError] error object if request failed
3313
+ #
3314
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
3315
+ #
3316
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3317
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3318
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3319
+ def get_organization_environment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3320
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
3321
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
3322
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
3323
+ command.params['resource'] = resource unless resource.nil?
3324
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2779
3325
  command.query['fields'] = fields unless fields.nil?
2780
3326
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2781
3327
  execute_or_queue_command(command, &block)
@@ -3079,6 +3625,109 @@ module Google
3079
3625
  execute_or_queue_command(command, &block)
3080
3626
  end
3081
3627
 
3628
+ # Submit a data export job to be processed in the background.
3629
+ # If the request is successful, the API returns a 201 status, a URI that can
3630
+ # be used to retrieve the status of the export job, and the `state` value of
3631
+ # "enqueued".
3632
+ # @param [String] parent
3633
+ # Required. Names of the parent organization and environment.
3634
+ # Must be of the form `organizations/`org`/environments/`env``.
3635
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest] google_cloud_apigee_v1_export_request_object
3636
+ # @param [String] fields
3637
+ # Selector specifying which fields to include in a partial response.
3638
+ # @param [String] quota_user
3639
+ # Available to use for quota purposes for server-side applications. Can be any
3640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3641
+ # @param [Google::Apis::RequestOptions] options
3642
+ # Request-specific options
3643
+ #
3644
+ # @yield [result, err] Result & error if block supplied
3645
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export] parsed result object
3646
+ # @yieldparam err [StandardError] error object if request failed
3647
+ #
3648
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
3649
+ #
3650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3653
+ def create_organization_environment_analytic_export(parent, google_cloud_apigee_v1_export_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3654
+ command = make_simple_command(:post, 'v1/{+parent}/analytics/exports', options)
3655
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest::Representation
3656
+ command.request_object = google_cloud_apigee_v1_export_request_object
3657
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
3658
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
3659
+ command.params['parent'] = parent unless parent.nil?
3660
+ command.query['fields'] = fields unless fields.nil?
3661
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3662
+ execute_or_queue_command(command, &block)
3663
+ end
3664
+
3665
+ # Gets the details and status of an analytics export job.
3666
+ # If the export job is still in progress, its `state` is set to "running".
3667
+ # After the export job has completed successfully, its `state` is set to
3668
+ # "completed".
3669
+ # If the export job fails, its `state` is set to `failed`.
3670
+ # @param [String] name
3671
+ # Required. Resource name of the export to get.
3672
+ # @param [String] fields
3673
+ # Selector specifying which fields to include in a partial response.
3674
+ # @param [String] quota_user
3675
+ # Available to use for quota purposes for server-side applications. Can be any
3676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3677
+ # @param [Google::Apis::RequestOptions] options
3678
+ # Request-specific options
3679
+ #
3680
+ # @yield [result, err] Result & error if block supplied
3681
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export] parsed result object
3682
+ # @yieldparam err [StandardError] error object if request failed
3683
+ #
3684
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
3685
+ #
3686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3689
+ def get_organization_environment_analytic_export(name, fields: nil, quota_user: nil, options: nil, &block)
3690
+ command = make_simple_command(:get, 'v1/{+name}', options)
3691
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
3692
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
3693
+ command.params['name'] = name unless name.nil?
3694
+ command.query['fields'] = fields unless fields.nil?
3695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3696
+ execute_or_queue_command(command, &block)
3697
+ end
3698
+
3699
+ # Lists the details and status of all analytics export jobs belonging to the
3700
+ # parent organization and environment.
3701
+ # @param [String] parent
3702
+ # Required. Names of the parent organization and environment.
3703
+ # Must be of the form `organizations/`org`/environments/`env``.
3704
+ # @param [String] fields
3705
+ # Selector specifying which fields to include in a partial response.
3706
+ # @param [String] quota_user
3707
+ # Available to use for quota purposes for server-side applications. Can be any
3708
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3709
+ # @param [Google::Apis::RequestOptions] options
3710
+ # Request-specific options
3711
+ #
3712
+ # @yield [result, err] Result & error if block supplied
3713
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse] parsed result object
3714
+ # @yieldparam err [StandardError] error object if request failed
3715
+ #
3716
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse]
3717
+ #
3718
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3719
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3720
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3721
+ def list_organization_environment_analytic_exports(parent, fields: nil, quota_user: nil, options: nil, &block)
3722
+ command = make_simple_command(:get, 'v1/{+parent}/analytics/exports', options)
3723
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse::Representation
3724
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse
3725
+ command.params['parent'] = parent unless parent.nil?
3726
+ command.query['fields'] = fields unless fields.nil?
3727
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3728
+ execute_or_queue_command(command, &block)
3729
+ end
3730
+
3082
3731
  # Lists all deployments of an API proxy in an environment.
3083
3732
  # @param [String] parent
3084
3733
  # Required. Name representing an API proxy in an environment in the following
@@ -3118,6 +3767,16 @@ module Google
3118
3767
  # @param [String] name
3119
3768
  # Required. Name of the API proxy revision deployment in the following format:
3120
3769
  # `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
3770
+ # @param [Boolean] sequenced_rollout
3771
+ # If true, a best-effort attempt will be made to remove the environment group
3772
+ # routing rules corresponding to this deployment before removing the
3773
+ # deployment from the runtime. This is likely to be a rare use case; it is
3774
+ # only needed when the intended effect of undeploying this proxy is to cause
3775
+ # the traffic it currently handles to be rerouted to some other existing
3776
+ # proxy in the environment group. The GenerateUndeployChangeReport API may be
3777
+ # used to examine routing changes before issuing the undeployment request,
3778
+ # and its response will indicate if a sequenced rollout is recommended for
3779
+ # the undeployment.
3121
3780
  # @param [String] fields
3122
3781
  # Selector specifying which fields to include in a partial response.
3123
3782
  # @param [String] quota_user
@@ -3135,11 +3794,12 @@ module Google
3135
3794
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3136
3795
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3137
3796
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3138
- def deployments_organization_environment_api_revision(name, fields: nil, quota_user: nil, options: nil, &block)
3797
+ def deployments_organization_environment_api_revision(name, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block)
3139
3798
  command = make_simple_command(:delete, 'v1/{+name}/deployments', options)
3140
3799
  command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
3141
3800
  command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
3142
3801
  command.params['name'] = name unless name.nil?
3802
+ command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil?
3143
3803
  command.query['fields'] = fields unless fields.nil?
3144
3804
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3145
3805
  execute_or_queue_command(command, &block)
@@ -3308,31 +3968,114 @@ module Google
3308
3968
  # Request-specific options
3309
3969
  #
3310
3970
  # @yield [result, err] Result & error if block supplied
3311
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse] parsed result object
3971
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse] parsed result object
3972
+ # @yieldparam err [StandardError] error object if request failed
3973
+ #
3974
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse]
3975
+ #
3976
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3977
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3978
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3979
+ def list_organization_environment_api_revision_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3980
+ command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
3981
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation
3982
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse
3983
+ command.params['parent'] = parent unless parent.nil?
3984
+ command.query['pageSize'] = page_size unless page_size.nil?
3985
+ command.query['pageToken'] = page_token unless page_token.nil?
3986
+ command.query['fields'] = fields unless fields.nil?
3987
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3988
+ execute_or_queue_command(command, &block)
3989
+ end
3990
+
3991
+ # Gets the debug data from a transaction.
3992
+ # @param [String] name
3993
+ # Required. The name of the debug session transaction. Must be of the form:
3994
+ # `organizations/`organization`/environments/`environment`/apis/`api`/revisions/
3995
+ # `revision`/debugsessions/`session`/data/`transaction``.
3996
+ # @param [String] fields
3997
+ # Selector specifying which fields to include in a partial response.
3998
+ # @param [String] quota_user
3999
+ # Available to use for quota purposes for server-side applications. Can be any
4000
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4001
+ # @param [Google::Apis::RequestOptions] options
4002
+ # Request-specific options
4003
+ #
4004
+ # @yield [result, err] Result & error if block supplied
4005
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction] parsed result object
4006
+ # @yieldparam err [StandardError] error object if request failed
4007
+ #
4008
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction]
4009
+ #
4010
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4011
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4012
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4013
+ def get_organization_environment_api_revision_debugsession_datum(name, fields: nil, quota_user: nil, options: nil, &block)
4014
+ command = make_simple_command(:get, 'v1/{+name}', options)
4015
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction::Representation
4016
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction
4017
+ command.params['name'] = name unless name.nil?
4018
+ command.query['fields'] = fields unless fields.nil?
4019
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4020
+ execute_or_queue_command(command, &block)
4021
+ end
4022
+
4023
+ # Generates a report for a dry run analysis of a DeployApiProxy request
4024
+ # without committing the deployment.
4025
+ # In addition to the standard validations performed when adding deployments,
4026
+ # additional analysis will be done to detect possible traffic routing changes
4027
+ # that would result from this deployment being created. Any potential routing
4028
+ # conflicts or unsafe changes will be reported in the response. This routing
4029
+ # analysis is not performed for a non-dry-run DeployApiProxy request.
4030
+ # @param [String] name
4031
+ # Name of the API proxy revision deployment in the following format:
4032
+ # `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
4033
+ # @param [String] basepath
4034
+ # Base path where the API proxy revision should be deployed. Defaults to '/'
4035
+ # if not provided.
4036
+ # @param [Boolean] override
4037
+ # Flag that specifies whether to force the deployment of the new revision
4038
+ # over the currently deployed revision by overriding conflict checks.
4039
+ # @param [String] fields
4040
+ # Selector specifying which fields to include in a partial response.
4041
+ # @param [String] quota_user
4042
+ # Available to use for quota purposes for server-side applications. Can be any
4043
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4044
+ # @param [Google::Apis::RequestOptions] options
4045
+ # Request-specific options
4046
+ #
4047
+ # @yield [result, err] Result & error if block supplied
4048
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object
3312
4049
  # @yieldparam err [StandardError] error object if request failed
3313
4050
  #
3314
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse]
4051
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport]
3315
4052
  #
3316
4053
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3317
4054
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3318
4055
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3319
- def list_organization_environment_api_revision_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3320
- command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
3321
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation
3322
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse
3323
- command.params['parent'] = parent unless parent.nil?
3324
- command.query['pageSize'] = page_size unless page_size.nil?
3325
- command.query['pageToken'] = page_token unless page_token.nil?
4056
+ def generate_organization_environment_api_revision_deployment_deploy_change_report(name, basepath: nil, override: nil, fields: nil, quota_user: nil, options: nil, &block)
4057
+ command = make_simple_command(:post, 'v1/{+name}/deployments:generateDeployChangeReport', options)
4058
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
4059
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
4060
+ command.params['name'] = name unless name.nil?
4061
+ command.query['basepath'] = basepath unless basepath.nil?
4062
+ command.query['override'] = override unless override.nil?
3326
4063
  command.query['fields'] = fields unless fields.nil?
3327
4064
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3328
4065
  execute_or_queue_command(command, &block)
3329
4066
  end
3330
4067
 
3331
- # Gets the debug data from a transaction.
4068
+ # Generates a report for a dry run analysis of an UndeployApiProxy request
4069
+ # without committing the undeploy.
4070
+ # In addition to the standard validations performed when removing
4071
+ # deployments, additional analysis will be done to detect possible traffic
4072
+ # routing changes that would result from this deployment being removed. Any
4073
+ # potential routing conflicts or unsafe changes will be reported in the
4074
+ # response. This routing analysis is not performed for a non-dry-run
4075
+ # UndeployApiProxy request.
3332
4076
  # @param [String] name
3333
- # Required. The name of the debug session transaction. Must be of the form:
3334
- # `organizations/`organization`/environments/`environment`/apis/`api`/revisions/
3335
- # `revision`/debugsessions/`session`/data/`transaction``.
4077
+ # Name of the API proxy revision deployment in the following format:
4078
+ # `organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
3336
4079
  # @param [String] fields
3337
4080
  # Selector specifying which fields to include in a partial response.
3338
4081
  # @param [String] quota_user
@@ -3342,18 +4085,18 @@ module Google
3342
4085
  # Request-specific options
3343
4086
  #
3344
4087
  # @yield [result, err] Result & error if block supplied
3345
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction] parsed result object
4088
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object
3346
4089
  # @yieldparam err [StandardError] error object if request failed
3347
4090
  #
3348
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction]
4091
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport]
3349
4092
  #
3350
4093
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3351
4094
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3352
4095
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3353
- def get_organization_environment_api_revision_debugsession_datum(name, fields: nil, quota_user: nil, options: nil, &block)
3354
- command = make_simple_command(:get, 'v1/{+name}', options)
3355
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction::Representation
3356
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction
4096
+ def generate_organization_environment_api_revision_deployment_undeploy_change_report(name, fields: nil, quota_user: nil, options: nil, &block)
4097
+ command = make_simple_command(:post, 'v1/{+name}/deployments:generateUndeployChangeReport', options)
4098
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
4099
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
3357
4100
  command.params['name'] = name unless name.nil?
3358
4101
  command.query['fields'] = fields unless fields.nil?
3359
4102
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3947,8 +4690,8 @@ module Google
3947
4690
  # is not possible with protocol buffer and since this parameter is
3948
4691
  # predominantly used by Edge UI, we are introducing a separate api.
3949
4692
  # @param [String] name
3950
- # Required. The organization and environment name for which the interactive
3951
- # query will be executed. Must be of the form
4693
+ # Required. The resource name for which the interactive query will be executed.
4694
+ # Must be of the form
3952
4695
  # `organizations/`organization_id`/environments/`environment_id/stats/`
3953
4696
  # dimensions``
3954
4697
  # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@@ -3956,27 +4699,27 @@ module Google
3956
4699
  # shown below
3957
4700
  # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
3958
4701
  # @param [String] accuracy
3959
- # Legacy field. not used anymore
4702
+ # Legacy field: not used anymore.
3960
4703
  # @param [String] agg_table
3961
4704
  # If customers want to query custom aggregate tables, then this parameter
3962
4705
  # can be used to specify the table name. If this parameter is skipped, then
3963
4706
  # Edge Query will try to retrieve the data from fact tables which will be
3964
4707
  # expensive.
3965
4708
  # @param [String] filter
3966
- # Enables drill-down on specific dimension values
4709
+ # Enables drill-down on specific dimension values.
3967
4710
  # @param [String] limit
3968
4711
  # This parameter is used to limit the number of result items.
3969
- # Default and the max value is 14400
4712
+ # Default and the max value is 14400.
3970
4713
  # @param [String] offset
3971
4714
  # Use offset with limit to enable pagination of results. For example,
3972
4715
  # to display results 11-20, set limit to '10' and offset to '10'.
3973
4716
  # @param [Boolean] realtime
3974
- # Legacy field: not used anymore
4717
+ # Legacy field: not used anymore.
3975
4718
  # @param [String] select
3976
- # Required. The select parameter contains a comma separated list of metrics
4719
+ # Required. The select parameter contains a comma separated list of metrics.
3977
4720
  # E.g. sum(message_count),sum(error_count)
3978
4721
  # @param [Boolean] sonar
3979
- # This parameter routes the query to api monitoring service for last hour
4722
+ # This parameter routes the query to api monitoring service for last hour.
3980
4723
  # @param [String] sort
3981
4724
  # This parameter specifies if the sort order should be ascending or
3982
4725
  # descending Supported values are DESC and ASC.
@@ -3995,7 +4738,7 @@ module Google
3995
4738
  # Lists timestamps in ascending order if set to true. Recommend setting
3996
4739
  # this value to true if you are using sortby with sort=DESC.
3997
4740
  # @param [String] tzo
3998
- # This parameters contains the timezone offset value
4741
+ # This parameters contains the timezone offset value.
3999
4742
  # @param [String] fields
4000
4743
  # Selector specifying which fields to include in a partial response.
4001
4744
  # @param [String] quota_user
@@ -4043,7 +4786,7 @@ module Google
4043
4786
  # an ID that refer to the query. In addition to the HTTP status 201, the
4044
4787
  # `state` of "enqueued" means that the request succeeded.
4045
4788
  # @param [String] parent
4046
- # Required. The parent organization and environment names.
4789
+ # Required. The parent resource name.
4047
4790
  # Must be of the form `organizations/`org`/environments/`env``.
4048
4791
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
4049
4792
  # @param [String] fields
@@ -4146,7 +4889,7 @@ module Google
4146
4889
 
4147
4890
  # Return a list of Asynchronous Queries
4148
4891
  # @param [String] parent
4149
- # Required. The parent organization and environment names.
4892
+ # Required. The parent resource name.
4150
4893
  # Must be of the form `organizations/`org`/environments/`env``.
4151
4894
  # @param [String] dataset
4152
4895
  # Filter response list by dataset.
@@ -4156,12 +4899,11 @@ module Google
4156
4899
  # created after this date time.
4157
4900
  # Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
4158
4901
  # @param [String] incl_queries_without_report
4159
- # Flag to include asynchronous queries that don't have a report
4160
- # denifition.
4902
+ # Flag to include asynchronous queries that don't have a report denifition.
4161
4903
  # @param [String] status
4162
- # Filter response list by asynchronous query status
4904
+ # Filter response list by asynchronous query status.
4163
4905
  # @param [String] submitted_by
4164
- # Filter response list by user who submitted queries
4906
+ # Filter response list by user who submitted queries.
4165
4907
  # @param [String] to
4166
4908
  # Filter response list by returning asynchronous queries that
4167
4909
  # created before this date time.
@@ -4687,8 +5429,8 @@ module Google
4687
5429
  # optional in which case the metrics are computed on the entire data
4688
5430
  # for the given timerange.
4689
5431
  # @param [String] name
4690
- # Required. The organization and environment name for which the interactive
4691
- # query will be executed. Must be of the form
5432
+ # Required. The resource name for which the interactive query will be executed.
5433
+ # Must be of the form
4692
5434
  # `organizations/`organization_id`/environments/`environment_id/stats/`
4693
5435
  # dimensions``
4694
5436
  # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@@ -4696,8 +5438,8 @@ module Google
4696
5438
  # shown below
4697
5439
  # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
4698
5440
  # @param [String] accuracy
4699
- # Legacy field. not used anymore
4700
- # This field is present to support UI calls which still use this parameter
5441
+ # Legacy field: not used anymore.
5442
+ # This field is present to support UI calls which still use this parameter.
4701
5443
  # @param [String] agg_table
4702
5444
  # If customers want to query custom aggregate tables, then this parameter
4703
5445
  # can be used to specify the table name. If this parameter is skipped, then
@@ -4707,17 +5449,17 @@ module Google
4707
5449
  # Enables drill-down on specific dimension values
4708
5450
  # @param [String] limit
4709
5451
  # This parameter is used to limit the number of result items.
4710
- # Default and the max value is 14400
5452
+ # Default and the max value is 14400.
4711
5453
  # @param [String] offset
4712
5454
  # Use offset with limit to enable pagination of results. For example,
4713
5455
  # to display results 11-20, set limit to '10' and offset to '10'.
4714
5456
  # @param [Boolean] realtime
4715
- # Legacy field: not used anymore
5457
+ # Legacy field: not used anymore.
4716
5458
  # @param [String] select
4717
- # The select parameter contains a comma separated list of metrics
5459
+ # The select parameter contains a comma separated list of metrics.
4718
5460
  # E.g. sum(message_count),sum(error_count)
4719
5461
  # @param [Boolean] sonar
4720
- # This parameter routes the query to api monitoring service for last hour
5462
+ # This parameter routes the query to api monitoring service for last hour.
4721
5463
  # @param [String] sort
4722
5464
  # This parameter specifies if the sort order should be ascending or
4723
5465
  # descending Supported values are DESC and ASC.
@@ -4736,7 +5478,7 @@ module Google
4736
5478
  # Lists timestamps in ascending order if set to true. Recommend setting
4737
5479
  # this value to true if you are using sortby with sort=DESC.
4738
5480
  # @param [String] tzo
4739
- # This parameters contains the timezone offset value
5481
+ # This parameters contains the timezone offset value.
4740
5482
  # @param [String] fields
4741
5483
  # Selector specifying which fields to include in a partial response.
4742
5484
  # @param [String] quota_user
@@ -4917,6 +5659,322 @@ module Google
4917
5659
  execute_or_queue_command(command, &block)
4918
5660
  end
4919
5661
 
5662
+ # Creates an Apigee runtime instance. The instance is accessible from the
5663
+ # authorized network configured on the organization.
5664
+ # **Note:** Not supported for Apigee hybrid.
5665
+ # @param [String] parent
5666
+ # Required. Name of the organization. Use the following structure in your
5667
+ # request:
5668
+ # `organizations/`org``.
5669
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
5670
+ # @param [String] fields
5671
+ # Selector specifying which fields to include in a partial response.
5672
+ # @param [String] quota_user
5673
+ # Available to use for quota purposes for server-side applications. Can be any
5674
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5675
+ # @param [Google::Apis::RequestOptions] options
5676
+ # Request-specific options
5677
+ #
5678
+ # @yield [result, err] Result & error if block supplied
5679
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5680
+ # @yieldparam err [StandardError] error object if request failed
5681
+ #
5682
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5683
+ #
5684
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5685
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5686
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5687
+ def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5688
+ command = make_simple_command(:post, 'v1/{+parent}/instances', options)
5689
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
5690
+ command.request_object = google_cloud_apigee_v1_instance_object
5691
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5692
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5693
+ command.params['parent'] = parent unless parent.nil?
5694
+ command.query['fields'] = fields unless fields.nil?
5695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5696
+ execute_or_queue_command(command, &block)
5697
+ end
5698
+
5699
+ # Deletes an Apigee runtime instance. The instance stops serving
5700
+ # requests and the runtime data is deleted.
5701
+ # **Note:** Not supported for Apigee hybrid.
5702
+ # @param [String] name
5703
+ # Required. Name of the instance. Use the following structure in your request:
5704
+ # `organizations/`org`/instance/`instance``.
5705
+ # @param [String] fields
5706
+ # Selector specifying which fields to include in a partial response.
5707
+ # @param [String] quota_user
5708
+ # Available to use for quota purposes for server-side applications. Can be any
5709
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5710
+ # @param [Google::Apis::RequestOptions] options
5711
+ # Request-specific options
5712
+ #
5713
+ # @yield [result, err] Result & error if block supplied
5714
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5715
+ # @yieldparam err [StandardError] error object if request failed
5716
+ #
5717
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5718
+ #
5719
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5720
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5721
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5722
+ def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
5723
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5724
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5725
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5726
+ command.params['name'] = name unless name.nil?
5727
+ command.query['fields'] = fields unless fields.nil?
5728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5729
+ execute_or_queue_command(command, &block)
5730
+ end
5731
+
5732
+ # Gets the details for an Apigee runtime instance.
5733
+ # **Note:** Not supported for Apigee hybrid.
5734
+ # @param [String] name
5735
+ # Required. Name of the instance. Use the following structure in your request:
5736
+ # `organizations/`org`/instances/`instance``.
5737
+ # @param [String] fields
5738
+ # Selector specifying which fields to include in a partial response.
5739
+ # @param [String] quota_user
5740
+ # Available to use for quota purposes for server-side applications. Can be any
5741
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5742
+ # @param [Google::Apis::RequestOptions] options
5743
+ # Request-specific options
5744
+ #
5745
+ # @yield [result, err] Result & error if block supplied
5746
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
5747
+ # @yieldparam err [StandardError] error object if request failed
5748
+ #
5749
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
5750
+ #
5751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5754
+ def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
5755
+ command = make_simple_command(:get, 'v1/{+name}', options)
5756
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
5757
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
5758
+ command.params['name'] = name unless name.nil?
5759
+ command.query['fields'] = fields unless fields.nil?
5760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5761
+ execute_or_queue_command(command, &block)
5762
+ end
5763
+
5764
+ # Lists all Apigee runtime instances for the organization.
5765
+ # **Note:** Not supported for Apigee hybrid.
5766
+ # @param [String] parent
5767
+ # Required. Name of the organization. Use the following structure in your
5768
+ # request:
5769
+ # `organizations/`org``.
5770
+ # @param [Fixnum] page_size
5771
+ # Maximum number of instances to return. Defaults to 25.
5772
+ # @param [String] page_token
5773
+ # Page token, returned from a previous ListInstances call, that you can
5774
+ # use to retrieve the next page of content.
5775
+ # @param [String] fields
5776
+ # Selector specifying which fields to include in a partial response.
5777
+ # @param [String] quota_user
5778
+ # Available to use for quota purposes for server-side applications. Can be any
5779
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5780
+ # @param [Google::Apis::RequestOptions] options
5781
+ # Request-specific options
5782
+ #
5783
+ # @yield [result, err] Result & error if block supplied
5784
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
5785
+ # @yieldparam err [StandardError] error object if request failed
5786
+ #
5787
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
5788
+ #
5789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5792
+ def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5793
+ command = make_simple_command(:get, 'v1/{+parent}/instances', options)
5794
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation
5795
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse
5796
+ command.params['parent'] = parent unless parent.nil?
5797
+ command.query['pageSize'] = page_size unless page_size.nil?
5798
+ command.query['pageToken'] = page_token unless page_token.nil?
5799
+ command.query['fields'] = fields unless fields.nil?
5800
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5801
+ execute_or_queue_command(command, &block)
5802
+ end
5803
+
5804
+ # Reports the latest status for a runtime instance.
5805
+ # @param [String] instance
5806
+ # The name of the instance reporting this status. For SaaS the request
5807
+ # will be rejected if no instance exists under this name.
5808
+ # Format is organizations/`org`/instances/`instance`
5809
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object
5810
+ # @param [String] fields
5811
+ # Selector specifying which fields to include in a partial response.
5812
+ # @param [String] quota_user
5813
+ # Available to use for quota purposes for server-side applications. Can be any
5814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5815
+ # @param [Google::Apis::RequestOptions] options
5816
+ # Request-specific options
5817
+ #
5818
+ # @yield [result, err] Result & error if block supplied
5819
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object
5820
+ # @yieldparam err [StandardError] error object if request failed
5821
+ #
5822
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse]
5823
+ #
5824
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5825
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5826
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5827
+ def report_organization_instance_status(instance, google_cloud_apigee_v1_report_instance_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5828
+ command = make_simple_command(:post, 'v1/{+instance}:reportStatus', options)
5829
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest::Representation
5830
+ command.request_object = google_cloud_apigee_v1_report_instance_status_request_object
5831
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse::Representation
5832
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse
5833
+ command.params['instance'] = instance unless instance.nil?
5834
+ command.query['fields'] = fields unless fields.nil?
5835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5836
+ execute_or_queue_command(command, &block)
5837
+ end
5838
+
5839
+ # Creates a new attachment of an environment to an instance.
5840
+ # **Note:** Not supported for Apigee hybrid.
5841
+ # @param [String] parent
5842
+ # Required. Name of the instance. Use the following structure in your request:
5843
+ # `organizations/`org`/instances/`instance``.
5844
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] google_cloud_apigee_v1_instance_attachment_object
5845
+ # @param [String] fields
5846
+ # Selector specifying which fields to include in a partial response.
5847
+ # @param [String] quota_user
5848
+ # Available to use for quota purposes for server-side applications. Can be any
5849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5850
+ # @param [Google::Apis::RequestOptions] options
5851
+ # Request-specific options
5852
+ #
5853
+ # @yield [result, err] Result & error if block supplied
5854
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5855
+ # @yieldparam err [StandardError] error object if request failed
5856
+ #
5857
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5858
+ #
5859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5862
+ def create_organization_instance_attachment(parent, google_cloud_apigee_v1_instance_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5863
+ command = make_simple_command(:post, 'v1/{+parent}/attachments', options)
5864
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation
5865
+ command.request_object = google_cloud_apigee_v1_instance_attachment_object
5866
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5867
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5868
+ command.params['parent'] = parent unless parent.nil?
5869
+ command.query['fields'] = fields unless fields.nil?
5870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5871
+ execute_or_queue_command(command, &block)
5872
+ end
5873
+
5874
+ # Deletes an attachment.
5875
+ # **Note:** Not supported for Apigee hybrid.
5876
+ # @param [String] name
5877
+ # Required. Name of the attachment. Use the following structure in your request:
5878
+ # `organizations/`org`/instances/`instance`/attachments/`attachment``.
5879
+ # @param [String] fields
5880
+ # Selector specifying which fields to include in a partial response.
5881
+ # @param [String] quota_user
5882
+ # Available to use for quota purposes for server-side applications. Can be any
5883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5884
+ # @param [Google::Apis::RequestOptions] options
5885
+ # Request-specific options
5886
+ #
5887
+ # @yield [result, err] Result & error if block supplied
5888
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
5889
+ # @yieldparam err [StandardError] error object if request failed
5890
+ #
5891
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
5892
+ #
5893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5896
+ def delete_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
5897
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5898
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
5899
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
5900
+ command.params['name'] = name unless name.nil?
5901
+ command.query['fields'] = fields unless fields.nil?
5902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5903
+ execute_or_queue_command(command, &block)
5904
+ end
5905
+
5906
+ # Gets an attachment.
5907
+ # **Note:** Not supported for Apigee hybrid.
5908
+ # @param [String] name
5909
+ # Required. Name of the attachment. Use the following structure in your request:
5910
+ # `organizations/`org`/instances/`instance`/attachments/`attachment``
5911
+ # @param [String] fields
5912
+ # Selector specifying which fields to include in a partial response.
5913
+ # @param [String] quota_user
5914
+ # Available to use for quota purposes for server-side applications. Can be any
5915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5916
+ # @param [Google::Apis::RequestOptions] options
5917
+ # Request-specific options
5918
+ #
5919
+ # @yield [result, err] Result & error if block supplied
5920
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] parsed result object
5921
+ # @yieldparam err [StandardError] error object if request failed
5922
+ #
5923
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment]
5924
+ #
5925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5928
+ def get_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
5929
+ command = make_simple_command(:get, 'v1/{+name}', options)
5930
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation
5931
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment
5932
+ command.params['name'] = name unless name.nil?
5933
+ command.query['fields'] = fields unless fields.nil?
5934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5935
+ execute_or_queue_command(command, &block)
5936
+ end
5937
+
5938
+ # Lists all attachments to an instance.
5939
+ # **Note:** Not supported for Apigee hybrid.
5940
+ # @param [String] parent
5941
+ # Required. Name of the organization. Use the following structure in your
5942
+ # request:
5943
+ # `organizations/`org`/instances/`instance``
5944
+ # @param [Fixnum] page_size
5945
+ # Maximum number of instance attachments to return. Defaults to 25.
5946
+ # @param [String] page_token
5947
+ # Page token, returned by a previous ListInstanceAttachments call, that you
5948
+ # can use to retrieve the next page of content.
5949
+ # @param [String] fields
5950
+ # Selector specifying which fields to include in a partial response.
5951
+ # @param [String] quota_user
5952
+ # Available to use for quota purposes for server-side applications. Can be any
5953
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5954
+ # @param [Google::Apis::RequestOptions] options
5955
+ # Request-specific options
5956
+ #
5957
+ # @yield [result, err] Result & error if block supplied
5958
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse] parsed result object
5959
+ # @yieldparam err [StandardError] error object if request failed
5960
+ #
5961
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse]
5962
+ #
5963
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5964
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5965
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5966
+ def list_organization_instance_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5967
+ command = make_simple_command(:get, 'v1/{+parent}/attachments', options)
5968
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse::Representation
5969
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse
5970
+ command.params['parent'] = parent unless parent.nil?
5971
+ command.query['pageSize'] = page_size unless page_size.nil?
5972
+ command.query['pageToken'] = page_token unless page_token.nil?
5973
+ command.query['fields'] = fields unless fields.nil?
5974
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5975
+ execute_or_queue_command(command, &block)
5976
+ end
5977
+
4920
5978
  # Creates a key value map in an organization.
4921
5979
  # @param [String] parent
4922
5980
  # Required. The name of the organization in which to create the key value map