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
@@ -610,6 +610,7 @@ module Google
610
610
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
611
611
 
612
612
  property :continuous_analysis, as: 'continuousAnalysis'
613
+ property :cpe, as: 'cpe'
613
614
  property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
614
615
 
615
616
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190820'
29
+ REVISION = '20190930'
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'
@@ -1255,9 +1255,11 @@ module Google
1255
1255
  include Google::Apis::Core::Hashable
1256
1256
 
1257
1257
  # Optional. The policy format version to be returned.
1258
- # Acceptable values are 0, 1, and 3.
1259
- # If the value is 0, or the field is omitted, policy format version 1 will be
1260
- # returned.
1258
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1259
+ # rejected.
1260
+ # Requests for policies with any conditional bindings must specify version 3.
1261
+ # Policies without any conditional bindings may specify any valid value or
1262
+ # leave the field unset.
1261
1263
  # Corresponds to the JSON property `requestedPolicyVersion`
1262
1264
  # @return [Fixnum]
1263
1265
  attr_accessor :requested_policy_version
@@ -2125,25 +2127,34 @@ module Google
2125
2127
 
2126
2128
  # Defines an Identity and Access Management (IAM) policy. It is used to
2127
2129
  # specify access control policies for Cloud Platform resources.
2128
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2129
- # `members` to a `role`, where the members can be user accounts, Google groups,
2130
- # Google domains, and service accounts. A `role` is a named list of permissions
2131
- # defined by IAM.
2130
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2131
+ # `members` to a single `role`. Members can be user accounts, service accounts,
2132
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
2133
+ # permissions (defined by IAM or configured by users). A `binding` can
2134
+ # optionally specify a `condition`, which is a logic expression that further
2135
+ # constrains the role binding based on attributes about the request and/or
2136
+ # target resource.
2132
2137
  # **JSON Example**
2133
2138
  # `
2134
2139
  # "bindings": [
2135
2140
  # `
2136
- # "role": "roles/owner",
2141
+ # "role": "roles/resourcemanager.organizationAdmin",
2137
2142
  # "members": [
2138
2143
  # "user:mike@example.com",
2139
2144
  # "group:admins@example.com",
2140
2145
  # "domain:google.com",
2141
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2146
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2142
2147
  # ]
2143
2148
  # `,
2144
2149
  # `
2145
- # "role": "roles/viewer",
2146
- # "members": ["user:sean@example.com"]
2150
+ # "role": "roles/resourcemanager.organizationViewer",
2151
+ # "members": ["user:eve@example.com"],
2152
+ # "condition": `
2153
+ # "title": "expirable access",
2154
+ # "description": "Does not grant access after Sep 2020",
2155
+ # "expression": "request.time <
2156
+ # timestamp('2020-10-01T00:00:00.000Z')",
2157
+ # `
2147
2158
  # `
2148
2159
  # ]
2149
2160
  # `
@@ -2153,17 +2164,22 @@ module Google
2153
2164
  # - user:mike@example.com
2154
2165
  # - group:admins@example.com
2155
2166
  # - domain:google.com
2156
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2157
- # role: roles/owner
2167
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2168
+ # role: roles/resourcemanager.organizationAdmin
2158
2169
  # - members:
2159
- # - user:sean@example.com
2160
- # role: roles/viewer
2170
+ # - user:eve@example.com
2171
+ # role: roles/resourcemanager.organizationViewer
2172
+ # condition:
2173
+ # title: expirable access
2174
+ # description: Does not grant access after Sep 2020
2175
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2161
2176
  # For a description of IAM and its features, see the
2162
2177
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
2163
2178
  class Policy
2164
2179
  include Google::Apis::Core::Hashable
2165
2180
 
2166
- # Associates a list of `members` to a `role`.
2181
+ # Associates a list of `members` to a `role`. Optionally may specify a
2182
+ # `condition` that determines when binding is in effect.
2167
2183
  # `bindings` with no members will result in an error.
