google-api-client 0.39.5 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +290 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/admob_v1.rb +1 -1
  8. data/generated/google/apis/admob_v1/classes.rb +5 -6
  9. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  12. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  15. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  19. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +183 -52
  22. data/generated/google/apis/apigee_v1/representations.rb +22 -0
  23. data/generated/google/apis/apigee_v1/service.rb +38 -37
  24. data/generated/google/apis/appsmarket_v2.rb +3 -3
  25. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  26. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  27. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +78 -6
  33. data/generated/google/apis/bigquery_v2/representations.rb +7 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  37. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  38. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  42. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  44. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  45. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  46. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  47. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  48. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  51. data/generated/google/apis/books_v1.rb +1 -1
  52. data/generated/google/apis/books_v1/service.rb +2 -2
  53. data/generated/google/apis/calendar_v3.rb +1 -1
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/chat_v1/classes.rb +2 -0
  56. data/generated/google/apis/chromeuxreport_v1.rb +32 -0
  57. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  58. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  59. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  62. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  64. data/generated/google/apis/cloudasset_v1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  66. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  67. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  68. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  70. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  71. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  74. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  75. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  77. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
  86. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
  89. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudiot_v1.rb +1 -1
  98. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  101. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  104. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  105. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  108. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  110. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  116. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  117. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  122. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  123. data/generated/google/apis/composer_v1beta1.rb +1 -1
  124. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  125. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  126. data/generated/google/apis/compute_alpha.rb +1 -1
  127. data/generated/google/apis/compute_alpha/classes.rb +756 -182
  128. data/generated/google/apis/compute_alpha/representations.rb +220 -33
  129. data/generated/google/apis/compute_alpha/service.rb +1891 -1099
  130. data/generated/google/apis/compute_beta.rb +1 -1
  131. data/generated/google/apis/compute_beta/classes.rb +435 -102
  132. data/generated/google/apis/compute_beta/representations.rb +95 -0
  133. data/generated/google/apis/compute_beta/service.rb +824 -595
  134. data/generated/google/apis/compute_v1.rb +1 -1
  135. data/generated/google/apis/compute_v1/classes.rb +658 -47
  136. data/generated/google/apis/compute_v1/representations.rb +188 -0
  137. data/generated/google/apis/compute_v1/service.rb +501 -4
  138. data/generated/google/apis/container_v1.rb +1 -1
  139. data/generated/google/apis/container_v1/classes.rb +31 -7
  140. data/generated/google/apis/container_v1/representations.rb +15 -0
  141. data/generated/google/apis/container_v1beta1.rb +1 -1
  142. data/generated/google/apis/container_v1beta1/classes.rb +47 -10
  143. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  144. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  145. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  146. data/generated/google/apis/content_v2.rb +1 -1
  147. data/generated/google/apis/content_v2/classes.rb +41 -1
  148. data/generated/google/apis/content_v2/representations.rb +17 -0
  149. data/generated/google/apis/content_v2/service.rb +15 -6
  150. data/generated/google/apis/content_v2_1.rb +1 -1
  151. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  152. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  153. data/generated/google/apis/content_v2_1/service.rb +95 -6
  154. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  155. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  156. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  157. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  158. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  159. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  160. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  161. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  162. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  163. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  164. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  165. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  168. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/dialogflow_v2.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
  174. data/generated/google/apis/dialogflow_v2/representations.rb +311 -0
  175. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  176. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  177. data/generated/google/apis/dialogflow_v2beta1/classes.rb +722 -19
  178. data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
  179. data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
  180. data/generated/google/apis/displayvideo_v1.rb +1 -1
  181. data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
  182. data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
  183. data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  186. data/generated/google/apis/dlp_v2/service.rb +170 -64
  187. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  188. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  189. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  190. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  191. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  193. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  194. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  195. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  196. data/generated/google/apis/drive_v2.rb +1 -1
  197. data/generated/google/apis/drive_v2/service.rb +26 -78
  198. data/generated/google/apis/drive_v3.rb +1 -1
  199. data/generated/google/apis/drive_v3/service.rb +18 -54
  200. data/generated/google/apis/fcm_v1.rb +1 -1
  201. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  202. data/generated/google/apis/file_v1.rb +1 -1
  203. data/generated/google/apis/file_v1/classes.rb +0 -1156
  204. data/generated/google/apis/file_v1/representations.rb +0 -381
  205. data/generated/google/apis/file_v1beta1.rb +1 -1
  206. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  207. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  208. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  209. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  210. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  211. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  212. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  213. data/generated/google/apis/fitness_v1.rb +4 -4
  214. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  215. data/generated/google/apis/fitness_v1/service.rb +187 -215
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +45 -36
  228. data/generated/google/apis/healthcare_v1/service.rb +66 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +954 -83
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  235. data/generated/google/apis/iam_v1.rb +1 -1
  236. data/generated/google/apis/iam_v1/classes.rb +116 -93
  237. data/generated/google/apis/iam_v1/service.rb +170 -144
  238. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  239. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  240. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  241. data/generated/google/apis/jobs_v3.rb +1 -1
  242. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  243. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  244. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  245. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  246. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  247. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  248. data/generated/google/apis/logging_v2.rb +1 -1
  249. data/generated/google/apis/logging_v2/classes.rb +69 -21
  250. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  251. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  252. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  253. data/generated/google/apis/ml_v1.rb +1 -1
  254. data/generated/google/apis/ml_v1/classes.rb +8 -0
  255. data/generated/google/apis/ml_v1/representations.rb +1 -0
  256. data/generated/google/apis/monitoring_v1.rb +1 -1
  257. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  258. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  259. data/generated/google/apis/monitoring_v3.rb +1 -1
  260. data/generated/google/apis/monitoring_v3/classes.rb +75 -19
  261. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +4 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -8
  273. data/generated/google/apis/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
  274. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  275. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  276. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  277. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  278. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  279. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  280. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  281. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  282. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  283. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  284. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  285. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  286. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  287. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  288. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  289. data/generated/google/apis/pubsub_v1.rb +1 -1
  290. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  291. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  292. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  293. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  294. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  295. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  296. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  297. data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
  298. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  299. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  300. data/generated/google/apis/recommender_v1/service.rb +266 -0
  301. data/generated/google/apis/redis_v1.rb +1 -1
  302. data/generated/google/apis/redis_v1/classes.rb +1 -1
  303. data/generated/google/apis/redis_v1/service.rb +1 -1
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  306. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  308. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  311. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  312. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  313. data/generated/google/apis/run_v1.rb +2 -2
  314. data/generated/google/apis/run_v1/classes.rb +19 -7
  315. data/generated/google/apis/run_v1/representations.rb +1 -0
  316. data/generated/google/apis/run_v1/service.rb +1 -1
  317. data/generated/google/apis/run_v1alpha1.rb +2 -2
  318. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  319. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  320. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  321. data/generated/google/apis/run_v1beta1.rb +2 -2
  322. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  323. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  324. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  325. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  326. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  327. data/generated/google/apis/secretmanager_v1.rb +1 -1
  328. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  329. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  330. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  331. data/generated/google/apis/securitycenter_v1.rb +1 -1
  332. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  333. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  334. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  335. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  336. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  337. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  338. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  339. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  340. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  341. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  342. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  343. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  344. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  345. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  346. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  347. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  348. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  349. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  350. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  351. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  352. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  353. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  354. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  355. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  356. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  357. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  359. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  360. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  361. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  362. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  363. data/generated/google/apis/serviceusage_v1.rb +1 -1
  364. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  365. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  366. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  367. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  368. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  369. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  370. data/generated/google/apis/sheets_v4.rb +1 -1
  371. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  372. data/generated/google/apis/slides_v1.rb +1 -1
  373. data/generated/google/apis/slides_v1/classes.rb +4 -0
  374. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  375. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  376. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  377. data/generated/google/apis/spanner_v1.rb +1 -1
  378. data/generated/google/apis/spanner_v1/classes.rb +55 -32
  379. data/generated/google/apis/spanner_v1/service.rb +10 -8
  380. data/generated/google/apis/speech_v1.rb +1 -1
  381. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  382. data/generated/google/apis/sql_v1beta4.rb +1 -1
  383. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  384. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  385. data/generated/google/apis/storage_v1.rb +1 -1
  386. data/generated/google/apis/storage_v1/service.rb +2 -3
  387. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  388. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  389. data/generated/google/apis/testing_v1.rb +1 -1
  390. data/generated/google/apis/testing_v1/classes.rb +2 -1
  391. data/generated/google/apis/texttospeech_v1.rb +1 -1
  392. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  393. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  394. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  395. data/generated/google/apis/tpu_v1.rb +1 -1
  396. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  397. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  398. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  399. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  400. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  401. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  402. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  403. data/generated/google/apis/videointelligence_v1.rb +1 -1
  404. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  406. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  407. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  410. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  412. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  413. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  414. data/generated/google/apis/vision_v1.rb +1 -1
  415. data/generated/google/apis/vision_v1/classes.rb +18 -0
  416. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  417. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  418. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  420. data/generated/google/apis/webfonts_v1.rb +5 -5
  421. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  422. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  423. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  424. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  425. data/generated/google/apis/youtube_v3.rb +1 -1
  426. data/generated/google/apis/youtube_v3/classes.rb +64 -26
  427. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  428. data/generated/google/apis/youtube_v3/service.rb +33 -36
  429. data/lib/google/apis/core/api_command.rb +12 -7
  430. data/lib/google/apis/options.rb +5 -1
  431. data/lib/google/apis/version.rb +1 -1
  432. metadata +27 -19
  433. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  434. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  435. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  436. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5022
  437. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
  438. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  439. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  440. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  441. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  442. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  443. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200520'
