google-api-client 0.36.4 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191230'
28
+ REVISION = '20200214'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -434,19 +434,30 @@ module Google
434
434
  include Google::Apis::Core::Hashable
435
435
 
436
436
  # The address of the API backend.
437
+ # The scheme is used to determine the backend protocol and security.
438
+ # The following schemes are accepted:
439
+ # SCHEME PROTOCOL SECURITY
440
+ # http:// HTTP None
441
+ # https:// HTTP TLS
442
+ # grpc:// gRPC None
443
+ # grpcs:// gRPC TLS
444
+ # It is recommended to explicitly include a scheme. Leaving out the scheme
445
+ # may cause constrasting behaviors across platforms.
446
+ # If the port is unspecified, the default is:
447
+ # - 80 for schemes without TLS
448
+ # - 443 for schemes with TLS
449
+ # For HTTP backends, use protocol
450
+ # to specify the protocol version.
437
451
  # Corresponds to the JSON property `address`
438
452
  # @return [String]
439
453
  attr_accessor :address
440
454
 
441
- # The number of seconds to wait for a response from a request. The default
442
- # deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
455
+ # The number of seconds to wait for a response from a request. The default
456
+ # varies based on the request protocol and deployment environment.
443
457
  # Corresponds to the JSON property `deadline`
444
458
  # @return [Float]
445
459
  attr_accessor :deadline
446
460
 
447
- # When disable_auth is false, a JWT ID token will be generated with the
448
- # value from BackendRule.address as jwt_audience, overrode to the HTTP
449
- # "Authorization" request header and sent to the backend.
450
461
  # When disable_auth is true, a JWT ID token won't be generated and the
451
462
  # original "Authorization" HTTP header will be preserved. If the header is
452
463
  # used to carry the original token and is expected by the backend, this
@@ -480,6 +491,27 @@ module Google
480
491
  # @return [String]
481
492
  attr_accessor :path_translation
482
493
 
494
+ # The protocol used for sending a request to the backend.
495
+ # The supported values are "http/1.1" and "h2".
496
+ # The default value is inferred from the scheme in the
497
+ # address field:
498
+ # SCHEME PROTOCOL
499
+ # http:// http/1.1
500
+ # https:// http/1.1
501
+ # grpc:// h2
502
+ # grpcs:// h2
503
+ # For secure HTTP backends (https://) that support HTTP/2, set this field
504
+ # to "h2" for improved performance.
505
+ # Configuring this field to non-default values is only supported for secure
506
+ # HTTP backends. This field will be ignored for all other backends.
507
+ # See
508
+ # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
509
+ # values.xhtml#alpn-protocol-ids
510
+ # for more details on the supported values.
511
+ # Corresponds to the JSON property `protocol`
512
+ # @return [String]
513
+ attr_accessor :protocol
514
+
483
515
  # Selects the methods to which this rule applies.
484
516
  # Refer to selector for syntax details.
485
517
  # Corresponds to the JSON property `selector`
@@ -499,6 +531,7 @@ module Google
499
531
  @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
500
532
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
501
533
  @path_translation = args[:path_translation] if args.key?(:path_translation)
534
+ @protocol = args[:protocol] if args.key?(:protocol)
502
535
  @selector = args[:selector] if args.key?(:selector)
503
536
  end
504
537
  end
@@ -1508,6 +1541,13 @@ module Google
1508
1541
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::HttpRule>]
1509
1542
  attr_accessor :additional_bindings
1510
1543
 
1544
+ # When this flag is set to true, HTTP requests will be allowed to invoke a
1545
+ # half-duplex streaming method.
1546
+ # Corresponds to the JSON property `allowHalfDuplex`
1547
+ # @return [Boolean]
1548
+ attr_accessor :allow_half_duplex
1549
+ alias_method :allow_half_duplex?, :allow_half_duplex
1550
+
1511
1551
  # The name of the request field whose value is mapped to the HTTP request
1512
1552
  # body, or `*` for mapping all request fields not captured by the path
1513
1553
  # pattern to the HTTP body, or omitted for not having any HTTP request body.
@@ -1570,6 +1610,7 @@ module Google
1570
1610
  # Update properties of this object
1571
1611
  def update!(**args)
1572
1612
  @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
1613
+ @allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
1573
1614
  @body = args[:body] if args.key?(:body)
