google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -12,25 +12,30 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ require 'open3'
16
+
15
17
  module Google
16
18
  module Apis
17
19
  # Client library version
18
- VERSION = '0.39.1'.freeze
20
+ VERSION = '0.40.0'.freeze
19
21
 
20
22
  # Current operating system
21
23
  # @private
22
24
  OS_VERSION = begin
23
25
  if RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/
24
- `ver`.sub(/\s*\[Version\s*/, '/').sub(']', '')
26
+ output, _ = Open3.capture2('ver')
27
+ output.sub(/\s*\[Version\s*/, '/').sub(']', '')
25
28
  elsif RUBY_PLATFORM =~ /darwin/i
26
- "Mac OS X/#{`sw_vers -productVersion`}"
29
+ output, _ = Open3.capture2('sw_vers', '-productVersion')
30
+ "Mac OS X/#{output}"
27
31
  elsif RUBY_PLATFORM == 'java'
28
32
  require 'java'
29
33
  name = java.lang.System.getProperty('os.name')
30
34
  version = java.lang.System.getProperty('os.version')
31
35
  "#{name}/#{version}"
32
36
  else
33
- `uname -sr`.sub(' ', '/')
37
+ output, _ = Open3.capture2('uname', '-sr')
38
+ output.sub(' ', '/')
34
39
  end.strip
35
40
  rescue
36
41
  RUBY_PLATFORM
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.1
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-05-11 00:00:00.000000000 Z
14
+ date: 2020-06-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -360,6 +360,10 @@ files:
360
360
  - generated/google/apis/appsmarket_v2/classes.rb
361
361
  - generated/google/apis/appsmarket_v2/representations.rb
362
362
  - generated/google/apis/appsmarket_v2/service.rb
363
+ - generated/google/apis/artifactregistry_v1beta1.rb
364
+ - generated/google/apis/artifactregistry_v1beta1/classes.rb
365
+ - generated/google/apis/artifactregistry_v1beta1/representations.rb
366
+ - generated/google/apis/artifactregistry_v1beta1/service.rb
363
367
  - generated/google/apis/bigquery_v2.rb
364
368
  - generated/google/apis/bigquery_v2/classes.rb
365
369
  - generated/google/apis/bigquery_v2/representations.rb
@@ -424,6 +428,10 @@ files:
424
428
  - generated/google/apis/chat_v1/classes.rb
425
429
  - generated/google/apis/chat_v1/representations.rb
426
430
  - generated/google/apis/chat_v1/service.rb
431
+ - generated/google/apis/chromeuxreport_v1.rb
432
+ - generated/google/apis/chromeuxreport_v1/classes.rb
433
+ - generated/google/apis/chromeuxreport_v1/representations.rb
434
+ - generated/google/apis/chromeuxreport_v1/service.rb
427
435
  - generated/google/apis/civicinfo_v2.rb
428
436
  - generated/google/apis/civicinfo_v2/classes.rb
429
437
  - generated/google/apis/civicinfo_v2/representations.rb
@@ -668,6 +676,10 @@ files:
668
676
  - generated/google/apis/dialogflow_v2beta1/classes.rb
669
677
  - generated/google/apis/dialogflow_v2beta1/representations.rb
670
678
  - generated/google/apis/dialogflow_v2beta1/service.rb
679
+ - generated/google/apis/dialogflow_v3alpha1.rb
680
+ - generated/google/apis/dialogflow_v3alpha1/classes.rb
681
+ - generated/google/apis/dialogflow_v3alpha1/representations.rb
682
+ - generated/google/apis/dialogflow_v3alpha1/service.rb
671
683
  - generated/google/apis/digitalassetlinks_v1.rb
672
684
  - generated/google/apis/digitalassetlinks_v1/classes.rb
673
685
  - generated/google/apis/digitalassetlinks_v1/representations.rb
@@ -756,6 +768,10 @@ files:
756
768
  - generated/google/apis/firebasehosting_v1beta1/classes.rb
757
769
  - generated/google/apis/firebasehosting_v1beta1/representations.rb
758
770
  - generated/google/apis/firebasehosting_v1beta1/service.rb
771
+ - generated/google/apis/firebaseml_v1.rb
772
+ - generated/google/apis/firebaseml_v1/classes.rb
773
+ - generated/google/apis/firebaseml_v1/representations.rb
774
+ - generated/google/apis/firebaseml_v1/service.rb
759
775
  - generated/google/apis/firebaseml_v1beta2.rb
760
776
  - generated/google/apis/firebaseml_v1beta2/classes.rb
761
777
  - generated/google/apis/firebaseml_v1beta2/representations.rb
@@ -932,6 +948,10 @@ files:
932
948
  - generated/google/apis/monitoring_v3/classes.rb
933
949
  - generated/google/apis/monitoring_v3/representations.rb
934
950
  - generated/google/apis/monitoring_v3/service.rb
951
+ - generated/google/apis/networkmanagement_v1.rb
952
+ - generated/google/apis/networkmanagement_v1/classes.rb
953
+ - generated/google/apis/networkmanagement_v1/representations.rb
954
+ - generated/google/apis/networkmanagement_v1/service.rb
935
955
  - generated/google/apis/networkmanagement_v1beta1.rb
936
956
  - generated/google/apis/networkmanagement_v1beta1/classes.rb
937
957
  - generated/google/apis/networkmanagement_v1beta1/representations.rb
@@ -960,18 +980,6 @@ files:
960
980
  - generated/google/apis/oslogin_v1beta/classes.rb
961
981
  - generated/google/apis/oslogin_v1beta/representations.rb
962
982
  - generated/google/apis/oslogin_v1beta/service.rb
963
- - generated/google/apis/pagespeedonline_v1.rb
964
- - generated/google/apis/pagespeedonline_v1/classes.rb
965
- - generated/google/apis/pagespeedonline_v1/representations.rb
966
- - generated/google/apis/pagespeedonline_v1/service.rb
967
- - generated/google/apis/pagespeedonline_v2.rb
968
- - generated/google/apis/pagespeedonline_v2/classes.rb
969
- - generated/google/apis/pagespeedonline_v2/representations.rb
970
- - generated/google/apis/pagespeedonline_v2/service.rb
971
- - generated/google/apis/pagespeedonline_v4.rb
972
- - generated/google/apis/pagespeedonline_v4/classes.rb
973
- - generated/google/apis/pagespeedonline_v4/representations.rb
974
- - generated/google/apis/pagespeedonline_v4/service.rb
975
983
  - generated/google/apis/pagespeedonline_v5.rb
976
984
  - generated/google/apis/pagespeedonline_v5/classes.rb
977
985
  - generated/google/apis/pagespeedonline_v5/representations.rb
@@ -1392,7 +1400,7 @@ homepage: https://github.com/google/google-api-ruby-client
1392
1400
  licenses:
1393
1401
  - Apache-2.0
1394
1402
  metadata:
1395
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.39.1
1403
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.40.0
1396
1404
  post_install_message:
1397
1405
  rdoc_options: []
1398
1406
  require_paths:
@@ -1,542 +0,0 @@
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 PagespeedonlineV1
24
-
25
- #
26
- class Result
27
- include Google::Apis::Core::Hashable
28
-
29
- # The captcha verify result
30
- # Corresponds to the JSON property `captchaResult`
31
- # @return [String]
32
- attr_accessor :captcha_result
33
-
34
- # Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
35
- # rule instantiated and run by the server.
36
- # Corresponds to the JSON property `formattedResults`
37
- # @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults]
38
- attr_accessor :formatted_results
39
-
40
- # Canonicalized and final URL for the document, after following page redirects (
41
- # if any).
42
- # Corresponds to the JSON property `id`
43
- # @return [String]
44
- attr_accessor :id
45
-
46
- # List of rules that were specified in the request, but which the server did not
47
- # know how to instantiate.
48
- # Corresponds to the JSON property `invalidRules`
49
- # @return [Array<String>]
50
- attr_accessor :invalid_rules
51
-
52
- # Kind of result.
53
- # Corresponds to the JSON property `kind`
54
- # @return [String]
55
- attr_accessor :kind
56
-
57
- # Summary statistics for the page, such as number of JavaScript bytes, number of
58
- # HTML bytes, etc.
59
- # Corresponds to the JSON property `pageStats`
60
- # @return [Google::Apis::PagespeedonlineV1::Result::PageStats]
61
- attr_accessor :page_stats
62
-
63
- # Response code for the document. 200 indicates a normal page load. 4xx/5xx
64
- # indicates an error.
65
- # Corresponds to the JSON property `responseCode`
66
- # @return [Fixnum]
67
- attr_accessor :response_code
68
-
69
- # The PageSpeed Score (0-100), which indicates how much faster a page could be.
70
- # A high score indicates little room for improvement, while a lower score
71
- # indicates more room for improvement.
72
- # Corresponds to the JSON property `score`
73
- # @return [Fixnum]
74
- attr_accessor :score
75
-
76
- # Base64-encoded screenshot of the page that was analyzed.
77
- # Corresponds to the JSON property `screenshot`
78
- # @return [Google::Apis::PagespeedonlineV1::Result::Screenshot]
79
- attr_accessor :screenshot
80
-
81
- # Title of the page, as displayed in the browser's title bar.
82
- # Corresponds to the JSON property `title`
83
- # @return [String]
84
- attr_accessor :title
85
-
86
- # The version of PageSpeed used to generate these results.
87
- # Corresponds to the JSON property `version`
88
- # @return [Google::Apis::PagespeedonlineV1::Result::Version]
89
- attr_accessor :version
90
-
91
- def initialize(**args)
92
- update!(**args)
93
- end
94
-
95
- # Update properties of this object
96
- def update!(**args)
97
- @captcha_result = args[:captcha_result] if args.key?(:captcha_result)
98
- @formatted_results = args[:formatted_results] if args.key?(:formatted_results)
99
- @id = args[:id] if args.key?(:id)
100
- @invalid_rules = args[:invalid_rules] if args.key?(:invalid_rules)
101
- @kind = args[:kind] if args.key?(:kind)
102
- @page_stats = args[:page_stats] if args.key?(:page_stats)
103
- @response_code = args[:response_code] if args.key?(:response_code)
104
- @score = args[:score] if args.key?(:score)
105
- @screenshot = args[:screenshot] if args.key?(:screenshot)
106
- @title = args[:title] if args.key?(:title)
107
- @version = args[:version] if args.key?(:version)
108
- end
109
-
110
- # Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
111
- # rule instantiated and run by the server.
112
- class FormattedResults
113
- include Google::Apis::Core::Hashable
114
-
115
- # The locale of the formattedResults, e.g. "en_US".
116
- # Corresponds to the JSON property `locale`
117
- # @return [String]
118
- attr_accessor :locale
119
-
120
- # Dictionary of formatted rule results, with one entry for each PageSpeed rule
121
- # instantiated and run by the server.
122
- # Corresponds to the JSON property `ruleResults`
123
- # @return [Hash<String,Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult>]
124
- attr_accessor :rule_results
125
-
126
- def initialize(**args)
127
- update!(**args)
128
- end
129
-
130
- # Update properties of this object
131
- def update!(**args)
132
- @locale = args[:locale] if args.key?(:locale)
133
- @rule_results = args[:rule_results] if args.key?(:rule_results)
134
- end
135
-
136
- # The enum-like identifier for this rule. For instance "EnableKeepAlive" or "
137
- # AvoidCssImport". Not localized.
138
- class RuleResult
139
- include Google::Apis::Core::Hashable
140
-
141
- # Localized name of the rule, intended for presentation to a user.
142
- # Corresponds to the JSON property `localizedRuleName`
143
- # @return [String]
144
- attr_accessor :localized_rule_name
145
-
146
- # The impact (unbounded floating point value) that implementing the suggestions
147
- # for this rule would have on making the page faster. Impact is comparable
148
- # between rules to determine which rule's suggestions would have a higher or
149
- # lower impact on making a page faster. For instance, if enabling compression
150
- # would save 1MB, while optimizing images would save 500kB, the enable
151
- # compression rule would have 2x the impact of the image optimization rule, all
152
- # other things being equal.
153
- # Corresponds to the JSON property `ruleImpact`
154
- # @return [Float]
155
- attr_accessor :rule_impact
156
-
157
- # List of blocks of URLs. Each block may contain a heading and a list of URLs.
158
- # Each URL may optionally include additional details.
159
- # Corresponds to the JSON property `urlBlocks`
160
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock>]
161
- attr_accessor :url_blocks
162
-
163
- def initialize(**args)
164
- update!(**args)
165
- end
166
-
167
- # Update properties of this object
168
- def update!(**args)
169
- @localized_rule_name = args[:localized_rule_name] if args.key?(:localized_rule_name)
170
- @rule_impact = args[:rule_impact] if args.key?(:rule_impact)
171
- @url_blocks = args[:url_blocks] if args.key?(:url_blocks)
172
- end
173
-
174
- #
175
- class UrlBlock
176
- include Google::Apis::Core::Hashable
177
-
178
- # Heading to be displayed with the list of URLs.
179
- # Corresponds to the JSON property `header`
180
- # @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header]
181
- attr_accessor :header
182
-
183
- # List of entries that provide information about URLs in the url block. Optional.
184
- # Corresponds to the JSON property `urls`
185
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url>]
186
- attr_accessor :urls
187
-
188
- def initialize(**args)
189
- update!(**args)
190
- end
191
-
192
- # Update properties of this object
193
- def update!(**args)
194
- @header = args[:header] if args.key?(:header)
195
- @urls = args[:urls] if args.key?(:urls)
196
- end
197
-
198
- # Heading to be displayed with the list of URLs.
199
- class Header
200
- include Google::Apis::Core::Hashable
201
-
202
- # List of arguments for the format string.
203
- # Corresponds to the JSON property `args`
204
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header::Arg>]
205
- attr_accessor :args
206
-
207
- # A localized format string with $N placeholders, where N is the 1-indexed
208
- # argument number, e.g. 'Minifying the following $1 resources would save a total
209
- # of $2 bytes'.
210
- # Corresponds to the JSON property `format`
211
- # @return [String]
212
- attr_accessor :format
213
-
214
- def initialize(**args)
215
- update!(**args)
216
- end
217
-
218
- # Update properties of this object
219
- def update!(**args)
220
- @args = args[:args] if args.key?(:args)
221
- @format = args[:format] if args.key?(:format)
222
- end
223
-
224
- #
225
- class Arg
226
- include Google::Apis::Core::Hashable
227
-
228
- # Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
229
- # Corresponds to the JSON property `type`
230
- # @return [String]
231
- attr_accessor :type
232
-
233
- # Argument value, as a localized string.
234
- # Corresponds to the JSON property `value`
235
- # @return [String]
236
- attr_accessor :value
237
-
238
- def initialize(**args)
239
- update!(**args)
240
- end
241
-
242
- # Update properties of this object
243
- def update!(**args)
244
- @type = args[:type] if args.key?(:type)
245
- @value = args[:value] if args.key?(:value)
246
- end
247
- end
248
- end
249
-
250
- #
251
- class Url
252
- include Google::Apis::Core::Hashable
253
-
254
- # List of entries that provide additional details about a single URL. Optional.
255
- # Corresponds to the JSON property `details`
256
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail>]
257
- attr_accessor :details
258
-
259
- # A format string that gives information about the URL, and a list of arguments
260
- # for that format string.
261
- # Corresponds to the JSON property `result`
262
- # @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result]
263
- attr_accessor :result
264
-
265
- def initialize(**args)
266
- update!(**args)
267
- end
268
-
269
- # Update properties of this object
270
- def update!(**args)
271
- @details = args[:details] if args.key?(:details)
272
- @result = args[:result] if args.key?(:result)
273
- end
274
-
275
- #
276
- class Detail
277
- include Google::Apis::Core::Hashable
278
-
279
- # List of arguments for the format string.
280
- # Corresponds to the JSON property `args`
281
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg>]
282
- attr_accessor :args
283
-
284
- # A localized format string with $N placeholders, where N is the 1-indexed
285
- # argument number, e.g. 'Unnecessary metadata for this resource adds an
286
- # additional $1 bytes to its download size'.
287
- # Corresponds to the JSON property `format`
288
- # @return [String]
289
- attr_accessor :format
290
-
291
- def initialize(**args)
292
- update!(**args)
293
- end
294
-
295
- # Update properties of this object
296
- def update!(**args)
297
- @args = args[:args] if args.key?(:args)
298
- @format = args[:format] if args.key?(:format)
299
- end
300
-
301
- #
302
- class Arg
303
- include Google::Apis::Core::Hashable
304
-
305
- # Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
306
- # Corresponds to the JSON property `type`
307
- # @return [String]
308
- attr_accessor :type
309
-
310
- # Argument value, as a localized string.
311
- # Corresponds to the JSON property `value`
312
- # @return [String]
313
- attr_accessor :value
314
-
315
- def initialize(**args)
316
- update!(**args)
317
- end
318
-
319
- # Update properties of this object
320
- def update!(**args)
321
- @type = args[:type] if args.key?(:type)
322
- @value = args[:value] if args.key?(:value)
323
- end
324
- end
325
- end
326
-
327
- # A format string that gives information about the URL, and a list of arguments
328
- # for that format string.
329
- class Result
330
- include Google::Apis::Core::Hashable
331
-
332
- # List of arguments for the format string.
333
- # Corresponds to the JSON property `args`
334
- # @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result::Arg>]
335
- attr_accessor :args
336
-
337
- # A localized format string with $N placeholders, where N is the 1-indexed
338
- # argument number, e.g. 'Minifying the resource at URL $1 can save $2 bytes'.
339
- # Corresponds to the JSON property `format`
340
- # @return [String]
341
- attr_accessor :format
342
-
343
- def initialize(**args)
344
- update!(**args)
345
- end
346
-
347
- # Update properties of this object
348
- def update!(**args)
349
- @args = args[:args] if args.key?(:args)
350
- @format = args[:format] if args.key?(:format)
351
- end
352
-
353
- #
354
- class Arg
355
- include Google::Apis::Core::Hashable
356
-
357
- # Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
358
- # Corresponds to the JSON property `type`
359
- # @return [String]
360
- attr_accessor :type
361
-
362
- # Argument value, as a localized string.
363
- # Corresponds to the JSON property `value`
364
- # @return [String]
365
- attr_accessor :value
366
-
367
- def initialize(**args)
368
- update!(**args)
369
- end
370
-
371
- # Update properties of this object
372
- def update!(**args)
373
- @type = args[:type] if args.key?(:type)
374
- @value = args[:value] if args.key?(:value)
375
- end
376
- end
377
- end
378
- end
379
- end
380
- end
381
- end
382
-
383
- # Summary statistics for the page, such as number of JavaScript bytes, number of
384
- # HTML bytes, etc.
385
- class PageStats
386
- include Google::Apis::Core::Hashable
387
-
388
- # Number of uncompressed response bytes for CSS resources on the page.
389
- # Corresponds to the JSON property `cssResponseBytes`
390
- # @return [Fixnum]
391
- attr_accessor :css_response_bytes
392
-
393
- # Number of response bytes for flash resources on the page.
394
- # Corresponds to the JSON property `flashResponseBytes`
395
- # @return [Fixnum]
396
- attr_accessor :flash_response_bytes
397
-
398
- # Number of uncompressed response bytes for the main HTML document and all
399
- # iframes on the page.
400
- # Corresponds to the JSON property `htmlResponseBytes`
401
- # @return [Fixnum]
402
- attr_accessor :html_response_bytes
403
-
404
- # Number of response bytes for image resources on the page.
405
- # Corresponds to the JSON property `imageResponseBytes`
406
- # @return [Fixnum]
407
- attr_accessor :image_response_bytes
408
-
409
- # Number of uncompressed response bytes for JS resources on the page.
410
- # Corresponds to the JSON property `javascriptResponseBytes`
411
- # @return [Fixnum]
412
- attr_accessor :javascript_response_bytes
413
-
414
- # Number of CSS resources referenced by the page.
415
- # Corresponds to the JSON property `numberCssResources`
416
- # @return [Fixnum]
417
- attr_accessor :number_css_resources
418
-
419
- # Number of unique hosts referenced by the page.
420
- # Corresponds to the JSON property `numberHosts`
421
- # @return [Fixnum]
422
- attr_accessor :number_hosts
423
-
424
- # Number of JavaScript resources referenced by the page.
425
- # Corresponds to the JSON property `numberJsResources`
426
- # @return [Fixnum]
427
- attr_accessor :number_js_resources
428
-
429
- # Number of HTTP resources loaded by the page.
430
- # Corresponds to the JSON property `numberResources`
431
- # @return [Fixnum]
432
- attr_accessor :number_resources
433
-
434
- # Number of static (i.e. cacheable) resources on the page.
435
- # Corresponds to the JSON property `numberStaticResources`
436
- # @return [Fixnum]
437
- attr_accessor :number_static_resources
438
-
439
- # Number of response bytes for other resources on the page.
440
- # Corresponds to the JSON property `otherResponseBytes`
441
- # @return [Fixnum]
442
- attr_accessor :other_response_bytes
443
-
444
- # Number of uncompressed response bytes for text resources not covered by other
445
- # statistics (i.e non-HTML, non-script, non-CSS resources) on the page.
446
- # Corresponds to the JSON property `textResponseBytes`
447
- # @return [Fixnum]
448
- attr_accessor :text_response_bytes
449
-
450
- # Total size of all request bytes sent by the page.
451
- # Corresponds to the JSON property `totalRequestBytes`
452
- # @return [Fixnum]
453
- attr_accessor :total_request_bytes
454
-
455
- def initialize(**args)
456
- update!(**args)
457
- end
458
-
459
- # Update properties of this object
460
- def update!(**args)
461
- @css_response_bytes = args[:css_response_bytes] if args.key?(:css_response_bytes)
462
- @flash_response_bytes = args[:flash_response_bytes] if args.key?(:flash_response_bytes)
463
- @html_response_bytes = args[:html_response_bytes] if args.key?(:html_response_bytes)
464
- @image_response_bytes = args[:image_response_bytes] if args.key?(:image_response_bytes)
465
- @javascript_response_bytes = args[:javascript_response_bytes] if args.key?(:javascript_response_bytes)
466
- @number_css_resources = args[:number_css_resources] if args.key?(:number_css_resources)
467
- @number_hosts = args[:number_hosts] if args.key?(:number_hosts)
468
- @number_js_resources = args[:number_js_resources] if args.key?(:number_js_resources)
469
- @number_resources = args[:number_resources] if args.key?(:number_resources)
470
- @number_static_resources = args[:number_static_resources] if args.key?(:number_static_resources)
471
- @other_response_bytes = args[:other_response_bytes] if args.key?(:other_response_bytes)
472
- @text_response_bytes = args[:text_response_bytes] if args.key?(:text_response_bytes)
473
- @total_request_bytes = args[:total_request_bytes] if args.key?(:total_request_bytes)
474
- end
475
- end
476
-
477
- # Base64-encoded screenshot of the page that was analyzed.
478
- class Screenshot
479
- include Google::Apis::Core::Hashable
480
-
481
- # Image data base64 encoded.
482
- # Corresponds to the JSON property `data`
483
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
484
- # @return [String]
485
- attr_accessor :data
486
-
487
- # Height of screenshot in pixels.
488
- # Corresponds to the JSON property `height`
489
- # @return [Fixnum]
490
- attr_accessor :height
491
-
492
- # Mime type of image data. E.g. "image/jpeg".
493
- # Corresponds to the JSON property `mime_type`
494
- # @return [String]
495
- attr_accessor :mime_type
496
-
497
- # Width of screenshot in pixels.
498
- # Corresponds to the JSON property `width`
499
- # @return [Fixnum]
500
- attr_accessor :width
501
-
502
- def initialize(**args)
503
- update!(**args)
504
- end
505
-
506
- # Update properties of this object
507
- def update!(**args)
508
- @data = args[:data] if args.key?(:data)
509
- @height = args[:height] if args.key?(:height)
510
- @mime_type = args[:mime_type] if args.key?(:mime_type)
511
- @width = args[:width] if args.key?(:width)
512
- end
513
- end
514
-
515
- # The version of PageSpeed used to generate these results.
516
- class Version
517
- include Google::Apis::Core::Hashable
518
-
519
- # The major version number of PageSpeed used to generate these results.
520
- # Corresponds to the JSON property `major`
521
- # @return [Fixnum]
522
- attr_accessor :major
523
-
524
- # The minor version number of PageSpeed used to generate these results.
525
- # Corresponds to the JSON property `minor`
526
- # @return [Fixnum]
527
- attr_accessor :minor
528
-
529
- def initialize(**args)
530
- update!(**args)
531
- end
532
-
533
- # Update properties of this object
534
- def update!(**args)
535
- @major = args[:major] if args.key?(:major)
536
- @minor = args[:minor] if args.key?(:minor)
537
- end
538
- end
539
- end
540
- end
541
- end
542
- end