28
+ REVISION = '20200608'
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'
@@ -22,94 +22,6 @@ module Google
22
22
  module Apis
23
23
  module FileV1beta1
24
24
 
25
- # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
26
- class AttributeValue
27
- include Google::Apis::Core::Hashable
28
-
29
- # A Boolean value represented by `true` or `false`.
30
- # Corresponds to the JSON property `boolValue`
31
- # @return [Boolean]
32
- attr_accessor :bool_value
33
- alias_method :bool_value?, :bool_value
34
-
35
- # A 64-bit signed integer.
36
- # Corresponds to the JSON property `intValue`
37
- # @return [Fixnum]
38
- attr_accessor :int_value
39
-
40
- # Represents a string that might be shortened to a specified length.
41
- # Corresponds to the JSON property `stringValue`
42
- # @return [Google::Apis::FileV1beta1::TruncatableString]
43
- attr_accessor :string_value
44
-
45
- def initialize(**args)
46
- update!(**args)
47
- end
48
-
49
- # Update properties of this object
50
- def update!(**args)
51
- @bool_value = args[:bool_value] if args.key?(:bool_value)
52
- @int_value = args[:int_value] if args.key?(:int_value)
53
- @string_value = args[:string_value] if args.key?(:string_value)
54
- end
55
- end
56
-
57
- # A set of attributes, each in the format `[KEY]:[VALUE]`.
58
- class Attributes
59
- include Google::Apis::Core::Hashable
60
-
61
- # The set of attributes. Each attribute's key can be up to 128 bytes
62
- # long. The value can be a string up to 256 bytes, a signed 64-bit integer,
63
- # or the Boolean values `true` and `false`. For example:
64
- # "/instance_id": "my-instance"
65
- # "/http/user_agent": ""
66
- # "/http/request_bytes": 300
67
- # "abc.com/myattribute": true
68
- # Corresponds to the JSON property `attributeMap`
69
- # @return [Hash<String,Google::Apis::FileV1beta1::AttributeValue>]
70
- attr_accessor :attribute_map
71
-
72
- # The number of attributes that were discarded. Attributes can be discarded
73
- # because their keys are too long or because there are too many attributes.
74
- # If this value is 0 then all attributes are valid.
75
- # Corresponds to the JSON property `droppedAttributesCount`
76
- # @return [Fixnum]
77
- attr_accessor :dropped_attributes_count
78
-
79
- def initialize(**args)
80
- update!(**args)
81
- end
82
-
83
- # Update properties of this object
84
- def update!(**args)
85
- @attribute_map = args[:attribute_map] if args.key?(:attribute_map)
86
- @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count)
87
- end
88
- end
89
-
90
- # Message for reporting billing requests through Eventstream.
91
- class BillingView
92
- include Google::Apis::Core::Hashable
93
-
94
- # Billing requests to be reported for an [Eventstream
95
- # resource](http://google3/cloud/eventstream/v2/resource_event.proto).
96
- # Each request contains billing operations to be reported under a service
97
- # name. See go/billing-view-construction for documentation on constructing
98
- # billing view report requests.
99
- # Corresponds to the JSON property `reportRequests`
100
- # @return [Array<Google::Apis::FileV1beta1::ReportRequest>]
101
- attr_accessor :report_requests
102
-
103
- def initialize(**args)
104
- update!(**args)
105
- end
106
-
107
- # Update properties of this object
108
- def update!(**args)
109
- @report_requests = args[:report_requests] if args.key?(:report_requests)
110
- end
111
- end
112
-
113
25
  # The request message for Operations.CancelOperation.
114
26
  class CancelOperationRequest
115
27
  include Google::Apis::Core::Hashable
@@ -123,97 +35,6 @@ module Google
123
35
  end
124
36
  end
125
37
 
126
- # Distribution represents a frequency distribution of double-valued sample
127
- # points. It contains the size of the population of sample points plus
128
- # additional optional information:
129
- # - the arithmetic mean of the samples
130
- # - the minimum and maximum of the samples
131
- # - the sum-squared-deviation of the samples, used to compute variance
132
- # - a histogram of the values of the sample points
133
- class Distribution
134
- include Google::Apis::Core::Hashable
135
-
136
- # The number of samples in each histogram bucket. `bucket_counts` are
137
- # optional. If present, they must sum to the `count` value.
138
- # The buckets are defined below in `bucket_option`. There are N buckets.
139
- # `bucket_counts[0]` is the number of samples in the underflow bucket.
140
- # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
141
- # in each of the finite buckets. And `bucket_counts[N] is the number
142
- # of samples in the overflow bucket. See the comments of `bucket_option`
143
- # below for more details.
144
- # Any suffix of trailing zeros may be omitted.
145
- # Corresponds to the JSON property `bucketCounts`
146
- # @return [Array<Fixnum>]
147
- attr_accessor :bucket_counts
148
-
149
- # The total number of samples in the distribution. Must be >= 0.
150
- # Corresponds to the JSON property `count`
151
- # @return [Fixnum]
152
- attr_accessor :count
153
-
154
- # Example points. Must be in increasing order of `value` field.
155
- # Corresponds to the JSON property `exemplars`
156
- # @return [Array<Google::Apis::FileV1beta1::Exemplar>]
157
- attr_accessor :exemplars
158
-
159
- # Describing buckets with arbitrary user-provided width.
160
- # Corresponds to the JSON property `explicitBuckets`
161
- # @return [Google::Apis::FileV1beta1::ExplicitBuckets]
162
- attr_accessor :explicit_buckets
163
-
164
- # Describing buckets with exponentially growing width.
165
- # Corresponds to the JSON property `exponentialBuckets`
166
- # @return [Google::Apis::FileV1beta1::ExponentialBuckets]
167
- attr_accessor :exponential_buckets
168
-
169
- # Describing buckets with constant width.
170
- # Corresponds to the JSON property `linearBuckets`
171
- # @return [Google::Apis::FileV1beta1::LinearBuckets]
172
- attr_accessor :linear_buckets
173
-
174
- # The maximum of the population of values. Ignored if `count` is zero.
175
- # Corresponds to the JSON property `maximum`
176
- # @return [Float]
177
- attr_accessor :maximum
178
-
179
- # The arithmetic mean of the samples in the distribution. If `count` is
180
- # zero then this field must be zero.
181
- # Corresponds to the JSON property `mean`
182
- # @return [Float]
183
- attr_accessor :mean
184
-
185
- # The minimum of the population of values. Ignored if `count` is zero.
186
- # Corresponds to the JSON property `minimum`
187
- # @return [Float]
188
- attr_accessor :minimum
189
-
190
- # The sum of squared deviations from the mean:
191
- # Sum[i=1..count]((x_i - mean)^2)
192
- # where each x_i is a sample values. If `count` is zero then this field
193
- # must be zero, otherwise validation of the request fails.
194
- # Corresponds to the JSON property `sumOfSquaredDeviation`
195
- # @return [Float]
196
- attr_accessor :sum_of_squared_deviation
197
-
198
- def initialize(**args)
199
- update!(**args)
200
- end
201
-
202
- # Update properties of this object
203
- def update!(**args)
204
- @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
205
- @count = args[:count] if args.key?(:count)
206
- @exemplars = args[:exemplars] if args.key?(:exemplars)
207
- @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
208
- @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
209
- @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
210
- @maximum = args[:maximum] if args.key?(:maximum)
211
- @mean = args[:mean] if args.key?(:mean)
212
- @minimum = args[:minimum] if args.key?(:minimum)
213
- @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
214
- end
215
- end
216
-
217
38
  # A generic empty message that you can re-use to avoid defining duplicated