2168
2184
  # Corresponds to the JSON property `bindings`
2169
2185
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::Binding>]
@@ -2177,13 +2193,24 @@ module Google
2177
2193
  # systems are expected to put that etag in the request to `setIamPolicy` to
2178
2194
  # ensure that their change will be applied to the same version of the policy.
2179
2195
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2180
- # policy is overwritten.
2196
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2197
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
2198
+ # does not meet the version requirements.
2181
2199
  # Corresponds to the JSON property `etag`
2182
2200
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2183
2201
  # @return [String]
2184
2202
  attr_accessor :etag
2185
2203
 
2186
- # Deprecated.
2204
+ # Specifies the format of the policy.
2205
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2206
+ # rejected.
2207
+ # Operations affecting conditional bindings must specify version 3. This can
2208
+ # be either setting a conditional policy, modifying a conditional binding,
2209
+ # or removing a conditional binding from the stored conditional policy.
2210
+ # Operations on non-conditional policies may specify any valid value or
2211
+ # leave the field unset.
2212
+ # If no etag is provided in the call to `setIamPolicy`, any version
2213
+ # compliance checks on the incoming and/or stored policy is skipped.
2187
2214
  # Corresponds to the JSON property `version`
2188
2215
  # @return [Fixnum]
2189
2216
  attr_accessor :version
@@ -2365,25 +2392,34 @@ module Google
2365
2392
 
2366
2393
  # Defines an Identity and Access Management (IAM) policy. It is used to
2367
2394
  # specify access control policies for Cloud Platform resources.
2368
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2369
- # `members` to a `role`, where the members can be user accounts, Google groups,
2370
- # Google domains, and service accounts. A `role` is a named list of permissions
2371
- # defined by IAM.
2395
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2396
+ # `members` to a single `role`. Members can be user accounts, service accounts,
2397
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
2398
+ # permissions (defined by IAM or configured by users). A `binding` can
2399
+ # optionally specify a `condition`, which is a logic expression that further
2400
+ # constrains the role binding based on attributes about the request and/or
2401
+ # target resource.
2372
2402
  # **JSON Example**
2373
2403
  # `
2374
2404
  # "bindings": [
2375
2405
  # `
2376
- # "role": "roles/owner",
2406
+ # "role": "roles/resourcemanager.organizationAdmin",
2377
2407
  # "members": [
2378
2408
  # "user:mike@example.com",
2379
2409
  # "group:admins@example.com",
2380
2410
  # "domain:google.com",
2381
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2411
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2382
2412
  # ]
2383
2413
  # `,
2384
2414
  # `
2385
- # "role": "roles/viewer",
2386
- # "members": ["user:sean@example.com"]
2415
+ # "role": "roles/resourcemanager.organizationViewer",
2416
+ # "members": ["user:eve@example.com"],
2417
+ # "condition": `
2418
+ # "title": "expirable access",
2419
+ # "description": "Does not grant access after Sep 2020",
2420
+ # "expression": "request.time <
2421
+ # timestamp('2020-10-01T00:00:00.000Z')",
2422
+ # `
2387
2423
  # `
2388
2424
  # ]
2389
2425
  # `
@@ -2393,11 +2429,15 @@ module Google
2393
2429
  # - user:mike@example.com
2394
2430
  # - group:admins@example.com
2395
2431
  # - domain:google.com
2396
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2397
- # role: roles/owner
2432
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2433
+ # role: roles/resourcemanager.organizationAdmin
2398
2434
  # - members:
2399
- # - user:sean@example.com
2400
- # role: roles/viewer
2435
+ # - user:eve@example.com
2436
+ # role: roles/resourcemanager.organizationViewer
2437
+ # condition:
2438
+ # title: expirable access
2439
+ # description: Does not grant access after Sep 2020
2440
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2401
2441
  # For a description of IAM and its features, see the