1574
1615
  @custom = args[:custom] if args.key?(:custom)
1575
1616
  @delete = args[:delete] if args.key?(:delete)
@@ -3263,6 +3304,48 @@ module Google
3263
3304
  end
3264
3305
  end
3265
3306
 
3307
+ # The per-product per-project service identity for a service.
3308
+ # Use this field to configure per-product per-project service identity.
3309
+ # Example of a service identity configuration.
3310
+ # usage:
3311
+ # service_identity:
3312
+ # - service_account_parent: "projects/123456789"
3313
+ # display_name: "Cloud XXX Service Agent"
3314
+ # description: "Used as the identity of Cloud XXX to access resources"
3315
+ class ServiceIdentity
3316
+ include Google::Apis::Core::Hashable
3317
+
3318
+ # Optional. A user-specified opaque description of the service account.
3319
+ # Must be less than or equal to 256 UTF-8 bytes.
3320
+ # Corresponds to the JSON property `description`
3321
+ # @return [String]
3322
+ attr_accessor :description
3323
+
3324
+ # Optional. A user-specified name for the service account.
3325
+ # Must be less than or equal to 100 UTF-8 bytes.
3326
+ # Corresponds to the JSON property `displayName`
3327
+ # @return [String]
3328
+ attr_accessor :display_name
3329
+
3330
+ # A service account project that hosts the service accounts.
3331
+ # An example name would be:
3332
+ # `projects/123456789`
3333
+ # Corresponds to the JSON property `serviceAccountParent`
3334
+ # @return [String]
3335
+ attr_accessor :service_account_parent
3336
+
3337
+ def initialize(**args)
3338
+ update!(**args)
3339
+ end
3340
+
3341
+ # Update properties of this object
3342
+ def update!(**args)
3343
+ @description = args[:description] if args.key?(:description)
3344
+ @display_name = args[:display_name] if args.key?(:display_name)
3345
+ @service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
3346
+ end
3347
+ end
3348
+
3266
3349
  # `SourceContext` represents information about the source of a
3267
3350
  # protobuf element, like the file in which it is defined.
3268
3351
  class SourceContext
@@ -3717,6 +3800,18 @@ module Google
3717
3800
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::UsageRule>]
3718
3801
  attr_accessor :rules
3719
3802
 
3803
+ # The per-product per-project service identity for a service.
3804
+ # Use this field to configure per-product per-project service identity.
3805
+ # Example of a service identity configuration.
3806
+ # usage:
3807
+ # service_identity:
3808
+ # - service_account_parent: "projects/123456789"
3809
+ # display_name: "Cloud XXX Service Agent"
3810
+ # description: "Used as the identity of Cloud XXX to access resources"
3811
+ # Corresponds to the JSON property `serviceIdentity`
3812
+ # @return [Google::Apis::ServiceconsumermanagementV1::ServiceIdentity]
3813
+ attr_accessor :service_identity
3814
+
3720
3815
  def initialize(**args)
3721
3816
  update!(**args)
3722
3817
  end
@@ -3726,6 +3821,7 @@ module Google
3726
3821
  @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
3727
3822
  @requirements = args[:requirements] if args.key?(:requirements)
3728
3823
  @rules = args[:rules] if args.key?(:rules)
3824
+ @service_identity = args[:service_identity] if args.key?(:service_identity)
3729
3825
  end
3730
3826
  end
3731
3827
 
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class ServiceIdentity
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class SourceContext
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -647,6 +653,7 @@ module Google
647
653
  property :min_deadline, as: 'minDeadline'
648
654
  property :operation_deadline, as: 'operationDeadline'
649
655
  property :path_translation, as: 'pathTranslation'
656
+ property :protocol, as: 'protocol'
650
657
  property :selector, as: 'selector'
651
658
  end
652
659
  end
@@ -840,6 +847,7 @@ module Google
840
847
  class Representation < Google::Apis::Core::JsonRepresentation
841
848
  collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceconsumermanagementV1::HttpRule, decorator: Google::Apis::ServiceconsumermanagementV1::HttpRule::Representation
842
849
 
850
+ property :allow_half_duplex, as: 'allowHalfDuplex'
843
851
  property :body, as: 'body'
844
852
  property :custom, as: 'custom', class: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern, decorator: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern::Representation
845
853
 
@@ -1148,6 +1156,15 @@ module Google
1148
1156
  end
