google-api-client 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +305 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  15. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  16. data/generated/google/apis/admob_v1.rb +4 -1
  17. data/generated/google/apis/admob_v1/classes.rb +2 -2
  18. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  19. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  21. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  22. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  23. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  24. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  25. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  26. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
  31. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  33. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  34. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  35. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  36. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  37. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  38. data/generated/google/apis/apigee_v1.rb +1 -1
  39. data/generated/google/apis/apigee_v1/classes.rb +247 -27
  40. data/generated/google/apis/apigee_v1/representations.rb +90 -3
  41. data/generated/google/apis/apigee_v1/service.rb +63 -43
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  44. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  47. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  48. data/generated/google/apis/appsmarket_v2.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  50. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  51. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  52. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  53. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  54. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  55. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  56. data/generated/google/apis/bigquery_v2.rb +1 -1
  57. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  58. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  59. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  64. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  68. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  69. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  70. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  73. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  74. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +2 -2
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +79 -5
  81. data/generated/google/apis/chat_v1/representations.rb +35 -0
  82. data/generated/google/apis/civicinfo_v2.rb +1 -1
  83. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  84. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  85. data/generated/google/apis/classroom_v1.rb +7 -1
  86. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  87. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  88. data/generated/google/apis/classroom_v1/service.rb +240 -0
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  100. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  101. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  102. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  104. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  105. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  107. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  108. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  118. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  119. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  120. data/generated/google/apis/cloudiot_v1.rb +1 -1
  121. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  122. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudkms_v1.rb +1 -1
  124. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  125. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  126. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  128. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  130. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  132. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  134. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  136. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  137. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  138. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  139. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  140. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  142. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  143. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  144. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  146. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  147. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  149. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  150. data/generated/google/apis/composer_v1beta1.rb +1 -1
  151. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  154. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  155. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  156. data/generated/google/apis/compute_beta.rb +1 -1
  157. data/generated/google/apis/compute_beta/classes.rb +491 -83
  158. data/generated/google/apis/compute_beta/representations.rb +96 -1
  159. data/generated/google/apis/compute_beta/service.rb +802 -133
  160. data/generated/google/apis/compute_v1.rb +1 -1
  161. data/generated/google/apis/compute_v1/classes.rb +308 -45
  162. data/generated/google/apis/compute_v1/representations.rb +54 -1
  163. data/generated/google/apis/compute_v1/service.rb +736 -130
  164. data/generated/google/apis/container_v1.rb +1 -1
  165. data/generated/google/apis/container_v1/classes.rb +57 -2
  166. data/generated/google/apis/container_v1/representations.rb +7 -0
  167. data/generated/google/apis/container_v1beta1.rb +1 -1
  168. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  169. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  170. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  171. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  172. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  173. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  174. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  175. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  176. data/generated/google/apis/content_v2.rb +1 -1
  177. data/generated/google/apis/content_v2/classes.rb +4 -2
  178. data/generated/google/apis/content_v2_1.rb +1 -1
  179. data/generated/google/apis/content_v2_1/classes.rb +16 -4
  180. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  181. data/generated/google/apis/content_v2_1/service.rb +1 -1
  182. data/generated/google/apis/customsearch_v1.rb +1 -1
  183. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  184. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  185. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  186. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  189. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  190. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  191. data/generated/google/apis/datafusion_v1.rb +1 -1
  192. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  193. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  194. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  195. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  196. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  197. data/generated/google/apis/dataproc_v1.rb +1 -1
  198. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  199. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  200. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  201. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  202. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  203. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  205. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  206. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  207. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  208. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  209. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  210. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  211. data/generated/google/apis/dialogflow_v2.rb +1 -1
  212. data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
  213. data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
  214. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  215. data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
  216. data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
  217. data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
  218. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  219. data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
  220. data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
  221. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  222. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  223. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  224. data/generated/google/apis/displayvideo_v1.rb +1 -1
  225. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  226. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  227. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  228. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  229. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  230. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  231. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  232. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  233. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  234. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  235. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  236. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  237. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  238. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  239. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  240. data/generated/google/apis/dlp_v2.rb +1 -1
  241. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  242. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  243. data/generated/google/apis/dlp_v2/service.rb +328 -328
  244. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  245. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  246. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  249. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  251. data/generated/google/apis/file_v1.rb +1 -1
  252. data/generated/google/apis/file_v1/classes.rb +1 -1
  253. data/generated/google/apis/file_v1beta1.rb +1 -1
  254. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  256. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  257. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  262. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  263. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  264. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  265. data/generated/google/apis/firestore_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  267. data/generated/google/apis/fitness_v1.rb +3 -3
  268. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  269. data/generated/google/apis/games_v1.rb +1 -1
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  272. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  273. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  274. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  275. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  276. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  277. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  278. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  279. data/generated/google/apis/gmail_v1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/service.rb +1 -1
  281. data/generated/google/apis/healthcare_v1.rb +1 -1
  282. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  283. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  284. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  285. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  286. data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
  287. data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
  288. data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
  289. data/generated/google/apis/homegraph_v1.rb +4 -1
  290. data/generated/google/apis/iam_v1.rb +1 -1
  291. data/generated/google/apis/iam_v1/classes.rb +7 -0
  292. data/generated/google/apis/iam_v1/representations.rb +1 -0
  293. data/generated/google/apis/iam_v1/service.rb +2 -1
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +7 -0
  296. data/generated/google/apis/iap_v1/representations.rb +1 -0
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  299. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  300. data/generated/google/apis/jobs_v2.rb +1 -1
  301. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  302. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  303. data/generated/google/apis/jobs_v2/service.rb +85 -126
  304. data/generated/google/apis/jobs_v3.rb +1 -1
  305. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  306. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  307. data/generated/google/apis/jobs_v3/service.rb +101 -139
  308. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  311. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  312. data/generated/google/apis/licensing_v1.rb +4 -3
  313. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  314. data/generated/google/apis/licensing_v1/service.rb +55 -85
  315. data/generated/google/apis/logging_v2.rb +1 -1
  316. data/generated/google/apis/logging_v2/classes.rb +98 -55
  317. data/generated/google/apis/logging_v2/representations.rb +32 -0
  318. data/generated/google/apis/logging_v2/service.rb +1214 -264
  319. data/generated/google/apis/managedidentities_v1.rb +1 -1
  320. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  321. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  322. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  323. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  324. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  325. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  326. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  327. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  328. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  329. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  330. data/generated/google/apis/ml_v1.rb +1 -1
  331. data/generated/google/apis/ml_v1/classes.rb +7 -0
  332. data/generated/google/apis/ml_v1/representations.rb +1 -0
  333. data/generated/google/apis/ml_v1/service.rb +1 -1
  334. data/generated/google/apis/monitoring_v1.rb +1 -1
  335. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  336. data/generated/google/apis/monitoring_v3.rb +1 -1
  337. data/generated/google/apis/monitoring_v3/classes.rb +43 -37
  338. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  339. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  340. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  341. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  342. data/generated/google/apis/osconfig_v1.rb +3 -3
  343. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  344. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  345. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  346. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  347. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  348. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  349. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  350. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  351. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  352. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  353. data/generated/google/apis/people_v1.rb +1 -1
  354. data/generated/google/apis/people_v1/service.rb +8 -6
  355. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  356. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  359. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  360. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  361. data/generated/google/apis/pubsub_v1.rb +1 -1
  362. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  363. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  364. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  365. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  366. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  367. data/generated/google/apis/pubsublite_v1.rb +1 -1
  368. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  369. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  370. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  371. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  372. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  373. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  374. data/generated/google/apis/recommender_v1.rb +1 -1
  375. data/generated/google/apis/recommender_v1/service.rb +4 -2
  376. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  377. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  378. data/generated/google/apis/redis_v1.rb +1 -1
  379. data/generated/google/apis/redis_v1/classes.rb +5 -391
  380. data/generated/google/apis/redis_v1/representations.rb +0 -139
  381. data/generated/google/apis/redis_v1/service.rb +2 -2
  382. data/generated/google/apis/redis_v1beta1.rb +1 -1
  383. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  384. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  385. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  386. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  389. data/generated/google/apis/reseller_v1.rb +2 -2
  390. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  391. data/generated/google/apis/reseller_v1/service.rb +122 -173
  392. data/generated/google/apis/run_v1.rb +1 -1
  393. data/generated/google/apis/run_v1/classes.rb +8 -132
  394. data/generated/google/apis/run_v1/representations.rb +0 -61
  395. data/generated/google/apis/run_v1/service.rb +0 -342
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  398. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  399. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  400. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  401. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  402. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  403. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  404. data/generated/google/apis/searchconsole_v1.rb +7 -1
  405. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  406. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  407. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  408. data/generated/google/apis/secretmanager_v1.rb +1 -1
  409. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  410. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  411. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  412. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  413. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  414. data/generated/google/apis/securitycenter_v1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  416. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  417. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  418. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  419. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  420. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  421. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  422. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  423. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  424. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  425. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  428. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  429. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  430. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  431. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  432. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  435. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  436. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  439. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  440. data/generated/google/apis/sheets_v4.rb +1 -1
  441. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  442. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  443. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  444. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  445. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  446. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  447. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  448. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  449. data/generated/google/apis/spanner_v1.rb +1 -1
  450. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  451. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  452. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  453. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  454. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
  455. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
  456. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  457. data/generated/google/apis/storage_v1.rb +1 -1
  458. data/generated/google/apis/storage_v1/classes.rb +2 -10
  459. data/generated/google/apis/storage_v1/representations.rb +0 -1
  460. data/generated/google/apis/storage_v1/service.rb +3 -2
  461. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  462. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  463. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  464. data/generated/google/apis/sts_v1/classes.rb +120 -0
  465. data/generated/google/apis/sts_v1/representations.rb +59 -0
  466. data/generated/google/apis/sts_v1/service.rb +90 -0
  467. data/generated/google/apis/sts_v1beta.rb +32 -0
  468. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  469. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  470. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  471. data/generated/google/apis/tagmanager_v2.rb +1 -1
  472. data/generated/google/apis/tasks_v1.rb +1 -1
  473. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  474. data/generated/google/apis/tasks_v1/service.rb +4 -3
  475. data/generated/google/apis/testing_v1.rb +1 -1
  476. data/generated/google/apis/testing_v1/classes.rb +2 -2
  477. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  478. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  479. data/generated/google/apis/tpu_v1.rb +1 -1
  480. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  481. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  482. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  483. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  484. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  485. data/generated/google/apis/translate_v3.rb +1 -1
  486. data/generated/google/apis/translate_v3/classes.rb +2 -2
  487. data/generated/google/apis/vault_v1.rb +1 -1
  488. data/generated/google/apis/vault_v1/classes.rb +80 -103
  489. data/generated/google/apis/vault_v1/service.rb +31 -37
  490. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  491. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  492. data/generated/google/apis/videointelligence_v1.rb +1 -1
  493. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  494. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  495. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  496. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  497. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  498. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  499. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  501. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  502. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  504. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  505. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  507. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  508. data/generated/google/apis/vision_v1.rb +1 -1
  509. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  511. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  512. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  513. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  514. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  515. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  516. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  517. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  518. data/generated/google/apis/workflows_v1beta.rb +34 -0
  519. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  520. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  521. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  522. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  523. data/generated/google/apis/youtube_v3.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  525. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  526. data/generated/google/apis/youtube_v3/service.rb +2 -197
  527. data/google-api-client.gemspec +2 -1
  528. data/lib/google/apis/version.rb +1 -1
  529. metadata +70 -16
  530. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  531. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  532. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  533. data/generated/google/apis/plus_v1.rb +0 -43
  534. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  535. data/generated/google/apis/plus_v1/representations.rb +0 -907
  536. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -0,0 +1,220 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module AnalyticsdataV1alpha