2402
2442
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
2403
2443
  # Corresponds to the JSON property `policy`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190905'
29
+ REVISION = '20190930'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -364,51 +364,6 @@ module Google
364
364
  execute_or_queue_command(command, &block)
365
365
  end
366
366
 
367
- # Updates a Merchant Center account. This method supports patch semantics.
368
- # @param [Fixnum] merchant_id
369
- # The ID of the managing account. If this parameter is not the same as accountId,
370
- # then this account must be a multi-client account and accountId must be the ID
371
- # of a sub-account of this account.
372
- # @param [Fixnum] account_id
373
- # The ID of the account.
374
- # @param [Google::Apis::ContentV2::Account] account_object
375
- # @param [Boolean] dry_run
376
- # Flag to simulate a request like in a live environment. If set to true, dry-run
377
- # mode checks the validity of the request and returns errors (if any).
378
- # @param [String] fields
379
- # Selector specifying which fields to include in a partial response.
380
- # @param [String] quota_user
381
- # An opaque string that represents a user for quota purposes. Must not exceed 40
382
- # characters.
383
- # @param [String] user_ip
384
- # Deprecated. Please use quotaUser instead.
385
- # @param [Google::Apis::RequestOptions] options
386
- # Request-specific options
387
- #
388
- # @yield [result, err] Result & error if block supplied
389
- # @yieldparam result [Google::Apis::ContentV2::Account] parsed result object
390
- # @yieldparam err [StandardError] error object if request failed
391
- #
392
- # @return [Google::Apis::ContentV2::Account]
393
- #
394
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
395
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
396
- # @raise [Google::Apis::AuthorizationError] Authorization is required
397
- def patch_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
398
- command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
399
- command.request_representation = Google::Apis::ContentV2::Account::Representation
400
- command.request_object = account_object
401
- command.response_representation = Google::Apis::ContentV2::Account::Representation
402
- command.response_class = Google::Apis::ContentV2::Account
403
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
404
- command.params['accountId'] = account_id unless account_id.nil?
405
- command.query['dryRun'] = dry_run unless dry_run.nil?
406
- command.query['fields'] = fields unless fields.nil?
407
- command.query['quotaUser'] = quota_user unless quota_user.nil?
408
- command.query['userIp'] = user_ip unless user_ip.nil?
409
- execute_or_queue_command(command, &block)
410
- end
411
-
412
367
  # Updates a Merchant Center account.
413
368
  # @param [Fixnum] merchant_id
414
369
  # The ID of the managing account. If this parameter is not the same as accountId,
@@ -688,51 +643,6 @@ module Google
688
643
  execute_or_queue_command(command, &block)
689
644
  end
690
645
 
691
- # Updates the tax settings of the account. This method supports patch semantics.
692
- # @param [Fixnum] merchant_id
693
- # The ID of the managing account. If this parameter is not the same as accountId,
694
- # then this account must be a multi-client account and accountId must be the ID
695
- # of a sub-account of this account.
696
- # @param [Fixnum] account_id
697
- # The ID of the account for which to get/update account tax settings.
698
- # @param [Google::Apis::ContentV2::AccountTax] account_tax_object
699
- # @param [Boolean] dry_run
700
- # Flag to simulate a request like in a live environment. If set to true, dry-run
701
- # mode checks the validity of the request and returns errors (if any).
702
- # @param [String] fields
703
- # Selector specifying which fields to include in a partial response.
704
- # @param [String] quota_user
705
- # An opaque string that represents a user for quota purposes. Must not exceed 40
706
- # characters.
707
- # @param [String] user_ip
708
- # Deprecated. Please use quotaUser instead.
709
- # @param [Google::Apis::RequestOptions] options
710
- # Request-specific options
711
- #
712
- # @yield [result, err] Result & error if block supplied
713
- # @yieldparam result [Google::Apis::ContentV2::AccountTax] parsed result object
714
- # @yieldparam err [StandardError] error object if request failed
715
- #
716
- # @return [Google::Apis::ContentV2::AccountTax]
717
- #
718
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
719
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
- # @raise [Google::Apis::AuthorizationError] Authorization is required
721
- def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
722
- command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
723
- command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
724
- command.request_object = account_tax_object
725
- command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
726
- command.response_class = Google::Apis::ContentV2::AccountTax
727
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
728
- command.params['accountId'] = account_id unless account_id.nil?
729
- command.query['dryRun'] = dry_run unless dry_run.nil?
730
- command.query['fields'] = fields unless fields.nil?
731
- command.query['quotaUser'] = quota_user unless quota_user.nil?
732
- command.query['userIp'] = user_ip unless user_ip.nil?
733
- execute_or_queue_command(command, &block)
734
- end
735
-
736
646
  # Updates the tax settings of the account.