218
39
  # empty messages in your APIs. A typical example is to use it as the request
219
40
  # or the response type of an API method. For instance:
@@ -233,118 +54,6 @@ module Google
233
54
  end
234
55
  end
235
56
 
236
- # Exemplars are example points that may be used to annotate aggregated
237
- # distribution values. They are metadata that gives information about a
238
- # particular value added to a Distribution bucket, such as a trace ID that
239
- # was active when a value was added. They may contain further information,
240
- # such as a example values and timestamps, origin, etc.
241
- class Exemplar
242
- include Google::Apis::Core::Hashable
243
-
244
- # Contextual information about the example value. Examples are:
245
- # Trace: type.googleapis.com/google.monitoring.v3.SpanContext
246
- # Literal string: type.googleapis.com/google.protobuf.StringValue
247
- # Labels dropped during aggregation:
248
- # type.googleapis.com/google.monitoring.v3.DroppedLabels
249
- # There may be only a single attachment of any given message type in a
250
- # single exemplar, and this is enforced by the system.
251
- # Corresponds to the JSON property `attachments`
252
- # @return [Array<Hash<String,Object>>]
253
- attr_accessor :attachments
254
-
255
- # The observation (sampling) time of the above value.
256
- # Corresponds to the JSON property `timestamp`
257
- # @return [String]
258
- attr_accessor :timestamp
259
-
260
- # Value of the exemplar point. This value determines to which bucket the
261
- # exemplar belongs.
262
- # Corresponds to the JSON property `value`
263
- # @return [Float]
264
- attr_accessor :value
265
-
266
- def initialize(**args)
267
- update!(**args)
268
- end
269
-
270
- # Update properties of this object
271
- def update!(**args)
272
- @attachments = args[:attachments] if args.key?(:attachments)
273
- @timestamp = args[:timestamp] if args.key?(:timestamp)
274
- @value = args[:value] if args.key?(:value)
275
- end
276
- end
277
-
278
- # Describing buckets with arbitrary user-provided width.
279
- class ExplicitBuckets
280
- include Google::Apis::Core::Hashable
281
-
282
- # 'bound' is a list of strictly increasing boundaries between
283
- # buckets. Note that a list of length N-1 defines N buckets because
284
- # of fenceposting. See comments on `bucket_options` for details.
285
- # The i'th finite bucket covers the interval
286
- # [bound[i-1], bound[i])
287
- # where i ranges from 1 to bound_size() - 1. Note that there are no
288
- # finite buckets at all if 'bound' only contains a single element; in
289
- # that special case the single bound defines the boundary between the
290
- # underflow and overflow buckets.
291
- # bucket number lower bound upper bound
292
- # i == 0 (underflow) -inf bound[i]
293
- # 0 < i < bound_size() bound[i-1] bound[i]
294
- # i == bound_size() (overflow) bound[i-1] +inf
295
- # Corresponds to the JSON property `bounds`
296
- # @return [Array<Float>]
297
- attr_accessor :bounds
298
-
299
- def initialize(**args)
300
- update!(**args)
301
- end
302
-
303
- # Update properties of this object
304
- def update!(**args)
305
- @bounds = args[:bounds] if args.key?(:bounds)
306
- end
307
- end
308
-
309
- # Describing buckets with exponentially growing width.
310
- class ExponentialBuckets
311
- include Google::Apis::Core::Hashable
312
-
313
- # The i'th exponential bucket covers the interval
314
- # [scale * growth_factor^(i-1), scale * growth_factor^i)
315
- # where i ranges from 1 to num_finite_buckets inclusive.
316
- # Must be larger than 1.0.
317
- # Corresponds to the JSON property `growthFactor`
318
- # @return [Float]
319
- attr_accessor :growth_factor
320
-
321
- # The number of finite buckets. With the underflow and overflow buckets,
322
- # the total number of buckets is `num_finite_buckets` + 2.
323
- # See comments on `bucket_options` for details.
324
- # Corresponds to the JSON property `numFiniteBuckets`
325
- # @return [Fixnum]
326
- attr_accessor :num_finite_buckets
327
-
328
- # The i'th exponential bucket covers the interval
329
- # [scale * growth_factor^(i-1), scale * growth_factor^i)
330
- # where i ranges from 1 to num_finite_buckets inclusive.
331
- # Must be > 0.
332
- # Corresponds to the JSON property `scale`
333
- # @return [Float]
334
- attr_accessor :scale
335
-
336
- def initialize(**args)
337
- update!(**args)
338
- end
339
-
340
- # Update properties of this object
341
- def update!(**args)
342
- @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
343
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
344
- @scale = args[:scale] if args.key?(:scale)
345
- end
346
- end
347
-
348
57
  # File share configuration for the instance.
349
58
  class FileShareConfig
350
59
  include Google::Apis::Core::Hashable
@@ -360,6 +69,12 @@ module Google
360
69
  # @return [String]
361
70
  attr_accessor :name
362
71
 
72
+ # Nfs Export Options.
73
+ # There is a limit of 10 export options per file share.
74
+ # Corresponds to the JSON property `nfsExportOptions`
75
+ # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
76
+ attr_accessor :nfs_export_options
77
+
363
78
  def initialize(**args)
364
79
  update!(**args)
365
80
  end
@@ -368,143 +83,7 @@ module Google
368
83
  def update!(**args)
369
84
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
370
85
  @name = args[:name] if args.key?(:name)
