google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190907'
29
+ REVISION = '20190922'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1902,6 +1902,15 @@ module Google
1902
1902
  # @return [String]
1903
1903
  attr_accessor :metric_kind
1904
1904
 
1905
+ # Read-only. If present, then a time
1906
+ # series, which is identified partially by
1907
+ # a metric type and a MonitoredResourceDescriptor, that is associated
1908
+ # with this metric type can only be associated with one of the monitored
1909
+ # resource types listed here.
1910
+ # Corresponds to the JSON property `monitoredResourceTypes`
1911
+ # @return [Array<String>]
1912
+ attr_accessor :monitored_resource_types
1913
+
1905
1914
  # The resource name of the metric descriptor.
1906
1915
  # Corresponds to the JSON property `name`
1907
1916
  # @return [String]
@@ -1992,6 +2001,7 @@ module Google
1992
2001
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1993
2002
  @metadata = args[:metadata] if args.key?(:metadata)
1994
2003
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
2004
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
1995
2005
  @name = args[:name] if args.key?(:name)
1996
2006
  @type = args[:type] if args.key?(:type)
1997
2007
  @unit = args[:unit] if args.key?(:unit)
@@ -2010,8 +2020,7 @@ module Google
2010
2020
  # @return [String]
2011
2021
  attr_accessor :ingest_delay
2012
2022
 
2013
- # Deprecated. Please use the MetricDescriptor.launch_stage instead.
2014
- # The launch stage of the metric definition.
2023
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
2015
2024
  # Corresponds to the JSON property `launchStage`
2016
2025
  # @return [String]
2017
2026
  attr_accessor :launch_stage
@@ -762,6 +762,7 @@ module Google
762
762
  property :metadata, as: 'metadata', class: Google::Apis::ServicenetworkingV1::MetricDescriptorMetadata, decorator: Google::Apis::ServicenetworkingV1::MetricDescriptorMetadata::Representation
763
763
 
764
764
  property :metric_kind, as: 'metricKind'
765
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
765
766
  property :name, as: 'name'
766
767
  property :type, as: 'type'
767
768
  property :unit, as: 'unit'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20190907'
29
+ REVISION = '20190922'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1842,6 +1842,15 @@ module Google
1842
1842
  # @return [String]
1843
1843
  attr_accessor :metric_kind
1844
1844
 
1845
+ # Read-only. If present, then a time
1846
+ # series, which is identified partially by
1847
+ # a metric type and a MonitoredResourceDescriptor, that is associated
1848
+ # with this metric type can only be associated with one of the monitored
1849
+ # resource types listed here.
1850
+ # Corresponds to the JSON property `monitoredResourceTypes`
1851
+ # @return [Array<String>]
1852
+ attr_accessor :monitored_resource_types
1853
+
1845
1854
  # The resource name of the metric descriptor.
1846
1855
  # Corresponds to the JSON property `name`
1847
1856
  # @return [String]
@@ -1932,6 +1941,7 @@ module Google
1932
1941
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1933
1942
  @metadata = args[:metadata] if args.key?(:metadata)
1934
1943
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1944
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
1935
1945
  @name = args[:name] if args.key?(:name)
1936
1946
  @type = args[:type] if args.key?(:type)
1937
1947
  @unit = args[:unit] if args.key?(:unit)
@@ -1950,8 +1960,7 @@ module Google
1950
1960
  # @return [String]
1951
1961
  attr_accessor :ingest_delay
1952
1962
 
1953
- # Deprecated. Please use the MetricDescriptor.launch_stage instead.
1954
- # The launch stage of the metric definition.
1963
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
1955
1964
  # Corresponds to the JSON property `launchStage`
1956
1965
  # @return [String]
1957
1966
  attr_accessor :launch_stage
@@ -723,6 +723,7 @@ module Google
723
723
  property :metadata, as: 'metadata', class: Google::Apis::ServicenetworkingV1beta::MetricDescriptorMetadata, decorator: Google::Apis::ServicenetworkingV1beta::MetricDescriptorMetadata::Representation
