google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -376,6 +376,12 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class BackendServiceReference
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
379
385
  class BackendServicesScopedList
380
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
387
 
@@ -748,6 +754,12 @@ module Google
748
754
  include Google::Apis::Core::JsonObjectSupport
749
755
  end
750
756
 
757
+ class ForwardingRuleReference
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
751
763
  class ForwardingRulesScopedList
752
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
765
 
@@ -838,6 +850,12 @@ module Google
838
850
  include Google::Apis::Core::JsonObjectSupport
839
851
  end
840
852
 
853
+ class HealthStatusForNetworkEndpoint
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
841
859
  class HostRule
842
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
861
 
@@ -1672,6 +1690,114 @@ module Google
1672
1690
  include Google::Apis::Core::JsonObjectSupport
1673
1691
  end
1674
1692
 
1693
+ class NetworkEndpoint
1694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1695
+
1696
+ include Google::Apis::Core::JsonObjectSupport
1697
+ end
1698
+
1699
+ class NetworkEndpointGroup
1700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1701
+
1702
+ include Google::Apis::Core::JsonObjectSupport
1703
+ end
1704
+
1705
+ class NetworkEndpointGroupAggregatedList
1706
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1707
+
1708
+ class Warning
1709
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1710
+
1711
+ class Datum
1712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1713
+
1714
+ include Google::Apis::Core::JsonObjectSupport
1715
+ end
1716
+
1717
+ include Google::Apis::Core::JsonObjectSupport
1718
+ end
1719
+
1720
+ include Google::Apis::Core::JsonObjectSupport
1721
+ end
1722
+
1723
+ class NetworkEndpointGroupList
1724
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1725
+
1726
+ class Warning
1727
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1728
+
1729
+ class Datum
1730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1731
+
1732
+ include Google::Apis::Core::JsonObjectSupport
1733
+ end
1734
+
1735
+ include Google::Apis::Core::JsonObjectSupport
1736
+ end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1741
+ class NetworkEndpointGroupsAttachEndpointsRequest
1742
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1743
+
1744
+ include Google::Apis::Core::JsonObjectSupport
1745
+ end
1746
+
1747
+ class NetworkEndpointGroupsDetachEndpointsRequest
1748
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1749
+
1750
+ include Google::Apis::Core::JsonObjectSupport
1751
+ end
1752
+
1753
+ class NetworkEndpointGroupsListEndpointsRequest
1754
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1755
+
1756
+ include Google::Apis::Core::JsonObjectSupport
1757
+ end
1758
+
1759
+ class NetworkEndpointGroupsListNetworkEndpoints
1760
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1761
+
1762
+ class Warning
1763
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1764
+
1765
+ class Datum
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ include Google::Apis::Core::JsonObjectSupport
1769
+ end
1770
+
1771
+ include Google::Apis::Core::JsonObjectSupport
1772
+ end
1773
+
1774
+ include Google::Apis::Core::JsonObjectSupport
1775
+ end
1776
+
1777
+ class NetworkEndpointGroupsScopedList
1778
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1779
+
1780
+ class Warning
1781
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1782
+
1783
+ class Datum
1784
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1785
+
1786
+ include Google::Apis::Core::JsonObjectSupport
1787
+ end
1788
+
1789
+ include Google::Apis::Core::JsonObjectSupport
1790
+ end
1791
+
1792
+ include Google::Apis::Core::JsonObjectSupport
1793
+ end
1794
+
1795
+ class NetworkEndpointWithHealthStatus
1796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1797
+
1798
+ include Google::Apis::Core::JsonObjectSupport
1799
+ end
1800
+
1675
1801
  class NetworkInterface
1676
1802
  class Representation < Google::Apis::Core::JsonRepresentation; end
1677
1803
 
@@ -3849,8 +3975,10 @@ module Google
3849
3975
  property :description, as: 'description'
3850
3976
  property :group, as: 'group'
3851
3977
  property :max_connections, as: 'maxConnections'
3978
+ property :max_connections_per_endpoint, as: 'maxConnectionsPerEndpoint'
3852
3979
  property :max_connections_per_instance, as: 'maxConnectionsPerInstance'
3853
3980
  property :max_rate, as: 'maxRate'
3981
+ property :max_rate_per_endpoint, as: 'maxRatePerEndpoint'
3854
3982
  property :max_rate_per_instance, as: 'maxRatePerInstance'
3855
3983
  property :max_utilization, as: 'maxUtilization'
3856
3984
  end
@@ -4038,6 +4166,13 @@ module Google
4038
4166
  end
4039
4167
  end
4040
4168
 
4169
+ class BackendServiceReference
4170
+ # @private
4171
+ class Representation < Google::Apis::Core::JsonRepresentation
4172
+ property :backend_service, as: 'backendService'
4173
+ end
4174
+ end
4175
+
4041
4176
  class BackendServicesScopedList