371
- end
372
- end
373
-
374
- # Represents information regarding an operation.
375
- class GoogleApiServicecontrolV1Operation
376
- include Google::Apis::Core::Hashable
377
-
378
- # Identity of the consumer who is using the service.
379
- # This field should be filled in for the operations initiated by a
380
- # consumer, but not for service-initiated operations that are
381
- # not related to a specific consumer.
382
- # - This can be in one of the following formats:
383
- # - project:PROJECT_ID,
384
- # - project`_`number:PROJECT_NUMBER,
385
- # - projects/PROJECT_ID or PROJECT_NUMBER,
386
- # - folders/FOLDER_NUMBER,
387
- # - organizations/ORGANIZATION_NUMBER,
388
- # - api`_`key:API_KEY.
389
- # Corresponds to the JSON property `consumerId`
390
- # @return [String]
391
- attr_accessor :consumer_id
392
-
393
- # End time of the operation.
394
- # Required when the operation is used in ServiceController.Report,
395
- # but optional when the operation is used in ServiceController.Check.
396
- # Corresponds to the JSON property `endTime`
397
- # @return [String]
398
- attr_accessor :end_time
399
-
400
- # DO NOT USE. This is an experimental field.
401
- # Corresponds to the JSON property `importance`
402
- # @return [String]
403
- attr_accessor :importance
404
-
405
- # Labels describing the operation. Only the following labels are allowed:
406
- # - Labels describing monitored resources as defined in
407
- # the service configuration.
408
- # - Default labels of metric values. When specified, labels defined in the
409
- # metric value override these default.
410
- # - The following labels defined by Google Cloud Platform:
411
- # - `cloud.googleapis.com/location` describing the location where the
412
- # operation happened,
413
- # - `servicecontrol.googleapis.com/user_agent` describing the user agent
414
- # of the API request,
415
- # - `servicecontrol.googleapis.com/service_agent` describing the service
416
- # used to handle the API request (e.g. ESP),
417
- # - `servicecontrol.googleapis.com/platform` describing the platform
418
- # where the API is served, such as App Engine, Compute Engine, or
419
- # Kubernetes Engine.
420
- # Corresponds to the JSON property `labels`
421
- # @return [Hash<String,String>]
422
- attr_accessor :labels
423
-
424
- # Represents information to be logged.
425
- # Corresponds to the JSON property `logEntries`
426
- # @return [Array<Google::Apis::FileV1beta1::LogEntry>]
427
- attr_accessor :log_entries
428
-
429
- # Represents information about this operation. Each MetricValueSet
430
- # corresponds to a metric defined in the service configuration.
431
- # The data type used in the MetricValueSet must agree with
432
- # the data type specified in the metric definition.
433
- # Within a single operation, it is not allowed to have more than one
434
- # MetricValue instances that have the same metric names and identical
435
- # label value combinations. If a request has such duplicated MetricValue
436
- # instances, the entire request is rejected with
437
- # an invalid argument error.
438
- # Corresponds to the JSON property `metricValueSets`
439
- # @return [Array<Google::Apis::FileV1beta1::MetricValueSet>]
440
- attr_accessor :metric_value_sets
441
-
442
- # Identity of the operation. This must be unique within the scope of the
443
- # service that generated the operation. If the service calls
444
- # Check() and Report() on the same operation, the two calls should carry
445
- # the same id.
446
- # UUID version 4 is recommended, though not required.
447
- # In scenarios where an operation is computed from existing information
448
- # and an idempotent id is desirable for deduplication purpose, UUID version 5
449
- # is recommended. See RFC 4122 for details.
450
- # Corresponds to the JSON property `operationId`
451
- # @return [String]
452
- attr_accessor :operation_id
453
-
454
- # Fully qualified name of the operation. Reserved for future use.
455
- # Corresponds to the JSON property `operationName`
456
- # @return [String]
457
- attr_accessor :operation_name
458
-
459
- # Represents the properties needed for quota operations.
460
- # Corresponds to the JSON property `quotaProperties`
461
- # @return [Google::Apis::FileV1beta1::QuotaProperties]
462
- attr_accessor :quota_properties
463
-
464
- # The resources that are involved in the operation.
465
- # The maximum supported number of entries in this field is 100.
466
- # Corresponds to the JSON property `resources`
467
- # @return [Array<Google::Apis::FileV1beta1::ResourceInfo>]
468
- attr_accessor :resources
469
-
470
- # Required. Start time of the operation.
471
- # Corresponds to the JSON property `startTime`
472
- # @return [String]
473
- attr_accessor :start_time
474
-
475
- # Unimplemented. A list of Cloud Trace spans. The span names shall contain
476
- # the id of the destination project which can be either the produce or the
477
- # consumer project.
478
- # Corresponds to the JSON property `traceSpans`
479
- # @return [Array<Google::Apis::FileV1beta1::TraceSpan>]
480
- attr_accessor :trace_spans
481
-
482
- # User defined labels for the resource that this operation is associated
483
- # with. Only a combination of 1000 user labels per consumer project are
484
- # allowed.
485
- # Corresponds to the JSON property `userLabels`
486
- # @return [Hash<String,String>]
487
- attr_accessor :user_labels
488
-
489
- def initialize(**args)
490
- update!(**args)
491
- end
492
-
493
- # Update properties of this object
494
- def update!(**args)
495
- @consumer_id = args[:consumer_id] if args.key?(:consumer_id)
496
- @end_time = args[:end_time] if args.key?(:end_time)
497
- @importance = args[:importance] if args.key?(:importance)
498
- @labels = args[:labels] if args.key?(:labels)
499
- @log_entries = args[:log_entries] if args.key?(:log_entries)
500
- @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets)
501
- @operation_id = args[:operation_id] if args.key?(:operation_id)
502
- @operation_name = args[:operation_name] if args.key?(:operation_name)
503
- @quota_properties = args[:quota_properties] if args.key?(:quota_properties)
504
- @resources = args[:resources] if args.key?(:resources)
505
- @start_time = args[:start_time] if args.key?(:start_time)
506
- @trace_spans = args[:trace_spans] if args.key?(:trace_spans)
507
- @user_labels = args[:user_labels] if args.key?(:user_labels)
86
+ @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
508
87
  end
509
88
  end
510
89
 
@@ -905,130 +484,6 @@ module Google
905
484
  end
906
485
  end
907
486
 
