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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190910'
28
+ REVISION = '20190928'
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'
@@ -109,6 +109,7 @@ module Google
109
109
  end
110
110
 
111
111
  # Represents a hardware accelerator request config.
112
+ # Note that the AcceleratorConfig could be used in both Jobs and Versions.
112
113
  class GoogleCloudMlV1AcceleratorConfig
113
114
  include Google::Apis::Core::Hashable
114
115
 
@@ -1175,6 +1176,7 @@ module Google
1175
1176
  include Google::Apis::Core::Hashable
1176
1177
 
1177
1178
  # Represents a hardware accelerator request config.
1179
+ # Note that the AcceleratorConfig could be used in both Jobs and Versions.
1178
1180
  # Corresponds to the JSON property `acceleratorConfig`
1179
1181
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
1180
1182
  attr_accessor :accelerator_config
@@ -1216,26 +1218,42 @@ module Google
1216
1218
  end
1217
1219
  end
1218
1220
 
1219
- # Configurations for logging request-response pairs. Currently only BigQuery
1220
- # logging is supported. The request and response will be converted to raw
1221
- # string and stored within the specified BigQuery table. The schema is:
1222
- # model: STRING
1223
- # version: STRING
1224
- # time: Timestamp
1225
- # raw_data: STRING
1226
- # raw_prediction: STRING
1227
- # ground_truth: STRING
1221
+ # Configuration for logging request-response pairs to a BigQuery table.
1222
+ # Online prediction requests to a model version and the responses to these
1223
+ # requests are converted to raw strings and saved to the specified BigQuery
1224
+ # table. Logging is constrained by [BigQuery quotas and
1225
+ # limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits,
1226
+ # AI Platform Prediction does not log request-response pairs, but it continues
1227
+ # to serve predictions.
1228
+ # If you are using [continuous
1229
+ # evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
1230
+ # specify this configuration manually. Setting up continuous evaluation
1231
+ # automatically enables logging of request-response pairs.
1228
1232
  class GoogleCloudMlV1RequestLoggingConfig
1229
1233
  include Google::Apis::Core::Hashable
1230
1234
 
1231
- # Fully qualified BigQuery table name in the format of
1232
- # "[project_id].[dataset_name].[table_name]".
1235
+ # Required. Fully qualified BigQuery table name in the following format:
1236
+ # "<var>project_id</var>.<var>dataset_name</var>.<var>table_name</var>"
1237
+ # The specifcied table must already exist, and the "Cloud ML Service Agent"
1238
+ # for your project must have permission to write to it. The table must have
1239
+ # the following [schema](/bigquery/docs/schemas):
1240
+ # <table>
1241
+ # <tr><th>Field name</th><th style="display: table-cell">Type</th>
1242
+ # <th style="display: table-cell">Mode</th></tr>
1243
+ # <tr><td>model</td><td>STRING</td><td>REQUIRED</td></tr>
1244
+ # <tr><td>model_version</td><td>STRING</td><td>REQUIRED</td></tr>
1245
+ # <tr><td>time</td><td>TIMESTAMP</td><td>REQUIRED</td></tr>
1246
+ # <tr><td>raw_data</td><td>STRING</td><td>REQUIRED</td></tr>
1247
+ # <tr><td>raw_prediction</td><td>STRING</td><td>NULLABLE</td></tr>
1248
+ # <tr><td>groundtruth</td><td>STRING</td><td>NULLABLE</td></tr>
1249
+ # </table>
1233
1250
  # Corresponds to the JSON property `bigqueryTableName`
1234
1251
  # @return [String]
1235
1252
  attr_accessor :bigquery_table_name
1236
1253
 
1237
- # Percentage of the request being logged. The sampling window is the lifetime
1238
- # of the Version. Defaults to 0.
1254
+ # Percentage of requests to be logged, expressed as a fraction from 0 to 1.
1255
+ # For example, if you want to log 10% of requests, enter `0.1`. The sampling
1256
+ # window is the lifetime of the model version. Defaults to 0.
1239
1257
  # Corresponds to the JSON property `samplingPercentage`
1240
1258
  # @return [Float]
1241
1259
  attr_accessor :sampling_percentage
@@ -1608,6 +1626,12 @@ module Google
1608
1626
  class GoogleCloudMlV1Version