724
724
 
725
725
  property :metric_kind, as: 'metricKind'
726
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
726
727
  property :name, as: 'name'
727
728
  property :type, as: 'type'
728
729
  property :unit, as: 'unit'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190911'
30
+ REVISION = '20190921'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2620,6 +2620,15 @@ module Google
2620
2620
  # @return [String]
2621
2621
  attr_accessor :metric_kind
2622
2622
 
2623
+ # Read-only. If present, then a time
2624
+ # series, which is identified partially by
2625
+ # a metric type and a MonitoredResourceDescriptor, that is associated
2626
+ # with this metric type can only be associated with one of the monitored
2627
+ # resource types listed here.
2628
+ # Corresponds to the JSON property `monitoredResourceTypes`
2629
+ # @return [Array<String>]
2630
+ attr_accessor :monitored_resource_types
2631
+
2623
2632
  # The resource name of the metric descriptor.
2624
2633
  # Corresponds to the JSON property `name`
2625
2634
  # @return [String]
@@ -2710,6 +2719,7 @@ module Google
2710
2719
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2711
2720
  @metadata = args[:metadata] if args.key?(:metadata)
2712
2721
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
2722
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
2713
2723
  @name = args[:name] if args.key?(:name)
2714
2724
  @type = args[:type] if args.key?(:type)
2715
2725
  @unit = args[:unit] if args.key?(:unit)
@@ -2728,8 +2738,7 @@ module Google
2728
2738
  # @return [String]
2729
2739
  attr_accessor :ingest_delay
2730
2740
 
2731
- # Deprecated. Please use the MetricDescriptor.launch_stage instead.
2732
- # The launch stage of the metric definition.
2741
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
2733
2742
  # Corresponds to the JSON property `launchStage`
2734
2743
  # @return [String]
2735
2744
  attr_accessor :launch_stage
@@ -961,6 +961,7 @@ module Google
961
961
  property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1::MetricDescriptorMetadata::Representation
962
962
 
963
963
  property :metric_kind, as: 'metricKind'
964
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
964
965
  property :name, as: 'name'
965
966
  property :type, as: 'type'
966
967
  property :unit, as: 'unit'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190911'
30
+ REVISION = '20190921'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2598,6 +2598,15 @@ module Google
2598
2598
  # @return [String]
2599
2599
  attr_accessor :metric_kind
2600
2600
 
2601
+ # Read-only. If present, then a time
2602
+ # series, which is identified partially by
2603
+ # a metric type and a MonitoredResourceDescriptor, that is associated
2604
+ # with this metric type can only be associated with one of the monitored
2605
+ # resource types listed here.
2606
+ # Corresponds to the JSON property `monitoredResourceTypes`
2607
+ # @return [Array<String>]
2608
+ attr_accessor :monitored_resource_types
2609
+
2601
2610
  # The resource name of the metric descriptor.
2602
2611
  # Corresponds to the JSON property `name`
2603
2612
  # @return [String]
@@ -2688,6 +2697,7 @@ module Google
2688
2697
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2689
2698
  @metadata = args[:metadata] if args.key?(:metadata)
2690
2699
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
2700
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
2691
2701
  @name = args[:name] if args.key?(:name)
2692
2702
  @type = args[:type] if args.key?(:type)
2693
2703
  @unit = args[:unit] if args.key?(:unit)
@@ -2706,8 +2716,7 @@ module Google
2706
2716
  # @return [String]
2707
2717
  attr_accessor :ingest_delay
2708
2718
 
2709
- # Deprecated. Please use the MetricDescriptor.launch_stage instead.
2710
- # The launch stage of the metric definition.
2719
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
2711
2720
  # Corresponds to the JSON property `launchStage`
2712
2721
  # @return [String]
2713
2722
  attr_accessor :launch_stage
@@ -960,6 +960,7 @@ module Google
960
960
  property :metadata, as: 'metadata', class: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceusageV1beta1::MetricDescriptorMetadata::Representation