908
- # A common proto for logging HTTP requests. Only contains semantics
909
- # defined by the HTTP specification. Product-specific logging
910
- # information MUST be defined in a separate message.
911
- class HttpRequest
912
- include Google::Apis::Core::Hashable
913
-
914
- # The number of HTTP response bytes inserted into cache. Set only when a
915
- # cache fill was attempted.
916
- # Corresponds to the JSON property `cacheFillBytes`
917
- # @return [Fixnum]
918
- attr_accessor :cache_fill_bytes
919
-
920
- # Whether or not an entity was served from cache
921
- # (with or without validation).
922
- # Corresponds to the JSON property `cacheHit`
923
- # @return [Boolean]
924
- attr_accessor :cache_hit
925
- alias_method :cache_hit?, :cache_hit
926
-
927
- # Whether or not a cache lookup was attempted.
928
- # Corresponds to the JSON property `cacheLookup`
929
- # @return [Boolean]
930
- attr_accessor :cache_lookup
931
- alias_method :cache_lookup?, :cache_lookup
932
-
933
- # Whether or not the response was validated with the origin server before
934
- # being served from cache. This field is only meaningful if `cache_hit` is
935
- # True.
936
- # Corresponds to the JSON property `cacheValidatedWithOriginServer`
937
- # @return [Boolean]
938
- attr_accessor :cache_validated_with_origin_server
939
- alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
940
-
941
- # The request processing latency on the server, from the time the request was
942
- # received until the response was sent.
943
- # Corresponds to the JSON property `latency`
944
- # @return [String]
945
- attr_accessor :latency
946
-
947
- # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
948
- # Corresponds to the JSON property `protocol`
949
- # @return [String]
950
- attr_accessor :protocol
951
-
952
- # The referer URL of the request, as defined in
953
- # [HTTP/1.1 Header Field
954
- # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
955
- # Corresponds to the JSON property `referer`
956
- # @return [String]
957
- attr_accessor :referer
958
-
959
- # The IP address (IPv4 or IPv6) of the client that issued the HTTP
960
- # request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
961
- # Corresponds to the JSON property `remoteIp`
962
- # @return [String]
963
- attr_accessor :remote_ip
964
-
965
- # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
966
- # Corresponds to the JSON property `requestMethod`
967
- # @return [String]
968
- attr_accessor :request_method
969
-
970
- # The size of the HTTP request message in bytes, including the request
971
- # headers and the request body.
972
- # Corresponds to the JSON property `requestSize`
973
- # @return [Fixnum]
974
- attr_accessor :request_size
975
-
976
- # The scheme (http, https), the host name, the path, and the query
977
- # portion of the URL that was requested.
978
- # Example: `"http://example.com/some/info?color=red"`.
979
- # Corresponds to the JSON property `requestUrl`
980
- # @return [String]
981
- attr_accessor :request_url
982
-
983
- # The size of the HTTP response message sent back to the client, in bytes,
984
- # including the response headers and the response body.
985
- # Corresponds to the JSON property `responseSize`
986
- # @return [Fixnum]
987
- attr_accessor :response_size
988
-
989
- # The IP address (IPv4 or IPv6) of the origin server that the request was
990
- # sent to.
991
- # Corresponds to the JSON property `serverIp`
992
- # @return [String]
993
- attr_accessor :server_ip
994
-
995
- # The response code indicating the status of the response.
996
- # Examples: 200, 404.
997
- # Corresponds to the JSON property `status`
998
- # @return [Fixnum]
999
- attr_accessor :status
1000
-
1001
- # The user agent sent by the client. Example:
1002
- # `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
1003
- # CLR 1.0.3705)"`.
1004
- # Corresponds to the JSON property `userAgent`
1005
- # @return [String]
1006
- attr_accessor :user_agent
1007
-
1008
- def initialize(**args)
1009
- update!(**args)
1010
- end
1011
-
1012
- # Update properties of this object
1013
- def update!(**args)
1014
- @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
1015
- @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
1016
- @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
1017
- @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
1018
- @latency = args[:latency] if args.key?(:latency)
1019
- @protocol = args[:protocol] if args.key?(:protocol)
1020
- @referer = args[:referer] if args.key?(:referer)
1021
- @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
1022
- @request_method = args[:request_method] if args.key?(:request_method)
1023
- @request_size = args[:request_size] if args.key?(:request_size)
1024
- @request_url = args[:request_url] if args.key?(:request_url)
1025
- @response_size = args[:response_size] if args.key?(:response_size)
1026
- @server_ip = args[:server_ip] if args.key?(:server_ip)
1027
- @status = args[:status] if args.key?(:status)
1028
- @user_agent = args[:user_agent] if args.key?(:user_agent)
1029
- end
1030
- end
1031
-
1032
487
  # A Cloud Filestore instance.
1033
488
  class Instance
1034
489
  include Google::Apis::Core::Hashable
@@ -1106,44 +561,6 @@ module Google
1106
561
  end
1107
562
  end
1108
563
 
1109
- # Describing buckets with constant width.
1110
- class LinearBuckets
1111
- include Google::Apis::Core::Hashable
1112
-
1113
- # The number of finite buckets. With the underflow and overflow buckets,
1114
- # the total number of buckets is `num_finite_buckets` + 2.
1115
- # See comments on `bucket_options` for details.
1116
- # Corresponds to the JSON property `numFiniteBuckets`
1117
- # @return [Fixnum]
1118
- attr_accessor :num_finite_buckets
1119
-
1120
- # The i'th linear bucket covers the interval
1121
- # [offset + (i-1) * width, offset + i * width)
1122
- # where i ranges from 1 to num_finite_buckets, inclusive.
1123
- # Corresponds to the JSON property `offset`
1124
- # @return [Float]
1125
- attr_accessor :offset
1126
-
1127
- # The i'th linear bucket covers the interval
1128
- # [offset + (i-1) * width, offset + i * width)
1129
- # where i ranges from 1 to num_finite_buckets, inclusive.
1130
- # Must be strictly positive.
1131
- # Corresponds to the JSON property `width`
1132
- # @return [Float]
1133
- attr_accessor :width
1134
-
1135
- def initialize(**args)
1136
- update!(**args)
1137
- end
1138
-
1139
- # Update properties of this object
1140
- def update!(**args)
1141
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
1142
- @offset = args[:offset] if args.key?(:offset)
1143
- @width = args[:width] if args.key?(:width)
1144
- end
1145
- end
1146
-
1147
564
  # ListInstancesResponse is the result of ListInstancesRequest.
1148
565
  class ListInstancesResponse
1149
566
  include Google::Apis::Core::Hashable
@@ -1277,333 +694,6 @@ module Google
1277
694
  end
1278
695
  end
1279
696
 
