google-api-client 0.42.2 → 0.43.0

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 (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +129 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -270
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +733 -1180
  35. data/generated/google/apis/apigee_v1/service.rb +879 -1133
  36. data/generated/google/apis/appsmarket_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  41. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  42. data/generated/google/apis/blogger_v2.rb +2 -3
  43. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  44. data/generated/google/apis/blogger_v2/service.rb +1 -2
  45. data/generated/google/apis/blogger_v3.rb +2 -3
  46. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  47. data/generated/google/apis/blogger_v3/service.rb +1 -2
  48. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  49. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  52. data/generated/google/apis/classroom_v1/service.rb +643 -902
  53. data/generated/google/apis/cloudasset_v1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  55. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  56. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  58. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  60. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
  61. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  62. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  63. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  66. data/generated/google/apis/compute_alpha.rb +1 -1
  67. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  68. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  69. data/generated/google/apis/compute_alpha/service.rb +15 -7
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +39 -14
  72. data/generated/google/apis/compute_beta/representations.rb +2 -0
  73. data/generated/google/apis/compute_beta/service.rb +15 -7
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +65 -42
  76. data/generated/google/apis/compute_v1/representations.rb +18 -15
  77. data/generated/google/apis/compute_v1/service.rb +63 -19
  78. data/generated/google/apis/container_v1.rb +1 -1
  79. data/generated/google/apis/container_v1/classes.rb +26 -0
  80. data/generated/google/apis/container_v1/representations.rb +15 -0
  81. data/generated/google/apis/content_v2.rb +1 -1
  82. data/generated/google/apis/content_v2/classes.rb +9 -0
  83. data/generated/google/apis/content_v2_1.rb +1 -1
  84. data/generated/google/apis/content_v2_1/classes.rb +9 -0
  85. data/generated/google/apis/customsearch_v1.rb +1 -1
  86. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  87. data/generated/google/apis/customsearch_v1/service.rb +184 -341
  88. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  89. data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
  90. data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
  91. data/generated/google/apis/datafusion_v1.rb +43 -0
  92. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  93. data/generated/google/apis/datafusion_v1/representations.rb +390 -0
  94. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  95. data/generated/google/apis/dataproc_v1.rb +1 -1
  96. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  97. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  98. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  99. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  100. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
  105. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
  108. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
  109. data/generated/google/apis/displayvideo_v1.rb +1 -1
  110. data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
  111. data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
  112. data/generated/google/apis/displayvideo_v1/service.rb +104 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  115. data/generated/google/apis/dns_v1.rb +1 -1
  116. data/generated/google/apis/dns_v1/classes.rb +7 -7
  117. data/generated/google/apis/dns_v1beta2.rb +1 -1
  118. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  119. data/generated/google/apis/dns_v2beta1.rb +1 -1
  120. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  121. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  122. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  123. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  124. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  126. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  127. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  129. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  130. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +3 -1
  133. data/generated/google/apis/drive_v3.rb +1 -1
  134. data/generated/google/apis/drive_v3/classes.rb +9 -1
  135. data/generated/google/apis/drive_v3/representations.rb +1 -0
  136. data/generated/google/apis/driveactivity_v2.rb +1 -1
  137. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  138. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  139. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  140. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  141. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  142. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
  143. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  144. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  145. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  146. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  147. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  148. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  149. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  150. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  151. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  152. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  153. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  154. data/generated/google/apis/firebaseml_v1.rb +1 -1
  155. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  156. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  157. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  158. data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
  159. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  160. data/generated/google/apis/gameservices_v1.rb +1 -1
  161. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  162. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  163. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  164. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  165. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  166. data/generated/google/apis/genomics_v1.rb +1 -1
  167. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  168. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  169. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  170. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  171. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  172. data/generated/google/apis/gmail_v1.rb +3 -3
  173. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  174. data/generated/google/apis/gmail_v1/service.rb +257 -286
  175. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  176. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  177. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  178. data/generated/google/apis/healthcare_v1.rb +1 -1
  179. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  180. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  181. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  182. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  183. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  184. data/generated/google/apis/language_v1.rb +1 -1
  185. data/generated/google/apis/language_v1/classes.rb +93 -111
  186. data/generated/google/apis/language_v1/service.rb +4 -4
  187. data/generated/google/apis/language_v1beta1.rb +1 -1
  188. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  189. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  190. data/generated/google/apis/language_v1beta2.rb +1 -1
  191. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  192. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  193. data/generated/google/apis/libraryagent_v1.rb +1 -1
  194. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  195. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  196. data/generated/google/apis/logging_v2.rb +1 -1
  197. data/generated/google/apis/logging_v2/classes.rb +6 -6
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  200. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  201. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  202. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  203. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  204. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  205. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  206. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  207. data/generated/google/apis/memcache_v1.rb +35 -0
  208. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  209. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  210. data/generated/google/apis/memcache_v1/service.rb +558 -0
  211. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  212. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  213. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  214. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  215. data/generated/google/apis/monitoring_v1.rb +1 -1
  216. data/generated/google/apis/monitoring_v1/classes.rb +12 -11
  217. data/generated/google/apis/monitoring_v3.rb +1 -1
  218. data/generated/google/apis/monitoring_v3/classes.rb +31 -14
  219. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  220. data/generated/google/apis/osconfig_v1.rb +1 -1
  221. data/generated/google/apis/osconfig_v1/classes.rb +721 -0
  222. data/generated/google/apis/osconfig_v1/representations.rb +337 -0
  223. data/generated/google/apis/people_v1.rb +1 -1
  224. data/generated/google/apis/people_v1/classes.rb +148 -13
  225. data/generated/google/apis/people_v1/representations.rb +57 -0
  226. data/generated/google/apis/people_v1/service.rb +60 -48
  227. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  228. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  229. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  230. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  231. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  232. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  233. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  234. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  235. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  236. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  237. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  238. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  239. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  240. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  241. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  242. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  243. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  244. data/generated/google/apis/recommender_v1.rb +1 -1
  245. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  246. data/generated/google/apis/recommender_v1/service.rb +43 -58
  247. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  248. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  249. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  250. data/generated/google/apis/run_v1.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +2 -2
  252. data/generated/google/apis/run_v1/service.rb +38 -2
  253. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  254. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  255. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  256. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  257. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  258. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  259. data/generated/google/apis/searchconsole_v1.rb +1 -1
  260. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  261. data/generated/google/apis/securitycenter_v1.rb +1 -1
  262. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  263. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  264. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  265. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  266. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  267. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  268. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  269. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  270. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  272. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
  275. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
  276. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  278. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  279. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  280. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  281. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  282. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  283. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  284. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  285. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  286. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  287. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  288. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  289. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  290. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  291. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  292. data/generated/google/apis/serviceusage_v1.rb +1 -1
  293. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  294. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  295. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  296. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  297. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  298. data/generated/google/apis/spanner_v1.rb +1 -1
  299. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  300. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  301. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  302. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  303. data/generated/google/apis/tagmanager_v1.rb +2 -3
  304. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  305. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  306. data/generated/google/apis/tagmanager_v2.rb +2 -3
  307. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  308. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  309. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  310. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  311. data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
  312. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  313. data/generated/google/apis/tpu_v1.rb +1 -1
  314. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  315. data/generated/google/apis/tpu_v1/service.rb +21 -25
  316. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  317. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  318. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/translate_v3/service.rb +14 -1
  321. data/generated/google/apis/translate_v3beta1.rb +1 -1
  322. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  323. data/generated/google/apis/vision_v1.rb +1 -1
  324. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  325. data/generated/google/apis/vision_v1/service.rb +254 -340
  326. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  327. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  328. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  329. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  330. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  331. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  332. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  333. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  334. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  335. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  336. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  337. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  338. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  339. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  340. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  341. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  342. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  343. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  346. data/generated/google/apis/youtube_v3.rb +1 -1
  347. data/generated/google/apis/youtube_v3/classes.rb +937 -1175
  348. data/generated/google/apis/youtube_v3/service.rb +975 -1284
  349. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  350. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  351. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  352. data/lib/google/apis/core/base_service.rb +7 -1
  353. data/lib/google/apis/version.rb +1 -1
  354. metadata +15 -7
  355. data/generated/google/apis/fitness_v1.rb +0 -85
  356. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  357. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  358. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -47,9 +47,8 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Gets the latest state of a long-running operation. Clients can use this
51
- # method to poll the operation result at intervals as recommended by the API
52
- # service.
50
+ # Gets the latest state of a long-running operation. Clients can use this method
51
+ # to poll the operation result at intervals as recommended by the API service.
53
52
  # @param [String] name
54
53
  # The name of the operation resource.
55
54
  # @param [String] fields
@@ -81,11 +80,9 @@ module Google
81
80
 
82
81
  # Retrieves a summary of quota information for a specific quota metric.
83
82
  # @param [String] name
84
- # The resource name of the quota metric, returned by a
85
- # ListConsumerQuotaMetrics call.
86
- # An example name would be:
87
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
88
- # googleapis.com%2Fcpus`
83
+ # The resource name of the quota metric, returned by a ListConsumerQuotaMetrics
84
+ # call. An example name would be: `services/compute.googleapis.com/projects/123/
85
+ # consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
89
86
  # @param [String] view
90
87
  # Specifies the level of detail for quota information in the response.
91
88
  # @param [String] fields
@@ -116,13 +113,12 @@ module Google
116
113
  execute_or_queue_command(command, &block)
117
114
  end
118
115
 
119
- # Create or update multiple producer overrides atomically, all on the
120
- # same consumer, but on many different metrics or limits.
121
- # The name field in the quota override message should not be set.
116
+ # Create or update multiple producer overrides atomically, all on the same
117
+ # consumer, but on many different metrics or limits. The name field in the quota
118
+ # override message should not be set.
122
119
  # @param [String] parent
123
- # The resource name of the consumer.
124
- # An example name would be:
125
- # `services/compute.googleapis.com/projects/123`
120
+ # The resource name of the consumer. An example name would be: `services/compute.
121
+ # googleapis.com/projects/123`
126
122
  # @param [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ImportProducerOverridesRequest] v1_beta1_import_producer_overrides_request_object
127
123
  # @param [String] fields
128
124
  # Selector specifying which fields to include in a partial response.
@@ -154,20 +150,17 @@ module Google
154
150
  end
155
151
 
156
152
  # Retrieves a summary of all quota information about this consumer that is
157
- # visible to the service producer, for each quota metric defined by the
158
- # service. Each metric includes information about all of its defined limits.
159
- # Each limit includes the limit configuration (quota unit, preciseness,
160
- # default value), the current effective limit value, and all of the overrides
161
- # applied to the limit.
153
+ # visible to the service producer, for each quota metric defined by the service.
154
+ # Each metric includes information about all of its defined limits. Each limit
155
+ # includes the limit configuration (quota unit, preciseness, default value), the
156
+ # current effective limit value, and all of the overrides applied to the limit.
162
157
  # @param [String] parent
163
- # Parent of the quotas resource.
164
- # An example parent would be:
165
- # `services/serviceconsumermanagement.googleapis.com/projects/123`
158
+ # Parent of the quotas resource. An example parent would be: `services/
159
+ # serviceconsumermanagement.googleapis.com/projects/123`
166
160
  # @param [Fixnum] page_size
167
161
  # Requested size of the next page of data.
168
162
  # @param [String] page_token
169
- # Token identifying which result to start with; returned by a previous list
170
- # call.
163
+ # Token identifying which result to start with; returned by a previous list call.
171
164
  # @param [String] view
172
165
  # Specifies the level of detail for quota information in the response.
173
166
  # @param [String] fields
@@ -202,11 +195,10 @@ module Google
202
195
 
203
196
  # Retrieves a summary of quota information for a specific quota limit.
204
197
  # @param [String] name
205
- # The resource name of the quota limit, returned by a
206
- # ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
207
- # An example name would be:
208
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
209
- # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
198
+ # The resource name of the quota limit, returned by a ListConsumerQuotaMetrics
199
+ # or GetConsumerQuotaMetric call. An example name would be: `services/compute.
200
+ # googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/
201
+ # limits/%2Fproject%2Fregion`
210
202
  # @param [String] view
211
203
  # Specifies the level of detail for quota information in the response.
212
204
  # @param [String] fields
@@ -237,27 +229,25 @@ module Google
237
229
  execute_or_queue_command(command, &block)
238
230
  end
239
231
 
240
- # Creates a producer override.
241
- # A producer override is applied by the owner or administrator of a service
242
- # to increase or decrease the amount of quota a consumer of the service is
243
- # allowed to use.
244
- # To create multiple overrides at once, use ImportProducerOverrides instead.
245
- # If an override with the specified dimensions already exists, this call will
246
- # fail. To overwrite an existing override if one is already present ("upsert"
247
- # semantics), use ImportProducerOverrides instead.
232
+ # Creates a producer override. A producer override is applied by the owner or
233
+ # administrator of a service to increase or decrease the amount of quota a
234
+ # consumer of the service is allowed to use. To create multiple overrides at
235
+ # once, use ImportProducerOverrides instead. If an override with the specified
236
+ # dimensions already exists, this call will fail. To overwrite an existing
237
+ # override if one is already present ("upsert" semantics), use
238
+ # ImportProducerOverrides instead.
248
239
  # @param [String] parent
249
240
  # The resource name of the parent quota limit, returned by a
250
- # ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
251
- # An example name would be:
252
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
241
+ # ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would
242
+ # be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
253
243
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
254
244
  # @param [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride] v1_beta1_quota_override_object
255
245
  # @param [Boolean] force
256
- # Whether to force the creation of the quota override.
257
- # If creating an override would cause the effective quota for the consumer to
258
- # decrease by more than 10 percent, the call is rejected, as a safety measure
259
- # to avoid accidentally decreasing quota too quickly. Setting the force
260
- # parameter to true ignores this restriction.
246
+ # Whether to force the creation of the quota override. If creating an override
247
+ # would cause the effective quota for the consumer to decrease by more than 10
248
+ # percent, the call is rejected, as a safety measure to avoid accidentally
249
+ # decreasing quota too quickly. Setting the force parameter to true ignores this
250
+ # restriction.
261
251
  # @param [String] fields
262
252
  # Selector specifying which fields to include in a partial response.
263
253
  # @param [String] quota_user
@@ -290,16 +280,15 @@ module Google
290
280
 
291
281
  # Deletes a producer override.
292
282
  # @param [String] name
293
- # The resource name of the override to delete.
294
- # An example name would be:
295
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
283
+ # The resource name of the override to delete. An example name would be: `
284
+ # services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
296
285
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
297
286
  # @param [Boolean] force
298
- # Whether to force the deletion of the quota override.
299
- # If deleting an override would cause the effective quota for the consumer to
300
- # decrease by more than 10 percent, the call is rejected, as a safety measure
301
- # to avoid accidentally decreasing quota too quickly. Setting the force
302
- # parameter to true ignores this restriction.
287
+ # Whether to force the deletion of the quota override. If deleting an override
288
+ # would cause the effective quota for the consumer to decrease by more than 10
289
+ # percent, the call is rejected, as a safety measure to avoid accidentally
290
+ # decreasing quota too quickly. Setting the force parameter to true ignores this
291
+ # restriction.
303
292
  # @param [String] fields
304
293
  # Selector specifying which fields to include in a partial response.
305
294
  # @param [String] quota_user
@@ -331,15 +320,13 @@ module Google
331
320
  # Lists all producer overrides on this limit.
332
321
  # @param [String] parent
333
322
  # The resource name of the parent quota limit, returned by a
334
- # ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
335
- # An example name would be:
336
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
323
+ # ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would
324
+ # be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
337
325
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
338
326
  # @param [Fixnum] page_size
339
327
  # Requested size of the next page of data.
340
328
  # @param [String] page_token
341
- # Token identifying which result to start with; returned by a previous list
342
- # call.
329
+ # Token identifying which result to start with; returned by a previous list call.
343
330
  # @param [String] fields
344
331
  # Selector specifying which fields to include in a partial response.
345
332
  # @param [String] quota_user
@@ -371,17 +358,16 @@ module Google
371
358
 
372
359
  # Updates a producer override.
373
360
  # @param [String] name
374
- # The resource name of the override to update.
375
- # An example name would be:
376
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
361
+ # The resource name of the override to update. An example name would be: `
362
+ # services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
377
363
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
378
364
  # @param [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride] v1_beta1_quota_override_object
379
365
  # @param [Boolean] force
380
- # Whether to force the update of the quota override.
381
- # If updating an override would cause the effective quota for the consumer to
382
- # decrease by more than 10 percent, the call is rejected, as a safety measure
383
- # to avoid accidentally decreasing quota too quickly. Setting the force
384
- # parameter to true ignores this restriction.
366
+ # Whether to force the update of the quota override. If updating an override
367
+ # would cause the effective quota for the consumer to decrease by more than 10
368
+ # percent, the call is rejected, as a safety measure to avoid accidentally
369
+ # decreasing quota too quickly. Setting the force parameter to true ignores this
370
+ # restriction.
385
371
  # @param [String] update_mask
386
372
  # Update only the specified fields. If unset, all modifiable fields will be
387
373
  # updated.
@@ -0,0 +1,38 @@
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/servicecontrol_v2/service.rb'
16
+ require 'google/apis/servicecontrol_v2/classes.rb'
17
+ require 'google/apis/servicecontrol_v2/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Service Control API
22
+ #
23
+ # Provides control plane functionality to managed services, such as logging,
24
+ # monitoring, and status checks.
25
+ #
26
+ # @see https://cloud.google.com/service-control/
27
+ module ServicecontrolV2
28
+ VERSION = 'V2'
29
+ REVISION = '20200727'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+
34
+ # Manage your Google Service Control data
35
+ AUTH_SERVICECONTROL = 'https://www.googleapis.com/auth/servicecontrol'
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,1121 @@
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 ServicecontrolV2
24
+
25
+ # This message defines attributes associated with API operations, such as
26
+ # a network API request. The terminology is based on the conventions used
27
+ # by Google APIs, Istio, and OpenAPI.
28
+ class Api
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # The API operation name. For gRPC requests, it is the fully qualified API
32
+ # method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
33
+ # requests, it is the `operationId`, such as "getPet".
34
+ # Corresponds to the JSON property `operation`
35
+ # @return [String]
36
+ attr_accessor :operation
37
+
38
+ # The API protocol used for sending the request, such as "http", "https",
39
+ # "grpc", or "internal".
40
+ # Corresponds to the JSON property `protocol`
41
+ # @return [String]
42
+ attr_accessor :protocol
43
+
44
+ # The API service name. It is a logical identifier for a networked API,
45
+ # such as "pubsub.googleapis.com". The naming syntax depends on the
46
+ # API management system being used for handling the request.
47
+ # Corresponds to the JSON property `service`
48
+ # @return [String]
49
+ attr_accessor :service
50
+
51
+ # The API version associated with the API operation above, such as "v1" or
52
+ # "v1alpha1".
53
+ # Corresponds to the JSON property `version`
54
+ # @return [String]
55
+ attr_accessor :version
56
+
57
+ def initialize(**args)
58
+ update!(**args)
59
+ end
60
+
61
+ # Update properties of this object
62
+ def update!(**args)
63
+ @operation = args[:operation] if args.key?(:operation)
64
+ @protocol = args[:protocol] if args.key?(:protocol)
65
+ @service = args[:service] if args.key?(:service)
66
+ @version = args[:version] if args.key?(:version)
67
+ end
68
+ end
69
+
70
+ # This message defines the standard attribute vocabulary for Google APIs.
71
+ # An attribute is a piece of metadata that describes an activity on a network
72
+ # service. For example, the size of an HTTP request, or the status code of
73
+ # an HTTP response.
74
+ # Each attribute has a type and a name, which is logically defined as
75
+ # a proto message field in `AttributeContext`. The field type becomes the
76
+ # attribute type, and the field path becomes the attribute name. For example,
77
+ # the attribute `source.ip` maps to field `AttributeContext.source.ip`.
78
+ # This message definition is guaranteed not to have any wire breaking change.
79
+ # So you can use it directly for passing attributes across different systems.
80
+ # NOTE: Different system may generate different subset of attributes. Please
81
+ # verify the system specification before relying on an attribute generated
82
+ # a system.
83
+ class AttributeContext
84
+ include Google::Apis::Core::Hashable
85
+
86
+ # This message defines attributes associated with API operations, such as
87
+ # a network API request. The terminology is based on the conventions used
88
+ # by Google APIs, Istio, and OpenAPI.
89
+ # Corresponds to the JSON property `api`
90
+ # @return [Google::Apis::ServicecontrolV2::Api]
91
+ attr_accessor :api
92
+
93
+ # This message defines attributes for a node that handles a network request.
94
+ # The node can be either a service or an application that sends, forwards,
95
+ # or receives the request. Service peers should fill in
96
+ # `principal` and `labels` as appropriate.
97
+ # Corresponds to the JSON property `destination`
98
+ # @return [Google::Apis::ServicecontrolV2::Peer]
99
+ attr_accessor :destination
100
+
101
+ # Supports extensions for advanced use cases, such as logs and metrics.
102
+ # Corresponds to the JSON property `extensions`
103
+ # @return [Array<Hash<String,Object>>]
104
+ attr_accessor :extensions
105
+
106
+ # This message defines attributes for a node that handles a network request.
107
+ # The node can be either a service or an application that sends, forwards,
108
+ # or receives the request. Service peers should fill in
109
+ # `principal` and `labels` as appropriate.
110
+ # Corresponds to the JSON property `origin`
111
+ # @return [Google::Apis::ServicecontrolV2::Peer]
112
+ attr_accessor :origin
113
+
114
+ # This message defines attributes for an HTTP request. If the actual
115
+ # request is not an HTTP request, the runtime system should try to map
116
+ # the actual request to an equivalent HTTP request.
117
+ # Corresponds to the JSON property `request`
118
+ # @return [Google::Apis::ServicecontrolV2::Request]
119
+ attr_accessor :request
120
+
121
+ # This message defines core attributes for a resource. A resource is an
122
+ # addressable (named) entity provided by the destination service. For
123
+ # example, a file stored on a network storage service.
124
+ # Corresponds to the JSON property `resource`
125
+ # @return [Google::Apis::ServicecontrolV2::Resource]
126
+ attr_accessor :resource
127
+
128
+ # This message defines attributes for a typical network response. It
129
+ # generally models semantics of an HTTP response.
130
+ # Corresponds to the JSON property `response`
131
+ # @return [Google::Apis::ServicecontrolV2::Response]
132
+ attr_accessor :response
133
+
134
+ # This message defines attributes for a node that handles a network request.
135
+ # The node can be either a service or an application that sends, forwards,
136
+ # or receives the request. Service peers should fill in
137
+ # `principal` and `labels` as appropriate.
138
+ # Corresponds to the JSON property `source`
139
+ # @return [Google::Apis::ServicecontrolV2::Peer]
140
+ attr_accessor :source
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @api = args[:api] if args.key?(:api)
149
+ @destination = args[:destination] if args.key?(:destination)
150
+ @extensions = args[:extensions] if args.key?(:extensions)
151
+ @origin = args[:origin] if args.key?(:origin)
152
+ @request = args[:request] if args.key?(:request)
153
+ @resource = args[:resource] if args.key?(:resource)
154
+ @response = args[:response] if args.key?(:response)
155
+ @source = args[:source] if args.key?(:source)
156
+ end
157
+ end
158
+
159
+ # Common audit log format for Google Cloud Platform API operations.
160
+ class AuditLog
161
+ include Google::Apis::Core::Hashable
162
+
163
+ # Authentication information for the operation.
164
+ # Corresponds to the JSON property `authenticationInfo`
165
+ # @return [Google::Apis::ServicecontrolV2::AuthenticationInfo]
166
+ attr_accessor :authentication_info
167
+
168
+ # Authorization information. If there are multiple
169
+ # resources or permissions involved, then there is
170
+ # one AuthorizationInfo element for each `resource, permission` tuple.
171
+ # Corresponds to the JSON property `authorizationInfo`
172
+ # @return [Array<Google::Apis::ServicecontrolV2::AuthorizationInfo>]
173
+ attr_accessor :authorization_info
174
+
175
+ # Other service-specific data about the request, response, and other
176
+ # information associated with the current audited event.
177
+ # Corresponds to the JSON property `metadata`
178
+ # @return [Hash<String,Object>]
179
+ attr_accessor :metadata
180
+
181
+ # The name of the service method or operation.
182
+ # For API calls, this should be the name of the API method.
183
+ # For example,
184
+ # "google.cloud.bigquery.v2.TableService.InsertTable"
185
+ # "google.logging.v2.ConfigServiceV2.CreateSink"
186
+ # Corresponds to the JSON property `methodName`
187
+ # @return [String]
188
+ attr_accessor :method_name
189
+
190
+ # The number of items returned from a List or Query API method,
191
+ # if applicable.
192
+ # Corresponds to the JSON property `numResponseItems`
193
+ # @return [Fixnum]
194
+ attr_accessor :num_response_items
195
+
196
+ # The operation request. This may not include all request parameters,
197
+ # such as those that are too large, privacy-sensitive, or duplicated
198
+ # elsewhere in the log record.
199
+ # It should never include user-generated data, such as file contents.
200
+ # When the JSON object represented here has a proto equivalent, the proto
201
+ # name will be indicated in the `@type` property.
202
+ # Corresponds to the JSON property `request`
203
+ # @return [Hash<String,Object>]
204
+ attr_accessor :request
205
+
206
+ # Metadata about the request.
207
+ # Corresponds to the JSON property `requestMetadata`
208
+ # @return [Google::Apis::ServicecontrolV2::RequestMetadata]
209
+ attr_accessor :request_metadata
210
+
211
+ # Location information about a resource.
212
+ # Corresponds to the JSON property `resourceLocation`
213
+ # @return [Google::Apis::ServicecontrolV2::ResourceLocation]
214
+ attr_accessor :resource_location
215
+
216
+ # The resource or collection that is the target of the operation.
217
+ # The name is a scheme-less URI, not including the API service name.
218
+ # For example:
219
+ # "projects/PROJECT_ID/zones/us-central1-a/instances"
220
+ # "projects/PROJECT_ID/datasets/DATASET_ID"
221
+ # Corresponds to the JSON property `resourceName`
222
+ # @return [String]
223
+ attr_accessor :resource_name
224
+
225
+ # The resource's original state before mutation. Present only for
226
+ # operations which have successfully modified the targeted resource(s).
227
+ # In general, this field should contain all changed fields, except those
228
+ # that are already been included in `request`, `response`, `metadata` or
229
+ # `service_data` fields.
230
+ # When the JSON object represented here has a proto equivalent,
231
+ # the proto name will be indicated in the `@type` property.
232
+ # Corresponds to the JSON property `resourceOriginalState`
233
+ # @return [Hash<String,Object>]
234
+ attr_accessor :resource_original_state
235
+
236
+ # The operation response. This may not include all response elements,
237
+ # such as those that are too large, privacy-sensitive, or duplicated
238
+ # elsewhere in the log record.
239
+ # It should never include user-generated data, such as file contents.
240
+ # When the JSON object represented here has a proto equivalent, the proto
241
+ # name will be indicated in the `@type` property.
242
+ # Corresponds to the JSON property `response`
243
+ # @return [Hash<String,Object>]
244
+ attr_accessor :response
245
+
246
+ # Deprecated. Use the `metadata` field instead.
247
+ # Other service-specific data about the request, response, and other
248
+ # activities.
249
+ # Corresponds to the JSON property `serviceData`
250
+ # @return [Hash<String,Object>]
251
+ attr_accessor :service_data
252
+
253
+ # The name of the API service performing the operation. For example,
254
+ # `"compute.googleapis.com"`.
255
+ # Corresponds to the JSON property `serviceName`
256
+ # @return [String]
257
+ attr_accessor :service_name
258
+
259
+ # The `Status` type defines a logical error model that is suitable for
260
+ # different programming environments, including REST APIs and RPC APIs. It is
261
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
262
+ # three pieces of data: error code, error message, and error details.
263
+ # You can find out more about this error model and how to work with it in the
264
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
265
+ # Corresponds to the JSON property `status`
266
+ # @return [Google::Apis::ServicecontrolV2::Status]
267
+ attr_accessor :status
268
+
269
+ def initialize(**args)
270
+ update!(**args)
271
+ end
272
+
273
+ # Update properties of this object
274
+ def update!(**args)
275
+ @authentication_info = args[:authentication_info] if args.key?(:authentication_info)
276
+ @authorization_info = args[:authorization_info] if args.key?(:authorization_info)
277
+ @metadata = args[:metadata] if args.key?(:metadata)
278
+ @method_name = args[:method_name] if args.key?(:method_name)
279
+ @num_response_items = args[:num_response_items] if args.key?(:num_response_items)
280
+ @request = args[:request] if args.key?(:request)
281
+ @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
282
+ @resource_location = args[:resource_location] if args.key?(:resource_location)
283
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
284
+ @resource_original_state = args[:resource_original_state] if args.key?(:resource_original_state)
285
+ @response = args[:response] if args.key?(:response)
286
+ @service_data = args[:service_data] if args.key?(:service_data)
287
+ @service_name = args[:service_name] if args.key?(:service_name)
288
+ @status = args[:status] if args.key?(:status)
289
+ end
290
+ end
291
+
292
+ # This message defines request authentication attributes. Terminology is
293
+ # based on the JSON Web Token (JWT) standard, but the terms also
294
+ # correlate to concepts in other standards.
295
+ class Auth
296
+ include Google::Apis::Core::Hashable
297
+
298
+ # A list of access level resource names that allow resources to be
299
+ # accessed by authenticated requester. It is part of Secure GCP processing
300
+ # for the incoming request. An access level string has the format:
301
+ # "//`api_service_name`/accessPolicies/`policy_id`/accessLevels/`short_name`"
302
+ # Example:
303
+ # "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/
304
+ # accessLevels/MY_LEVEL"
305
+ # Corresponds to the JSON property `accessLevels`
306
+ # @return [Array<String>]
307
+ attr_accessor :access_levels
308
+
309
+ # The intended audience(s) for this authentication information. Reflects
310
+ # the audience (`aud`) claim within a JWT. The audience
311
+ # value(s) depends on the `issuer`, but typically include one or more of
312
+ # the following pieces of information:
313
+ # * The services intended to receive the credential. For example,
314
+ # ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"].
315
+ # * A set of service-based scopes. For example,
316
+ # ["https://www.googleapis.com/auth/cloud-platform"].
317
+ # * The client id of an app, such as the Firebase project id for JWTs
318
+ # from Firebase Auth.
319
+ # Consult the documentation for the credential issuer to determine the
320
+ # information provided.
321
+ # Corresponds to the JSON property `audiences`
322
+ # @return [Array<String>]
323
+ attr_accessor :audiences
324
+
325
+ # Structured claims presented with the credential. JWTs include
326
+ # ``key: value`` pairs for standard and private claims. The following
327
+ # is a subset of the standard required and optional claims that would
328
+ # typically be presented for a Google-based JWT:
329
+ # `'iss': 'accounts.google.com',
330
+ # 'sub': '113289723416554971153',
331
+ # 'aud': ['123456789012', 'pubsub.googleapis.com'],
332
+ # 'azp': '123456789012.apps.googleusercontent.com',
333
+ # 'email': 'jsmith@example.com',
334
+ # 'iat': 1353601026,
335
+ # 'exp': 1353604926`
336
+ # SAML assertions are similarly specified, but with an identity provider
337
+ # dependent structure.
338
+ # Corresponds to the JSON property `claims`
339
+ # @return [Hash<String,Object>]
340
+ attr_accessor :claims
341
+
342
+ # The authorized presenter of the credential. Reflects the optional
343
+ # Authorized Presenter (`azp`) claim within a JWT or the
344
+ # OAuth client id. For example, a Google Cloud Platform client id looks
345
+ # as follows: "123456789012.apps.googleusercontent.com".
346
+ # Corresponds to the JSON property `presenter`
347
+ # @return [String]
348
+ attr_accessor :presenter
349
+
350
+ # The authenticated principal. Reflects the issuer (`iss`) and subject
351
+ # (`sub`) claims within a JWT. The issuer and subject should be `/`
352
+ # delimited, with `/` percent-encoded within the subject fragment. For
353
+ # Google accounts, the principal format is:
354
+ # "https://accounts.google.com/`id`"
355
+ # Corresponds to the JSON property `principal`
356
+ # @return [String]
357
+ attr_accessor :principal
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @access_levels = args[:access_levels] if args.key?(:access_levels)
366
+ @audiences = args[:audiences] if args.key?(:audiences)
367
+ @claims = args[:claims] if args.key?(:claims)
368
+ @presenter = args[:presenter] if args.key?(:presenter)
369
+ @principal = args[:principal] if args.key?(:principal)
370
+ end
371
+ end
372
+
373
+ # Authentication information for the operation.
374
+ class AuthenticationInfo
375
+ include Google::Apis::Core::Hashable
376
+
377
+ # The authority selector specified by the requestor, if any.
378
+ # It is not guaranteed that the principal was allowed to use this authority.
379
+ # Corresponds to the JSON property `authoritySelector`
380
+ # @return [String]
381
+ attr_accessor :authority_selector
382
+
383
+ # The email address of the authenticated user (or service account on behalf
384
+ # of third party principal) making the request. For privacy reasons, the
385
+ # principal email address is redacted for all read-only operations that fail
386
+ # with a "permission denied" error.
387
+ # Corresponds to the JSON property `principalEmail`
388
+ # @return [String]
389
+ attr_accessor :principal_email
390
+
391
+ # String representation of identity of requesting party.
392
+ # Populated for both first and third party identities.
393
+ # Corresponds to the JSON property `principalSubject`
394
+ # @return [String]
395
+ attr_accessor :principal_subject
396
+
397
+ # Identity delegation history of an authenticated service account that makes
398
+ # the request. It contains information on the real authorities that try to
399
+ # access GCP resources by delegating on a service account. When multiple
400
+ # authorities present, they are guaranteed to be sorted based on the original
401
+ # ordering of the identity delegation events.
402
+ # Corresponds to the JSON property `serviceAccountDelegationInfo`
403
+ # @return [Array<Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo>]
404
+ attr_accessor :service_account_delegation_info
405
+
406
+ # The name of the service account key used to create or exchange
407
+ # credentials for authenticating the service account making the request.
408
+ # This is a scheme-less URI full resource name. For example:
409
+ # "//iam.googleapis.com/projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`
410
+ # key`"
411
+ # Corresponds to the JSON property `serviceAccountKeyName`
412
+ # @return [String]
413
+ attr_accessor :service_account_key_name
414
+
415
+ # The third party identification (if any) of the authenticated user making
416
+ # the request.
417
+ # When the JSON object represented here has a proto equivalent, the proto
418
+ # name will be indicated in the `@type` property.
419
+ # Corresponds to the JSON property `thirdPartyPrincipal`
420
+ # @return [Hash<String,Object>]
421
+ attr_accessor :third_party_principal
422
+
423
+ def initialize(**args)
424
+ update!(**args)
425
+ end
426
+
427
+ # Update properties of this object
428
+ def update!(**args)
429
+ @authority_selector = args[:authority_selector] if args.key?(:authority_selector)
430
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
431
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
432
+ @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
433
+ @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
434
+ @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
435
+ end
436
+ end
437
+
438
+ # Authorization information for the operation.
439
+ class AuthorizationInfo
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # Whether or not authorization for `resource` and `permission`
443
+ # was granted.
444
+ # Corresponds to the JSON property `granted`
445
+ # @return [Boolean]
446
+ attr_accessor :granted
447
+ alias_method :granted?, :granted
448
+
449
+ # The required IAM permission.
450
+ # Corresponds to the JSON property `permission`
451
+ # @return [String]
452
+ attr_accessor :permission
453
+
454
+ # The resource being accessed, as a REST-style string. For example:
455
+ # bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
456
+ # Corresponds to the JSON property `resource`
457
+ # @return [String]
458
+ attr_accessor :resource
459
+
460
+ # This message defines core attributes for a resource. A resource is an
461
+ # addressable (named) entity provided by the destination service. For
462
+ # example, a file stored on a network storage service.
463
+ # Corresponds to the JSON property `resourceAttributes`
464
+ # @return [Google::Apis::ServicecontrolV2::Resource]
465
+ attr_accessor :resource_attributes
466
+
467
+ def initialize(**args)
468
+ update!(**args)
469
+ end
470
+
471
+ # Update properties of this object
472
+ def update!(**args)
473
+ @granted = args[:granted] if args.key?(:granted)
474
+ @permission = args[:permission] if args.key?(:permission)
475
+ @resource = args[:resource] if args.key?(:resource)
476
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
477
+ end
478
+ end
479
+
480
+ # Request message for the Check method.
481
+ class CheckRequest
482
+ include Google::Apis::Core::Hashable
483
+
484
+ # This message defines the standard attribute vocabulary for Google APIs.
485
+ # An attribute is a piece of metadata that describes an activity on a network
486
+ # service. For example, the size of an HTTP request, or the status code of
487
+ # an HTTP response.
488
+ # Each attribute has a type and a name, which is logically defined as
489
+ # a proto message field in `AttributeContext`. The field type becomes the
490
+ # attribute type, and the field path becomes the attribute name. For example,
491
+ # the attribute `source.ip` maps to field `AttributeContext.source.ip`.
492
+ # This message definition is guaranteed not to have any wire breaking change.
493
+ # So you can use it directly for passing attributes across different systems.
494
+ # NOTE: Different system may generate different subset of attributes. Please
495
+ # verify the system specification before relying on an attribute generated
496
+ # a system.
497
+ # Corresponds to the JSON property `attributes`
498
+ # @return [Google::Apis::ServicecontrolV2::AttributeContext]
499
+ attr_accessor :attributes
500
+
501
+ # Describes the resources and the policies applied to each resource.
502
+ # Corresponds to the JSON property `resources`
503
+ # @return [Array<Google::Apis::ServicecontrolV2::ResourceInfo>]
504
+ attr_accessor :resources
505
+
506
+ # Specifies the version of the service configuration that should be used to
507
+ # process the request. Must not be empty. Set this field to 'latest' to
508
+ # specify using the latest configuration.
509
+ # Corresponds to the JSON property `serviceConfigId`
510
+ # @return [String]
511
+ attr_accessor :service_config_id
512
+
513
+ def initialize(**args)
514
+ update!(**args)
515
+ end
516
+
517
+ # Update properties of this object
518
+ def update!(**args)
519
+ @attributes = args[:attributes] if args.key?(:attributes)
520
+ @resources = args[:resources] if args.key?(:resources)
521
+ @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
522
+ end
523
+ end
524
+
525
+ # Response message for the Check method.
526
+ class CheckResponse
527
+ include Google::Apis::Core::Hashable
528
+
529
+ # Returns a set of request contexts generated from the `CheckRequest`.
530
+ # Corresponds to the JSON property `headers`
531
+ # @return [Hash<String,String>]
532
+ attr_accessor :headers
533
+
534
+ # The `Status` type defines a logical error model that is suitable for
535
+ # different programming environments, including REST APIs and RPC APIs. It is
536
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
537
+ # three pieces of data: error code, error message, and error details.
538
+ # You can find out more about this error model and how to work with it in the
539
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
540
+ # Corresponds to the JSON property `status`
541
+ # @return [Google::Apis::ServicecontrolV2::Status]
542
+ attr_accessor :status
543
+
544
+ def initialize(**args)
545
+ update!(**args)
546
+ end
547
+
548
+ # Update properties of this object
549
+ def update!(**args)
550
+ @headers = args[:headers] if args.key?(:headers)
551
+ @status = args[:status] if args.key?(:status)
552
+ end
553
+ end
554
+
555
+ # First party identity principal.
556
+ class FirstPartyPrincipal
557
+ include Google::Apis::Core::Hashable
558
+
559
+ # The email address of a Google account.
560
+ # .
561
+ # Corresponds to the JSON property `principalEmail`
562
+ # @return [String]
563
+ attr_accessor :principal_email
564
+
565
+ # Metadata about the service that uses the service account.
566
+ # .
567
+ # Corresponds to the JSON property `serviceMetadata`
568
+ # @return [Hash<String,Object>]
569
+ attr_accessor :service_metadata
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
578
+ @service_metadata = args[:service_metadata] if args.key?(:service_metadata)
579
+ end
580
+ end
581
+
582
+ # This message defines attributes for a node that handles a network request.
583
+ # The node can be either a service or an application that sends, forwards,
584
+ # or receives the request. Service peers should fill in
585
+ # `principal` and `labels` as appropriate.
586
+ class Peer
587
+ include Google::Apis::Core::Hashable
588
+
589
+ # The IP address of the peer.
590
+ # Corresponds to the JSON property `ip`
591
+ # @return [String]
592
+ attr_accessor :ip
593
+
594
+ # The labels associated with the peer.
595
+ # Corresponds to the JSON property `labels`
596
+ # @return [Hash<String,String>]
597
+ attr_accessor :labels
598
+
599
+ # The network port of the peer.
600
+ # Corresponds to the JSON property `port`
601
+ # @return [Fixnum]
602
+ attr_accessor :port
603
+
604
+ # The identity of this peer. Similar to `Request.auth.principal`, but
605
+ # relative to the peer instead of the request. For example, the
606
+ # idenity associated with a load balancer that forwared the request.
607
+ # Corresponds to the JSON property `principal`
608
+ # @return [String]
609
+ attr_accessor :principal
610
+
611
+ # The CLDR country/region code associated with the above IP address.
612
+ # If the IP address is private, the `region_code` should reflect the
613
+ # physical location where this peer is running.
614
+ # Corresponds to the JSON property `regionCode`
615
+ # @return [String]
616
+ attr_accessor :region_code
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @ip = args[:ip] if args.key?(:ip)
625
+ @labels = args[:labels] if args.key?(:labels)
626
+ @port = args[:port] if args.key?(:port)
627
+ @principal = args[:principal] if args.key?(:principal)
628
+ @region_code = args[:region_code] if args.key?(:region_code)
629
+ end
630
+ end
631
+
632
+ # Request message for the Report method.
633
+ class ReportRequest
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # Describes the list of operations to be reported. Each operation is
637
+ # represented as an AttributeContext, and contains all attributes around an
638
+ # API access.
639
+ # Corresponds to the JSON property `operations`
640
+ # @return [Array<Google::Apis::ServicecontrolV2::AttributeContext>]
641
+ attr_accessor :operations
642
+
643
+ # Specifies the version of the service configuration that should be used to
644
+ # process the request. Must not be empty. Set this field to 'latest' to
645
+ # specify using the latest configuration.
646
+ # Corresponds to the JSON property `serviceConfigId`
647
+ # @return [String]
648
+ attr_accessor :service_config_id
649
+
650
+ def initialize(**args)
651
+ update!(**args)
652
+ end
653
+
654
+ # Update properties of this object
655
+ def update!(**args)
656
+ @operations = args[:operations] if args.key?(:operations)
657
+ @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
658
+ end
659
+ end
660
+
661
+ # Response message for the Report method.
662
+ # If the request contains any invalid data, the server returns an RPC error.
663
+ class ReportResponse
664
+ include Google::Apis::Core::Hashable
665
+
666
+ def initialize(**args)
667
+ update!(**args)
668
+ end
669
+
670
+ # Update properties of this object
671
+ def update!(**args)
672
+ end
673
+ end
674
+
675
+ # This message defines attributes for an HTTP request. If the actual
676
+ # request is not an HTTP request, the runtime system should try to map
677
+ # the actual request to an equivalent HTTP request.
678
+ class Request
679
+ include Google::Apis::Core::Hashable
680
+
681
+ # This message defines request authentication attributes. Terminology is
682
+ # based on the JSON Web Token (JWT) standard, but the terms also
683
+ # correlate to concepts in other standards.
684
+ # Corresponds to the JSON property `auth`
685
+ # @return [Google::Apis::ServicecontrolV2::Auth]
686
+ attr_accessor :auth
687
+
688
+ # The HTTP request headers. If multiple headers share the same key, they
689
+ # must be merged according to the HTTP spec. All header keys must be
690
+ # lowercased, because HTTP header keys are case-insensitive.
691
+ # Corresponds to the JSON property `headers`
692
+ # @return [Hash<String,String>]
693
+ attr_accessor :headers
694
+
695
+ # The HTTP request `Host` header value.
696
+ # Corresponds to the JSON property `host`
697
+ # @return [String]
698
+ attr_accessor :host
699
+
700
+ # The unique ID for a request, which can be propagated to downstream
701
+ # systems. The ID should have low probability of collision
702
+ # within a single day for a specific service.
703
+ # Corresponds to the JSON property `id`
704
+ # @return [String]
705
+ attr_accessor :id
706
+
707
+ # The HTTP request method, such as `GET`, `POST`.
708
+ # Corresponds to the JSON property `method`
709
+ # @return [String]
710
+ attr_accessor :method_prop
711
+
712
+ # The HTTP URL path.
713
+ # Corresponds to the JSON property `path`
714
+ # @return [String]
715
+ attr_accessor :path
716
+
717
+ # The network protocol used with the request, such as "http/1.1",
718
+ # "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See
719
+ # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
720
+ # values.xhtml#alpn-protocol-ids
721
+ # for details.
722
+ # Corresponds to the JSON property `protocol`
723
+ # @return [String]
724
+ attr_accessor :protocol
725
+
726
+ # The HTTP URL query in the format of `name1=value1&name2=value2`, as it
727
+ # appears in the first line of the HTTP request. No decoding is performed.
728
+ # Corresponds to the JSON property `query`
729
+ # @return [String]
730
+ attr_accessor :query
731
+
732
+ # A special parameter for request reason. It is used by security systems
733
+ # to associate auditing information with a request.
734
+ # Corresponds to the JSON property `reason`
735
+ # @return [String]
736
+ attr_accessor :reason
737
+
738
+ # The HTTP URL scheme, such as `http` and `https`.
739
+ # Corresponds to the JSON property `scheme`
740
+ # @return [String]
741
+ attr_accessor :scheme
742
+
743
+ # The HTTP request size in bytes. If unknown, it must be -1.
744
+ # Corresponds to the JSON property `size`
745
+ # @return [Fixnum]
746
+ attr_accessor :size
747
+
748
+ # The timestamp when the `destination` service receives the first byte of
749
+ # the request.
750
+ # Corresponds to the JSON property `time`
751
+ # @return [String]
752
+ attr_accessor :time
753
+
754
+ def initialize(**args)
755
+ update!(**args)
756
+ end
757
+
758
+ # Update properties of this object
759
+ def update!(**args)
760
+ @auth = args[:auth] if args.key?(:auth)
761
+ @headers = args[:headers] if args.key?(:headers)
762
+ @host = args[:host] if args.key?(:host)
763
+ @id = args[:id] if args.key?(:id)
764
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
765
+ @path = args[:path] if args.key?(:path)
766
+ @protocol = args[:protocol] if args.key?(:protocol)
767
+ @query = args[:query] if args.key?(:query)
768
+ @reason = args[:reason] if args.key?(:reason)
769
+ @scheme = args[:scheme] if args.key?(:scheme)
770
+ @size = args[:size] if args.key?(:size)
771
+ @time = args[:time] if args.key?(:time)
772
+ end
773
+ end
774
+
775
+ # Metadata about the request.
776
+ class RequestMetadata
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # The IP address of the caller.
780
+ # For caller from internet, this will be public IPv4 or IPv6 address.
781
+ # For caller from a Compute Engine VM with external IP address, this
782
+ # will be the VM's external IP address. For caller from a Compute
783
+ # Engine VM without external IP address, if the VM is in the same
784
+ # organization (or project) as the accessed resource, `caller_ip` will
785
+ # be the VM's internal IPv4 address, otherwise the `caller_ip` will be
786
+ # redacted to "gce-internal-ip".
787
+ # See https://cloud.google.com/compute/docs/vpc/ for more information.
788
+ # Corresponds to the JSON property `callerIp`
789
+ # @return [String]
790
+ attr_accessor :caller_ip
791
+
792
+ # The network of the caller.
793
+ # Set only if the network host project is part of the same GCP organization
794
+ # (or project) as the accessed resource.
795
+ # See https://cloud.google.com/compute/docs/vpc/ for more information.
796
+ # This is a scheme-less URI full resource name. For example:
797
+ # "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"
798
+ # Corresponds to the JSON property `callerNetwork`
799
+ # @return [String]
800
+ attr_accessor :caller_network
801
+
802
+ # The user agent of the caller.
803
+ # This information is not authenticated and should be treated accordingly.
804
+ # For example:
805
+ # + `google-api-python-client/1.4.0`:
806
+ # The request was made by the Google API client for Python.
807
+ # + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
808
+ # The request was made by the Google Cloud SDK CLI (gcloud).
809
+ # + `AppEngine-Google; (+http://code.google.com/appengine; appid:
810
+ # s~my-project`:
811
+ # The request was made from the `my-project` App Engine app.
812
+ # NOLINT
813
+ # Corresponds to the JSON property `callerSuppliedUserAgent`
814
+ # @return [String]
815
+ attr_accessor :caller_supplied_user_agent
816
+
817
+ # This message defines attributes for a node that handles a network request.
818
+ # The node can be either a service or an application that sends, forwards,
819
+ # or receives the request. Service peers should fill in
820
+ # `principal` and `labels` as appropriate.
821
+ # Corresponds to the JSON property `destinationAttributes`
822
+ # @return [Google::Apis::ServicecontrolV2::Peer]
823
+ attr_accessor :destination_attributes
824
+
825
+ # This message defines attributes for an HTTP request. If the actual
826
+ # request is not an HTTP request, the runtime system should try to map
827
+ # the actual request to an equivalent HTTP request.
828
+ # Corresponds to the JSON property `requestAttributes`
829
+ # @return [Google::Apis::ServicecontrolV2::Request]
830
+ attr_accessor :request_attributes
831
+
832
+ def initialize(**args)
833
+ update!(**args)
834
+ end
835
+
836
+ # Update properties of this object
837
+ def update!(**args)
838
+ @caller_ip = args[:caller_ip] if args.key?(:caller_ip)
839
+ @caller_network = args[:caller_network] if args.key?(:caller_network)
840
+ @caller_supplied_user_agent = args[:caller_supplied_user_agent] if args.key?(:caller_supplied_user_agent)
841
+ @destination_attributes = args[:destination_attributes] if args.key?(:destination_attributes)
842
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
843
+ end
844
+ end
845
+
846
+ # This message defines core attributes for a resource. A resource is an
847
+ # addressable (named) entity provided by the destination service. For
848
+ # example, a file stored on a network storage service.
849
+ class Resource
850
+ include Google::Apis::Core::Hashable
851
+
852
+ # The labels or tags on the resource, such as AWS resource tags and
853
+ # Kubernetes resource labels.
854
+ # Corresponds to the JSON property `labels`
855
+ # @return [Hash<String,String>]
856
+ attr_accessor :labels
857
+
858
+ # The stable identifier (name) of a resource on the `service`. A resource
859
+ # can be logically identified as "//`resource.service`/`resource.name`".
860
+ # The differences between a resource name and a URI are:
861
+ # * Resource name is a logical identifier, independent of network
862
+ # protocol and API version. For example,
863
+ # `//pubsub.googleapis.com/projects/123/topics/news-feed`.
864
+ # * URI often includes protocol and version information, so it can
865
+ # be used directly by applications. For example,
866
+ # `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`.
867
+ # See https://cloud.google.com/apis/design/resource_names for details.
868
+ # Corresponds to the JSON property `name`
869
+ # @return [String]
870
+ attr_accessor :name
871
+
872
+ # The name of the service that this resource belongs to, such as
873
+ # `pubsub.googleapis.com`. The service may be different from the DNS
874
+ # hostname that actually serves the request.
875
+ # Corresponds to the JSON property `service`
876
+ # @return [String]
877
+ attr_accessor :service
878
+
879
+ # The type of the resource. The syntax is platform-specific because
880
+ # different platforms define their resources differently.
881
+ # For Google APIs, the type format must be "`service`/`kind`".
882
+ # Corresponds to the JSON property `type`
883
+ # @return [String]
884
+ attr_accessor :type
885
+
886
+ def initialize(**args)
887
+ update!(**args)
888
+ end
889
+
890
+ # Update properties of this object
891
+ def update!(**args)
892
+ @labels = args[:labels] if args.key?(:labels)
893
+ @name = args[:name] if args.key?(:name)
894
+ @service = args[:service] if args.key?(:service)
895
+ @type = args[:type] if args.key?(:type)
896
+ end
897
+ end
898
+
899
+ # Describes a resource referenced in the request.
900
+ class ResourceInfo
901
+ include Google::Apis::Core::Hashable
902
+
903
+ # The name of the resource referenced in the request.
904
+ # Corresponds to the JSON property `name`
905
+ # @return [String]
906
+ attr_accessor :name
907
+
908
+ # The resource permission needed for this request.
909
+ # The format must be "`service`/`plural`.`verb`".
910
+ # Corresponds to the JSON property `permission`
911
+ # @return [String]
912
+ attr_accessor :permission
913
+
914
+ # The resource type in the format of "`service`/`kind`".
915
+ # Corresponds to the JSON property `type`
916
+ # @return [String]
917
+ attr_accessor :type
918
+
919
+ def initialize(**args)
920
+ update!(**args)
921
+ end
922
+
923
+ # Update properties of this object
924
+ def update!(**args)
925
+ @name = args[:name] if args.key?(:name)
926
+ @permission = args[:permission] if args.key?(:permission)
927
+ @type = args[:type] if args.key?(:type)
928
+ end
929
+ end
930
+
931
+ # Location information about a resource.
932
+ class ResourceLocation
933
+ include Google::Apis::Core::Hashable
934
+
935
+ # The locations of a resource after the execution of the operation.
936
+ # Requests to create or delete a location based resource must populate
937
+ # the 'current_locations' field and not the 'original_locations' field.
938
+ # For example:
939
+ # "europe-west1-a"
940
+ # "us-east1"
941
+ # "nam3"
942
+ # Corresponds to the JSON property `currentLocations`
943
+ # @return [Array<String>]
944
+ attr_accessor :current_locations
945
+
946
+ # The locations of a resource prior to the execution of the operation.
947
+ # Requests that mutate the resource's location must populate both the
948
+ # 'original_locations' as well as the 'current_locations' fields.
949
+ # For example:
950
+ # "europe-west1-a"
951
+ # "us-east1"
952
+ # "nam3"
953
+ # Corresponds to the JSON property `originalLocations`
954
+ # @return [Array<String>]
955
+ attr_accessor :original_locations
956
+
957
+ def initialize(**args)
958
+ update!(**args)
959
+ end
960
+
961
+ # Update properties of this object
962
+ def update!(**args)
963
+ @current_locations = args[:current_locations] if args.key?(:current_locations)
964
+ @original_locations = args[:original_locations] if args.key?(:original_locations)
965
+ end
966
+ end
967
+
968
+ # This message defines attributes for a typical network response. It
969
+ # generally models semantics of an HTTP response.
970
+ class Response
971
+ include Google::Apis::Core::Hashable
972
+
973
+ # The HTTP response status code, such as `200` and `404`.
974
+ # Corresponds to the JSON property `code`
975
+ # @return [Fixnum]
976
+ attr_accessor :code
977
+
978
+ # The HTTP response headers. If multiple headers share the same key, they
979
+ # must be merged according to HTTP spec. All header keys must be
980
+ # lowercased, because HTTP header keys are case-insensitive.
981
+ # Corresponds to the JSON property `headers`
982
+ # @return [Hash<String,String>]
983
+ attr_accessor :headers
984
+
985
+ # The HTTP response size in bytes. If unknown, it must be -1.
986
+ # Corresponds to the JSON property `size`
987
+ # @return [Fixnum]
988
+ attr_accessor :size
989
+
990
+ # The timestamp when the `destination` service generates the first byte of
991
+ # the response.
992
+ # Corresponds to the JSON property `time`
993
+ # @return [String]
994
+ attr_accessor :time
995
+
996
+ def initialize(**args)
997
+ update!(**args)
998
+ end
999
+
1000
+ # Update properties of this object
1001
+ def update!(**args)
1002
+ @code = args[:code] if args.key?(:code)
1003
+ @headers = args[:headers] if args.key?(:headers)
1004
+ @size = args[:size] if args.key?(:size)
1005
+ @time = args[:time] if args.key?(:time)
1006
+ end
1007
+ end
1008
+
1009
+ # Identity delegation history of an authenticated service account.
1010
+ class ServiceAccountDelegationInfo
1011
+ include Google::Apis::Core::Hashable
1012
+
1013
+ # First party identity principal.
1014
+ # Corresponds to the JSON property `firstPartyPrincipal`
1015
+ # @return [Google::Apis::ServicecontrolV2::FirstPartyPrincipal]
1016
+ attr_accessor :first_party_principal
1017
+
1018
+ # Third party identity principal.
1019
+ # Corresponds to the JSON property `thirdPartyPrincipal`
1020
+ # @return [Google::Apis::ServicecontrolV2::ThirdPartyPrincipal]
1021
+ attr_accessor :third_party_principal
1022
+
1023
+ def initialize(**args)
1024
+ update!(**args)
1025
+ end
1026
+
1027
+ # Update properties of this object
1028
+ def update!(**args)
1029
+ @first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal)
1030
+ @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
1031
+ end
1032
+ end
1033
+
1034
+ # The context of a span, attached to
1035
+ # Exemplars
1036
+ # in Distribution values during aggregation.
1037
+ # It contains the name of a span with format:
1038
+ # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
1039
+ class SpanContext
1040
+ include Google::Apis::Core::Hashable
1041
+
1042
+ # The resource name of the span. The format is:
1043
+ # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
1044
+ # `[TRACE_ID]` is a unique identifier for a trace within a project;
1045
+ # it is a 32-character hexadecimal encoding of a 16-byte array.
1046
+ # `[SPAN_ID]` is a unique identifier for a span within a trace; it
1047
+ # is a 16-character hexadecimal encoding of an 8-byte array.
1048
+ # Corresponds to the JSON property `spanName`
1049
+ # @return [String]
1050
+ attr_accessor :span_name
1051
+
1052
+ def initialize(**args)
1053
+ update!(**args)
1054
+ end
1055
+
1056
+ # Update properties of this object
1057
+ def update!(**args)
1058
+ @span_name = args[:span_name] if args.key?(:span_name)
1059
+ end
1060
+ end
1061
+
1062
+ # The `Status` type defines a logical error model that is suitable for
1063
+ # different programming environments, including REST APIs and RPC APIs. It is
1064
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1065
+ # three pieces of data: error code, error message, and error details.
1066
+ # You can find out more about this error model and how to work with it in the
1067
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1068
+ class Status
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ # The status code, which should be an enum value of google.rpc.Code.
1072
+ # Corresponds to the JSON property `code`
1073
+ # @return [Fixnum]
1074
+ attr_accessor :code
1075
+
1076
+ # A list of messages that carry the error details. There is a common set of
1077
+ # message types for APIs to use.
1078
+ # Corresponds to the JSON property `details`
1079
+ # @return [Array<Hash<String,Object>>]
1080
+ attr_accessor :details
1081
+
1082
+ # A developer-facing error message, which should be in English. Any
1083
+ # user-facing error message should be localized and sent in the
1084
+ # google.rpc.Status.details field, or localized by the client.
1085
+ # Corresponds to the JSON property `message`
1086
+ # @return [String]
1087
+ attr_accessor :message
1088
+
1089
+ def initialize(**args)
1090
+ update!(**args)
1091
+ end
1092
+
1093
+ # Update properties of this object
1094
+ def update!(**args)
1095
+ @code = args[:code] if args.key?(:code)
1096
+ @details = args[:details] if args.key?(:details)
1097
+ @message = args[:message] if args.key?(:message)
1098
+ end
1099
+ end
1100
+
1101
+ # Third party identity principal.
1102
+ class ThirdPartyPrincipal
1103
+ include Google::Apis::Core::Hashable
1104
+
1105
+ # Metadata about third party identity.
1106
+ # Corresponds to the JSON property `thirdPartyClaims`
1107
+ # @return [Hash<String,Object>]
1108
+ attr_accessor :third_party_claims
1109
+
1110
+ def initialize(**args)
1111
+ update!(**args)
1112
+ end
1113
+
1114
+ # Update properties of this object
1115
+ def update!(**args)
1116
+ @third_party_claims = args[:third_party_claims] if args.key?(:third_party_claims)
1117
+ end
1118
+ end
1119
+ end
1120
+ end
1121
+ end