961
961
 
962
962
  property :metric_kind, as: 'metricKind'
963
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
963
964
  property :name, as: 'name'
964
965
  property :type, as: 'type'
965
966
  property :unit, as: 'unit'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190723'
29
+ REVISION = '20190911'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,54 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
+ # The request for BatchCreateSessions.
26
+ class BatchCreateSessionsRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Required. The number of sessions to be created in this batch call.
30
+ # The API may return fewer than the requested number of sessions. If a
31
+ # specific number of sessions are desired, the client can make additional
32
+ # calls to BatchCreateSessions (adjusting
33
+ # session_count as necessary).
34
+ # Corresponds to the JSON property `sessionCount`
35
+ # @return [Fixnum]
36
+ attr_accessor :session_count
37
+
38
+ # A session in the Cloud Spanner API.
39
+ # Corresponds to the JSON property `sessionTemplate`
40
+ # @return [Google::Apis::SpannerV1::Session]
41
+ attr_accessor :session_template
42
+
43
+ def initialize(**args)
44
+ update!(**args)
45
+ end
46
+
47
+ # Update properties of this object
48
+ def update!(**args)
49
+ @session_count = args[:session_count] if args.key?(:session_count)
50
+ @session_template = args[:session_template] if args.key?(:session_template)
51
+ end
52
+ end
53
+
54
+ # The response for BatchCreateSessions.
55
+ class BatchCreateSessionsResponse
56
+ include Google::Apis::Core::Hashable
57
+
58
+ # The freshly created sessions.
59
+ # Corresponds to the JSON property `session`
60
+ # @return [Array<Google::Apis::SpannerV1::Session>]
61
+ attr_accessor :session
62
+
63
+ def initialize(**args)
64
+ update!(**args)
65
+ end
66
+
67
+ # Update properties of this object
68
+ def update!(**args)
69
+ @session = args[:session] if args.key?(:session)
70
+ end
71
+ end
72
+
25
73
  # The request for BeginTransaction.
26
74
  class BeginTransactionRequest
27
75
  include Google::Apis::Core::Hashable
@@ -274,7 +322,7 @@ module Google
274
322
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
275
323
  # who is authenticated with a Google account or a service account.
276
324
  # * `user:`emailid``: An email address that represents a specific Google
277
- # account. For example, `alice@gmail.com` .
325
+ # account. For example, `alice@example.com` .
278
326
  # * `serviceAccount:`emailid``: An email address that represents a service
279
327
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
280
328
  # * `group:`emailid``: An email address that represents a Google group.
@@ -1126,12 +1174,40 @@ module Google
1126
1174
  class GetIamPolicyRequest
1127
1175
  include Google::Apis::Core::Hashable
1128
1176
 
1177
+ # Encapsulates settings provided to GetIamPolicy.
1178
+ # Corresponds to the JSON property `options`
1179
+ # @return [Google::Apis::SpannerV1::GetPolicyOptions]
1180
+ attr_accessor :options
1181
+
1182
+ def initialize(**args)
1183
+ update!(**args)
1184
+ end
1185
+
1186
+ # Update properties of this object
1187
+ def update!(**args)
1188
+ @options = args[:options] if args.key?(:options)
1189
+ end
1190
+ end
1191
+
1192
+ # Encapsulates settings provided to GetIamPolicy.
1193
+ class GetPolicyOptions
1194
+ include Google::Apis::Core::Hashable
1195
+
1196
+ # Optional. The policy format version to be returned.
1197
+ # Acceptable values are 0, 1, and 3.
1198
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1199
+ # returned.
1200
+ # Corresponds to the JSON property `requestedPolicyVersion`
1201
+ # @return [Fixnum]
1202
+ attr_accessor :requested_policy_version
1203
+
1129
1204
  def initialize(**args)
1130
1205
  update!(**args)
1131
1206
  end
1132
1207
 
1133
1208
  # Update properties of this object