1280
- # An individual log entry.
1281
- class LogEntry
1282
- include Google::Apis::Core::Hashable
1283
-
1284
- # A common proto for logging HTTP requests. Only contains semantics
1285
- # defined by the HTTP specification. Product-specific logging
1286
- # information MUST be defined in a separate message.
1287
- # Corresponds to the JSON property `httpRequest`
1288
- # @return [Google::Apis::FileV1beta1::HttpRequest]
1289
- attr_accessor :http_request
1290
-
1291
- # A unique ID for the log entry used for deduplication. If omitted,
1292
- # the implementation will generate one based on operation_id.
1293
- # Corresponds to the JSON property `insertId`
1294
- # @return [String]
1295
- attr_accessor :insert_id
1296
-
1297
- # A set of user-defined (key, value) data that provides additional
1298
- # information about the log entry.
1299
- # Corresponds to the JSON property `labels`
1300
- # @return [Hash<String,String>]
1301
- attr_accessor :labels
1302
-
1303
- # Required. The log to which this log entry belongs. Examples: `"syslog"`,
1304
- # `"book_log"`.
1305
- # Corresponds to the JSON property `name`
1306
- # @return [String]
1307
- attr_accessor :name
1308
-
1309
- # Additional information about a potentially long-running operation with which
1310
- # a log entry is associated.
1311
- # Corresponds to the JSON property `operation`
1312
- # @return [Google::Apis::FileV1beta1::LogEntryOperation]
1313
- attr_accessor :operation
1314
-
1315
- # The log entry payload, represented as a protocol buffer that is
1316
- # expressed as a JSON object. The only accepted type currently is
1317
- # AuditLog.
1318
- # Corresponds to the JSON property `protoPayload`
1319
- # @return [Hash<String,Object>]
1320
- attr_accessor :proto_payload
1321
-
1322
- # The severity of the log entry. The default value is
1323
- # `LogSeverity.DEFAULT`.
1324
- # Corresponds to the JSON property `severity`
1325
- # @return [String]
1326
- attr_accessor :severity
1327
-
1328
- # Additional information about the source code location that produced the log
1329
- # entry.
1330
- # Corresponds to the JSON property `sourceLocation`
1331
- # @return [Google::Apis::FileV1beta1::LogEntrySourceLocation]
1332
- attr_accessor :source_location
1333
-
1334
- # The log entry payload, represented as a structure that
1335
- # is expressed as a JSON object.
1336
- # Corresponds to the JSON property `structPayload`
1337
- # @return [Hash<String,Object>]
1338
- attr_accessor :struct_payload
1339
-
1340
- # The log entry payload, represented as a Unicode string (UTF-8).
1341
- # Corresponds to the JSON property `textPayload`
1342
- # @return [String]
1343
- attr_accessor :text_payload
1344
-
1345
- # The time the event described by the log entry occurred. If
1346
- # omitted, defaults to operation start time.
1347
- # Corresponds to the JSON property `timestamp`
1348
- # @return [String]
1349
- attr_accessor :timestamp
1350
-
1351
- # Optional. Resource name of the trace associated with the log entry, if any.
1352
- # If this field contains a relative resource name, you can assume the name is
1353
- # relative to `//tracing.googleapis.com`. Example:
1354
- # `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
1355
- # Corresponds to the JSON property `trace`
1356
- # @return [String]
1357
- attr_accessor :trace
1358
-
1359
- def initialize(**args)
1360
- update!(**args)
1361
- end
1362
-
1363
- # Update properties of this object
1364
- def update!(**args)
1365
- @http_request = args[:http_request] if args.key?(:http_request)
1366
- @insert_id = args[:insert_id] if args.key?(:insert_id)
1367
- @labels = args[:labels] if args.key?(:labels)
1368
- @name = args[:name] if args.key?(:name)
1369
- @operation = args[:operation] if args.key?(:operation)
1370
- @proto_payload = args[:proto_payload] if args.key?(:proto_payload)
1371
- @severity = args[:severity] if args.key?(:severity)
1372
- @source_location = args[:source_location] if args.key?(:source_location)
1373
- @struct_payload = args[:struct_payload] if args.key?(:struct_payload)
1374
- @text_payload = args[:text_payload] if args.key?(:text_payload)
1375
- @timestamp = args[:timestamp] if args.key?(:timestamp)
1376
- @trace = args[:trace] if args.key?(:trace)
1377
- end
1378
- end
1379
-
1380
- # Additional information about a potentially long-running operation with which
1381
- # a log entry is associated.
1382
- class LogEntryOperation
1383
- include Google::Apis::Core::Hashable
1384
-
1385
- # Optional. Set this to True if this is the first log entry in the operation.
1386
- # Corresponds to the JSON property `first`
1387
- # @return [Boolean]
1388
- attr_accessor :first
1389
- alias_method :first?, :first
1390
-
1391
- # Optional. An arbitrary operation identifier. Log entries with the
1392
- # same identifier are assumed to be part of the same operation.
1393
- # Corresponds to the JSON property `id`
1394
- # @return [String]
1395
- attr_accessor :id
1396
-
1397
- # Optional. Set this to True if this is the last log entry in the operation.
1398
- # Corresponds to the JSON property `last`
1399
- # @return [Boolean]
1400
- attr_accessor :last
1401
- alias_method :last?, :last
1402
-
1403
- # Optional. An arbitrary producer identifier. The combination of
1404
- # `id` and `producer` must be globally unique. Examples for `producer`:
1405
- # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
1406
- # Corresponds to the JSON property `producer`
1407
- # @return [String]
1408
- attr_accessor :producer
1409
-
1410
- def initialize(**args)
1411
- update!(**args)
1412
- end
1413
-
1414
- # Update properties of this object
1415
- def update!(**args)
1416
- @first = args[:first] if args.key?(:first)
1417
- @id = args[:id] if args.key?(:id)
1418
- @last = args[:last] if args.key?(:last)
1419
- @producer = args[:producer] if args.key?(:producer)
1420
- end
1421
- end
1422
-
1423
- # Additional information about the source code location that produced the log
1424
- # entry.
1425
- class LogEntrySourceLocation
1426
- include Google::Apis::Core::Hashable
1427
-
1428
- # Optional. Source file name. Depending on the runtime environment, this
1429
- # might be a simple name or a fully-qualified name.
1430
- # Corresponds to the JSON property `file`
1431
- # @return [String]
1432
- attr_accessor :file
1433
-
1434
- # Optional. Human-readable name of the function or method being invoked, with
1435
- # optional context such as the class or package name. This information may be
1436
- # used in contexts such as the logs viewer, where a file and line number are
1437
- # less meaningful. The format can vary by language. For example:
1438
- # `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
1439
- # (Python).
1440
- # Corresponds to the JSON property `function`
1441
- # @return [String]
1442
- attr_accessor :function
1443
-
1444
- # Optional. Line within the source file. 1-based; 0 indicates no line number
1445
- # available.
1446
- # Corresponds to the JSON property `line`
1447
- # @return [Fixnum]
1448
- attr_accessor :line
1449
-
1450
- def initialize(**args)
1451
- update!(**args)
1452
- end
1453
-
1454
- # Update properties of this object
1455
- def update!(**args)
1456
- @file = args[:file] if args.key?(:file)
1457
- @function = args[:function] if args.key?(:function)
1458
- @line = args[:line] if args.key?(:line)
1459
- end
1460
- end
1461
-
1462
- # Represents a single metric value.
1463
- class MetricValue
1464
- include Google::Apis::Core::Hashable
1465
-
1466
- # A boolean value.
1467
- # Corresponds to the JSON property `boolValue`
1468
- # @return [Boolean]
1469
- attr_accessor :bool_value
1470
- alias_method :bool_value?, :bool_value
1471
-
1472
- # Distribution represents a frequency distribution of double-valued sample
1473
- # points. It contains the size of the population of sample points plus
1474
- # additional optional information:
1475
- # - the arithmetic mean of the samples
1476
- # - the minimum and maximum of the samples
1477
- # - the sum-squared-deviation of the samples, used to compute variance
1478
- # - a histogram of the values of the sample points
1479
- # Corresponds to the JSON property `distributionValue`
1480
- # @return [Google::Apis::FileV1beta1::Distribution]
1481
- attr_accessor :distribution_value
1482
-
1483
- # A double precision floating point value.
1484
- # Corresponds to the JSON property `doubleValue`
1485
- # @return [Float]
1486
- attr_accessor :double_value
1487
-
1488
- # The end of the time period over which this metric value's measurement
1489
- # applies.
1490
- # Corresponds to the JSON property `endTime`
1491
- # @return [String]
1492
- attr_accessor :end_time
1493
-
1494
- # A signed 64-bit integer value.
1495
- # Corresponds to the JSON property `int64Value`
1496
- # @return [Fixnum]
1497
- attr_accessor :int64_value
1498
-
1499
- # The labels describing the metric value.
1500
- # See comments on google.api.servicecontrol.v1.Operation.labels for
1501
- # the overriding relationship.
1502
- # Note that this map must not contain monitored resource labels.
1503
- # Corresponds to the JSON property `labels`
1504
- # @return [Hash<String,String>]
1505
- attr_accessor :labels
1506
-
1507
- # Represents an amount of money with its currency type.
1508
- # Corresponds to the JSON property `moneyValue`
1509
- # @return [Google::Apis::FileV1beta1::Money]
1510
- attr_accessor :money_value
1511
-
1512
- # The start of the time period over which this metric value's measurement
1513
- # applies. The time period has different semantics for different metric
1514
- # types (cumulative, delta, and gauge). See the metric definition
1515
- # documentation in the service configuration for details.
1516
- # Corresponds to the JSON property `startTime`
1517
- # @return [String]
1518
- attr_accessor :start_time
1519
-
1520
- # A text string value.
1521
- # Corresponds to the JSON property `stringValue`
1522
- # @return [String]
1523
- attr_accessor :string_value
1524
-
1525
- def initialize(**args)
1526
- update!(**args)
1527
- end
1528
-
1529
- # Update properties of this object
1530
- def update!(**args)
1531
- @bool_value = args[:bool_value] if args.key?(:bool_value)
1532
- @distribution_value = args[:distribution_value] if args.key?(:distribution_value)
1533
- @double_value = args[:double_value] if args.key?(:double_value)
1534
- @end_time = args[:end_time] if args.key?(:end_time)
1535
- @int64_value = args[:int64_value] if args.key?(:int64_value)
1536
- @labels = args[:labels] if args.key?(:labels)
1537
- @money_value = args[:money_value] if args.key?(:money_value)
1538
- @start_time = args[:start_time] if args.key?(:start_time)
1539
- @string_value = args[:string_value] if args.key?(:string_value)
1540
- end
1541
- end
1542
-
1543
- # Represents a set of metric values in the same metric.
1544
- # Each metric value in the set should have a unique combination of start time,
1545
- # end time, and label values.
1546
- class MetricValueSet
1547
- include Google::Apis::Core::Hashable
1548
-
1549
- # The metric name defined in the service configuration.
1550
- # Corresponds to the JSON property `metricName`
1551
- # @return [String]
1552
- attr_accessor :metric_name
1553
-
1554
- # The values in this metric.
1555
- # Corresponds to the JSON property `metricValues`
1556
- # @return [Array<Google::Apis::FileV1beta1::MetricValue>]
1557
- attr_accessor :metric_values
1558
-
1559
- def initialize(**args)
1560
- update!(**args)
1561
- end
1562
-
1563
- # Update properties of this object
1564
- def update!(**args)
1565
- @metric_name = args[:metric_name] if args.key?(:metric_name)
1566
- @metric_values = args[:metric_values] if args.key?(:metric_values)
1567
- end
1568
- end
1569
-
1570
- # Represents an amount of money with its currency type.
1571
- class Money
1572
- include Google::Apis::Core::Hashable
1573
-
1574
- # The 3-letter currency code defined in ISO 4217.
1575
- # Corresponds to the JSON property `currencyCode`
1576
- # @return [String]
1577
- attr_accessor :currency_code
1578
-
1579
- # Number of nano (10^-9) units of the amount.
1580
- # The value must be between -999,999,999 and +999,999,999 inclusive.
1581
- # If `units` is positive, `nanos` must be positive or zero.
1582
- # If `units` is zero, `nanos` can be positive, zero, or negative.
1583
- # If `units` is negative, `nanos` must be negative or zero.
1584
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1585
- # Corresponds to the JSON property `nanos`
1586
- # @return [Fixnum]
1587
- attr_accessor :nanos
1588
-
1589
- # The whole units of the amount.
1590
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
1591
- # Corresponds to the JSON property `units`
1592
- # @return [Fixnum]
1593
- attr_accessor :units
1594
-
1595
- def initialize(**args)
1596
- update!(**args)
1597
- end
1598
-
1599
- # Update properties of this object
1600
- def update!(**args)
1601
- @currency_code = args[:currency_code] if args.key?(:currency_code)
1602
- @nanos = args[:nanos] if args.key?(:nanos)
1603
- @units = args[:units] if args.key?(:units)
1604
- end
1605
- end
1606
-
1607
697
  # Network configuration for the instance.