737
647
  # @param [Fixnum] merchant_id
738
648
  # The ID of the managing account. If this parameter is not the same as accountId,
@@ -1014,51 +924,6 @@ module Google
1014
924
  execute_or_queue_command(command, &block)
1015
925
  end
1016
926
 
1017
- # Updates a datafeed configuration of your Merchant Center account. This method
1018
- # supports patch semantics.
1019
- # @param [Fixnum] merchant_id
1020
- # The ID of the account that manages the datafeed. This account cannot be a
1021
- # multi-client account.
1022
- # @param [Fixnum] datafeed_id
1023
- # The ID of the datafeed.
1024
- # @param [Google::Apis::ContentV2::Datafeed] datafeed_object
1025
- # @param [Boolean] dry_run
1026
- # Flag to simulate a request like in a live environment. If set to true, dry-run
1027
- # mode checks the validity of the request and returns errors (if any).
1028
- # @param [String] fields
1029
- # Selector specifying which fields to include in a partial response.
1030
- # @param [String] quota_user
1031
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1032
- # characters.
1033
- # @param [String] user_ip
1034
- # Deprecated. Please use quotaUser instead.
1035
- # @param [Google::Apis::RequestOptions] options
1036
- # Request-specific options
1037
- #
1038
- # @yield [result, err] Result & error if block supplied
1039
- # @yieldparam result [Google::Apis::ContentV2::Datafeed] parsed result object
1040
- # @yieldparam err [StandardError] error object if request failed
1041
- #
1042
- # @return [Google::Apis::ContentV2::Datafeed]
1043
- #
1044
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1045
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1046
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1047
- def patch_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1048
- command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
1049
- command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
1050
- command.request_object = datafeed_object
1051
- command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
1052
- command.response_class = Google::Apis::ContentV2::Datafeed
1053
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1054
- command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
1055
- command.query['dryRun'] = dry_run unless dry_run.nil?
1056
- command.query['fields'] = fields unless fields.nil?
1057
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1058
- command.query['userIp'] = user_ip unless user_ip.nil?
1059
- execute_or_queue_command(command, &block)
1060
- end
1061
-
1062
927
  # Updates a datafeed configuration of your Merchant Center account.
1063
928
  # @param [Fixnum] merchant_id
1064
929
  # The ID of the account that manages the datafeed. This account cannot be a
@@ -1496,51 +1361,6 @@ module Google
1496
1361
  execute_or_queue_command(command, &block)
1497
1362
  end
1498
1363
 