1134
1209
  def update!(**args)
1210
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
1135
1211
  end
1136
1212
  end
1137
1213
 
@@ -2101,7 +2177,7 @@ module Google
2101
2177
  # systems are expected to put that etag in the request to `setIamPolicy` to
2102
2178
  # ensure that their change will be applied to the same version of the policy.
2103
2179
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2104
- # policy is overwritten blindly.
2180
+ # policy is overwritten.
2105
2181
  # Corresponds to the JSON property `etag`
2106
2182
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2107
2183
  # @return [String]
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
+ class BatchCreateSessionsRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class BatchCreateSessionsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class BeginTransactionRequest
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -142,6 +154,12 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class GetPolicyOptions
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class Instance
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -418,6 +436,23 @@ module Google
418
436
  include Google::Apis::Core::JsonObjectSupport
419
437
  end
420
438
 
439
+ class BatchCreateSessionsRequest
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :session_count, as: 'sessionCount'
443
+ property :session_template, as: 'sessionTemplate', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
444
+
445
+ end
446
+ end
447
+
448
+ class BatchCreateSessionsResponse
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :session, as: 'session', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
452
+
453
+ end
454
+ end
455
+
421
456
  class BeginTransactionRequest
422
457
  # @private
423
458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -595,6 +630,15 @@ module Google
595
630
  class GetIamPolicyRequest
596
631
  # @private
597
632
  class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :options, as: 'options', class: Google::Apis::SpannerV1::GetPolicyOptions, decorator: Google::Apis::SpannerV1::GetPolicyOptions::Representation
634
+
635
+ end
636
+ end
637
+
638
+ class GetPolicyOptions
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :requested_policy_version, as: 'requestedPolicyVersion'
598
642
  end
599
643
  end
600
644
 
@@ -974,6 +974,41 @@ module Google
974
974
  execute_or_queue_command(command, &block)
975
975
  end
976
976
 
977
+ # Creates multiple new sessions.
978
+ # This API can be used to initialize a session cache on the clients.
979
+ # See https://goo.gl/TgSFN2 for best practices on session cache management.
980
+ # @param [String] database
981
+ # Required. The database in which the new sessions are created.
982
+ # @param [Google::Apis::SpannerV1::BatchCreateSessionsRequest] batch_create_sessions_request_object
983
+ # @param [String] fields
984
+ # Selector specifying which fields to include in a partial response.
985
+ # @param [String] quota_user
986
+ # Available to use for quota purposes for server-side applications. Can be any
987
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
988
+ # @param [Google::Apis::RequestOptions] options
989
+ # Request-specific options
990
+ #
991
+ # @yield [result, err] Result & error if block supplied
992
+ # @yieldparam result [Google::Apis::SpannerV1::BatchCreateSessionsResponse] parsed result object
993
+ # @yieldparam err [StandardError] error object if request failed
994
+ #
995
+ # @return [Google::Apis::SpannerV1::BatchCreateSessionsResponse]
996
+ #
997
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
998
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
999
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1000
+ def batch_create_sessions(database, batch_create_sessions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1001
+ command = make_simple_command(:post, 'v1/{+database}/sessions:batchCreate', options)
1002
+ command.request_representation = Google::Apis::SpannerV1::BatchCreateSessionsRequest::Representation
1003
+ command.request_object = batch_create_sessions_request_object
1004
+ command.response_representation = Google::Apis::SpannerV1::BatchCreateSessionsResponse::Representation
1005
+ command.response_class = Google::Apis::SpannerV1::BatchCreateSessionsResponse
1006
+ command.params['database'] = database unless database.nil?
1007
+ command.query['fields'] = fields unless fields.nil?
1008
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1009
+ execute_or_queue_command(command, &block)
1010
+ end
1011
+
977
1012
  # Begins a new transaction. This step can often be skipped:
978
1013
  # Read, ExecuteSql and
979
1014
  # Commit can begin a new transaction as a
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190823'
28
+ REVISION = '20190918'
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'