1149
1157
  end
1150
1158
 
1159
+ class ServiceIdentity
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ property :description, as: 'description'
1163
+ property :display_name, as: 'displayName'
1164
+ property :service_account_parent, as: 'serviceAccountParent'
1165
+ end
1166
+ end
1167
+
1151
1168
  class SourceContext
1152
1169
  # @private
1153
1170
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1287,8 @@ module Google
1270
1287
  collection :requirements, as: 'requirements'
1271
1288
  collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1::UsageRule, decorator: Google::Apis::ServiceconsumermanagementV1::UsageRule::Representation
1272
1289
 
1290
+ property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceconsumermanagementV1::ServiceIdentity, decorator: Google::Apis::ServiceconsumermanagementV1::ServiceIdentity::Representation
1291
+
1273
1292
  end
1274
1293
  end
1275
1294
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191206'
29
+ REVISION = '20200210'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -123,6 +123,71 @@ module Google
123
123
  end
124
124
  end
125
125
 
126
+ # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
127
+ class AttributeValue
128
+ include Google::Apis::Core::Hashable
129
+
130
+ # A Boolean value represented by `true` or `false`.
131
+ # Corresponds to the JSON property `boolValue`
132
+ # @return [Boolean]
133
+ attr_accessor :bool_value
134
+ alias_method :bool_value?, :bool_value
135
+
136
+ # A 64-bit signed integer.
137
+ # Corresponds to the JSON property `intValue`
138
+ # @return [Fixnum]
139
+ attr_accessor :int_value
140
+
141
+ # Represents a string that might be shortened to a specified length.
142
+ # Corresponds to the JSON property `stringValue`
143
+ # @return [Google::Apis::ServicecontrolV1::TruncatableString]
144
+ attr_accessor :string_value
145
+
146
+ def initialize(**args)
147
+ update!(**args)
148
+ end
149
+
150
+ # Update properties of this object
151
+ def update!(**args)
152
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
153
+ @int_value = args[:int_value] if args.key?(:int_value)
154
+ @string_value = args[:string_value] if args.key?(:string_value)
155
+ end
156
+ end
157
+
158
+ # A set of attributes, each in the format `[KEY]:[VALUE]`.
159
+ class Attributes
160
+ include Google::Apis::Core::Hashable
161
+
162
+ # The set of attributes. Each attribute's key can be up to 128 bytes
163
+ # long. The value can be a string up to 256 bytes, a signed 64-bit integer,
164
+ # or the Boolean values `true` and `false`. For example:
165
+ # "/instance_id": "my-instance"
166
+ # "/http/user_agent": ""
167
+ # "/http/request_bytes": 300
168
+ # "abc.com/myattribute": true
169
+ # Corresponds to the JSON property `attributeMap`
170
+ # @return [Hash<String,Google::Apis::ServicecontrolV1::AttributeValue>]
171
+ attr_accessor :attribute_map
172
+
173
+ # The number of attributes that were discarded. Attributes can be discarded
174
+ # because their keys are too long or because there are too many attributes.
175
+ # If this value is 0 then all attributes are valid.
176
+ # Corresponds to the JSON property `droppedAttributesCount`
177
+ # @return [Fixnum]
178
+ attr_accessor :dropped_attributes_count
179
+
180
+ def initialize(**args)
181
+ update!(**args)
182
+ end
183
+
184
+ # Update properties of this object
185
+ def update!(**args)
186
+ @attribute_map = args[:attribute_map] if args.key?(:attribute_map)
187
+ @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count)
188
+ end
189
+ end
190
+
126
191
  # Common audit log format for Google Cloud Platform API operations.
127
192
  class AuditLog
128
193
  include Google::Apis::Core::Hashable
@@ -1472,6 +1537,13 @@ module Google
1472
1537
  # @return [String]
1473
1538
  attr_accessor :start_time
1474
1539
 
1540
+ # Unimplemented. A list of Cloud Trace spans. The span names shall contain
1541
+ # the id of the destination project which can be either the produce or the
1542
+ # consumer project.
1543
+ # Corresponds to the JSON property `traceSpans`
1544
+ # @return [Array<Google::Apis::ServicecontrolV1::TraceSpan>]
1545
+ attr_accessor :trace_spans
1546
+
1475
1547
  # User defined labels for the resource that this operation is associated