1608
698
  class NetworkConfig
1609
699
  include Google::Apis::Core::Hashable
@@ -1653,6 +743,66 @@ module Google
1653
743
  end
1654
744
  end
1655
745
 
746
+ # NFS export options specifications.
747
+ class NfsExportOptions
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # Either READ_ONLY, for allowing only read requests on the exported
751
+ # directory, or READ_WRITE, for allowing both read and write requests.
752
+ # The default is READ_WRITE.
753
+ # Corresponds to the JSON property `accessMode`
754
+ # @return [String]
755
+ attr_accessor :access_mode
756
+
757
+ # An integer representing the anonymous group id with a default value of
758
+ # 65534.
759
+ # Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be
760
+ # returned if this field is specified for other squash_mode settings.
761
+ # Corresponds to the JSON property `anonGid`
762
+ # @return [Fixnum]
763
+ attr_accessor :anon_gid
764
+
765
+ # An integer representing the anonymous user id with a default value of
766
+ # 65534.
767
+ # Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be
768
+ # returned if this field is specified for other squash_mode settings.
769
+ # Corresponds to the JSON property `anonUid`
770
+ # @return [Fixnum]
771
+ attr_accessor :anon_uid
772
+
773
+ # List of either an IPv4 addresses in the format
774
+ # `octet 1`.`octet 2`.`octet 3`.`octet 4` or CIDR ranges in the format
775
+ # `octet 1`.`octet 2`.`octet 3`.`octet 4`/`mask size` which may mount the
776
+ # file share.
777
+ # Overlapping IP ranges are not allowed, both within and across
778
+ # NfsExportOptions. An error will be returned.
779
+ # The limit is 64 IP ranges/addresses for each FileShareConfig among all
780
+ # NfsExportOptions.
781
+ # Corresponds to the JSON property `ipRanges`
782
+ # @return [Array<String>]
783
+ attr_accessor :ip_ranges
784
+
785
+ # Either NO_ROOT_SQUASH, for allowing root access on the exported directory,
786
+ # or ROOT_SQUASH, for not allowing root access. The default is
787
+ # NO_ROOT_SQUASH.
788
+ # Corresponds to the JSON property `squashMode`
789
+ # @return [String]
790
+ attr_accessor :squash_mode
791
+
792
+ def initialize(**args)
793
+ update!(**args)
794
+ end
795
+
796
+ # Update properties of this object
797
+ def update!(**args)
798
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
799
+ @anon_gid = args[:anon_gid] if args.key?(:anon_gid)
800
+ @anon_uid = args[:anon_uid] if args.key?(:anon_uid)
801
+ @ip_ranges = args[:ip_ranges] if args.key?(:ip_ranges)
802
+ @squash_mode = args[:squash_mode] if args.key?(:squash_mode)
803
+ end
804
+ end
805
+
1656
806
  # This resource represents a long-running operation that is the result of a
1657
807
  # network API call.
1658
808
  class Operation
@@ -1776,108 +926,6 @@ module Google
1776
926
  end
1777
927
  end
1778
928
 
1779
- # Represents the properties needed for quota operations.
1780
- class QuotaProperties
1781
- include Google::Apis::Core::Hashable
1782
-
1783
- # Quota mode for this operation.
1784
- # Corresponds to the JSON property `quotaMode`
1785
- # @return [String]
1786
- attr_accessor :quota_mode
1787
-
1788
- def initialize(**args)
1789
- update!(**args)
1790
- end
1791
-
1792
- # Update properties of this object
1793
- def update!(**args)
1794
- @quota_mode = args[:quota_mode] if args.key?(:quota_mode)
1795
- end
1796
- end
1797
-
1798
- # Request message for the Report method.
1799
- class ReportRequest
1800
- include Google::Apis::Core::Hashable
1801
-
1802
- # Operations to be reported.
1803
- # Typically the service should report one operation per request.
1804
- # Putting multiple operations into a single request is allowed, but should
1805
- # be used only when multiple operations are natually available at the time
1806
- # of the report.
1807
- # There is no limit on the number of operations in the same ReportRequest,
1808
- # however the ReportRequest size should be no larger than 1MB. See
1809
- # ReportResponse.report_errors for partial failure behavior.
1810
- # Corresponds to the JSON property `operations`
1811
- # @return [Array<Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation>]
1812
- attr_accessor :operations
1813
-
1814
- # Specifies which version of service config should be used to process the
1815
- # request.
1816
- # If unspecified or no matching version can be found, the
1817
- # latest one will be used.
1818
- # Corresponds to the JSON property `serviceConfigId`
1819
- # @return [String]
1820
- attr_accessor :service_config_id
1821
-
1822
- # The service name as specified in its service configuration. For example,
1823
- # `"pubsub.googleapis.com"`.
1824
- # See
1825
- # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/
1826
- # google.api#google.api.Service)
1827
- # for the definition of a service name.
1828
- # Corresponds to the JSON property `serviceName`
1829
- # @return [String]
1830
- attr_accessor :service_name
1831
-
1832
- def initialize(**args)
1833
- update!(**args)
1834
- end
1835
-
1836
- # Update properties of this object
1837
- def update!(**args)
1838
- @operations = args[:operations] if args.key?(:operations)
1839
- @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
1840
- @service_name = args[:service_name] if args.key?(:service_name)
1841
- end
1842
- end
1843
-
1844
- # Describes a resource associated with this operation.
1845
- class ResourceInfo
1846
- include Google::Apis::Core::Hashable
1847
-
1848
- # The identifier of the parent of this resource instance.
1849
- # Must be in one of the following formats:
1850
- # - “projects/<project-id or project-number>”
1851
- # - “folders/<folder-id>”
1852
- # - “organizations/<organization-id>”
1853
- # Corresponds to the JSON property `resourceContainer`
1854
- # @return [String]
1855
- attr_accessor :resource_container
1856
-
1857
- # The location of the resource. If not empty, the resource will be checked
1858
- # against location policy. The value must be a valid zone, region or
1859
- # multiregion. For example: "europe-west4" or "northamerica-northeast1-a"
1860
- # Corresponds to the JSON property `resourceLocation`
1861
- # @return [String]
1862
- attr_accessor :resource_location
1863
-
1864
- # Name of the resource. This is used for auditing purposes.
1865
- # Corresponds to the JSON property `resourceName`
1866
- # @return [String]
1867
- attr_accessor :resource_name
1868
-
1869
- def initialize(**args)
1870
- update!(**args)
1871
- end
1872
-
1873
- # Update properties of this object
1874
- def update!(**args)
1875
- @resource_container = args[:resource_container] if args.key?(:resource_container)
1876
- @resource_location = args[:resource_location] if args.key?(:resource_location)
1877
- @resource_name = args[:resource_name] if args.key?(:resource_name)
1878
- end
1879
- end
1880
-
1881
929
  # The `Status` type defines a logical error model that is suitable for