1609
1627
  include Google::Apis::Core::Hashable
1610
1628
 
1629
+ # Represents a hardware accelerator request config.
1630
+ # Note that the AcceleratorConfig could be used in both Jobs and Versions.
1631
+ # Corresponds to the JSON property `acceleratorConfig`
1632
+ # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
1633
+ attr_accessor :accelerator_config
1634
+
1611
1635
  # Options for automatically scaling a model.
1612
1636
  # Corresponds to the JSON property `autoScaling`
1613
1637
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
@@ -1789,15 +1813,17 @@ module Google
1789
1813
  # @return [String]
1790
1814
  attr_accessor :python_version
1791
1815
 
1792
- # Configurations for logging request-response pairs. Currently only BigQuery
1793
- # logging is supported. The request and response will be converted to raw
1794
- # string and stored within the specified BigQuery table. The schema is:
1795
- # model: STRING
1796
- # version: STRING
1797
- # time: Timestamp
1798
- # raw_data: STRING
1799
- # raw_prediction: STRING
1800
- # ground_truth: STRING
1816
+ # Configuration for logging request-response pairs to a BigQuery table.
1817
+ # Online prediction requests to a model version and the responses to these
1818
+ # requests are converted to raw strings and saved to the specified BigQuery
1819
+ # table. Logging is constrained by [BigQuery quotas and
1820
+ # limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits,
1821
+ # AI Platform Prediction does not log request-response pairs, but it continues
1822
+ # to serve predictions.
1823
+ # If you are using [continuous
1824
+ # evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
1825
+ # specify this configuration manually. Setting up continuous evaluation
1826
+ # automatically enables logging of request-response pairs.
1801
1827
  # Corresponds to the JSON property `requestLoggingConfig`
1802
1828
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
1803
1829
  attr_accessor :request_logging_config
@@ -1827,6 +1853,7 @@ module Google
1827
1853
 
1828
1854
  # Update properties of this object
1829
1855
  def update!(**args)
1856
+ @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
1830
1857
  @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
1831
1858
  @create_time = args[:create_time] if args.key?(:create_time)
1832
1859
  @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
@@ -2016,25 +2043,34 @@ module Google
2016
2043
 
2017
2044
  # Defines an Identity and Access Management (IAM) policy. It is used to
2018
2045
  # specify access control policies for Cloud Platform resources.
2019
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2020
- # `members` to a `role`, where the members can be user accounts, Google groups,
2021
- # Google domains, and service accounts. A `role` is a named list of permissions
2022
- # defined by IAM.
2046
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2047
+ # `members` to a single `role`. Members can be user accounts, service accounts,
2048
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
2049
+ # permissions (defined by IAM or configured by users). A `binding` can
2050
+ # optionally specify a `condition`, which is a logic expression that further
2051
+ # constrains the role binding based on attributes about the request and/or
2052
+ # target resource.
2023
2053
  # **JSON Example**
2024
2054
  # `
2025
2055
  # "bindings": [
2026
2056
  # `
2027
- # "role": "roles/owner",
2057
+ # "role": "roles/resourcemanager.organizationAdmin",
2028
2058
  # "members": [
2029
2059
  # "user:mike@example.com",
2030
2060
  # "group:admins@example.com",
2031
2061
  # "domain:google.com",
2032
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2062
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2033
2063
  # ]
2034
2064
  # `,
2035
2065
  # `
2036
- # "role": "roles/viewer",
2037
- # "members": ["user:sean@example.com"]
2066
+ # "role": "roles/resourcemanager.organizationViewer",
2067
+ # "members": ["user:eve@example.com"],
2068
+ # "condition": `
2069
+ # "title": "expirable access",
2070
+ # "description": "Does not grant access after Sep 2020",
2071
+ # "expression": "request.time <
2072
+ # timestamp('2020-10-01T00:00:00.000Z')",
2073
+ # `
2038
2074
  # `
2039
2075
  # ]
2040
2076
  # `
@@ -2044,11 +2080,15 @@ module Google
2044
2080
  # - user:mike@example.com
2045
2081
  # - group:admins@example.com
2046
2082
  # - domain:google.com
2047
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2048
- # role: roles/owner
2083
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2084
+ # role: roles/resourcemanager.organizationAdmin
2049
2085
  # - members:
2050
- # - user:sean@example.com
2051
- # role: roles/viewer
2086
+ # - user:eve@example.com
2087
+ # role: roles/resourcemanager.organizationViewer
2088
+ # condition:
2089
+ # title: expirable access
2090
+ # description: Does not grant access after Sep 2020
2091
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2052
2092
  # For a description of IAM and its features, see the
2053
2093
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
2054
2094
  class GoogleIamV1Policy
@@ -2059,7 +2099,8 @@ module Google
2059
2099
  # @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
2060
2100
  attr_accessor :audit_configs
2061
2101
 
2062
- # Associates a list of `members` to a `role`.
2102
+ # Associates a list of `members` to a `role`. Optionally may specify a
2103
+ # `condition` that determines when binding is in effect.
2063
2104
  # `bindings` with no members will result in an error.
2064
2105
  # Corresponds to the JSON property `bindings`
2065
2106
  # @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
@@ -2073,13 +2114,24 @@ module Google
2073
2114
  # systems are expected to put that etag in the request to `setIamPolicy` to
2074
2115
  # ensure that their change will be applied to the same version of the policy.
2075
2116
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2076
- # policy is overwritten.
2117
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2118
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
2119
+ # does not meet the version requirements.
2077
2120
  # Corresponds to the JSON property `etag`
2078
2121
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2079
2122
  # @return [String]
2080
2123
  attr_accessor :etag
2081
2124
 
2082
- # Deprecated.
2125
+ # Specifies the format of the policy.
2126
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2127
+ # rejected.
2128
+ # Operations affecting conditional bindings must specify version 3. This can
2129
+ # be either setting a conditional policy, modifying a conditional binding,
2130
+ # or removing a conditional binding from the stored conditional policy.
2131
+ # Operations on non-conditional policies may specify any valid value or
2132
+ # leave the field unset.
2133
+ # If no etag is provided in the call to `setIamPolicy`, any version
2134
+ # compliance checks on the incoming and/or stored policy is skipped.
2083
2135
  # Corresponds to the JSON property `version`
2084
2136
  # @return [Fixnum]
2085
2137
  attr_accessor :version
@@ -2103,25 +2155,34 @@ module Google
2103
2155
 
2104
2156
  # Defines an Identity and Access Management (IAM) policy. It is used to
2105
2157
  # specify access control policies for Cloud Platform resources.
2106
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2107
- # `members` to a `role`, where the members can be user accounts, Google groups,
2108
- # Google domains, and service accounts. A `role` is a named list of permissions
2109
- # defined by IAM.
2158
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2159
+ # `members` to a single `role`. Members can be user accounts, service accounts,
2160
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
2161
+ # permissions (defined by IAM or configured by users). A `binding` can
2162
+ # optionally specify a `condition`, which is a logic expression that further
2163
+ # constrains the role binding based on attributes about the request and/or
2164
+ # target resource.
2110
2165
  # **JSON Example**
2111
2166
  # `
2112
2167
  # "bindings": [
2113
2168
  # `
2114
- # "role": "roles/owner",
2169
+ # "role": "roles/resourcemanager.organizationAdmin",
2115
2170
  # "members": [
2116
2171
  # "user:mike@example.com",
2117
2172
  # "group:admins@example.com",
2118
2173
  # "domain:google.com",
2119
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2174
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2120
2175
  # ]
2121
2176
  # `,
2122
2177
  # `
2123
- # "role": "roles/viewer",
2124
- # "members": ["user:sean@example.com"]
2178
+ # "role": "roles/resourcemanager.organizationViewer",
2179
+ # "members": ["user:eve@example.com"],
2180
+ # "condition": `
2181
+ # "title": "expirable access",
2182
+ # "description": "Does not grant access after Sep 2020",
2183
+ # "expression": "request.time <
2184
+ # timestamp('2020-10-01T00:00:00.000Z')",
2185
+ # `
2125
2186
  # `
2126
2187
  # ]
2127
2188
  # `
@@ -2131,11 +2192,15 @@ module Google
2131
2192
  # - user:mike@example.com
2132
2193
  # - group:admins@example.com
2133
2194
  # - domain:google.com
2134
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2135
- # role: roles/owner
2195
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2196
+ # role: roles/resourcemanager.organizationAdmin
2136
2197
  # - members:
2137
- # - user:sean@example.com
2138
- # role: roles/viewer
2198
+ # - user:eve@example.com
2199
+ # role: roles/resourcemanager.organizationViewer
2200
+ # condition:
2201
+ # title: expirable access
2202
+ # description: Does not grant access after Sep 2020
2203
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2139
2204
  # For a description of IAM and its features, see the
2140
2205
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
2141
2206
  # Corresponds to the JSON property `policy`
@@ -604,6 +604,8 @@ module Google
604
604
  class GoogleCloudMlV1Version
605
605
  # @private
606
606
  class Representation < Google::Apis::Core::JsonRepresentation
607
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation
608
+
607
609
  property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation
608
610
 
609
611
  property :create_time, as: 'createTime'
@@ -221,9 +221,11 @@ module Google
221
221
  # See the operation documentation for the appropriate value for this field.
222
222
  # @param [Fixnum] options_requested_policy_version
223
223
  # Optional. The policy format version to be returned.
224
- # Acceptable values are 0, 1, and 3.
225
- # If the value is 0, or the field is omitted, policy format version 1 will be
226
- # returned.
224
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
225
+ # rejected.
226
+ # Requests for policies with any conditional bindings must specify version 3.
227
+ # Policies without any conditional bindings may specify any valid value or
228
+ # leave the field unset.
227
229
  # @param [String] fields
228
230
  # Selector specifying which fields to include in a partial response.
229
231
  # @param [String] quota_user
@@ -361,6 +363,7 @@ module Google
361
363
 
362
364
  # Sets the access control policy on the specified resource. Replaces any
363
365
  # existing policy.
366
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
364
367
  # @param [String] resource
365
368
  # REQUIRED: The resource for which the policy is being specified.
366
369
  # See the operation documentation for the appropriate value for this field.
@@ -617,9 +620,11 @@ module Google
617
620
  # See the operation documentation for the appropriate value for this field.
618
621
  # @param [Fixnum] options_requested_policy_version
619
622
  # Optional. The policy format version to be returned.
620
- # Acceptable values are 0, 1, and 3.
621
- # If the value is 0, or the field is omitted, policy format version 1 will be
622
- # returned.
623
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
624
+ # rejected.
625
+ # Requests for policies with any conditional bindings must specify version 3.
626
+ # Policies without any conditional bindings may specify any valid value or
627
+ # leave the field unset.
623
628
  # @param [String] fields
624
629
  # Selector specifying which fields to include in a partial response.
625
630
  # @param [String] quota_user
@@ -748,6 +753,7 @@ module Google
748
753
 
749
754
  # Sets the access control policy on the specified resource. Replaces any
750
755
  # existing policy.
756
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
751
757
  # @param [String] resource
752
758
  # REQUIRED: The resource for which the policy is being specified.
753
759
  # See the operation documentation for the appropriate value for this field.
@@ -30,7 +30,7 @@ module Google
30
30
  # @see https://cloud.google.com/monitoring/api/
31
31
  module MonitoringV3
32
32
  VERSION = 'V3'
33
- REVISION = '20190907'
33
+ REVISION = '20190923'
34
34
 
35
35
  # View and manage your data across Google Cloud Platform services
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1723,6 +1723,14 @@ module Google
1723
1723
  # @return [String]
1724
1724
  attr_accessor :metric_kind
1725
1725
 
1726
+ # Read-only. If present, then a time series, which is identified partially by a
1727
+ # metric type and a MonitoredResourceDescriptor, that is associated with this
1728
+ # metric type can only be associated with one of the monitored resource types
1729
+ # listed here.
1730
+ # Corresponds to the JSON property `monitoredResourceTypes`
1731
+ # @return [Array<String>]
1732
+ attr_accessor :monitored_resource_types
1733
+
1726
1734
  # The resource name of the metric descriptor.
1727
1735
  # Corresponds to the JSON property `name`
1728
1736
  # @return [String]
@@ -1809,6 +1817,7 @@ module Google
1809
1817
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1810
1818
  @metadata = args[:metadata] if args.key?(:metadata)
1811
1819
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1820
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
1812
1821
  @name = args[:name] if args.key?(:name)
1813
1822
  @type = args[:type] if args.key?(:type)