23
+ # Google Analytics Data API
24
+ #
25
+ # Accesses report data in Google Analytics.
26
+ #
27
+ # @example
28
+ # require 'google/apis/analyticsdata_v1alpha'
29
+ #
30
+ # Analyticsdata = Google::Apis::AnalyticsdataV1alpha # Alias the module
31
+ # service = Analyticsdata::AnalyticsDataService.new
32
+ #
33
+ # @see https://developers.google.com/analytics/trusted-testing/analytics-data/
34
+ class AnalyticsDataService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://analyticsdata.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Returns multiple pivot reports in a batch. All reports must be for the same
51
+ # Entity.
52
+ # @param [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest] batch_run_pivot_reports_request_object
53
+ # @param [String] fields
54
+ # Selector specifying which fields to include in a partial response.
55
+ # @param [String] quota_user
56
+ # Available to use for quota purposes for server-side applications. Can be any
57
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
58
+ # @param [Google::Apis::RequestOptions] options
59
+ # Request-specific options
60
+ #
61
+ # @yield [result, err] Result & error if block supplied
62
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsResponse] parsed result object
63
+ # @yieldparam err [StandardError] error object if request failed
64
+ #
65
+ # @return [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsResponse]
66
+ #
67
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
70
+ def batch_run_pivot_reports(batch_run_pivot_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
71
+ command = make_simple_command(:post, 'v1alpha:batchRunPivotReports', options)
72
+ command.request_representation = Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest::Representation
73
+ command.request_object = batch_run_pivot_reports_request_object
74
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsResponse::Representation
75
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsResponse
76
+ command.query['fields'] = fields unless fields.nil?
77
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
78
+ execute_or_queue_command(command, &block)
79
+ end
80
+
81
+ # Returns multiple reports in a batch. All reports must be for the same Entity.
82
+ # @param [Google::Apis::AnalyticsdataV1alpha::BatchRunReportsRequest] batch_run_reports_request_object
83
+ # @param [String] fields
84
+ # Selector specifying which fields to include in a partial response.
85
+ # @param [String] quota_user
86
+ # Available to use for quota purposes for server-side applications. Can be any
87
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
88
+ # @param [Google::Apis::RequestOptions] options
89
+ # Request-specific options
90
+ #
91
+ # @yield [result, err] Result & error if block supplied
92
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::BatchRunReportsResponse] parsed result object
93
+ # @yieldparam err [StandardError] error object if request failed
94
+ #
95
+ # @return [Google::Apis::AnalyticsdataV1alpha::BatchRunReportsResponse]
96
+ #
97
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
98
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
99
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
100
+ def batch_run_reports(batch_run_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
101
+ command = make_simple_command(:post, 'v1alpha:batchRunReports', options)
102
+ command.request_representation = Google::Apis::AnalyticsdataV1alpha::BatchRunReportsRequest::Representation
103
+ command.request_object = batch_run_reports_request_object
104
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::BatchRunReportsResponse::Representation
105
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::BatchRunReportsResponse
106
+ command.query['fields'] = fields unless fields.nil?
107
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
108
+ execute_or_queue_command(command, &block)
109
+ end
110
+
111
+ # Returns metadata for dimensions and metrics available in reporting methods.
112
+ # Used to explore the dimensions and metrics. Dimensions and metrics will be
113
+ # mostly added over time, but renames and deletions may occur. This method
114
+ # returns Universal Metadata. Universal Metadata are dimensions and metrics
115
+ # applicable to any property such as `country` and `totalUsers`.
116
+ # @param [String] fields
117
+ # Selector specifying which fields to include in a partial response.
118
+ # @param [String] quota_user
119
+ # Available to use for quota purposes for server-side applications. Can be any
120
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
121
+ # @param [Google::Apis::RequestOptions] options
122
+ # Request-specific options
123
+ #
124
+ # @yield [result, err] Result & error if block supplied
125
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata] parsed result object
126
+ # @yieldparam err [StandardError] error object if request failed
127
+ #
128
+ # @return [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata]
129
+ #
130
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
131
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
132
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
133
+ def get_universal_metadata(fields: nil, quota_user: nil, options: nil, &block)
134
+ command = make_simple_command(:get, 'v1alpha/universalMetadata', options)
135
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata::Representation
136
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata
137
+ command.query['fields'] = fields unless fields.nil?
138
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
139
+ execute_or_queue_command(command, &block)
140
+ end
141
+
142
+ # Returns a customized pivot report of your Google Analytics event data. Pivot
143
+ # reports are more advanced and expressive formats than regular reports. In a
144
+ # pivot report, dimensions are only visible if they are included in a pivot.
145
+ # Multiple pivots can be specified to further dissect your data.
146
+ # @param [Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest] run_pivot_report_request_object
147
+ # @param [String] fields
148
+ # Selector specifying which fields to include in a partial response.
149
+ # @param [String] quota_user
150
+ # Available to use for quota purposes for server-side applications. Can be any
151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
152
+ # @param [Google::Apis::RequestOptions] options
153
+ # Request-specific options
154
+ #
155
+ # @yield [result, err] Result & error if block supplied
156
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse] parsed result object
157
+ # @yieldparam err [StandardError] error object if request failed
158
+ #
159
+ # @return [Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse]
160
+ #
161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
164
+ def run_pivot_report(run_pivot_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
165
+ command = make_simple_command(:post, 'v1alpha:runPivotReport', options)
166
+ command.request_representation = Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest::Representation
167
+ command.request_object = run_pivot_report_request_object
168
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse::Representation
169
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse
170
+ command.query['fields'] = fields unless fields.nil?
171
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
172
+ execute_or_queue_command(command, &block)
173
+ end
174
+
175
+ # Returns a customized report of your Google Analytics event data. Reports
176
+ # contain statistics derived from data collected by the Google Analytics
177
+ # tracking code. The data returned from the API is as a table with columns for
178
+ # the requested dimensions and metrics. Metrics are individual measurements of
179
+ # user activity on your property, such as active users or event count.
180
+ # Dimensions break down metrics across some common criteria, such as country or
181
+ # event name.
182
+ # @param [Google::Apis::AnalyticsdataV1alpha::RunReportRequest] run_report_request_object
183
+ # @param [String] fields
184
+ # Selector specifying which fields to include in a partial response.
185
+ # @param [String] quota_user
186
+ # Available to use for quota purposes for server-side applications. Can be any
187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
188
+ # @param [Google::Apis::RequestOptions] options
189
+ # Request-specific options
190
+ #
191
+ # @yield [result, err] Result & error if block supplied
192
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::RunReportResponse] parsed result object
193
+ # @yieldparam err [StandardError] error object if request failed
194
+ #
195
+ # @return [Google::Apis::AnalyticsdataV1alpha::RunReportResponse]
196
+ #
197
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
198
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
199
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
200
+ def run_report(run_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
201
+ command = make_simple_command(:post, 'v1alpha:runReport', options)
202
+ command.request_representation = Google::Apis::AnalyticsdataV1alpha::RunReportRequest::Representation
203
+ command.request_object = run_report_request_object
204
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::RunReportResponse::Representation
205
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::RunReportResponse
206
+ command.query['fields'] = fields unless fields.nil?
207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
208
+ execute_or_queue_command(command, &block)
209
+ end
210
+
211
+ protected
212
+
213
+ def apply_command_defaults(command)
214
+ command.query['key'] = key unless key.nil?
215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
216
+ end
217
+ end
218
+ end
219
+ end
220
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/devguides/reporting/core/v4/
26
26
  module AnalyticsreportingV4
27
27
  VERSION = 'V4'
28
- REVISION = '20200803'
28
+ REVISION = '20200902'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200825'
28
+ REVISION = '20200915'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -43,8 +43,8 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://www.googleapis.com/', '')
47
- @batch_path = 'batch/androidenterprise/v1'
46
+ super('https://androidenterprise.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
48
  end
49
49
 
50
50
  # Uploads a report containing any changes in app states on the device since the
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200817'
29
+ REVISION = '20200925'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -2226,7 +2226,7 @@ module Google
2226
2226
  end
2227
2227
  end
2228
2228
 
2229
- # Policies for apps on the personal profile of a company-owned device with a
2229
+ # Policies for apps in the personal profile of a company-owned device with a
2230
2230
  # work profile.
2231
2231
  class PersonalApplicationPolicy
2232
2232
  include Google::Apis::Core::Hashable
@@ -2273,12 +2273,13 @@ module Google
2273
2273
  # @return [Fixnum]
2274
2274
  attr_accessor :max_days_with_work_off
2275
2275
 
2276
- # Policy applied to applications on the personal profile.
2276
+ # Policy applied to applications in the personal profile.
2277
2277
  # Corresponds to the JSON property `personalApplications`
2278
2278
  # @return [Array<Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy>]
2279
2279
  attr_accessor :personal_applications
2280
2280
 
2281
- # Controls how apps on the personal profile are allowed or blocked.
2281
+ # Used together with personal_applications to control how apps in the personal
2282
+ # profile are allowed or blocked.
2282
2283
  # Corresponds to the JSON property `personalPlayStoreMode`
2283
2284
  # @return [String]
2284
2285
  attr_accessor :personal_play_store_mode
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200817'
28
+ REVISION = '20200927'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1225,6 +1225,12 @@ module Google
1225
1225
  # @return [Fixnum]
1226
1226
  attr_accessor :quantity
1227
1227
 
1228
+ # ISO 3166-1 alpha-2 billing region code of the user at the time the product was
1229
+ # granted.
1230
+ # Corresponds to the JSON property `regionCode`
1231
+ # @return [String]
1232
+ attr_accessor :region_code
1233
+
1228
1234
  def initialize(**args)
1229
1235
  update!(**args)
1230
1236
  end
@@ -1244,6 +1250,7 @@ module Google
1244
1250
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
1245
1251
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1246
1252
  @quantity = args[:quantity] if args.key?(:quantity)
1253
+ @region_code = args[:region_code] if args.key?(:region_code)
1247
1254
  end
1248
1255
  end
1249
1256
 
@@ -716,6 +716,7 @@ module Google
716
716
  property :purchase_token, as: 'purchaseToken'
717
717
  property :purchase_type, as: 'purchaseType'
718
718
  property :quantity, as: 'quantity'
719
+ property :region_code, as: 'regionCode'
719
720
  end
720
721
  end
721
722
 
@@ -0,0 +1,34 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/apigateway_v1beta/service.rb'
16
+ require 'google/apis/apigateway_v1beta/classes.rb'
17
+ require 'google/apis/apigateway_v1beta/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # API Gateway API
22
+ #
23
+ #
24
+ #
25
+ # @see https://cloud.google.com/api-gateway/docs
26
+ module ApigatewayV1beta
27
+ VERSION = 'V1beta'
28
+ REVISION = '20200901'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,1162 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ApigatewayV1beta
24
+
25
+ # A consumable API that can be used by multiple Gateways.
26
+ class ApigatewayApi
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Output only. Created time.
30
+ # Corresponds to the JSON property `createTime`
31
+ # @return [String]
32
+ attr_accessor :create_time
33
+
34
+ # Optional. Display name.
35
+ # Corresponds to the JSON property `displayName`
36
+ # @return [String]
37
+ attr_accessor :display_name
38
+
39
+ # Optional. Resource labels to represent user-provided metadata. Refer to cloud
40
+ # documentation on labels for more details. https://cloud.google.com/compute/
41
+ # docs/labeling-resources
42
+ # Corresponds to the JSON property `labels`
43
+ # @return [Hash<String,String>]
44
+ attr_accessor :labels
45
+
46
+ # Optional. Immutable. The name of a Google Managed Service ( https://cloud.
47
+ # google.com/service-infrastructure/docs/glossary#managed). If not specified, a
48
+ # new Service will automatically be created in the same project as this API.
49
+ # Corresponds to the JSON property `managedService`
50
+ # @return [String]
51
+ attr_accessor :managed_service
52
+
53
+ # Output only. Resource name of the API. Format: projects/`project`/locations/
54
+ # global/apis/`api`
55
+ # Corresponds to the JSON property `name`
56
+ # @return [String]
57
+ attr_accessor :name
58
+
59
+ # Output only. State of the API.
60
+ # Corresponds to the JSON property `state`
61
+ # @return [String]
62
+ attr_accessor :state
63
+
64
+ # Output only. Updated time.
65
+ # Corresponds to the JSON property `updateTime`
66
+ # @return [String]
67
+ attr_accessor :update_time
68
+
69
+ def initialize(**args)
70
+ update!(**args)
71
+ end
72
+
73
+ # Update properties of this object
74
+ def update!(**args)
75
+ @create_time = args[:create_time] if args.key?(:create_time)
76
+ @display_name = args[:display_name] if args.key?(:display_name)
77
+ @labels = args[:labels] if args.key?(:labels)
78
+ @managed_service = args[:managed_service] if args.key?(:managed_service)
79
+ @name = args[:name] if args.key?(:name)
80
+ @state = args[:state] if args.key?(:state)
81
+ @update_time = args[:update_time] if args.key?(:update_time)
82
+ end
83
+ end
84
+
85
+ # An API Configuration is an association of an API Controller Config and a
86
+ # Gateway Config. For APIs with a Managed Service API Controller, this resource
87
+ # is associated with one or more Service Configs and a Service Rollout.
88
+ # Initially, this resource will extract the Gateway Config from the API
89
+ # Controller Config.
90
+ class ApigatewayApiConfig
91
+ include Google::Apis::Core::Hashable
92
+
93
+ # Output only. Created time.
94
+ # Corresponds to the JSON property `createTime`
95
+ # @return [String]
96
+ attr_accessor :create_time
97
+
98
+ # Optional. Display name.
99
+ # Corresponds to the JSON property `displayName`
100
+ # @return [String]
101
+ attr_accessor :display_name
102
+
103
+ # Configuration settings for Gateways.
104
+ # Corresponds to the JSON property `gatewayConfig`
105
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig]
106
+ attr_accessor :gateway_config
107
+
108
+ # Optional. gRPC service definition files. If specified, openapi_documents must
109
+ # not be included.
110
+ # Corresponds to the JSON property `grpcServices`
111
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition>]
112
+ attr_accessor :grpc_services
113
+
114
+ # Optional. Resource labels to represent user-provided metadata. Refer to cloud
115
+ # documentation on labels for more details. https://cloud.google.com/compute/
116
+ # docs/labeling-resources
117
+ # Corresponds to the JSON property `labels`
118
+ # @return [Hash<String,String>]
119
+ attr_accessor :labels
120
+
121
+ # Optional. Service Configuration files. At least one must be included when
122
+ # using gRPC service definitions. See https: //cloud.google.com/endpoints/docs/
123
+ # grpc/g // rpc-service-config#service_configuration_overview for the expected
124
+ # file contents. If multiple files are specified, the files are merged with the
125
+ # following rules: * All singular scalar fields are merged using "last one wins"
126
+ # semantics in the order of the files uploaded. * Repeated fields are
127
+ # concatenated. * Singular embedded messages are merged using these rules for
128
+ # nested fields.
129
+ # Corresponds to the JSON property `managedServiceConfigs`
130
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile>]
131
+ attr_accessor :managed_service_configs
132
+
133
+ # Output only. Resource name of the API Config. Format: projects/`project`/
134
+ # locations/global/apis/`api`/configs/`api_config`
135
+ # Corresponds to the JSON property `name`
136
+ # @return [String]
137
+ attr_accessor :name
138
+
139
+ # Optional. OpenAPI specification documents. If specified, grpc_services and
140
+ # managed_service_config must not be included.
141
+ # Corresponds to the JSON property `openapiDocuments`
142
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfigOpenApiDocument>]
143
+ attr_accessor :openapi_documents
144
+
145
+ # Output only. The ID of the associated Service Config ( https://cloud.google.
146
+ # com/service-infrastructure/docs/glossary#config).
147
+ # Corresponds to the JSON property `serviceConfigId`
148
+ # @return [String]
149
+ attr_accessor :service_config_id
150
+
151
+ # Output only. State of the API Config.
152
+ # Corresponds to the JSON property `state`
153
+ # @return [String]
154
+ attr_accessor :state
155
+
156
+ # Output only. Updated time.
157
+ # Corresponds to the JSON property `updateTime`
158
+ # @return [String]
159
+ attr_accessor :update_time
160
+
161
+ def initialize(**args)
162
+ update!(**args)
163
+ end
164
+
165
+ # Update properties of this object
166
+ def update!(**args)
167
+ @create_time = args[:create_time] if args.key?(:create_time)
168
+ @display_name = args[:display_name] if args.key?(:display_name)
169
+ @gateway_config = args[:gateway_config] if args.key?(:gateway_config)
170
+ @grpc_services = args[:grpc_services] if args.key?(:grpc_services)
171
+ @labels = args[:labels] if args.key?(:labels)
172
+ @managed_service_configs = args[:managed_service_configs] if args.key?(:managed_service_configs)
173
+ @name = args[:name] if args.key?(:name)
174
+ @openapi_documents = args[:openapi_documents] if args.key?(:openapi_documents)
175
+ @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
176
+ @state = args[:state] if args.key?(:state)
177
+ @update_time = args[:update_time] if args.key?(:update_time)
178
+ end
179
+ end
180
+
181
+ # A lightweight description of a file.
182
+ class ApigatewayApiConfigFile
183
+ include Google::Apis::Core::Hashable
184
+
185
+ # The bytes that constitute the file.
186
+ # Corresponds to the JSON property `contents`
187
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
188
+ # @return [String]
189
+ attr_accessor :contents
190
+
191
+ # The file path (full or relative path). This is typically the path of the file
192
+ # when it is uploaded.
193
+ # Corresponds to the JSON property `path`
194
+ # @return [String]
195
+ attr_accessor :path
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ @contents = args[:contents] if args.key?(:contents)
204
+ @path = args[:path] if args.key?(:path)
205
+ end
206
+ end
207
+
208
+ # A gRPC service definition.
209
+ class ApigatewayApiConfigGrpcServiceDefinition
210
+ include Google::Apis::Core::Hashable
211
+
212
+ # A lightweight description of a file.
213
+ # Corresponds to the JSON property `fileDescriptorSet`
214
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile]
215
+ attr_accessor :file_descriptor_set
216
+
217
+ # Optional. Uncompiled proto files associated with the descriptor set, used for
218
+ # display purposes (server-side compilation is not supported). These should
219
+ # match the inputs to 'protoc' command used to generate file_descriptor_set.
220
+ # Corresponds to the JSON property `source`
221
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile>]
222
+ attr_accessor :source
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @file_descriptor_set = args[:file_descriptor_set] if args.key?(:file_descriptor_set)
231
+ @source = args[:source] if args.key?(:source)
232
+ end
233
+ end
234
+
235
+ # An OpenAPI Specification Document describing an API.
236
+ class ApigatewayApiConfigOpenApiDocument
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # A lightweight description of a file.
240
+ # Corresponds to the JSON property `document`
241
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile]
242
+ attr_accessor :document
243
+
244
+ def initialize(**args)
245
+ update!(**args)
246
+ end
247
+
248
+ # Update properties of this object
249
+ def update!(**args)
250
+ @document = args[:document] if args.key?(:document)
251
+ end
252
+ end
253
+
254
+ # Specifies the audit configuration for a service. The configuration determines
255
+ # which permission types are logged, and what identities, if any, are exempted
256
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
257
+ # are AuditConfigs for both `allServices` and a specific service, the union of
258
+ # the two AuditConfigs is used for that service: the log_types specified in each
259
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
260
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
261
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
262
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
263
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
264
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
265
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
266
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
267
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
268
+ # DATA_WRITE logging.
269
+ class ApigatewayAuditConfig
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # The configuration for logging of each type of permission.
273
+ # Corresponds to the JSON property `auditLogConfigs`
274
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayAuditLogConfig>]
275
+ attr_accessor :audit_log_configs
276
+
277
+ # Specifies a service that will be enabled for audit logging. For example, `
278
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
279
+ # value that covers all services.
280
+ # Corresponds to the JSON property `service`
281
+ # @return [String]
282
+ attr_accessor :service
283
+
284
+ def initialize(**args)
285
+ update!(**args)
286
+ end
287
+
288
+ # Update properties of this object
289
+ def update!(**args)
290
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
291
+ @service = args[:service] if args.key?(:service)
292
+ end
293
+ end
294
+
295
+ # Provides the configuration for logging a type of permissions. Example: ` "
296
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
297
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
298
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
299
+ # DATA_READ logging.
300
+ class ApigatewayAuditLogConfig
301
+ include Google::Apis::Core::Hashable
302
+
303
+ # Specifies the identities that do not cause logging for this type of permission.
304
+ # Follows the same format of Binding.members.
305
+ # Corresponds to the JSON property `exemptedMembers`
306
+ # @return [Array<String>]
307
+ attr_accessor :exempted_members
308
+
309
+ # The log type that this config enables.
310
+ # Corresponds to the JSON property `logType`
311
+ # @return [String]
312
+ attr_accessor :log_type
313
+
314
+ def initialize(**args)
315
+ update!(**args)
316
+ end
317
+
318
+ # Update properties of this object
319
+ def update!(**args)
320
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
321
+ @log_type = args[:log_type] if args.key?(:log_type)
322
+ end
323
+ end
324
+
325
+ # Configuration for a backend.
326
+ class ApigatewayBackendConfig
327
+ include Google::Apis::Core::Hashable
328
+
329
+ # Google Cloud IAM service account used to sign OIDC tokens for backends that
330
+ # have authentication configured (https: //cloud.google.com/service-
331
+ # infrastructur // e/docs/service-management/reference/rest/v1/services.configs#
332
+ # backend). This may either be the Service Account's email (i.e. "`ACCOUNT_ID`@`
333
+ # PROJECT`.iam.gserviceaccount.com") or its full resource name (i.e. "projects/`
334
+ # PROJECT`/accounts/`UNIQUE_ID`"). This is most often used when the backend is a
335
+ # GCP resource such as a Cloud Run Service or an IAP-secured service. Note that
336
+ # this token is always sent as an authorization header bearer token. The
337
+ # audience of the OIDC token is configured in the associated Service Config in
338
+ # the BackendRule option (https: //github.com/googleapis/googleapis/blob/ //
339
+ # master/google/api/backend.proto#L125).
340
+ # Corresponds to the JSON property `googleServiceAccount`
341
+ # @return [String]
342
+ attr_accessor :google_service_account
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @google_service_account = args[:google_service_account] if args.key?(:google_service_account)
351
+ end
352
+ end
353
+
354
+ # Associates `members` with a `role`.
355
+ class ApigatewayBinding
356
+ include Google::Apis::Core::Hashable
357
+
358
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
359
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
360
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
361
+ # "Summary size limit" description: "Determines if a summary is less than 100
362
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
363
+ # Requestor is owner" description: "Determines if requestor is the document
364
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
365
+ # Logic): title: "Public documents" description: "Determine whether the document
366
+ # should be publicly visible" expression: "document.type != 'private' &&
367
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
368
+ # string" description: "Create a notification string with a timestamp."
369
+ # expression: "'New message received at ' + string(document.create_time)" The
370
+ # exact variables and functions that may be referenced within an expression are
371
+ # determined by the service that evaluates it. See the service documentation for
372
+ # additional information.
373
+ # Corresponds to the JSON property `condition`
374
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayExpr]
375
+ attr_accessor :condition
376
+
377
+ # Specifies the identities requesting access for a Cloud Platform resource. `
378
+ # members` can have the following values: * `allUsers`: A special identifier
379
+ # that represents anyone who is on the internet; with or without a Google
380
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
381
+ # anyone who is authenticated with a Google account or a service account. * `
382
+ # user:`emailid``: An email address that represents a specific Google account.
383
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
384
+ # address that represents a service account. For example, `my-other-app@appspot.
385
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
386
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
387
+ # `uniqueid``: An email address (plus unique identifier) representing a user
388
+ # that has been recently deleted. For example, `alice@example.com?uid=
389
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
390
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
391
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
392
+ # identifier) representing a service account that has been recently deleted. For
393
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
394
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
395
+ # emailid`` and the undeleted service account retains the role in the binding. *
396
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
397
+ # identifier) representing a Google group that has been recently deleted. For
398
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
399
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
400
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
401
+ # primary) that represents all the users of that domain. For example, `google.
402
+ # com` or `example.com`.
403
+ # Corresponds to the JSON property `members`
404
+ # @return [Array<String>]
405
+ attr_accessor :members
406
+
407
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
408
+ # , or `roles/owner`.
409
+ # Corresponds to the JSON property `role`
410
+ # @return [String]
411
+ attr_accessor :role
412
+
413
+ def initialize(**args)
414
+ update!(**args)
415
+ end
416
+
417
+ # Update properties of this object
418
+ def update!(**args)
419
+ @condition = args[:condition] if args.key?(:condition)
420
+ @members = args[:members] if args.key?(:members)
421
+ @role = args[:role] if args.key?(:role)
422
+ end
423
+ end
424
+
425
+ # The request message for Operations.CancelOperation.
426
+ class ApigatewayCancelOperationRequest
427
+ include Google::Apis::Core::Hashable
428
+
429
+ def initialize(**args)
430
+ update!(**args)
431
+ end
432
+
433
+ # Update properties of this object
434
+ def update!(**args)
435
+ end
436
+ end
437
+
438
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
439
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
440
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
441
+ # "Summary size limit" description: "Determines if a summary is less than 100
442
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
443
+ # Requestor is owner" description: "Determines if requestor is the document
444
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
445
+ # Logic): title: "Public documents" description: "Determine whether the document
446
+ # should be publicly visible" expression: "document.type != 'private' &&
447
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
448
+ # string" description: "Create a notification string with a timestamp."
449
+ # expression: "'New message received at ' + string(document.create_time)" The
450
+ # exact variables and functions that may be referenced within an expression are
451
+ # determined by the service that evaluates it. See the service documentation for
452
+ # additional information.
453
+ class ApigatewayExpr
454
+ include Google::Apis::Core::Hashable
455
+
456
+ # Optional. Description of the expression. This is a longer text which describes
457
+ # the expression, e.g. when hovered over it in a UI.
458
+ # Corresponds to the JSON property `description`
459
+ # @return [String]
460
+ attr_accessor :description
461
+
462
+ # Textual representation of an expression in Common Expression Language syntax.
463
+ # Corresponds to the JSON property `expression`
464
+ # @return [String]
465
+ attr_accessor :expression
466
+
467
+ # Optional. String indicating the location of the expression for error reporting,
468
+ # e.g. a file name and a position in the file.
469
+ # Corresponds to the JSON property `location`
470
+ # @return [String]
471
+ attr_accessor :location
472
+
473
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
474
+ # This can be used e.g. in UIs which allow to enter the expression.
475
+ # Corresponds to the JSON property `title`
476
+ # @return [String]
477
+ attr_accessor :title
478
+
479
+ def initialize(**args)
480
+ update!(**args)
481
+ end
482
+
483
+ # Update properties of this object
484
+ def update!(**args)
485
+ @description = args[:description] if args.key?(:description)
486
+ @expression = args[:expression] if args.key?(:expression)
487
+ @location = args[:location] if args.key?(:location)
488
+ @title = args[:title] if args.key?(:title)
489
+ end
490
+ end
491
+
492
+ # A Gateway is an API-aware HTTP proxy. It performs API-Method and/or API-
493
+ # Consumer specific actions based on an API Config such as authentication,
494
+ # policy enforcement, and backend selection.
495
+ class ApigatewayGateway
496
+ include Google::Apis::Core::Hashable
497
+
498
+ # Required. Resource name of the API Config for this Gateway. Format: projects/`
499
+ # project`/locations/global/apis/`api`/configs/`apiConfig`
500
+ # Corresponds to the JSON property `apiConfig`
501
+ # @return [String]
502
+ attr_accessor :api_config
503
+
504
+ # Output only. Created time.
505
+ # Corresponds to the JSON property `createTime`
506
+ # @return [String]
507
+ attr_accessor :create_time
508
+
509
+ # Output only. The default API Gateway host name of the form ``gateway_id`-`hash`
510
+ # .`region_code`.gateway.dev`.
511
+ # Corresponds to the JSON property `defaultHostname`
512
+ # @return [String]
513
+ attr_accessor :default_hostname
514
+
515
+ # Optional. Display name.
516
+ # Corresponds to the JSON property `displayName`
517
+ # @return [String]
518
+ attr_accessor :display_name
519
+
520
+ # Optional. Resource labels to represent user-provided metadata. Refer to cloud
521
+ # documentation on labels for more details. https://cloud.google.com/compute/
522
+ # docs/labeling-resources
523
+ # Corresponds to the JSON property `labels`
524
+ # @return [Hash<String,String>]
525
+ attr_accessor :labels
526
+
527
+ # Output only. Resource name of the Gateway. Format: projects/`project`/
528
+ # locations/`location`/gateways/`gateway`
529
+ # Corresponds to the JSON property `name`
530
+ # @return [String]
531
+ attr_accessor :name
532
+
533
+ # Output only. The current state of the Gateway.
534
+ # Corresponds to the JSON property `state`
535
+ # @return [String]
536
+ attr_accessor :state
537
+
538
+ # Output only. Updated time.
539
+ # Corresponds to the JSON property `updateTime`
540
+ # @return [String]
541
+ attr_accessor :update_time
542
+
543
+ def initialize(**args)
544
+ update!(**args)
545
+ end
546
+
547
+ # Update properties of this object
548
+ def update!(**args)
549
+ @api_config = args[:api_config] if args.key?(:api_config)
550
+ @create_time = args[:create_time] if args.key?(:create_time)
551
+ @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
552
+ @display_name = args[:display_name] if args.key?(:display_name)
553
+ @labels = args[:labels] if args.key?(:labels)
554
+ @name = args[:name] if args.key?(:name)
555
+ @state = args[:state] if args.key?(:state)
556
+ @update_time = args[:update_time] if args.key?(:update_time)
557
+ end
558
+ end
559
+
560
+ # Configuration settings for Gateways.
561
+ class ApigatewayGatewayConfig
562
+ include Google::Apis::Core::Hashable
563
+
564
+ # Configuration for a backend.
565
+ # Corresponds to the JSON property `backendConfig`
566
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig]
567
+ attr_accessor :backend_config
568
+
569
+ def initialize(**args)
570
+ update!(**args)
571
+ end
572
+
573
+ # Update properties of this object
574
+ def update!(**args)
575
+ @backend_config = args[:backend_config] if args.key?(:backend_config)
576
+ end
577
+ end
578
+
579
+ # Response message for ApiGatewayService.ListApiConfigs
580
+ class ApigatewayListApiConfigsResponse
581
+ include Google::Apis::Core::Hashable
582
+
583
+ # API Configs.
584
+ # Corresponds to the JSON property `apiConfigs`
585
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfig>]
586
+ attr_accessor :api_configs
587
+
588
+ # Next page token.
589
+ # Corresponds to the JSON property `nextPageToken`
590
+ # @return [String]
591
+ attr_accessor :next_page_token
592
+
593
+ # Locations that could not be reached.
594
+ # Corresponds to the JSON property `unreachableLocations`
595
+ # @return [Array<String>]
596
+ attr_accessor :unreachable_locations
597
+
598
+ def initialize(**args)
599
+ update!(**args)
600
+ end
601
+
602
+ # Update properties of this object
603
+ def update!(**args)
604
+ @api_configs = args[:api_configs] if args.key?(:api_configs)
605
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
606
+ @unreachable_locations = args[:unreachable_locations] if args.key?(:unreachable_locations)
607
+ end
608
+ end
609
+
610
+ # Response message for ApiGatewayService.ListApis
611
+ class ApigatewayListApisResponse
612
+ include Google::Apis::Core::Hashable
613
+
614
+ # APIs.
615
+ # Corresponds to the JSON property `apis`
616
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApi>]
617
+ attr_accessor :apis
618
+
619
+ # Next page token.
620
+ # Corresponds to the JSON property `nextPageToken`
621
+ # @return [String]
622
+ attr_accessor :next_page_token
623
+
624
+ # Locations that could not be reached.
625
+ # Corresponds to the JSON property `unreachableLocations`
626
+ # @return [Array<String>]
627
+ attr_accessor :unreachable_locations
628
+
629
+ def initialize(**args)
630
+ update!(**args)
631
+ end
632
+
633
+ # Update properties of this object
634
+ def update!(**args)
635
+ @apis = args[:apis] if args.key?(:apis)
636
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
637
+ @unreachable_locations = args[:unreachable_locations] if args.key?(:unreachable_locations)
638
+ end
639
+ end
640
+
641
+ # Response message for ApiGatewayService.ListGateways
642
+ class ApigatewayListGatewaysResponse
643
+ include Google::Apis::Core::Hashable
644
+
645
+ # Gateways.
646
+ # Corresponds to the JSON property `gateways`
647
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayGateway>]
648
+ attr_accessor :gateways
649
+
650
+ # Next page token.
651
+ # Corresponds to the JSON property `nextPageToken`
652
+ # @return [String]
653
+ attr_accessor :next_page_token
654
+
655
+ # Locations that could not be reached.
656
+ # Corresponds to the JSON property `unreachableLocations`
657
+ # @return [Array<String>]
658
+ attr_accessor :unreachable_locations
659
+
660
+ def initialize(**args)
661
+ update!(**args)
662
+ end
663
+
664
+ # Update properties of this object
665
+ def update!(**args)
666
+ @gateways = args[:gateways] if args.key?(:gateways)
667
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
668
+ @unreachable_locations = args[:unreachable_locations] if args.key?(:unreachable_locations)
669
+ end
670
+ end
671
+
672
+ # The response message for Locations.ListLocations.
673
+ class ApigatewayListLocationsResponse
674
+ include Google::Apis::Core::Hashable
675
+
676
+ # A list of locations that matches the specified filter in the request.
677
+ # Corresponds to the JSON property `locations`
678
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayLocation>]
679
+ attr_accessor :locations
680
+
681
+ # The standard List next-page token.
682
+ # Corresponds to the JSON property `nextPageToken`
683
+ # @return [String]
684
+ attr_accessor :next_page_token
685
+
686
+ def initialize(**args)
687
+ update!(**args)
688
+ end
689
+
690
+ # Update properties of this object
691
+ def update!(**args)
692
+ @locations = args[:locations] if args.key?(:locations)
693
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
694
+ end
695
+ end
696
+
697
+ # The response message for Operations.ListOperations.
698
+ class ApigatewayListOperationsResponse
699
+ include Google::Apis::Core::Hashable
700
+
701
+ # The standard List next-page token.
702
+ # Corresponds to the JSON property `nextPageToken`
703
+ # @return [String]
704
+ attr_accessor :next_page_token
705
+
706
+ # A list of operations that matches the specified filter in the request.
707
+ # Corresponds to the JSON property `operations`
708
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayOperation>]
709
+ attr_accessor :operations
710
+
711
+ def initialize(**args)
712
+ update!(**args)
713
+ end
714
+
715
+ # Update properties of this object
716
+ def update!(**args)
717
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
718
+ @operations = args[:operations] if args.key?(:operations)
719
+ end
720
+ end
721
+
722
+ # A resource that represents Google Cloud Platform location.
723
+ class ApigatewayLocation
724
+ include Google::Apis::Core::Hashable
725
+
726
+ # The friendly name for this location, typically a nearby city name. For example,
727
+ # "Tokyo".
728
+ # Corresponds to the JSON property `displayName`
729
+ # @return [String]
730
+ attr_accessor :display_name
731
+
732
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
733
+ # region": "us-east1"`
734
+ # Corresponds to the JSON property `labels`
735
+ # @return [Hash<String,String>]
736
+ attr_accessor :labels
737
+
738
+ # The canonical id for this location. For example: `"us-east1"`.
739
+ # Corresponds to the JSON property `locationId`
740
+ # @return [String]
741
+ attr_accessor :location_id
742
+
743
+ # Service-specific metadata. For example the available capacity at the given
744
+ # location.
745
+ # Corresponds to the JSON property `metadata`
746
+ # @return [Hash<String,Object>]
747
+ attr_accessor :metadata
748
+
749
+ # Resource name for the location, which may vary between implementations. For
750
+ # example: `"projects/example-project/locations/us-east1"`
751
+ # Corresponds to the JSON property `name`
752
+ # @return [String]
753
+ attr_accessor :name
754
+
755
+ def initialize(**args)
756
+ update!(**args)
757
+ end
758
+
759
+ # Update properties of this object
760
+ def update!(**args)
761
+ @display_name = args[:display_name] if args.key?(:display_name)
762
+ @labels = args[:labels] if args.key?(:labels)
763
+ @location_id = args[:location_id] if args.key?(:location_id)
764
+ @metadata = args[:metadata] if args.key?(:metadata)
765
+ @name = args[:name] if args.key?(:name)
766
+ end
767
+ end
768
+
769
+ # This resource represents a long-running operation that is the result of a
770
+ # network API call.
771
+ class ApigatewayOperation
772
+ include Google::Apis::Core::Hashable
773
+
774
+ # If the value is `false`, it means the operation is still in progress. If `true`
775
+ # , the operation is completed, and either `error` or `response` is available.
776
+ # Corresponds to the JSON property `done`
777
+ # @return [Boolean]
778
+ attr_accessor :done
779
+ alias_method :done?, :done
780
+
781
+ # The `Status` type defines a logical error model that is suitable for different
782
+ # programming environments, including REST APIs and RPC APIs. It is used by [
783
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
784
+ # data: error code, error message, and error details. You can find out more
785
+ # about this error model and how to work with it in the [API Design Guide](https:
786
+ # //cloud.google.com/apis/design/errors).
787
+ # Corresponds to the JSON property `error`
788
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayStatus]
789
+ attr_accessor :error
790
+
791
+ # Service-specific metadata associated with the operation. It typically contains
792
+ # progress information and common metadata such as create time. Some services
793
+ # might not provide such metadata. Any method that returns a long-running
794
+ # operation should document the metadata type, if any.
795
+ # Corresponds to the JSON property `metadata`
796
+ # @return [Hash<String,Object>]
797
+ attr_accessor :metadata
798
+
799
+ # The server-assigned name, which is only unique within the same service that
800
+ # originally returns it. If you use the default HTTP mapping, the `name` should
801
+ # be a resource name ending with `operations/`unique_id``.
802
+ # Corresponds to the JSON property `name`
803
+ # @return [String]
804
+ attr_accessor :name
805
+
806
+ # The normal response of the operation in case of success. If the original
807
+ # method returns no data on success, such as `Delete`, the response is `google.
808
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
809
+ # the response should be the resource. For other methods, the response should
810
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
811
+ # example, if the original method name is `TakeSnapshot()`, the inferred
812
+ # response type is `TakeSnapshotResponse`.
813
+ # Corresponds to the JSON property `response`
814
+ # @return [Hash<String,Object>]
815
+ attr_accessor :response
816
+
817
+ def initialize(**args)
818
+ update!(**args)
819
+ end
820
+
821
+ # Update properties of this object
822
+ def update!(**args)
823
+ @done = args[:done] if args.key?(:done)
824
+ @error = args[:error] if args.key?(:error)
825
+ @metadata = args[:metadata] if args.key?(:metadata)
826
+ @name = args[:name] if args.key?(:name)
827
+ @response = args[:response] if args.key?(:response)
828
+ end
829
+ end
830
+
831
+ # Represents the metadata of the long-running operation.
832
+ class ApigatewayOperationMetadata
833
+ include Google::Apis::Core::Hashable
834
+
835
+ # Output only. API version used to start the operation.
836
+ # Corresponds to the JSON property `apiVersion`
837
+ # @return [String]
838
+ attr_accessor :api_version
839
+
840
+ # Output only. The time the operation was created.
841
+ # Corresponds to the JSON property `createTime`
842
+ # @return [String]
843
+ attr_accessor :create_time
844
+
845
+ # Output only. Diagnostics generated during processing of configuration source
846
+ # files.
847
+ # Corresponds to the JSON property `diagnostics`
848
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayOperationMetadataDiagnostic>]
849
+ attr_accessor :diagnostics
850
+
851
+ # Output only. The time the operation finished running.
852
+ # Corresponds to the JSON property `endTime`
853
+ # @return [String]
854
+ attr_accessor :end_time
855
+
856
+ # Output only. Identifies whether the user has requested cancellation of the
857
+ # operation. Operations that have successfully been cancelled have Operation.
858
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
859
+ # CANCELLED`.
860
+ # Corresponds to the JSON property `requestedCancellation`
861
+ # @return [Boolean]
862
+ attr_accessor :requested_cancellation
863
+ alias_method :requested_cancellation?, :requested_cancellation
864
+
865
+ # Output only. Human-readable status of the operation, if any.
866
+ # Corresponds to the JSON property `statusMessage`
867
+ # @return [String]
868
+ attr_accessor :status_message
869
+
870
+ # Output only. Server-defined resource path for the target of the operation.
871
+ # Corresponds to the JSON property `target`
872
+ # @return [String]
873
+ attr_accessor :target
874
+
875
+ # Output only. Name of the verb executed by the operation.
876
+ # Corresponds to the JSON property `verb`
877
+ # @return [String]
878
+ attr_accessor :verb
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @api_version = args[:api_version] if args.key?(:api_version)
887
+ @create_time = args[:create_time] if args.key?(:create_time)
888
+ @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
889
+ @end_time = args[:end_time] if args.key?(:end_time)
890
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
891
+ @status_message = args[:status_message] if args.key?(:status_message)
892
+ @target = args[:target] if args.key?(:target)
893
+ @verb = args[:verb] if args.key?(:verb)
894
+ end
895
+ end
896
+
897
+ # Diagnostic information from configuration processing.
898
+ class ApigatewayOperationMetadataDiagnostic
899
+ include Google::Apis::Core::Hashable
900
+
901
+ # Location of the diagnostic.
902
+ # Corresponds to the JSON property `location`
903
+ # @return [String]
904
+ attr_accessor :location
905
+
906
+ # The diagnostic message.
907
+ # Corresponds to the JSON property `message`
908
+ # @return [String]
909
+ attr_accessor :message
910
+
911
+ def initialize(**args)
912
+ update!(**args)
913
+ end
914
+
915
+ # Update properties of this object
916
+ def update!(**args)
917
+ @location = args[:location] if args.key?(:location)
918
+ @message = args[:message] if args.key?(:message)
919
+ end
920
+ end
921
+
922
+ # An Identity and Access Management (IAM) policy, which specifies access
923
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
924
+ # A `binding` binds one or more `members` to a single `role`. Members can be
925
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
926
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
927
+ # role or a user-created custom role. For some types of Google Cloud resources,
928
+ # a `binding` can also specify a `condition`, which is a logical expression that
929
+ # allows access to a resource only if the expression evaluates to `true`. A
930
+ # condition can add constraints based on attributes of the request, the resource,
931
+ # or both. To learn which resources support conditions in their IAM policies,
932
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
933
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
934
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
935
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
936
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
937
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
938
+ # title": "expirable access", "description": "Does not grant access after Sep
939
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
940
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
941
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
942
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
943
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
944
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
945
+ # description: Does not grant access after Sep 2020 expression: request.time <
946
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
947
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
948
+ # google.com/iam/docs/).
949
+ class ApigatewayPolicy
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # Specifies cloud audit logging configuration for this policy.
953
+ # Corresponds to the JSON property `auditConfigs`
954
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayAuditConfig>]
955
+ attr_accessor :audit_configs
956
+
957
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
958
+ # condition` that determines how and when the `bindings` are applied. Each of
959
+ # the `bindings` must contain at least one member.
960
+ # Corresponds to the JSON property `bindings`
961
+ # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayBinding>]
962
+ attr_accessor :bindings
963
+
964
+ # `etag` is used for optimistic concurrency control as a way to help prevent
965
+ # simultaneous updates of a policy from overwriting each other. It is strongly
966
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
967
+ # to perform policy updates in order to avoid race conditions: An `etag` is
968
+ # returned in the response to `getIamPolicy`, and systems are expected to put
969
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
970
+ # applied to the same version of the policy. **Important:** If you use IAM
971
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
972
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
973
+ # with a version `1` policy, and all of the conditions in the version `3` policy
974
+ # are lost.
975
+ # Corresponds to the JSON property `etag`
976
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
977
+ # @return [String]
978
+ attr_accessor :etag
979
+
980
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
981
+ # Requests that specify an invalid value are rejected. Any operation that
982
+ # affects conditional role bindings must specify version `3`. This requirement
983
+ # applies to the following operations: * Getting a policy that includes a
984
+ # conditional role binding * Adding a conditional role binding to a policy *
985
+ # Changing a conditional role binding in a policy * Removing any role binding,
986
+ # with or without a condition, from a policy that includes conditions **
987
+ # Important:** If you use IAM Conditions, you must include the `etag` field
988
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
989
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
990
+ # conditions in the version `3` policy are lost. If a policy does not include
991
+ # any conditions, operations on that policy may specify any valid version or
992
+ # leave the field unset. To learn which resources support conditions in their
993
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
994
+ # conditions/resource-policies).
995
+ # Corresponds to the JSON property `version`
996
+ # @return [Fixnum]
997
+ attr_accessor :version
998
+
999
+ def initialize(**args)
1000
+ update!(**args)
1001
+ end
1002
+
1003
+ # Update properties of this object
1004
+ def update!(**args)
1005
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1006
+ @bindings = args[:bindings] if args.key?(:bindings)
1007
+ @etag = args[:etag] if args.key?(:etag)
1008
+ @version = args[:version] if args.key?(:version)
1009
+ end
1010
+ end
1011
+
1012
+ # Request message for `SetIamPolicy` method.
1013
+ class ApigatewaySetIamPolicyRequest
1014
+ include Google::Apis::Core::Hashable
1015
+
1016
+ # An Identity and Access Management (IAM) policy, which specifies access
1017
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1018
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1019
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1020
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1021
+ # role or a user-created custom role. For some types of Google Cloud resources,
1022
+ # a `binding` can also specify a `condition`, which is a logical expression that
1023
+ # allows access to a resource only if the expression evaluates to `true`. A
1024
+ # condition can add constraints based on attributes of the request, the resource,
1025
+ # or both. To learn which resources support conditions in their IAM policies,
1026
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1027
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1028
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1029
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1030
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1031
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1032
+ # title": "expirable access", "description": "Does not grant access after Sep
1033
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1034
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1035
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1036
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1037
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1038
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1039
+ # description: Does not grant access after Sep 2020 expression: request.time <
1040
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1041
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1042
+ # google.com/iam/docs/).
1043
+ # Corresponds to the JSON property `policy`
1044
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
1045
+ attr_accessor :policy
1046
+
1047
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1048
+ # the fields in the mask will be modified. If no mask is provided, the following
1049
+ # default mask is used: `paths: "bindings, etag"`
1050
+ # Corresponds to the JSON property `updateMask`
1051
+ # @return [String]
1052
+ attr_accessor :update_mask
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @policy = args[:policy] if args.key?(:policy)
1061
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1062
+ end
1063
+ end
1064
+
1065
+ # The `Status` type defines a logical error model that is suitable for different
1066
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1067
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1068
+ # data: error code, error message, and error details. You can find out more
1069
+ # about this error model and how to work with it in the [API Design Guide](https:
1070
+ # //cloud.google.com/apis/design/errors).
1071
+ class ApigatewayStatus
1072
+ include Google::Apis::Core::Hashable
1073
+
1074
+ # The status code, which should be an enum value of google.rpc.Code.
1075
+ # Corresponds to the JSON property `code`
1076
+ # @return [Fixnum]
1077
+ attr_accessor :code
1078
+
1079
+ # A list of messages that carry the error details. There is a common set of
1080
+ # message types for APIs to use.
1081
+ # Corresponds to the JSON property `details`
1082
+ # @return [Array<Hash<String,Object>>]
1083
+ attr_accessor :details
1084
+
1085
+ # A developer-facing error message, which should be in English. Any user-facing
1086
+ # error message should be localized and sent in the google.rpc.Status.details
1087
+ # field, or localized by the client.
1088
+ # Corresponds to the JSON property `message`
1089
+ # @return [String]
1090
+ attr_accessor :message
1091
+
1092
+ def initialize(**args)
1093
+ update!(**args)
1094
+ end
1095
+
1096
+ # Update properties of this object
1097
+ def update!(**args)
1098
+ @code = args[:code] if args.key?(:code)
1099
+ @details = args[:details] if args.key?(:details)
1100
+ @message = args[:message] if args.key?(:message)
1101
+ end
1102
+ end
1103
+
1104
+ # Request message for `TestIamPermissions` method.
1105
+ class ApigatewayTestIamPermissionsRequest
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ # The set of permissions to check for the `resource`. Permissions with wildcards
1109
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1110
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1111
+ # Corresponds to the JSON property `permissions`
1112
+ # @return [Array<String>]
1113
+ attr_accessor :permissions
1114
+
1115
+ def initialize(**args)
1116
+ update!(**args)
1117
+ end
1118
+
1119
+ # Update properties of this object
1120
+ def update!(**args)
1121
+ @permissions = args[:permissions] if args.key?(:permissions)
1122
+ end
1123
+ end
1124
+
1125
+ # Response message for `TestIamPermissions` method.
1126
+ class ApigatewayTestIamPermissionsResponse
1127
+ include Google::Apis::Core::Hashable
1128
+
1129
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1130
+ # Corresponds to the JSON property `permissions`
1131
+ # @return [Array<String>]
1132
+ attr_accessor :permissions
1133
+
1134
+ def initialize(**args)
1135
+ update!(**args)
1136
+ end
1137
+
1138
+ # Update properties of this object
1139
+ def update!(**args)
1140
+ @permissions = args[:permissions] if args.key?(:permissions)
1141
+ end
1142
+ end
1143
+
1144
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1145
+ # messages in your APIs. A typical example is to use it as the request or the
1146
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1147
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1148
+ # `Empty` is empty JSON object ````.
1149
+ class Empty
1150
+ include Google::Apis::Core::Hashable
1151
+
1152
+ def initialize(**args)
1153
+ update!(**args)
1154
+ end
1155
+
1156
+ # Update properties of this object
1157
+ def update!(**args)
1158
+ end
1159
+ end
1160
+ end
1161
+ end
1162
+ end