1499
- # Updates the LIA settings of the account. This method supports patch semantics.
1500
- # @param [Fixnum] merchant_id
1501
- # The ID of the managing account. If this parameter is not the same as accountId,
1502
- # then this account must be a multi-client account and accountId must be the ID
1503
- # of a sub-account of this account.
1504
- # @param [Fixnum] account_id
1505
- # The ID of the account for which to get or update LIA settings.
1506
- # @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
1507
- # @param [Boolean] dry_run
1508
- # Flag to simulate a request like in a live environment. If set to true, dry-run
1509
- # mode checks the validity of the request and returns errors (if any).
1510
- # @param [String] fields
1511
- # Selector specifying which fields to include in a partial response.
1512
- # @param [String] quota_user
1513
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1514
- # characters.
1515
- # @param [String] user_ip
1516
- # Deprecated. Please use quotaUser instead.
1517
- # @param [Google::Apis::RequestOptions] options
1518
- # Request-specific options
1519
- #
1520
- # @yield [result, err] Result & error if block supplied
1521
- # @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
1522
- # @yieldparam err [StandardError] error object if request failed
1523
- #
1524
- # @return [Google::Apis::ContentV2::LiaSettings]
1525
- #
1526
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1527
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1528
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1529
- def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1530
- command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
1531
- command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
1532
- command.request_object = lia_settings_object
1533
- command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
1534
- command.response_class = Google::Apis::ContentV2::LiaSettings
1535
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
1536
- command.params['accountId'] = account_id unless account_id.nil?
1537
- command.query['dryRun'] = dry_run unless dry_run.nil?
1538
- command.query['fields'] = fields unless fields.nil?
1539
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1540
- command.query['userIp'] = user_ip unless user_ip.nil?
1541
- execute_or_queue_command(command, &block)
1542
- end
1543
-
1544
1364
  # Requests access to a specified Google My Business account.
1545
1365
  # @param [Fixnum] merchant_id
1546
1366
  # The ID of the managing account. If this parameter is not the same as accountId,
@@ -3903,52 +3723,6 @@ module Google
3903
3723
  execute_or_queue_command(command, &block)
3904
3724
  end
3905
3725
 
3906
- # Updates the shipping settings of the account. This method supports patch
3907
- # semantics.
3908
- # @param [Fixnum] merchant_id
3909
- # The ID of the managing account. If this parameter is not the same as accountId,
3910
- # then this account must be a multi-client account and accountId must be the ID
3911
- # of a sub-account of this account.
3912
- # @param [Fixnum] account_id
3913
- # The ID of the account for which to get/update shipping settings.
3914
- # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
3915
- # @param [Boolean] dry_run
3916
- # Flag to simulate a request like in a live environment. If set to true, dry-run
3917
- # mode checks the validity of the request and returns errors (if any).
3918
- # @param [String] fields
3919
- # Selector specifying which fields to include in a partial response.
3920
- # @param [String] quota_user
3921
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3922
- # characters.
3923
- # @param [String] user_ip
3924
- # Deprecated. Please use quotaUser instead.
3925
- # @param [Google::Apis::RequestOptions] options
3926
- # Request-specific options
3927
- #
3928
- # @yield [result, err] Result & error if block supplied
3929
- # @yieldparam result [Google::Apis::ContentV2::ShippingSettings] parsed result object
3930
- # @yieldparam err [StandardError] error object if request failed
3931
- #
3932
- # @return [Google::Apis::ContentV2::ShippingSettings]
3933
- #
3934
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3935
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3936
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3937
- def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3938
- command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
3939
- command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3940
- command.request_object = shipping_settings_object
3941
- command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
3942
- command.response_class = Google::Apis::ContentV2::ShippingSettings
3943
- command.params['merchantId'] = merchant_id unless merchant_id.nil?
3944
- command.params['accountId'] = account_id unless account_id.nil?
3945
- command.query['dryRun'] = dry_run unless dry_run.nil?
3946
- command.query['fields'] = fields unless fields.nil?
3947
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3948
- command.query['userIp'] = user_ip unless user_ip.nil?
3949
- execute_or_queue_command(command, &block)
3950
- end
3951
-
3952
3726
  # Updates the shipping settings of the account.
3953
3727
  # @param [Fixnum] merchant_id
3954
3728
  # The ID of the managing account. If this parameter is not the same as accountId,