google-api-client 0.44.1 → 0.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +119 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +6 -4
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  11. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  14. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  15. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  16. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  17. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  19. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  20. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  21. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  22. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  23. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  26. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  27. data/generated/google/apis/appengine_v1.rb +1 -1
  28. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  29. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  30. data/generated/google/apis/appengine_v1beta.rb +1 -1
  31. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  32. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  33. data/generated/google/apis/bigquery_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2/classes.rb +26 -0
  35. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  38. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  39. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  40. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  41. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1/classes.rb +7 -0
  43. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  44. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  45. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +7 -0
  46. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  49. data/generated/google/apis/civicinfo_v2.rb +1 -1
  50. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  51. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  52. data/generated/google/apis/cloudasset_v1.rb +1 -1
  53. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +81 -1
  57. data/generated/google/apis/cloudbuild_v1/representations.rb +22 -0
  58. data/generated/google/apis/cloudbuild_v1/service.rb +217 -3
  59. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  67. data/generated/google/apis/cloudidentity_v1/classes.rb +270 -2
  68. data/generated/google/apis/cloudidentity_v1/representations.rb +139 -0
  69. data/generated/google/apis/cloudidentity_v1/service.rb +759 -0
  70. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +20 -7
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  74. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  77. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  78. data/generated/google/apis/cloudresourcemanager_v1/service.rb +59 -57
  79. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  81. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +23 -22
  83. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  85. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  86. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  88. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  89. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +18 -18
  92. data/generated/google/apis/container_v1.rb +1 -1
  93. data/generated/google/apis/container_v1/classes.rb +57 -2
  94. data/generated/google/apis/container_v1/representations.rb +7 -0
  95. data/generated/google/apis/container_v1beta1.rb +1 -1
  96. data/generated/google/apis/container_v1beta1/classes.rb +52 -8
  97. data/generated/google/apis/container_v1beta1/representations.rb +6 -0
  98. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  99. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  100. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  101. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  102. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  103. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  104. data/generated/google/apis/content_v2.rb +1 -1
  105. data/generated/google/apis/content_v2/classes.rb +2 -1
  106. data/generated/google/apis/content_v2_1.rb +1 -1
  107. data/generated/google/apis/content_v2_1/classes.rb +14 -3
  108. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  109. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  110. data/generated/google/apis/datacatalog_v1beta1/classes.rb +7 -0
  111. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  112. data/generated/google/apis/datafusion_v1.rb +1 -1
  113. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  114. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  115. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  116. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  117. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/dataproc_v1.rb +1 -1
  119. data/generated/google/apis/dataproc_v1/classes.rb +22 -9
  120. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  121. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  122. data/generated/google/apis/dataproc_v1beta2/classes.rb +22 -9
  123. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  124. data/generated/google/apis/dialogflow_v2.rb +1 -1
  125. data/generated/google/apis/dialogflow_v2/classes.rb +42 -26
  126. data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/dialogflow_v2beta1/classes.rb +53 -34
  129. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  130. data/generated/google/apis/dialogflow_v2beta1/service.rb +458 -320
  131. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  132. data/generated/google/apis/dialogflow_v3beta1/classes.rb +42 -33
  133. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -1
  134. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  135. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  136. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  137. data/generated/google/apis/displayvideo_v1.rb +1 -1
  138. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  139. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  140. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  141. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  142. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  143. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  144. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  145. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  146. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  147. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  148. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  149. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  150. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +5 -5
  153. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  154. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  155. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  156. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  157. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  158. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  160. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  161. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  162. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  163. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  164. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  165. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  166. data/generated/google/apis/firebasehosting_v1beta1/service.rb +414 -0
  167. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  168. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  169. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  170. data/generated/google/apis/firestore_v1.rb +1 -1
  171. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  172. data/generated/google/apis/fitness_v1.rb +3 -3
  173. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  174. data/generated/google/apis/games_v1.rb +1 -1
  175. data/generated/google/apis/gameservices_v1.rb +1 -1
  176. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  177. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  178. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  179. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  180. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  181. data/generated/google/apis/healthcare_v1.rb +1 -1
  182. data/generated/google/apis/healthcare_v1/classes.rb +72 -0
  183. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  184. data/generated/google/apis/healthcare_v1/service.rb +182 -16
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/service.rb +231 -16
  187. data/generated/google/apis/homegraph_v1.rb +4 -1
  188. data/generated/google/apis/iam_v1.rb +1 -1
  189. data/generated/google/apis/iam_v1/classes.rb +7 -0
  190. data/generated/google/apis/iam_v1/representations.rb +1 -0
  191. data/generated/google/apis/iap_v1.rb +1 -1
  192. data/generated/google/apis/iap_v1/classes.rb +7 -0
  193. data/generated/google/apis/iap_v1/representations.rb +1 -0
  194. data/generated/google/apis/iap_v1beta1.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  196. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  197. data/generated/google/apis/jobs_v2.rb +1 -1
  198. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  199. data/generated/google/apis/jobs_v2/service.rb +85 -126
  200. data/generated/google/apis/jobs_v3.rb +1 -1
  201. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  202. data/generated/google/apis/jobs_v3/service.rb +101 -139
  203. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  204. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  205. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  206. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  207. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  208. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  209. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  210. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  211. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  212. data/generated/google/apis/ml_v1.rb +1 -1
  213. data/generated/google/apis/ml_v1/classes.rb +7 -0
  214. data/generated/google/apis/ml_v1/representations.rb +1 -0
  215. data/generated/google/apis/ml_v1/service.rb +1 -1
  216. data/generated/google/apis/monitoring_v1.rb +1 -1
  217. data/generated/google/apis/monitoring_v1/classes.rb +9 -5
  218. data/generated/google/apis/osconfig_v1.rb +1 -1
  219. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  220. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  221. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  222. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  223. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  224. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  225. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  226. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  227. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  228. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  229. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  230. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  231. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  234. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  235. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  236. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  237. data/generated/google/apis/secretmanager_v1.rb +1 -1
  238. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  239. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  240. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  241. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  242. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  243. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  244. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  245. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  246. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  247. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  248. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  249. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  250. data/generated/google/apis/sql_v1beta4.rb +1 -1
  251. data/generated/google/apis/storage_v1.rb +1 -1
  252. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  253. data/generated/google/apis/sts_v1.rb +32 -0
  254. data/generated/google/apis/sts_v1/classes.rb +120 -0
  255. data/generated/google/apis/sts_v1/representations.rb +59 -0
  256. data/generated/google/apis/sts_v1/service.rb +90 -0
  257. data/generated/google/apis/sts_v1beta.rb +32 -0
  258. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  259. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  260. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  261. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  262. data/generated/google/apis/tpu_v1.rb +1 -1
  263. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  264. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  265. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  266. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  267. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  268. data/generated/google/apis/vault_v1.rb +1 -1
  269. data/generated/google/apis/vault_v1/classes.rb +80 -103
  270. data/generated/google/apis/vault_v1/service.rb +31 -37
  271. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  272. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  273. data/generated/google/apis/videointelligence_v1.rb +1 -1
  274. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  275. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  276. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  277. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  278. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  279. data/generated/google/apis/vision_v1.rb +1 -1
  280. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  281. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  282. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  283. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  284. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  285. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_v3.rb +1 -1
  288. data/generated/google/apis/youtube_v3/service.rb +78 -78
  289. data/google-api-client.gemspec +2 -1
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +54 -4
@@ -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-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200817'
28
+ REVISION = '20200909'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -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_v1alpha1/service.rb'
16
+ require 'google/apis/apigateway_v1alpha1/classes.rb'
17
+ require 'google/apis/apigateway_v1alpha1/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 ApigatewayV1alpha1
27
+ VERSION = 'V1alpha1'
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,633 @@
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 ApigatewayV1alpha1
24
+
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
40
+ class ApigatewayAuditConfig
41
+ include Google::Apis::Core::Hashable
42
+
43
+ # The configuration for logging of each type of permission.
44
+ # Corresponds to the JSON property `auditLogConfigs`
45
+ # @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayAuditLogConfig>]
46
+ attr_accessor :audit_log_configs
47
+
48
+ # Specifies a service that will be enabled for audit logging. For example, `
49
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
+ # value that covers all services.
51
+ # Corresponds to the JSON property `service`
52
+ # @return [String]
53
+ attr_accessor :service
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
+ @service = args[:service] if args.key?(:service)
63
+ end
64
+ end
65
+
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
71
+ class ApigatewayAuditLogConfig
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Specifies the identities that do not cause logging for this type of permission.
75
+ # Follows the same format of Binding.members.
76
+ # Corresponds to the JSON property `exemptedMembers`
77
+ # @return [Array<String>]
78
+ attr_accessor :exempted_members
79
+
80
+ # The log type that this config enables.
81
+ # Corresponds to the JSON property `logType`
82
+ # @return [String]
83
+ attr_accessor :log_type
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
+ @log_type = args[:log_type] if args.key?(:log_type)
93
+ end
94
+ end
95
+
96
+ # Associates `members` with a `role`.
97
+ class ApigatewayBinding
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
102
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
+ # "Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
115
+ # Corresponds to the JSON property `condition`
116
+ # @return [Google::Apis::ApigatewayV1alpha1::ApigatewayExpr]
117
+ attr_accessor :condition
118
+
119
+ # Specifies the identities requesting access for a Cloud Platform resource. `
120
+ # members` can have the following values: * `allUsers`: A special identifier
121
+ # that represents anyone who is on the internet; with or without a Google
122
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
123
+ # anyone who is authenticated with a Google account or a service account. * `
124
+ # user:`emailid``: An email address that represents a specific Google account.
125
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
+ # address that represents a service account. For example, `my-other-app@appspot.
127
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
+ # `uniqueid``: An email address (plus unique identifier) representing a user
130
+ # that has been recently deleted. For example, `alice@example.com?uid=
131
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
+ # identifier) representing a service account that has been recently deleted. For
135
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
137
+ # emailid`` and the undeleted service account retains the role in the binding. *
138
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
139
+ # identifier) representing a Google group that has been recently deleted. For
140
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
141
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
142
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
+ # primary) that represents all the users of that domain. For example, `google.
144
+ # com` or `example.com`.
145
+ # Corresponds to the JSON property `members`
146
+ # @return [Array<String>]
147
+ attr_accessor :members
148
+
149
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
+ # , or `roles/owner`.
151
+ # Corresponds to the JSON property `role`
152
+ # @return [String]
153
+ attr_accessor :role
154
+
155
+ def initialize(**args)
156
+ update!(**args)
157
+ end
158
+
159
+ # Update properties of this object
160
+ def update!(**args)
161
+ @condition = args[:condition] if args.key?(:condition)
162
+ @members = args[:members] if args.key?(:members)
163
+ @role = args[:role] if args.key?(:role)
164
+ end
165
+ end
166
+
167
+ # The request message for Operations.CancelOperation.
168
+ class ApigatewayCancelOperationRequest
169
+ include Google::Apis::Core::Hashable
170
+
171
+ def initialize(**args)
172
+ update!(**args)
173
+ end
174
+
175
+ # Update properties of this object
176
+ def update!(**args)
177
+ end
178
+ end
179
+
180
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
181
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
182
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
183
+ # "Summary size limit" description: "Determines if a summary is less than 100
184
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
185
+ # Requestor is owner" description: "Determines if requestor is the document
186
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
187
+ # Logic): title: "Public documents" description: "Determine whether the document
188
+ # should be publicly visible" expression: "document.type != 'private' &&
189
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
190
+ # string" description: "Create a notification string with a timestamp."
191
+ # expression: "'New message received at ' + string(document.create_time)" The
192
+ # exact variables and functions that may be referenced within an expression are
193
+ # determined by the service that evaluates it. See the service documentation for
194
+ # additional information.
195
+ class ApigatewayExpr
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # Optional. Description of the expression. This is a longer text which describes
199
+ # the expression, e.g. when hovered over it in a UI.
200
+ # Corresponds to the JSON property `description`
201
+ # @return [String]
202
+ attr_accessor :description
203
+
204
+ # Textual representation of an expression in Common Expression Language syntax.
205
+ # Corresponds to the JSON property `expression`
206
+ # @return [String]
207
+ attr_accessor :expression
208
+
209
+ # Optional. String indicating the location of the expression for error reporting,
210
+ # e.g. a file name and a position in the file.
211
+ # Corresponds to the JSON property `location`
212
+ # @return [String]
213
+ attr_accessor :location
214
+
215
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
216
+ # This can be used e.g. in UIs which allow to enter the expression.
217
+ # Corresponds to the JSON property `title`
218
+ # @return [String]
219
+ attr_accessor :title
220
+
221
+ def initialize(**args)
222
+ update!(**args)
223
+ end
224
+
225
+ # Update properties of this object
226
+ def update!(**args)
227
+ @description = args[:description] if args.key?(:description)
228
+ @expression = args[:expression] if args.key?(:expression)
229
+ @location = args[:location] if args.key?(:location)
230
+ @title = args[:title] if args.key?(:title)
231
+ end
232
+ end
233
+
234
+ # The response message for Locations.ListLocations.
235
+ class ApigatewayListLocationsResponse
236
+ include Google::Apis::Core::Hashable
237
+
238
+ # A list of locations that matches the specified filter in the request.
239
+ # Corresponds to the JSON property `locations`
240
+ # @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayLocation>]
241
+ attr_accessor :locations
242
+
243
+ # The standard List next-page token.
244
+ # Corresponds to the JSON property `nextPageToken`
245
+ # @return [String]
246
+ attr_accessor :next_page_token
247
+
248
+ def initialize(**args)
249
+ update!(**args)
250
+ end
251
+
252
+ # Update properties of this object
253
+ def update!(**args)
254
+ @locations = args[:locations] if args.key?(:locations)
255
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
256
+ end
257
+ end
258
+
259
+ # The response message for Operations.ListOperations.
260
+ class ApigatewayListOperationsResponse
261
+ include Google::Apis::Core::Hashable
262
+
263
+ # The standard List next-page token.
264
+ # Corresponds to the JSON property `nextPageToken`
265
+ # @return [String]
266
+ attr_accessor :next_page_token
267
+
268
+ # A list of operations that matches the specified filter in the request.
269
+ # Corresponds to the JSON property `operations`
270
+ # @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayOperation>]
271
+ attr_accessor :operations
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
280
+ @operations = args[:operations] if args.key?(:operations)
281
+ end
282
+ end
283
+
284
+ # A resource that represents Google Cloud Platform location.
285
+ class ApigatewayLocation
286
+ include Google::Apis::Core::Hashable
287
+
288
+ # The friendly name for this location, typically a nearby city name. For example,
289
+ # "Tokyo".
290
+ # Corresponds to the JSON property `displayName`
291
+ # @return [String]
292
+ attr_accessor :display_name
293
+
294
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
295
+ # region": "us-east1"`
296
+ # Corresponds to the JSON property `labels`
297
+ # @return [Hash<String,String>]
298
+ attr_accessor :labels
299
+
300
+ # The canonical id for this location. For example: `"us-east1"`.
301
+ # Corresponds to the JSON property `locationId`
302
+ # @return [String]
303
+ attr_accessor :location_id
304
+
305
+ # Service-specific metadata. For example the available capacity at the given
306
+ # location.
307
+ # Corresponds to the JSON property `metadata`
308
+ # @return [Hash<String,Object>]
309
+ attr_accessor :metadata
310
+
311
+ # Resource name for the location, which may vary between implementations. For
312
+ # example: `"projects/example-project/locations/us-east1"`
313
+ # Corresponds to the JSON property `name`
314
+ # @return [String]
315
+ attr_accessor :name
316
+
317
+ def initialize(**args)
318
+ update!(**args)
319
+ end
320
+
321
+ # Update properties of this object
322
+ def update!(**args)
323
+ @display_name = args[:display_name] if args.key?(:display_name)
324
+ @labels = args[:labels] if args.key?(:labels)
325
+ @location_id = args[:location_id] if args.key?(:location_id)
326
+ @metadata = args[:metadata] if args.key?(:metadata)
327
+ @name = args[:name] if args.key?(:name)
328
+ end
329
+ end
330
+
331
+ # This resource represents a long-running operation that is the result of a
332
+ # network API call.
333
+ class ApigatewayOperation
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # If the value is `false`, it means the operation is still in progress. If `true`
337
+ # , the operation is completed, and either `error` or `response` is available.
338
+ # Corresponds to the JSON property `done`
339
+ # @return [Boolean]
340
+ attr_accessor :done
341
+ alias_method :done?, :done
342
+
343
+ # The `Status` type defines a logical error model that is suitable for different
344
+ # programming environments, including REST APIs and RPC APIs. It is used by [
345
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
346
+ # data: error code, error message, and error details. You can find out more
347
+ # about this error model and how to work with it in the [API Design Guide](https:
348
+ # //cloud.google.com/apis/design/errors).
349
+ # Corresponds to the JSON property `error`
350
+ # @return [Google::Apis::ApigatewayV1alpha1::ApigatewayStatus]
351
+ attr_accessor :error
352
+
353
+ # Service-specific metadata associated with the operation. It typically contains
354
+ # progress information and common metadata such as create time. Some services
355
+ # might not provide such metadata. Any method that returns a long-running
356
+ # operation should document the metadata type, if any.
357
+ # Corresponds to the JSON property `metadata`
358
+ # @return [Hash<String,Object>]
359
+ attr_accessor :metadata
360
+
361
+ # The server-assigned name, which is only unique within the same service that
362
+ # originally returns it. If you use the default HTTP mapping, the `name` should
363
+ # be a resource name ending with `operations/`unique_id``.
364
+ # Corresponds to the JSON property `name`
365
+ # @return [String]
366
+ attr_accessor :name
367
+
368
+ # The normal response of the operation in case of success. If the original
369
+ # method returns no data on success, such as `Delete`, the response is `google.
370
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
371
+ # the response should be the resource. For other methods, the response should
372
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
373
+ # example, if the original method name is `TakeSnapshot()`, the inferred
374
+ # response type is `TakeSnapshotResponse`.
375
+ # Corresponds to the JSON property `response`
376
+ # @return [Hash<String,Object>]
377
+ attr_accessor :response
378
+
379
+ def initialize(**args)
380
+ update!(**args)
381
+ end
382
+
383
+ # Update properties of this object
384
+ def update!(**args)
385
+ @done = args[:done] if args.key?(:done)
386
+ @error = args[:error] if args.key?(:error)
387
+ @metadata = args[:metadata] if args.key?(:metadata)
388
+ @name = args[:name] if args.key?(:name)
389
+ @response = args[:response] if args.key?(:response)
390
+ end
391
+ end
392
+
393
+ # An Identity and Access Management (IAM) policy, which specifies access
394
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
395
+ # A `binding` binds one or more `members` to a single `role`. Members can be
396
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
397
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
398
+ # role or a user-created custom role. For some types of Google Cloud resources,
399
+ # a `binding` can also specify a `condition`, which is a logical expression that
400
+ # allows access to a resource only if the expression evaluates to `true`. A
401
+ # condition can add constraints based on attributes of the request, the resource,
402
+ # or both. To learn which resources support conditions in their IAM policies,
403
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
404
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
405
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
406
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
407
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
408
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
409
+ # title": "expirable access", "description": "Does not grant access after Sep
410
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
411
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
412
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
413
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
414
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
415
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
416
+ # description: Does not grant access after Sep 2020 expression: request.time <
417
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
418
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
419
+ # google.com/iam/docs/).
420
+ class ApigatewayPolicy
421
+ include Google::Apis::Core::Hashable
422
+
423
+ # Specifies cloud audit logging configuration for this policy.
424
+ # Corresponds to the JSON property `auditConfigs`
425
+ # @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayAuditConfig>]
426
+ attr_accessor :audit_configs
427
+
428
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
429
+ # condition` that determines how and when the `bindings` are applied. Each of
430
+ # the `bindings` must contain at least one member.
431
+ # Corresponds to the JSON property `bindings`
432
+ # @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayBinding>]
433
+ attr_accessor :bindings
434
+
435
+ # `etag` is used for optimistic concurrency control as a way to help prevent
436
+ # simultaneous updates of a policy from overwriting each other. It is strongly
437
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
438
+ # to perform policy updates in order to avoid race conditions: An `etag` is
439
+ # returned in the response to `getIamPolicy`, and systems are expected to put
440
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
441
+ # applied to the same version of the policy. **Important:** If you use IAM
442
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
443
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
444
+ # with a version `1` policy, and all of the conditions in the version `3` policy
445
+ # are lost.
446
+ # Corresponds to the JSON property `etag`
447
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
448
+ # @return [String]
449
+ attr_accessor :etag
450
+
451
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
452
+ # Requests that specify an invalid value are rejected. Any operation that
453
+ # affects conditional role bindings must specify version `3`. This requirement
454
+ # applies to the following operations: * Getting a policy that includes a
455
+ # conditional role binding * Adding a conditional role binding to a policy *
456
+ # Changing a conditional role binding in a policy * Removing any role binding,
457
+ # with or without a condition, from a policy that includes conditions **
458
+ # Important:** If you use IAM Conditions, you must include the `etag` field
459
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
460
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
461
+ # conditions in the version `3` policy are lost. If a policy does not include
462
+ # any conditions, operations on that policy may specify any valid version or
463
+ # leave the field unset. To learn which resources support conditions in their
464
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
465
+ # conditions/resource-policies).
466
+ # Corresponds to the JSON property `version`
467
+ # @return [Fixnum]
468
+ attr_accessor :version
469
+
470
+ def initialize(**args)
471
+ update!(**args)
472
+ end
473
+
474
+ # Update properties of this object
475
+ def update!(**args)
476
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
477
+ @bindings = args[:bindings] if args.key?(:bindings)
478
+ @etag = args[:etag] if args.key?(:etag)
479
+ @version = args[:version] if args.key?(:version)
480
+ end
481
+ end
482
+
483
+ # Request message for `SetIamPolicy` method.
484
+ class ApigatewaySetIamPolicyRequest
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # An Identity and Access Management (IAM) policy, which specifies access
488
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
489
+ # A `binding` binds one or more `members` to a single `role`. Members can be
490
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
491
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
492
+ # role or a user-created custom role. For some types of Google Cloud resources,
493
+ # a `binding` can also specify a `condition`, which is a logical expression that
494
+ # allows access to a resource only if the expression evaluates to `true`. A
495
+ # condition can add constraints based on attributes of the request, the resource,
496
+ # or both. To learn which resources support conditions in their IAM policies,
497
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
498
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
499
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
500
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
501
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
502
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
503
+ # title": "expirable access", "description": "Does not grant access after Sep
504
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
505
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
506
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
507
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
508
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
509
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
510
+ # description: Does not grant access after Sep 2020 expression: request.time <
511
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
512
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
513
+ # google.com/iam/docs/).
514
+ # Corresponds to the JSON property `policy`
515
+ # @return [Google::Apis::ApigatewayV1alpha1::ApigatewayPolicy]
516
+ attr_accessor :policy
517
+
518
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
519
+ # the fields in the mask will be modified. If no mask is provided, the following
520
+ # default mask is used: `paths: "bindings, etag"`
521
+ # Corresponds to the JSON property `updateMask`
522
+ # @return [String]
523
+ attr_accessor :update_mask
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @policy = args[:policy] if args.key?(:policy)
532
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
533
+ end
534
+ end
535
+
536
+ # The `Status` type defines a logical error model that is suitable for different
537
+ # programming environments, including REST APIs and RPC APIs. It is used by [
538
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
539
+ # data: error code, error message, and error details. You can find out more
540
+ # about this error model and how to work with it in the [API Design Guide](https:
541
+ # //cloud.google.com/apis/design/errors).
542
+ class ApigatewayStatus
543
+ include Google::Apis::Core::Hashable
544
+
545
+ # The status code, which should be an enum value of google.rpc.Code.
546
+ # Corresponds to the JSON property `code`
547
+ # @return [Fixnum]
548
+ attr_accessor :code
549
+
550
+ # A list of messages that carry the error details. There is a common set of
551
+ # message types for APIs to use.
552
+ # Corresponds to the JSON property `details`
553
+ # @return [Array<Hash<String,Object>>]
554
+ attr_accessor :details
555
+
556
+ # A developer-facing error message, which should be in English. Any user-facing
557
+ # error message should be localized and sent in the google.rpc.Status.details
558
+ # field, or localized by the client.
559
+ # Corresponds to the JSON property `message`
560
+ # @return [String]
561
+ attr_accessor :message
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @code = args[:code] if args.key?(:code)
570
+ @details = args[:details] if args.key?(:details)
571
+ @message = args[:message] if args.key?(:message)
572
+ end
573
+ end
574
+
575
+ # Request message for `TestIamPermissions` method.
576
+ class ApigatewayTestIamPermissionsRequest
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # The set of permissions to check for the `resource`. Permissions with wildcards
580
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
581
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
582
+ # Corresponds to the JSON property `permissions`
583
+ # @return [Array<String>]
584
+ attr_accessor :permissions
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @permissions = args[:permissions] if args.key?(:permissions)
593
+ end
594
+ end
595
+
596
+ # Response message for `TestIamPermissions` method.
597
+ class ApigatewayTestIamPermissionsResponse
598
+ include Google::Apis::Core::Hashable
599
+
600
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
601
+ # Corresponds to the JSON property `permissions`
602
+ # @return [Array<String>]
603
+ attr_accessor :permissions
604
+
605
+ def initialize(**args)
606
+ update!(**args)
607
+ end
608
+
609
+ # Update properties of this object
610
+ def update!(**args)
611
+ @permissions = args[:permissions] if args.key?(:permissions)
612
+ end
613
+ end
614
+
615
+ # A generic empty message that you can re-use to avoid defining duplicated empty
616
+ # messages in your APIs. A typical example is to use it as the request or the
617
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
618
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
619
+ # `Empty` is empty JSON object ````.
620
+ class Empty
621
+ include Google::Apis::Core::Hashable
622
+
623
+ def initialize(**args)
624
+ update!(**args)
625
+ end
626
+
627
+ # Update properties of this object
628
+ def update!(**args)
629
+ end
630
+ end
631
+ end
632
+ end
633
+ end