1814
1823
  @unit = args[:unit] if args.key?(:unit)
@@ -1827,8 +1836,7 @@ module Google
1827
1836
  # @return [String]
1828
1837
  attr_accessor :ingest_delay
1829
1838
 
1830
- # Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch
1831
- # stage of the metric definition.
1839
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
1832
1840
  # Corresponds to the JSON property `launchStage`
1833
1841
  # @return [String]
1834
1842
  attr_accessor :launch_stage
@@ -1883,9 +1891,7 @@ module Google
1883
1891
  # for each resource or when aggregating streams across all members of a group of
1884
1892
  # resources).When computing ratios, the aggregations and
1885
1893
  # denominator_aggregations fields must use the same alignment period and produce
1886
- # time series that have the same periodicity and labels.This field is similar to
1887
- # the one in the MetricService.ListTimeSeries request. It is advisable to use
1888
- # the ListTimeSeries method when debugging this field.
1894
+ # time series that have the same periodicity and labels.
1889
1895
  # Corresponds to the JSON property `denominatorAggregations`
1890
1896
  # @return [Array<Google::Apis::MonitoringV3::Aggregation>]
1891
1897
  attr_accessor :denominator_aggregations
@@ -1893,11 +1899,9 @@ module Google
1893
1899
  # A filter that identifies a time series that should be used as the denominator
1894
1900
  # of a ratio that will be compared with the threshold. If a denominator_filter
1895
1901
  # is specified, the time series specified by the filter field will be used as
1896
- # the numerator.The filter is similar to the one that is specified in the
1897
- # MetricService.ListTimeSeries request (that call is useful to verify the time
1898
- # series that will be retrieved / processed) and must specify the metric type
1899
- # and optionally may contain restrictions on resource type, resource labels, and
1900
- # metric labels. This field may not exceed 2048 Unicode characters in length.
1902
+ # the numerator.The filter must specify the metric type and optionally may
1903
+ # contain restrictions on resource type, resource labels, and metric labels.
1904
+ # This field may not exceed 2048 Unicode characters in length.
1901
1905
  # Corresponds to the JSON property `denominatorFilter`
1902
1906
  # @return [String]
1903
1907
  attr_accessor :denominator_filter
@@ -837,6 +837,7 @@ module Google
837
837
  property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MetricDescriptorMetadata, decorator: Google::Apis::MonitoringV3::MetricDescriptorMetadata::Representation
838
838
 
839
839
  property :metric_kind, as: 'metricKind'
840
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
840
841
  property :name, as: 'name'
841
842
  property :type, as: 'type'
842
843
  property :unit, as: 'unit'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/compute/docs/oslogin/
27
27
  module OsloginV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190429'
29
+ REVISION = '20190921'
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'
@@ -117,6 +117,11 @@ module Google
117
117
  # @return [String]
118
118
  attr_accessor :home_directory
119
119
 
120
+ # Output only. The canonical resource name.
121
+ # Corresponds to the JSON property `name`
122
+ # @return [String]
123
+ attr_accessor :name
124
+
120
125
  # The operating system type where this account applies.
121
126
  # Corresponds to the JSON property `operatingSystemType`
122
127
  # @return [String]
@@ -159,6 +164,7 @@ module Google
159
164
  @gecos = args[:gecos] if args.key?(:gecos)
160
165
  @gid = args[:gid] if args.key?(:gid)
161
166
  @home_directory = args[:home_directory] if args.key?(:home_directory)
167
+ @name = args[:name] if args.key?(:name)
162
168
  @operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
163
169
  @primary = args[:primary] if args.key?(:primary)
164
170
  @shell = args[:shell] if args.key?(:shell)
@@ -189,6 +195,11 @@ module Google
189
195
  # @return [String]
190
196
  attr_accessor :key
191
197
 
198
+ # Output only. The canonical resource name.
199
+ # Corresponds to the JSON property `name`
200
+ # @return [String]
201
+ attr_accessor :name
202
+
192
203
  def initialize(**args)
193
204
  update!(**args)
194
205
  end
@@ -198,6 +209,7 @@ module Google
198
209
  @expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec)
199
210
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
200
211
  @key = args[:key] if args.key?(:key)
212
+ @name = args[:name] if args.key?(:name)
201
213
  end
202
214
  end
203
215
  end