4042
4177
  # @private
4043
4178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4728,6 +4863,13 @@ module Google
4728
4863
  end
4729
4864
  end
4730
4865
 
4866
+ class ForwardingRuleReference
4867
+ # @private
4868
+ class Representation < Google::Apis::Core::JsonRepresentation
4869
+ property :forwarding_rule, as: 'forwardingRule'
4870
+ end
4871
+ end
4872
+
4731
4873
  class ForwardingRulesScopedList
4732
4874
  # @private
4733
4875
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4788,6 +4930,7 @@ module Google
4788
4930
  property :host, as: 'host'
4789
4931
  property :port, as: 'port'
4790
4932
  property :port_name, as: 'portName'
4933
+ property :port_specification, as: 'portSpecification'
4791
4934
  property :proxy_header, as: 'proxyHeader'
4792
4935
  property :request_path, as: 'requestPath'
4793
4936
  property :response, as: 'response'
@@ -4800,6 +4943,7 @@ module Google
4800
4943
  property :host, as: 'host'
4801
4944
  property :port, as: 'port'
4802
4945
  property :port_name, as: 'portName'
4946
+ property :port_specification, as: 'portSpecification'
4803
4947
  property :proxy_header, as: 'proxyHeader'
4804
4948
  property :request_path, as: 'requestPath'
4805
4949
  property :response, as: 'response'
@@ -4812,6 +4956,7 @@ module Google
4812
4956
  property :host, as: 'host'
4813
4957
  property :port, as: 'port'
4814
4958
  property :port_name, as: 'portName'
4959
+ property :port_specification, as: 'portSpecification'
4815
4960
  property :proxy_header, as: 'proxyHeader'
4816
4961
  property :request_path, as: 'requestPath'
4817
4962
  property :response, as: 'response'
@@ -4894,6 +5039,19 @@ module Google
4894
5039
  end
4895
5040
  end
4896
5041
 
5042
+ class HealthStatusForNetworkEndpoint
5043
+ # @private
5044
+ class Representation < Google::Apis::Core::JsonRepresentation
5045
+ property :backend_service, as: 'backendService', class: Google::Apis::ComputeV1::BackendServiceReference, decorator: Google::Apis::ComputeV1::BackendServiceReference::Representation
5046
+
5047
+ property :forwarding_rule, as: 'forwardingRule', class: Google::Apis::ComputeV1::ForwardingRuleReference, decorator: Google::Apis::ComputeV1::ForwardingRuleReference::Representation
5048
+
5049
+ property :health_check, as: 'healthCheck', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
5050
+
5051
+ property :health_state, as: 'healthState'
5052
+ end
5053
+ end
5054
+
4897
5055
  class HostRule
4898
5056
  # @private
4899
5057
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5651,6 +5809,8 @@ module Google
5651
5809
 
5652
5810
  collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
5653
5811
 
5812
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeV1::ShieldedInstanceConfig, decorator: Google::Apis::ComputeV1::ShieldedInstanceConfig::Representation
5813
+
5654
5814
  property :tags, as: 'tags', class: Google::Apis::ComputeV1::Tags, decorator: Google::Apis::ComputeV1::Tags::Representation
5655
5815
 
5656
5816
  end
@@ -6475,6 +6635,189 @@ module Google
6475
6635
  end
6476
6636
  end
6477
6637
 