1476
1548
  # with. Only a combination of 1000 user labels per consumer project are
1477
1549
  # allowed.
@@ -1496,6 +1568,7 @@ module Google
1496
1568
  @quota_properties = args[:quota_properties] if args.key?(:quota_properties)
1497
1569
  @resources = args[:resources] if args.key?(:resources)
1498
1570
  @start_time = args[:start_time] if args.key?(:start_time)
1571
+ @trace_spans = args[:trace_spans] if args.key?(:trace_spans)
1499
1572
  @user_labels = args[:user_labels] if args.key?(:user_labels)
1500
1573
  end
1501
1574
  end
@@ -2196,6 +2269,34 @@ module Google
2196
2269
  end
2197
2270
  end
2198
2271
 
2272
+ # The context of a span, attached to
2273
+ # Exemplars
2274
+ # in Distribution values during aggregation.
2275
+ # It contains the name of a span with format:
2276
+ # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
2277
+ class SpanContext
2278
+ include Google::Apis::Core::Hashable
2279
+
2280
+ # The resource name of the span. The format is:
2281
+ # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
2282
+ # `[TRACE_ID]` is a unique identifier for a trace within a project;
2283
+ # it is a 32-character hexadecimal encoding of a 16-byte array.
2284
+ # `[SPAN_ID]` is a unique identifier for a span within a trace; it
2285
+ # is a 16-character hexadecimal encoding of an 8-byte array.
2286
+ # Corresponds to the JSON property `spanName`
2287
+ # @return [String]
2288
+ attr_accessor :span_name
2289
+
2290
+ def initialize(**args)
2291
+ update!(**args)
2292
+ end
2293
+
2294
+ # Update properties of this object
2295
+ def update!(**args)
2296
+ @span_name = args[:span_name] if args.key?(:span_name)
2297
+ end
2298
+ end
2299
+
2199
2300
  # The `Status` type defines a logical error model that is suitable for
2200
2301
  # different programming environments, including REST APIs and RPC APIs. It is
2201
2302
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -2253,6 +2354,143 @@ module Google
2253
2354
  @third_party_claims = args[:third_party_claims] if args.key?(:third_party_claims)
2254
2355
  end
2255
2356
  end