1882
930
  # different programming environments, including REST APIs and RPC APIs. It is
1883
931
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -1916,143 +964,6 @@ module Google
1916
964
  @message = args[:message] if args.key?(:message)
1917
965
  end
1918
966
  end
1919
-
1920
- # A span represents a single operation within a trace. Spans can be
1921
- # nested to form a trace tree. Often, a trace contains a root span
1922
- # that describes the end-to-end latency, and one or more subspans for
1923
- # its sub-operations. A trace can also contain multiple root spans,
1924
- # or none at all. Spans do not need to be contiguous&mdash;there may be
1925
- # gaps or overlaps between spans in a trace.
1926
- class TraceSpan
1927
- include Google::Apis::Core::Hashable
1928
-
1929
- # A set of attributes, each in the format `[KEY]:[VALUE]`.
1930
- # Corresponds to the JSON property `attributes`
1931
- # @return [Google::Apis::FileV1beta1::Attributes]
1932
- attr_accessor :attributes
1933
-
1934
- # An optional number of child spans that were generated while this span
1935
- # was active. If set, allows implementation to detect missing child spans.
1936
- # Corresponds to the JSON property `childSpanCount`
1937
- # @return [Fixnum]
1938
- attr_accessor :child_span_count
1939
-
1940
- # Represents a string that might be shortened to a specified length.
1941
- # Corresponds to the JSON property `displayName`
1942
- # @return [Google::Apis::FileV1beta1::TruncatableString]
1943
- attr_accessor :display_name
1944
-
1945
- # The end time of the span. On the client side, this is the time kept by
1946
- # the local machine where the span execution ends. On the server side, this
1947
- # is the time when the server application handler stops running.
1948
- # Corresponds to the JSON property `endTime`
1949
- # @return [String]
1950
- attr_accessor :end_time
1951
-
1952
- # The resource name of the span in the following format:
1953
- # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
1954
- # identifier for a trace within a project;
1955
- # it is a 32-character hexadecimal encoding of a 16-byte array.
1956
- # [SPAN_ID] is a unique identifier for a span within a trace; it
1957
- # is a 16-character hexadecimal encoding of an 8-byte array.
1958
- # Corresponds to the JSON property `name`
1959
- # @return [String]
1960
- attr_accessor :name
1961
-
1962
- # The [SPAN_ID] of this span's parent span. If this is a root span,
1963
- # then this field must be empty.
1964
- # Corresponds to the JSON property `parentSpanId`
1965
- # @return [String]
1966
- attr_accessor :parent_span_id
1967
-
1968
- # (Optional) Set this parameter to indicate whether this span is in
1969
- # the same process as its parent. If you do not set this parameter,
1970
- # Stackdriver Trace is unable to take advantage of this helpful
1971
- # information.
1972
- # Corresponds to the JSON property `sameProcessAsParentSpan`
1973
- # @return [Boolean]
1974
- attr_accessor :same_process_as_parent_span
1975
- alias_method :same_process_as_parent_span?, :same_process_as_parent_span
1976
-
1977
- # The [SPAN_ID] portion of the span's resource name.
1978
- # Corresponds to the JSON property `spanId`
1979
- # @return [String]
1980
- attr_accessor :span_id
1981
-
1982
- # Distinguishes between spans generated in a particular context. For example,
1983
- # two spans with the same name may be distinguished using `CLIENT` (caller)
1984
- # and `SERVER` (callee) to identify an RPC call.
1985
- # Corresponds to the JSON property `spanKind`
1986
- # @return [String]
1987
- attr_accessor :span_kind
1988
-
1989
- # The start time of the span. On the client side, this is the time kept by
1990
- # the local machine where the span execution starts. On the server side, this
1991
- # is the time when the server's application handler starts running.
1992
- # Corresponds to the JSON property `startTime`
1993
- # @return [String]
1994
- attr_accessor :start_time
1995
-
1996
- # The `Status` type defines a logical error model that is suitable for
1997
- # different programming environments, including REST APIs and RPC APIs. It is
1998
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1999
- # three pieces of data: error code, error message, and error details.
2000
- # You can find out more about this error model and how to work with it in the
2001
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2002
- # Corresponds to the JSON property `status`
2003
- # @return [Google::Apis::FileV1beta1::Status]
2004
- attr_accessor :status
2005
-
2006
- def initialize(**args)
2007
- update!(**args)
2008
- end
2009
-
2010
- # Update properties of this object
2011
- def update!(**args)
2012
- @attributes = args[:attributes] if args.key?(:attributes)
2013
- @child_span_count = args[:child_span_count] if args.key?(:child_span_count)
2014
- @display_name = args[:display_name] if args.key?(:display_name)
2015
- @end_time = args[:end_time] if args.key?(:end_time)
2016
- @name = args[:name] if args.key?(:name)
2017
- @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
2018
- @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
2019
- @span_id = args[:span_id] if args.key?(:span_id)
2020
- @span_kind = args[:span_kind] if args.key?(:span_kind)
2021
- @start_time = args[:start_time] if args.key?(:start_time)
2022
- @status = args[:status] if args.key?(:status)
2023
- end
2024
- end
2025
-
2026
- # Represents a string that might be shortened to a specified length.
2027
- class TruncatableString
2028
- include Google::Apis::Core::Hashable
2029
-
2030
- # The number of bytes removed from the original string. If this
2031
- # value is 0, then the string was not shortened.
2032
- # Corresponds to the JSON property `truncatedByteCount`
2033
- # @return [Fixnum]
2034
- attr_accessor :truncated_byte_count
2035
-
2036
- # The shortened string. For example, if the original string is 500
2037
- # bytes long and the limit of the string is 128 bytes, then
2038
- # `value` contains the first 128 bytes of the 500-byte string.
2039
- # Truncation always happens on a UTF8 character boundary. If there
2040
- # are multi-byte characters in the string, then the length of the
2041
- # shortened string might be less than the size limit.
2042
- # Corresponds to the JSON property `value`
2043
- # @return [String]
2044
- attr_accessor :value
2045
-
2046
- def initialize(**args)
2047
- update!(**args)
2048
- end
2049
-
2050
- # Update properties of this object
2051
- def update!(**args)
2052
- @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
2053
- @value = args[:value] if args.key?(:value)
2054
- end
2055
- end
2056
967
  end
2057
968
  end
2058
969
  end