6638
+ class NetworkEndpoint
6639
+ # @private
6640
+ class Representation < Google::Apis::Core::JsonRepresentation
6641
+ property :instance, as: 'instance'
6642
+ property :ip_address, as: 'ipAddress'
6643
+ property :port, as: 'port'
6644
+ end
6645
+ end
6646
+
6647
+ class NetworkEndpointGroup
6648
+ # @private
6649
+ class Representation < Google::Apis::Core::JsonRepresentation
6650
+ property :creation_timestamp, as: 'creationTimestamp'
6651
+ property :default_port, as: 'defaultPort'
6652
+ property :description, as: 'description'
6653
+ property :id, :numeric_string => true, as: 'id'
6654
+ property :kind, as: 'kind'
6655
+ property :name, as: 'name'
6656
+ property :network, as: 'network'
6657
+ property :network_endpoint_type, as: 'networkEndpointType'
6658
+ property :self_link, as: 'selfLink'
6659
+ property :size, as: 'size'
6660
+ property :subnetwork, as: 'subnetwork'
6661
+ property :zone, as: 'zone'
6662
+ end
6663
+ end
6664
+
6665
+ class NetworkEndpointGroupAggregatedList
6666
+ # @private
6667
+ class Representation < Google::Apis::Core::JsonRepresentation
6668
+ property :id, as: 'id'
6669
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Representation
6670
+
6671
+ property :kind, as: 'kind'
6672
+ property :next_page_token, as: 'nextPageToken'
6673
+ property :self_link, as: 'selfLink'
6674
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Representation
6675
+
6676
+ end
6677
+
6678
+ class Warning
6679
+ # @private
6680
+ class Representation < Google::Apis::Core::JsonRepresentation
6681
+ property :code, as: 'code'
6682
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Datum::Representation
6683
+
6684
+ property :message, as: 'message'
6685
+ end
6686
+
6687
+ class Datum
6688
+ # @private
6689
+ class Representation < Google::Apis::Core::JsonRepresentation
6690
+ property :key, as: 'key'
6691
+ property :value, as: 'value'
6692
+ end
6693
+ end
6694
+ end
6695
+ end
6696
+
6697
+ class NetworkEndpointGroupList
6698
+ # @private
6699
+ class Representation < Google::Apis::Core::JsonRepresentation
6700
+ property :id, as: 'id'
6701
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointGroup, decorator: Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
6702
+
6703
+ property :kind, as: 'kind'
6704
+ property :next_page_token, as: 'nextPageToken'
6705
+ property :self_link, as: 'selfLink'
6706
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Representation
6707
+
6708
+ end
6709
+
6710
+ class Warning
6711
+ # @private
6712
+ class Representation < Google::Apis::Core::JsonRepresentation
6713
+ property :code, as: 'code'
6714
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Datum::Representation
6715
+
6716
+ property :message, as: 'message'
6717
+ end
6718
+
6719
+ class Datum
6720
+ # @private
6721
+ class Representation < Google::Apis::Core::JsonRepresentation
6722
+ property :key, as: 'key'
6723
+ property :value, as: 'value'
6724
+ end
6725
+ end
6726
+ end
6727
+ end
6728
+
6729
+ class NetworkEndpointGroupsAttachEndpointsRequest
6730
+ # @private
6731
+ class Representation < Google::Apis::Core::JsonRepresentation
6732
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
6733
+
6734
+ end
6735
+ end
6736
+
6737
+ class NetworkEndpointGroupsDetachEndpointsRequest
6738
+ # @private
6739
+ class Representation < Google::Apis::Core::JsonRepresentation
6740
+ collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
6741
+
6742
+ end
6743
+ end
6744
+
6745
+ class NetworkEndpointGroupsListEndpointsRequest
6746
+ # @private
6747
+ class Representation < Google::Apis::Core::JsonRepresentation
6748
+ property :health_status, as: 'healthStatus'
6749
+ end
6750
+ end
6751
+
6752
+ class NetworkEndpointGroupsListNetworkEndpoints
6753
+ # @private
6754
+ class Representation < Google::Apis::Core::JsonRepresentation
6755
+ property :id, as: 'id'
6756
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::NetworkEndpointWithHealthStatus, decorator: Google::Apis::ComputeV1::NetworkEndpointWithHealthStatus::Representation
6757
+
6758
+ property :kind, as: 'kind'
6759
+ property :next_page_token, as: 'nextPageToken'
6760
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Representation
6761
+
6762
+ end
6763
+
6764
+ class Warning
6765
+ # @private
6766
+ class Representation < Google::Apis::Core::JsonRepresentation
6767
+ property :code, as: 'code'
6768
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum::Representation
6769
+
6770
+ property :message, as: 'message'
6771
+ end
6772
+
6773
+ class Datum
6774
+ # @private
6775
+ class Representation < Google::Apis::Core::JsonRepresentation
6776
+ property :key, as: 'key'
6777
+ property :value, as: 'value'
6778
+ end
6779
+ end
6780
+ end
6781
+ end
6782
+
6783
+ class NetworkEndpointGroupsScopedList
6784
+ # @private
6785
+ class Representation < Google::Apis::Core::JsonRepresentation
6786
+ collection :network_endpoint_groups, as: 'networkEndpointGroups', class: Google::Apis::ComputeV1::NetworkEndpointGroup, decorator: Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
6787
+
6788
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Representation
6789
+
6790
+ end
6791
+
6792
+ class Warning
6793
+ # @private
6794
+ class Representation < Google::Apis::Core::JsonRepresentation
6795
+ property :code, as: 'code'
6796
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Datum::Representation
6797
+
6798
+ property :message, as: 'message'
6799
+ end
6800
+
6801
+ class Datum
6802
+ # @private
6803
+ class Representation < Google::Apis::Core::JsonRepresentation
6804
+ property :key, as: 'key'
6805
+ property :value, as: 'value'
6806
+ end
6807
+ end
6808
+ end
6809
+ end
6810
+
6811
+ class NetworkEndpointWithHealthStatus
6812
+ # @private
6813
+ class Representation < Google::Apis::Core::JsonRepresentation
6814
+ collection :healths, as: 'healths', class: Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint, decorator: Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint::Representation
6815
+
6816
+ property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeV1::NetworkEndpoint, decorator: Google::Apis::ComputeV1::NetworkEndpoint::Representation
6817
+
6818
+ end
6819
+ end
6820
+
6478
6821
  class NetworkInterface