2357
+
2358
+ # A span represents a single operation within a trace. Spans can be
2359
+ # nested to form a trace tree. Often, a trace contains a root span
2360
+ # that describes the end-to-end latency, and one or more subspans for
2361
+ # its sub-operations. A trace can also contain multiple root spans,
2362
+ # or none at all. Spans do not need to be contiguous&mdash;there may be
2363
+ # gaps or overlaps between spans in a trace.
2364
+ class TraceSpan
2365
+ include Google::Apis::Core::Hashable
2366
+
2367
+ # A set of attributes, each in the format `[KEY]:[VALUE]`.
2368
+ # Corresponds to the JSON property `attributes`
2369
+ # @return [Google::Apis::ServicecontrolV1::Attributes]
2370
+ attr_accessor :attributes
2371
+
2372
+ # An optional number of child spans that were generated while this span
2373
+ # was active. If set, allows implementation to detect missing child spans.
2374
+ # Corresponds to the JSON property `childSpanCount`
2375
+ # @return [Fixnum]
2376
+ attr_accessor :child_span_count
2377
+
2378
+ # Represents a string that might be shortened to a specified length.
2379
+ # Corresponds to the JSON property `displayName`
2380
+ # @return [Google::Apis::ServicecontrolV1::TruncatableString]
2381
+ attr_accessor :display_name
2382
+
2383
+ # The end time of the span. On the client side, this is the time kept by
2384
+ # the local machine where the span execution ends. On the server side, this
2385
+ # is the time when the server application handler stops running.
2386
+ # Corresponds to the JSON property `endTime`
2387
+ # @return [String]
2388
+ attr_accessor :end_time
2389
+
2390
+ # The resource name of the span in the following format:
2391
+ # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
2392
+ # identifier for a trace within a project;
2393
+ # it is a 32-character hexadecimal encoding of a 16-byte array.
2394
+ # [SPAN_ID] is a unique identifier for a span within a trace; it
2395
+ # is a 16-character hexadecimal encoding of an 8-byte array.
2396
+ # Corresponds to the JSON property `name`
2397
+ # @return [String]
2398
+ attr_accessor :name
2399
+
2400
+ # The [SPAN_ID] of this span's parent span. If this is a root span,
2401
+ # then this field must be empty.
2402
+ # Corresponds to the JSON property `parentSpanId`
2403
+ # @return [String]
2404
+ attr_accessor :parent_span_id
2405
+
2406
+ # (Optional) Set this parameter to indicate whether this span is in
2407
+ # the same process as its parent. If you do not set this parameter,
2408
+ # Stackdriver Trace is unable to take advantage of this helpful
2409
+ # information.
2410
+ # Corresponds to the JSON property `sameProcessAsParentSpan`
2411
+ # @return [Boolean]
2412
+ attr_accessor :same_process_as_parent_span
2413
+ alias_method :same_process_as_parent_span?, :same_process_as_parent_span
2414
+
2415
+ # The [SPAN_ID] portion of the span's resource name.
2416
+ # Corresponds to the JSON property `spanId`
2417
+ # @return [String]
2418
+ attr_accessor :span_id
2419
+
2420
+ # Distinguishes between spans generated in a particular context. For example,
2421
+ # two spans with the same name may be distinguished using `CLIENT` (caller)
2422
+ # and `SERVER` (callee) to identify an RPC call.
2423
+ # Corresponds to the JSON property `spanKind`
2424
+ # @return [String]
2425
+ attr_accessor :span_kind
2426
+
2427
+ # The start time of the span. On the client side, this is the time kept by
2428
+ # the local machine where the span execution starts. On the server side, this
2429
+ # is the time when the server's application handler starts running.
2430
+ # Corresponds to the JSON property `startTime`
2431
+ # @return [String]
2432
+ attr_accessor :start_time
2433
+
2434
+ # The `Status` type defines a logical error model that is suitable for
2435
+ # different programming environments, including REST APIs and RPC APIs. It is
2436
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2437
+ # three pieces of data: error code, error message, and error details.
2438
+ # You can find out more about this error model and how to work with it in the
2439
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2440
+ # Corresponds to the JSON property `status`
2441
+ # @return [Google::Apis::ServicecontrolV1::Status]
2442
+ attr_accessor :status
2443
+
2444
+ def initialize(**args)
2445
+ update!(**args)
2446
+ end
2447
+
2448
+ # Update properties of this object
2449
+ def update!(**args)
2450
+ @attributes = args[:attributes] if args.key?(:attributes)
2451
+ @child_span_count = args[:child_span_count] if args.key?(:child_span_count)
2452
+ @display_name = args[:display_name] if args.key?(:display_name)
2453
+ @end_time = args[:end_time] if args.key?(:end_time)
2454
+ @name = args[:name] if args.key?(:name)
2455
+ @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
2456
+ @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
2457
+ @span_id = args[:span_id] if args.key?(:span_id)
2458
+ @span_kind = args[:span_kind] if args.key?(:span_kind)
2459
+ @start_time = args[:start_time] if args.key?(:start_time)
2460
+ @status = args[:status] if args.key?(:status)
2461
+ end
2462
+ end
2463
+
2464
+ # Represents a string that might be shortened to a specified length.
2465
+ class TruncatableString
2466
+ include Google::Apis::Core::Hashable
2467
+
2468
+ # The number of bytes removed from the original string. If this
2469
+ # value is 0, then the string was not shortened.
2470
+ # Corresponds to the JSON property `truncatedByteCount`
2471
+ # @return [Fixnum]
2472
+ attr_accessor :truncated_byte_count
2473
+
2474
+ # The shortened string. For example, if the original string is 500
2475
+ # bytes long and the limit of the string is 128 bytes, then
2476
+ # `value` contains the first 128 bytes of the 500-byte string.
2477
+ # Truncation always happens on a UTF8 character boundary. If there
2478
+ # are multi-byte characters in the string, then the length of the
2479
+ # shortened string might be less than the size limit.
2480
+ # Corresponds to the JSON property `value`
2481
+ # @return [String]
2482
+ attr_accessor :value
2483
+
2484
+ def initialize(**args)
2485
+ update!(**args)
2486
+ end
2487
+
2488
+ # Update properties of this object
2489
+ def update!(**args)
2490
+ @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
2491
+ @value = args[:value] if args.key?(:value)
2492
+ end
2493
+ end
2256
2494
  end
2257
2495
  end
2258
2496
  end