6479
6822
  # @private
6480
6823
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7890,6 +8233,7 @@ module Google
7890
8233
  class Representation < Google::Apis::Core::JsonRepresentation
7891
8234
  property :port, as: 'port'
7892
8235
  property :port_name, as: 'portName'
8236
+ property :port_specification, as: 'portSpecification'
7893
8237
  property :proxy_header, as: 'proxyHeader'
7894
8238
  property :request, as: 'request'
7895
8239
  property :response, as: 'response'
@@ -8083,6 +8427,7 @@ module Google
8083
8427
  property :status, as: 'status'
8084
8428
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
8085
8429
  property :storage_bytes_status, as: 'storageBytesStatus'
8430
+ collection :storage_locations, as: 'storageLocations'
8086
8431
  end
8087
8432
  end
8088
8433
 
@@ -8395,6 +8740,7 @@ module Google
8395
8740
  class Representation < Google::Apis::Core::JsonRepresentation
8396
8741
  property :port, as: 'port'
8397
8742
  property :port_name, as: 'portName'
8743
+ property :port_specification, as: 'portSpecification'
8398
8744
  property :proxy_header, as: 'proxyHeader'
8399
8745
  property :request, as: 'request'
8400
8746
  property :response, as: 'response'
@@ -10273,6 +10273,539 @@ module Google
10273
10273
  execute_or_queue_command(command, &block)
10274
10274
  end
10275
10275
 
10276
+ # Retrieves the list of network endpoint groups and sorts them by zone.
10277
+ # @param [String] project
10278
+ # Project ID for this request.
10279
+ # @param [String] filter
10280
+ # A filter expression that filters resources listed in the response. The
10281
+ # expression must specify the field name, a comparison operator, and the value
10282
+ # that you want to use for filtering. The value must be a string, a number, or a
10283
+ # boolean. The comparison operator must be either =, !=, >, or <.
10284
+ # For example, if you are filtering Compute Engine instances, you can exclude
10285
+ # instances named example-instance by specifying name != example-instance.
10286
+ # You can also filter nested fields. For example, you could specify scheduling.
10287
+ # automaticRestart = false to include instances only if they are not scheduled
10288
+ # for automatic restarts. You can use filtering on nested fields to filter based
10289
+ # on resource labels.
10290
+ # To filter on multiple expressions, provide each separate expression within
10291
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
10292
+ # Intel Skylake"). By default, each expression is an AND expression. However,
10293
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
10294
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
10295
+ # automaticRestart = true).
10296
+ # @param [Fixnum] max_results
10297
+ # The maximum number of results per page that should be returned. If the number
10298
+ # of available results is larger than maxResults, Compute Engine returns a
10299
+ # nextPageToken that can be used to get the next page of results in subsequent
10300
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
10301
+ # @param [String] order_by
10302
+ # Sorts list results by a certain order. By default, results are returned in
10303
+ # alphanumerical order based on the resource name.
10304
+ # You can also sort results in descending order based on the creation timestamp
10305
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10306
+ # creationTimestamp field in reverse chronological order (newest result first).
10307
+ # Use this to sort resources like operations so that the newest operation is
10308
+ # returned first.
10309
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10310
+ # @param [String] page_token
10311
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10312
+ # a previous list request to get the next page of results.
10313
+ # @param [String] fields
10314
+ # Selector specifying which fields to include in a partial response.
10315
+ # @param [String] quota_user
10316
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10317
+ # characters.
10318
+ # @param [String] user_ip
10319
+ # Deprecated. Please use quotaUser instead.
10320
+ # @param [Google::Apis::RequestOptions] options
10321
+ # Request-specific options
10322
+ #
10323
+ # @yield [result, err] Result & error if block supplied
10324
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList] parsed result object
10325
+ # @yieldparam err [StandardError] error object if request failed
10326
+ #
10327
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList]
10328
+ #
10329
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10330
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10331
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10332
+ def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10333
+ command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options)
10334
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Representation
10335
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList
10336
+ command.params['project'] = project unless project.nil?
10337
+ command.query['filter'] = filter unless filter.nil?
10338
+ command.query['maxResults'] = max_results unless max_results.nil?
10339
+ command.query['orderBy'] = order_by unless order_by.nil?
10340
+ command.query['pageToken'] = page_token unless page_token.nil?
10341
+ command.query['fields'] = fields unless fields.nil?
10342
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10343
+ command.query['userIp'] = user_ip unless user_ip.nil?
10344
+ execute_or_queue_command(command, &block)
10345
+ end
10346
+
10347
+ # Attach a list of network endpoints to the specified network endpoint group.
10348
+ # @param [String] project
10349
+ # Project ID for this request.
10350
+ # @param [String] zone
10351
+ # The name of the zone where the network endpoint group is located. It should
10352
+ # comply with RFC1035.
10353
+ # @param [String] network_endpoint_group
10354
+ # The name of the network endpoint group where you are attaching network
10355
+ # endpoints to. It should comply with RFC1035.
10356
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest] network_endpoint_groups_attach_endpoints_request_object
10357
+ # @param [String] request_id
10358
+ # An optional request ID to identify requests. Specify a unique request ID so
10359
+ # that if you must retry your request, the server will know to ignore the
10360
+ # request if it has already been completed.
10361
+ # For example, consider a situation where you make an initial request and the
10362
+ # request times out. If you make the request again with the same request ID, the
10363
+ # server can check if original operation with the same request ID was received,
10364
+ # and if so, will ignore the second request. This prevents clients from
10365
+ # accidentally creating duplicate commitments.
10366
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10367
+ # supported (00000000-0000-0000-0000-000000000000).
10368
+ # @param [String] fields
10369
+ # Selector specifying which fields to include in a partial response.
10370
+ # @param [String] quota_user
10371
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10372
+ # characters.
10373
+ # @param [String] user_ip
10374
+ # Deprecated. Please use quotaUser instead.
10375
+ # @param [Google::Apis::RequestOptions] options
10376
+ # Request-specific options
10377
+ #
10378
+ # @yield [result, err] Result & error if block supplied
10379
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
10380
+ # @yieldparam err [StandardError] error object if request failed
10381
+ #
10382
+ # @return [Google::Apis::ComputeV1::Operation]
10383
+ #
10384
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10385
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10386
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10387
+ def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10388
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
10389
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsAttachEndpointsRequest::Representation
10390
+ command.request_object = network_endpoint_groups_attach_endpoints_request_object
10391
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
10392
+ command.response_class = Google::Apis::ComputeV1::Operation
10393
+ command.params['project'] = project unless project.nil?
10394
+ command.params['zone'] = zone unless zone.nil?
10395
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
10396
+ command.query['requestId'] = request_id unless request_id.nil?
10397
+ command.query['fields'] = fields unless fields.nil?
10398
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10399
+ command.query['userIp'] = user_ip unless user_ip.nil?
10400
+ execute_or_queue_command(command, &block)
10401
+ end
10402
+
10403
+ # Deletes the specified network endpoint group. The network endpoints in the NEG
10404
+ # and the VM instances they belong to are not terminated when the NEG is deleted.
10405
+ # Note that the NEG cannot be deleted if there are backend services referencing
10406
+ # it.
10407
+ # @param [String] project
10408
+ # Project ID for this request.
10409
+ # @param [String] zone
10410
+ # The name of the zone where the network endpoint group is located. It should
10411
+ # comply with RFC1035.
10412
+ # @param [String] network_endpoint_group
10413
+ # The name of the network endpoint group to delete. It should comply with
10414
+ # RFC1035.
10415
+ # @param [String] request_id
10416
+ # An optional request ID to identify requests. Specify a unique request ID so
10417
+ # that if you must retry your request, the server will know to ignore the
10418
+ # request if it has already been completed.
10419
+ # For example, consider a situation where you make an initial request and the
10420
+ # request times out. If you make the request again with the same request ID, the
10421
+ # server can check if original operation with the same request ID was received,
10422
+ # and if so, will ignore the second request. This prevents clients from
10423
+ # accidentally creating duplicate commitments.
10424
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10425
+ # supported (00000000-0000-0000-0000-000000000000).
10426
+ # @param [String] fields
10427
+ # Selector specifying which fields to include in a partial response.
10428
+ # @param [String] quota_user
10429
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10430
+ # characters.
10431
+ # @param [String] user_ip
10432
+ # Deprecated. Please use quotaUser instead.
10433
+ # @param [Google::Apis::RequestOptions] options
10434
+ # Request-specific options
10435
+ #
10436
+ # @yield [result, err] Result & error if block supplied
10437
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
10438
+ # @yieldparam err [StandardError] error object if request failed
10439
+ #
10440
+ # @return [Google::Apis::ComputeV1::Operation]
10441
+ #
10442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10445
+ def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10446
+ command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
10447
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
10448
+ command.response_class = Google::Apis::ComputeV1::Operation
10449
+ command.params['project'] = project unless project.nil?
10450
+ command.params['zone'] = zone unless zone.nil?
10451
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
10452
+ command.query['requestId'] = request_id unless request_id.nil?
10453
+ command.query['fields'] = fields unless fields.nil?
10454
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10455
+ command.query['userIp'] = user_ip unless user_ip.nil?
10456
+ execute_or_queue_command(command, &block)
10457
+ end
10458
+
10459
+ # Detach a list of network endpoints from the specified network endpoint group.
10460
+ # @param [String] project
10461
+ # Project ID for this request.
10462
+ # @param [String] zone
10463
+ # The name of the zone where the network endpoint group is located. It should
10464
+ # comply with RFC1035.
10465
+ # @param [String] network_endpoint_group
10466
+ # The name of the network endpoint group where you are removing network
10467
+ # endpoints. It should comply with RFC1035.
10468
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest] network_endpoint_groups_detach_endpoints_request_object
10469
+ # @param [String] request_id
10470
+ # An optional request ID to identify requests. Specify a unique request ID so
10471
+ # that if you must retry your request, the server will know to ignore the
10472
+ # request if it has already been completed.
10473
+ # For example, consider a situation where you make an initial request and the
10474
+ # request times out. If you make the request again with the same request ID, the
10475
+ # server can check if original operation with the same request ID was received,
10476
+ # and if so, will ignore the second request. This prevents clients from
10477
+ # accidentally creating duplicate commitments.
10478
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10479
+ # supported (00000000-0000-0000-0000-000000000000).
10480
+ # @param [String] fields
10481
+ # Selector specifying which fields to include in a partial response.
10482
+ # @param [String] quota_user
10483
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10484
+ # characters.
10485
+ # @param [String] user_ip
10486
+ # Deprecated. Please use quotaUser instead.
10487
+ # @param [Google::Apis::RequestOptions] options
10488
+ # Request-specific options
10489
+ #
10490
+ # @yield [result, err] Result & error if block supplied
10491
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
10492
+ # @yieldparam err [StandardError] error object if request failed
10493
+ #
10494
+ # @return [Google::Apis::ComputeV1::Operation]
10495
+ #
10496
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10497
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10498
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10499
+ def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10500
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
10501
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsDetachEndpointsRequest::Representation
10502
+ command.request_object = network_endpoint_groups_detach_endpoints_request_object
10503
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
10504
+ command.response_class = Google::Apis::ComputeV1::Operation
10505
+ command.params['project'] = project unless project.nil?
10506
+ command.params['zone'] = zone unless zone.nil?
10507
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
10508
+ command.query['requestId'] = request_id unless request_id.nil?
10509
+ command.query['fields'] = fields unless fields.nil?
10510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10511
+ command.query['userIp'] = user_ip unless user_ip.nil?
10512
+ execute_or_queue_command(command, &block)
10513
+ end
10514
+
10515
+ # Returns the specified network endpoint group. Gets a list of available network
10516
+ # endpoint groups by making a list() request.
10517
+ # @param [String] project
10518
+ # Project ID for this request.
10519
+ # @param [String] zone
10520
+ # The name of the zone where the network endpoint group is located. It should
10521
+ # comply with RFC1035.
10522
+ # @param [String] network_endpoint_group
10523
+ # The name of the network endpoint group. It should comply with RFC1035.
10524
+ # @param [String] fields
10525
+ # Selector specifying which fields to include in a partial response.
10526
+ # @param [String] quota_user
10527
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10528
+ # characters.
10529
+ # @param [String] user_ip
10530
+ # Deprecated. Please use quotaUser instead.
10531
+ # @param [Google::Apis::RequestOptions] options
10532
+ # Request-specific options
10533
+ #
10534
+ # @yield [result, err] Result & error if block supplied
10535
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroup] parsed result object
10536
+ # @yieldparam err [StandardError] error object if request failed
10537
+ #
10538
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroup]
10539
+ #
10540
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10541
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10542
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10543
+ def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10544
+ command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
10545
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
10546
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroup
10547
+ command.params['project'] = project unless project.nil?
10548
+ command.params['zone'] = zone unless zone.nil?
10549
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
10550
+ command.query['fields'] = fields unless fields.nil?
10551
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10552
+ command.query['userIp'] = user_ip unless user_ip.nil?
10553
+ execute_or_queue_command(command, &block)
10554
+ end
10555
+
10556
+ # Creates a network endpoint group in the specified project using the parameters
10557
+ # that are included in the request.
10558
+ # @param [String] project
10559
+ # Project ID for this request.
10560
+ # @param [String] zone
10561
+ # The name of the zone where you want to create the network endpoint group. It
10562
+ # should comply with RFC1035.
10563
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroup] network_endpoint_group_object
10564
+ # @param [String] request_id
10565
+ # An optional request ID to identify requests. Specify a unique request ID so
10566
+ # that if you must retry your request, the server will know to ignore the
10567
+ # request if it has already been completed.
10568
+ # For example, consider a situation where you make an initial request and the
10569
+ # request times out. If you make the request again with the same request ID, the
10570
+ # server can check if original operation with the same request ID was received,
10571
+ # and if so, will ignore the second request. This prevents clients from
10572
+ # accidentally creating duplicate commitments.
10573
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10574
+ # supported (00000000-0000-0000-0000-000000000000).
10575
+ # @param [String] fields
10576
+ # Selector specifying which fields to include in a partial response.
10577
+ # @param [String] quota_user
10578
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10579
+ # characters.
10580
+ # @param [String] user_ip
10581
+ # Deprecated. Please use quotaUser instead.
10582
+ # @param [Google::Apis::RequestOptions] options
10583
+ # Request-specific options
10584
+ #
10585
+ # @yield [result, err] Result & error if block supplied
10586
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
10587
+ # @yieldparam err [StandardError] error object if request failed
10588
+ #
10589
+ # @return [Google::Apis::ComputeV1::Operation]
10590
+ #
10591
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10592
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10593
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10594
+ def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10595
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
10596
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroup::Representation
10597
+ command.request_object = network_endpoint_group_object
10598
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
10599
+ command.response_class = Google::Apis::ComputeV1::Operation
10600
+ command.params['project'] = project unless project.nil?
10601
+ command.params['zone'] = zone unless zone.nil?
10602
+ command.query['requestId'] = request_id unless request_id.nil?
10603
+ command.query['fields'] = fields unless fields.nil?
10604
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10605
+ command.query['userIp'] = user_ip unless user_ip.nil?
10606
+ execute_or_queue_command(command, &block)
10607
+ end
10608
+
10609
+ # Retrieves the list of network endpoint groups that are located in the
10610
+ # specified project and zone.
10611
+ # @param [String] project
10612
+ # Project ID for this request.
10613
+ # @param [String] zone
10614
+ # The name of the zone where the network endpoint group is located. It should
10615
+ # comply with RFC1035.
10616
+ # @param [String] filter
10617
+ # A filter expression that filters resources listed in the response. The
10618
+ # expression must specify the field name, a comparison operator, and the value
10619
+ # that you want to use for filtering. The value must be a string, a number, or a
10620
+ # boolean. The comparison operator must be either =, !=, >, or <.
10621
+ # For example, if you are filtering Compute Engine instances, you can exclude
10622
+ # instances named example-instance by specifying name != example-instance.
10623
+ # You can also filter nested fields. For example, you could specify scheduling.
10624
+ # automaticRestart = false to include instances only if they are not scheduled
10625
+ # for automatic restarts. You can use filtering on nested fields to filter based
10626
+ # on resource labels.
10627
+ # To filter on multiple expressions, provide each separate expression within
10628
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
10629
+ # Intel Skylake"). By default, each expression is an AND expression. However,
10630
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
10631
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
10632
+ # automaticRestart = true).
10633
+ # @param [Fixnum] max_results
10634
+ # The maximum number of results per page that should be returned. If the number
10635
+ # of available results is larger than maxResults, Compute Engine returns a
10636
+ # nextPageToken that can be used to get the next page of results in subsequent
10637
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
10638
+ # @param [String] order_by
10639
+ # Sorts list results by a certain order. By default, results are returned in
10640
+ # alphanumerical order based on the resource name.
10641
+ # You can also sort results in descending order based on the creation timestamp
10642
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10643
+ # creationTimestamp field in reverse chronological order (newest result first).
10644
+ # Use this to sort resources like operations so that the newest operation is
10645
+ # returned first.
10646
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10647
+ # @param [String] page_token
10648
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10649
+ # a previous list request to get the next page of results.
10650
+ # @param [String] fields
10651
+ # Selector specifying which fields to include in a partial response.
10652
+ # @param [String] quota_user
10653
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10654
+ # characters.
10655
+ # @param [String] user_ip
10656
+ # Deprecated. Please use quotaUser instead.
10657
+ # @param [Google::Apis::RequestOptions] options
10658
+ # Request-specific options
10659
+ #
10660
+ # @yield [result, err] Result & error if block supplied
10661
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupList] parsed result object
10662
+ # @yieldparam err [StandardError] error object if request failed
10663
+ #
10664
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupList]
10665
+ #
10666
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10667
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10668
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10669
+ def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10670
+ command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
10671
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupList::Representation
10672
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupList
10673
+ command.params['project'] = project unless project.nil?
10674
+ command.params['zone'] = zone unless zone.nil?
10675
+ command.query['filter'] = filter unless filter.nil?
10676
+ command.query['maxResults'] = max_results unless max_results.nil?
10677
+ command.query['orderBy'] = order_by unless order_by.nil?
10678
+ command.query['pageToken'] = page_token unless page_token.nil?
10679
+ command.query['fields'] = fields unless fields.nil?
10680
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10681
+ command.query['userIp'] = user_ip unless user_ip.nil?
10682
+ execute_or_queue_command(command, &block)
10683
+ end
10684
+
10685
+ # Lists the network endpoints in the specified network endpoint group.
10686
+ # @param [String] project
10687
+ # Project ID for this request.
10688
+ # @param [String] zone
10689
+ # The name of the zone where the network endpoint group is located. It should
10690
+ # comply with RFC1035.
10691
+ # @param [String] network_endpoint_group
10692
+ # The name of the network endpoint group from which you want to generate a list
10693
+ # of included network endpoints. It should comply with RFC1035.
10694
+ # @param [Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
10695
+ # @param [String] filter
10696
+ # A filter expression that filters resources listed in the response. The
10697
+ # expression must specify the field name, a comparison operator, and the value
10698
+ # that you want to use for filtering. The value must be a string, a number, or a
10699
+ # boolean. The comparison operator must be either =, !=, >, or <.
10700
+ # For example, if you are filtering Compute Engine instances, you can exclude
10701
+ # instances named example-instance by specifying name != example-instance.
10702
+ # You can also filter nested fields. For example, you could specify scheduling.
10703
+ # automaticRestart = false to include instances only if they are not scheduled
10704
+ # for automatic restarts. You can use filtering on nested fields to filter based
10705
+ # on resource labels.
10706
+ # To filter on multiple expressions, provide each separate expression within
10707
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
10708
+ # Intel Skylake"). By default, each expression is an AND expression. However,
10709
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
10710
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
10711
+ # automaticRestart = true).
10712
+ # @param [Fixnum] max_results
10713
+ # The maximum number of results per page that should be returned. If the number
10714
+ # of available results is larger than maxResults, Compute Engine returns a
10715
+ # nextPageToken that can be used to get the next page of results in subsequent
10716
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
10717
+ # @param [String] order_by
10718
+ # Sorts list results by a certain order. By default, results are returned in
10719
+ # alphanumerical order based on the resource name.
10720
+ # You can also sort results in descending order based on the creation timestamp
10721
+ # using orderBy="creationTimestamp desc". This sorts results based on the
10722
+ # creationTimestamp field in reverse chronological order (newest result first).
10723
+ # Use this to sort resources like operations so that the newest operation is
10724
+ # returned first.
10725
+ # Currently, only sorting by name or creationTimestamp desc is supported.
10726
+ # @param [String] page_token
10727
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
10728
+ # a previous list request to get the next page of results.
10729
+ # @param [String] fields
10730
+ # Selector specifying which fields to include in a partial response.
10731
+ # @param [String] quota_user
10732
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10733
+ # characters.
10734
+ # @param [String] user_ip
10735
+ # Deprecated. Please use quotaUser instead.
10736
+ # @param [Google::Apis::RequestOptions] options
10737
+ # Request-specific options
10738
+ #
10739
+ # @yield [result, err] Result & error if block supplied
10740
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
10741
+ # @yieldparam err [StandardError] error object if request failed
10742
+ #
10743
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints]
10744
+ #
10745
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10746
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10747
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10748
+ def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10749
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
10750
+ command.request_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListEndpointsRequest::Representation
10751
+ command.request_object = network_endpoint_groups_list_endpoints_request_object
10752
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Representation
10753
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints
10754
+ command.params['project'] = project unless project.nil?
10755
+ command.params['zone'] = zone unless zone.nil?
10756
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
10757
+ command.query['filter'] = filter unless filter.nil?
10758
+ command.query['maxResults'] = max_results unless max_results.nil?
10759
+ command.query['orderBy'] = order_by unless order_by.nil?
10760
+ command.query['pageToken'] = page_token unless page_token.nil?
10761
+ command.query['fields'] = fields unless fields.nil?
10762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10763
+ command.query['userIp'] = user_ip unless user_ip.nil?
10764
+ execute_or_queue_command(command, &block)
10765
+ end
10766
+
10767
+ # Returns permissions that a caller has on the specified resource.
10768
+ # @param [String] project
10769
+ # Project ID for this request.
10770
+ # @param [String] zone
10771
+ # The name of the zone for this request.
10772
+ # @param [String] resource
10773
+ # Name or id of the resource for this request.
10774
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
10775
+ # @param [String] fields
10776
+ # Selector specifying which fields to include in a partial response.
10777
+ # @param [String] quota_user
10778
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10779
+ # characters.
10780
+ # @param [String] user_ip
10781
+ # Deprecated. Please use quotaUser instead.
10782
+ # @param [Google::Apis::RequestOptions] options
10783
+ # Request-specific options
10784
+ #
10785
+ # @yield [result, err] Result & error if block supplied
10786
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
10787
+ # @yieldparam err [StandardError] error object if request failed
10788
+ #
10789
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
10790
+ #
10791
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10792
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10793
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10794
+ def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10795
+ command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
10796
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
10797
+ command.request_object = test_permissions_request_object
10798
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
10799
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
10800
+ command.params['project'] = project unless project.nil?
10801
+ command.params['zone'] = zone unless zone.nil?
10802
+ command.params['resource'] = resource unless resource.nil?
10803
+ command.query['fields'] = fields unless fields.nil?
10804
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10805
+ command.query['userIp'] = user_ip unless user_ip.nil?
10806
+ execute_or_queue_command(command, &block)
10807
+ end
10808
+
10276
10809
  # Adds a peering to the specified network.
10277
10810
  # @param [String] project
10278
10811
  # Project ID for this request.