google-api-client 0.46.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +666 -191
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/accessapproval_v1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  13. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  14. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/classes.rb +29 -29
  23. data/generated/google/apis/admob_v1/service.rb +4 -0
  24. data/generated/google/apis/admob_v1beta.rb +38 -0
  25. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  26. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  27. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  40. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  42. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  43. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +377 -137
  48. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  49. data/generated/google/apis/apigee_v1/service.rb +673 -56
  50. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  51. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  52. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  53. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
  56. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
  57. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  58. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +158 -5
  62. data/generated/google/apis/bigquery_v2/representations.rb +67 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  65. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  70. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  71. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  73. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  74. data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
  77. data/generated/google/apis/books_v1.rb +1 -1
  78. data/generated/google/apis/books_v1/service.rb +52 -52
  79. data/generated/google/apis/calendar_v3.rb +1 -1
  80. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/chat_v1/classes.rb +7 -0
  83. data/generated/google/apis/chat_v1/representations.rb +1 -0
  84. data/generated/google/apis/civicinfo_v2.rb +1 -1
  85. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  86. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  87. data/generated/google/apis/classroom_v1.rb +1 -1
  88. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  92. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  93. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  100. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  101. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  102. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  104. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
  107. data/generated/google/apis/cloudiot_v1.rb +1 -1
  108. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  129. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  132. data/generated/google/apis/compute_v1.rb +1 -1
  133. data/generated/google/apis/compute_v1/classes.rb +282 -29
  134. data/generated/google/apis/compute_v1/representations.rb +43 -0
  135. data/generated/google/apis/compute_v1/service.rb +4 -1
  136. data/generated/google/apis/container_v1.rb +1 -1
  137. data/generated/google/apis/container_v1/classes.rb +22 -10
  138. data/generated/google/apis/container_v1beta1.rb +1 -1
  139. data/generated/google/apis/container_v1beta1/classes.rb +51 -10
  140. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  141. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  145. data/generated/google/apis/content_v2.rb +3 -4
  146. data/generated/google/apis/content_v2/classes.rb +511 -1219
  147. data/generated/google/apis/content_v2/service.rb +380 -651
  148. data/generated/google/apis/content_v2_1.rb +3 -4
  149. data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
  150. data/generated/google/apis/content_v2_1/representations.rb +342 -0
  151. data/generated/google/apis/content_v2_1/service.rb +948 -809
  152. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  153. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
  154. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  155. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  156. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  157. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  158. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  159. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  160. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  161. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  162. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  163. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  164. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  165. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +18 -7
  168. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/datastore_v1.rb +1 -1
  173. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  174. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  175. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  176. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  180. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  181. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
  182. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
  183. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  184. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  185. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  186. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  187. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  188. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  189. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  190. data/generated/google/apis/dialogflow_v2.rb +1 -1
  191. data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
  192. data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
  193. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  194. data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
  195. data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
  196. data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
  197. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  198. data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
  199. data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
  200. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  201. data/generated/google/apis/displayvideo_v1.rb +1 -1
  202. data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
  203. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  204. data/generated/google/apis/displayvideo_v1/service.rb +257 -17
  205. data/generated/google/apis/dlp_v2.rb +1 -1
  206. data/generated/google/apis/dlp_v2/classes.rb +39 -32
  207. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  208. data/generated/google/apis/dns_v1.rb +2 -2
  209. data/generated/google/apis/dns_v1/classes.rb +181 -0
  210. data/generated/google/apis/dns_v1/representations.rb +83 -0
  211. data/generated/google/apis/dns_v1/service.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2.rb +2 -2
  213. data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
  214. data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
  215. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  216. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  217. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  218. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  219. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  220. data/generated/google/apis/domains_v1beta1.rb +34 -0
  221. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  222. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  223. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  224. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  225. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  226. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  227. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
  228. data/generated/google/apis/drive_v2.rb +1 -1
  229. data/generated/google/apis/drive_v2/classes.rb +22 -20
  230. data/generated/google/apis/drive_v2/service.rb +2 -2
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/classes.rb +12 -9
  233. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  234. data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
  235. data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
  236. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  237. data/generated/google/apis/file_v1.rb +1 -1
  238. data/generated/google/apis/file_v1/classes.rb +505 -4
  239. data/generated/google/apis/file_v1/representations.rb +203 -0
  240. data/generated/google/apis/file_v1/service.rb +229 -1
  241. data/generated/google/apis/file_v1beta1.rb +1 -1
  242. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  243. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  244. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  245. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  246. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  247. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  248. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  249. data/generated/google/apis/firestore_v1.rb +1 -1
  250. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  251. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  252. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  253. data/generated/google/apis/fitness_v1.rb +1 -1
  254. data/generated/google/apis/fitness_v1/service.rb +3 -1
  255. data/generated/google/apis/games_v1.rb +1 -1
  256. data/generated/google/apis/games_v1/classes.rb +300 -0
  257. data/generated/google/apis/games_v1/representations.rb +116 -0
  258. data/generated/google/apis/games_v1/service.rb +34 -0
  259. data/generated/google/apis/gameservices_v1.rb +1 -1
  260. data/generated/google/apis/gameservices_v1/classes.rb +16 -16
  261. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  262. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  263. data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
  264. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  265. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  266. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  267. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  268. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  269. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  270. data/generated/google/apis/healthcare_v1.rb +1 -1
  271. data/generated/google/apis/healthcare_v1/classes.rb +10 -4
  272. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  273. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  274. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  275. data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
  276. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  277. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  278. data/generated/google/apis/iam_v1.rb +2 -5
  279. data/generated/google/apis/iam_v1/classes.rb +8 -11
  280. data/generated/google/apis/iam_v1/representations.rb +0 -1
  281. data/generated/google/apis/iam_v1/service.rb +1 -4
  282. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  283. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  284. data/generated/google/apis/iap_v1.rb +1 -1
  285. data/generated/google/apis/iap_v1/classes.rb +1 -13
  286. data/generated/google/apis/iap_v1/representations.rb +0 -1
  287. data/generated/google/apis/iap_v1beta1.rb +1 -1
  288. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  289. data/generated/google/apis/licensing_v1.rb +1 -1
  290. data/generated/google/apis/localservices_v1.rb +1 -1
  291. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  292. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  293. data/generated/google/apis/localservices_v1/service.rb +20 -20
  294. data/generated/google/apis/logging_v2.rb +1 -1
  295. data/generated/google/apis/logging_v2/classes.rb +186 -10
  296. data/generated/google/apis/logging_v2/representations.rb +77 -0
  297. data/generated/google/apis/logging_v2/service.rb +446 -25
  298. data/generated/google/apis/managedidentities_v1.rb +1 -1
  299. data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
  300. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  301. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  302. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  303. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
  304. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
  305. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  306. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  307. data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
  308. data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
  309. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  310. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  311. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  312. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +273 -79
  315. data/generated/google/apis/ml_v1/representations.rb +43 -0
  316. data/generated/google/apis/ml_v1/service.rb +35 -0
  317. data/generated/google/apis/monitoring_v3.rb +1 -1
  318. data/generated/google/apis/monitoring_v3/classes.rb +19 -13
  319. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  320. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  321. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  322. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  323. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  324. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  325. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  326. data/generated/google/apis/notebooks_v1.rb +34 -0
  327. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  328. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  329. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  330. data/generated/google/apis/people_v1.rb +1 -1
  331. data/generated/google/apis/people_v1/classes.rb +49 -49
  332. data/generated/google/apis/people_v1/service.rb +21 -18
  333. data/generated/google/apis/playablelocations_v3.rb +1 -1
  334. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  335. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  336. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  337. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  338. data/generated/google/apis/poly_v1.rb +3 -4
  339. data/generated/google/apis/poly_v1/classes.rb +65 -79
  340. data/generated/google/apis/poly_v1/service.rb +50 -63
  341. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  342. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  343. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  344. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  345. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  346. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  347. data/generated/google/apis/pubsub_v1.rb +1 -1
  348. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  349. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  350. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  351. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  352. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  353. data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
  354. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  355. data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
  356. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  357. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  358. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  359. data/generated/google/apis/recommender_v1.rb +1 -1
  360. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  361. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  363. data/generated/google/apis/redis_v1.rb +1 -1
  364. data/generated/google/apis/redis_v1/classes.rb +86 -0
  365. data/generated/google/apis/redis_v1/representations.rb +34 -0
  366. data/generated/google/apis/redis_v1/service.rb +34 -0
  367. data/generated/google/apis/redis_v1beta1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  369. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  370. data/generated/google/apis/run_v1.rb +1 -1
  371. data/generated/google/apis/run_v1/classes.rb +7 -6
  372. data/generated/google/apis/run_v1alpha1.rb +1 -1
  373. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  374. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  375. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  376. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  377. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  379. data/generated/google/apis/secretmanager_v1.rb +1 -1
  380. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  381. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  382. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  383. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  384. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  385. data/generated/google/apis/securitycenter_v1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  387. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  388. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  389. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  390. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  391. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  392. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  393. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  394. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  395. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  396. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  398. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  399. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  400. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
  401. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  403. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
  407. data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  411. data/generated/google/apis/serviceusage_v1.rb +1 -1
  412. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  413. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  414. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  416. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  417. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  418. data/generated/google/apis/sheets_v4.rb +1 -1
  419. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  420. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  421. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  422. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  423. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  424. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  425. data/generated/google/apis/spanner_v1.rb +1 -1
  426. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  427. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  428. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  429. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  430. data/generated/google/apis/storage_v1.rb +1 -1
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1beta.rb +1 -1
  438. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  439. data/generated/google/apis/tagmanager_v2.rb +1 -1
  440. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  441. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  442. data/generated/google/apis/testing_v1.rb +1 -1
  443. data/generated/google/apis/testing_v1/classes.rb +45 -33
  444. data/generated/google/apis/testing_v1/representations.rb +1 -0
  445. data/generated/google/apis/testing_v1/service.rb +4 -4
  446. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  447. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  448. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  449. data/generated/google/apis/tpu_v1.rb +1 -1
  450. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  451. data/generated/google/apis/tpu_v1/service.rb +8 -8
  452. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  453. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  454. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  455. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  456. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  457. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  458. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  459. data/generated/google/apis/translate_v3.rb +1 -1
  460. data/generated/google/apis/translate_v3/classes.rb +2 -1
  461. data/generated/google/apis/translate_v3beta1.rb +1 -1
  462. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  463. data/generated/google/apis/vault_v1.rb +1 -1
  464. data/generated/google/apis/vault_v1/classes.rb +333 -0
  465. data/generated/google/apis/vault_v1/representations.rb +162 -0
  466. data/generated/google/apis/vault_v1/service.rb +151 -0
  467. data/generated/google/apis/videointelligence_v1.rb +1 -1
  468. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  469. data/generated/google/apis/vision_v1.rb +1 -1
  470. data/generated/google/apis/vision_v1/classes.rb +16 -16
  471. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  472. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  473. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  474. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  475. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  476. data/generated/google/apis/youtube_v3.rb +1 -1
  477. data/generated/google/apis/youtube_v3/service.rb +8 -8
  478. data/google-api-client.gemspec +25 -25
  479. data/lib/google/apis/core/api_command.rb +1 -0
  480. data/lib/google/apis/core/http_command.rb +2 -1
  481. data/lib/google/apis/options.rb +8 -5
  482. data/lib/google/apis/version.rb +1 -1
  483. data/synth.py +40 -0
  484. metadata +47 -16
  485. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  486. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  487. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  488. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  489. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  490. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  491. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  492. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  493. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  494. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  495. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  496. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20200919'
30
+ REVISION = '20201107'
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'
@@ -1638,14 +1638,14 @@ module Google
1638
1638
  class GooglePrivacyDlpV2DateTime
1639
1639
  include Google::Apis::Core::Hashable
1640
1640
 
1641
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1642
- # and time zone are either specified elsewhere or are not significant. The date
1643
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1644
- # date, with non-zero year, month and day values * A month and day value, with a
1645
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
1646
- # values * A year and month value, with a zero day, e.g. a credit card
1647
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1648
- # Timestamp`.
1641
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1642
+ # day and time zone are either specified elsewhere or are insignificant. The
1643
+ # date is relative to the Gregorian Calendar. This can represent one of the
1644
+ # following: * A full date, with non-zero year, month, and day values * A month
1645
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1646
+ # with zero month and day values * A year and month value, with a zero day, such
1647
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1648
+ # google.protobuf.Timestamp`.
1649
1649
  # Corresponds to the JSON property `date`
1650
1650
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
1651
1651
  attr_accessor :date
@@ -2432,6 +2432,11 @@ module Google
2432
2432
  # @return [String]
2433
2433
  attr_accessor :create_time
2434
2434
 
2435
+ # The unique finding id.
2436
+ # Corresponds to the JSON property `findingId`
2437
+ # @return [String]
2438
+ attr_accessor :finding_id
2439
+
2435
2440
  # Type of information detected by the API.
2436
2441
  # Corresponds to the JSON property `infoType`
2437
2442
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
@@ -2503,6 +2508,7 @@ module Google
2503
2508
  # Update properties of this object
2504
2509
  def update!(**args)
2505
2510
  @create_time = args[:create_time] if args.key?(:create_time)
2511
+ @finding_id = args[:finding_id] if args.key?(:finding_id)
2506
2512
  @info_type = args[:info_type] if args.key?(:info_type)
2507
2513
  @job_create_time = args[:job_create_time] if args.key?(:job_create_time)
2508
2514
  @job_name = args[:job_name] if args.key?(:job_name)
@@ -5995,13 +6001,14 @@ module Google
5995
6001
  attr_accessor :enable_auto_population_of_timespan_config
5996
6002
  alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config
5997
6003
 
5998
- # Exclude files or rows newer than this value. If set to zero, no upper time
5999
- # limit is applied.
6004
+ # Exclude files, tables, or rows newer than this value. If not set, no upper
6005
+ # time limit is applied.
6000
6006
  # Corresponds to the JSON property `endTime`
6001
6007
  # @return [String]
6002
6008
  attr_accessor :end_time
6003
6009
 
6004
- # Exclude files or rows older than this value.
6010
+ # Exclude files, tables, or rows older than this value. If not set, no lower
6011
+ # time limit is applied.
6005
6012
  # Corresponds to the JSON property `startTime`
6006
6013
  # @return [String]
6007
6014
  attr_accessor :start_time
@@ -6332,14 +6339,14 @@ module Google
6332
6339
  attr_accessor :boolean_value
6333
6340
  alias_method :boolean_value?, :boolean_value
6334
6341
 
6335
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6336
- # and time zone are either specified elsewhere or are not significant. The date
6337
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6338
- # date, with non-zero year, month and day values * A month and day value, with a
6339
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
6340
- # values * A year and month value, with a zero day, e.g. a credit card
6341
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6342
- # Timestamp`.
6342
+ # Represents a whole or partial calendar date, such as a birthday. The time of
6343
+ # day and time zone are either specified elsewhere or are insignificant. The
6344
+ # date is relative to the Gregorian Calendar. This can represent one of the
6345
+ # following: * A full date, with non-zero year, month, and day values * A month
6346
+ # and day value, with a zero year, such as an anniversary * A year on its own,
6347
+ # with zero month and day values * A year and month value, with a zero day, such
6348
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
6349
+ # google.protobuf.Timestamp`.
6343
6350
  # Corresponds to the JSON property `dateValue`
6344
6351
  # @return [Google::Apis::DlpV2::GoogleTypeDate]
6345
6352
  attr_accessor :date_value
@@ -6499,31 +6506,31 @@ module Google
6499
6506
  end
6500
6507
  end
6501
6508
 
6502
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
6503
- # and time zone are either specified elsewhere or are not significant. The date
6504
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
6505
- # date, with non-zero year, month and day values * A month and day value, with a
6506
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
6507
- # values * A year and month value, with a zero day, e.g. a credit card
6508
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
6509
- # Timestamp`.
6509
+ # Represents a whole or partial calendar date, such as a birthday. The time of
6510
+ # day and time zone are either specified elsewhere or are insignificant. The
6511
+ # date is relative to the Gregorian Calendar. This can represent one of the
6512
+ # following: * A full date, with non-zero year, month, and day values * A month
6513
+ # and day value, with a zero year, such as an anniversary * A year on its own,
6514
+ # with zero month and day values * A year and month value, with a zero day, such
6515
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
6516
+ # google.protobuf.Timestamp`.
6510
6517
  class GoogleTypeDate
6511
6518
  include Google::Apis::Core::Hashable
6512
6519
 
6513
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
6514
- # specifying a year by itself or a year and month where the day is not
6515
- # significant.
6520
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
6521
+ # specify a year by itself or a year and month where the day isn't significant.
6516
6522
  # Corresponds to the JSON property `day`
6517
6523
  # @return [Fixnum]
6518
6524
  attr_accessor :day
6519
6525
 
6520
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
6526
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
6521
6527
  # and day.
6522
6528
  # Corresponds to the JSON property `month`
6523
6529
  # @return [Fixnum]
6524
6530
  attr_accessor :month
6525
6531
 
6526
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
6532
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
6533
+ # year.
6527
6534
  # Corresponds to the JSON property `year`
6528
6535
  # @return [Fixnum]
6529
6536
  attr_accessor :year
@@ -1856,6 +1856,7 @@ module Google
1856
1856
  # @private
1857
1857
  class Representation < Google::Apis::Core::JsonRepresentation
1858
1858
  property :create_time, as: 'createTime'
1859
+ property :finding_id, as: 'findingId'
1859
1860
  property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
1860
1861
 
1861
1862
  property :job_create_time, as: 'jobCreateTime'
@@ -22,10 +22,10 @@ module Google
22
22
  #
23
23
  #
24
24
  #
25
- # @see http://developers.google.com/cloud-dns
25
+ # @see https://cloud.google.com/dns/docs
26
26
  module DnsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200927'
28
+ REVISION = '20201013'
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'
@@ -1304,6 +1304,179 @@ module Google
1304
1304
  end
1305
1305
  end
1306
1306
 
1307
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1308
+ # dynamically with the response varying based on configured properties such as
1309
+ # geolocation or by weighted random selection.
1310
+ class RrSetRoutingPolicy
1311
+ include Google::Apis::Core::Hashable
1312
+
1313
+ #
1314
+ # Corresponds to the JSON property `geoPolicy`
1315
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
1316
+ attr_accessor :geo_policy
1317
+
1318
+ #
1319
+ # Corresponds to the JSON property `kind`
1320
+ # @return [String]
1321
+ attr_accessor :kind
1322
+
1323
+ #
1324
+ # Corresponds to the JSON property `wrrPolicy`
1325
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
1326
+ attr_accessor :wrr_policy
1327
+
1328
+ def initialize(**args)
1329
+ update!(**args)
1330
+ end
1331
+
1332
+ # Update properties of this object
1333
+ def update!(**args)
1334
+ @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1335
+ @kind = args[:kind] if args.key?(:kind)
1336
+ @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1337
+ end
1338
+ end
1339
+
1340
+ #
1341
+ class RrSetRoutingPolicyGeoPolicy
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # If the health check for the primary target for a geo location returns an
1345
+ # unhealthy status, the failover target is returned instead. This failover
1346
+ # configuration is not mandatory. If a failover is not provided, the primary
1347
+ # target won't be healthchecked - we'll return the primarily configured rrdata
1348
+ # irrespective of whether it is healthy or not.
1349
+ # Corresponds to the JSON property `failovers`
1350
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1351
+ attr_accessor :failovers
1352
+
1353
+ # The primary geo routing configuration. If there are multiple items with the
1354
+ # same location, an error is returned instead.
1355
+ # Corresponds to the JSON property `items`
1356
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
1357
+ attr_accessor :items
1358
+
1359
+ #
1360
+ # Corresponds to the JSON property `kind`
1361
+ # @return [String]
1362
+ attr_accessor :kind
1363
+
1364
+ def initialize(**args)
1365
+ update!(**args)
1366
+ end
1367
+
1368
+ # Update properties of this object
1369
+ def update!(**args)
1370
+ @failovers = args[:failovers] if args.key?(:failovers)
1371
+ @items = args[:items] if args.key?(:items)
1372
+ @kind = args[:kind] if args.key?(:kind)
1373
+ end
1374
+ end
1375
+
1376
+ #
1377
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
1378
+ include Google::Apis::Core::Hashable
1379
+
1380
+ #
1381
+ # Corresponds to the JSON property `kind`
1382
+ # @return [String]
1383
+ attr_accessor :kind
1384
+
1385
+ # The geo-location granularity is a GCP region. This location string should
1386
+ # correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
1387
+ # etc.
1388
+ # Corresponds to the JSON property `location`
1389
+ # @return [String]
1390
+ attr_accessor :location
1391
+
1392
+ #
1393
+ # Corresponds to the JSON property `rrdatas`
1394
+ # @return [Array<String>]
1395
+ attr_accessor :rrdatas
1396
+
1397
+ # DNSSEC generated signatures for the above geo_rrdata.
1398
+ # Corresponds to the JSON property `signatureRrdatas`
1399
+ # @return [Array<String>]
1400
+ attr_accessor :signature_rrdatas
1401
+
1402
+ def initialize(**args)
1403
+ update!(**args)
1404
+ end
1405
+
1406
+ # Update properties of this object
1407
+ def update!(**args)
1408
+ @kind = args[:kind] if args.key?(:kind)
1409
+ @location = args[:location] if args.key?(:location)
1410
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1411
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1412
+ end
1413
+ end
1414
+
1415
+ #
1416
+ class RrSetRoutingPolicyWrrPolicy
1417
+ include Google::Apis::Core::Hashable
1418
+
1419
+ #
1420
+ # Corresponds to the JSON property `items`
1421
+ # @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
1422
+ attr_accessor :items
1423
+
1424
+ #
1425
+ # Corresponds to the JSON property `kind`
1426
+ # @return [String]
1427
+ attr_accessor :kind
1428
+
1429
+ def initialize(**args)
1430
+ update!(**args)
1431
+ end
1432
+
1433
+ # Update properties of this object
1434
+ def update!(**args)
1435
+ @items = args[:items] if args.key?(:items)
1436
+ @kind = args[:kind] if args.key?(:kind)
1437
+ end
1438
+ end
1439
+
1440
+ #
1441
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
1442
+ include Google::Apis::Core::Hashable
1443
+
1444
+ #
1445
+ # Corresponds to the JSON property `kind`
1446
+ # @return [String]
1447
+ attr_accessor :kind
1448
+
1449
+ #
1450
+ # Corresponds to the JSON property `rrdatas`
1451
+ # @return [Array<String>]
1452
+ attr_accessor :rrdatas
1453
+
1454
+ # DNSSEC generated signatures for the above wrr_rrdata.
1455
+ # Corresponds to the JSON property `signatureRrdatas`
1456
+ # @return [Array<String>]
1457
+ attr_accessor :signature_rrdatas
1458
+
1459
+ # The weight corresponding to this subset of rrdata. When multiple
1460
+ # WeightedRoundRobinPolicyItems are configured, the probability of returning an
1461
+ # rrset is proportional to its weight relative to the sum of weights configured
1462
+ # for all items. This weight should be a decimal in the range [0,1].
1463
+ # Corresponds to the JSON property `weight`
1464
+ # @return [Float]
1465
+ attr_accessor :weight
1466
+
1467
+ def initialize(**args)
1468
+ update!(**args)
1469
+ end
1470
+
1471
+ # Update properties of this object
1472
+ def update!(**args)
1473
+ @kind = args[:kind] if args.key?(:kind)
1474
+ @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1475
+ @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1476
+ @weight = args[:weight] if args.key?(:weight)
1477
+ end
1478
+ end
1479
+
1307
1480
  # A unit of data that will be returned by the DNS servers.
1308
1481
  class ResourceRecordSet
1309
1482
  include Google::Apis::Core::Hashable
@@ -1318,6 +1491,13 @@ module Google
1318
1491
  # @return [String]
1319
1492
  attr_accessor :name
1320
1493
 
1494
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
1495
+ # dynamically with the response varying based on configured properties such as
1496
+ # geolocation or by weighted random selection.
1497
+ # Corresponds to the JSON property `routingPolicy`
1498
+ # @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
1499
+ attr_accessor :routing_policy
1500
+
1321
1501
  # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1322
1502
  # examples.
1323
1503
  # Corresponds to the JSON property `rrdatas`
@@ -1348,6 +1528,7 @@ module Google
1348
1528
  def update!(**args)
1349
1529
  @kind = args[:kind] if args.key?(:kind)
1350
1530
  @name = args[:name] if args.key?(:name)
1531
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1351
1532
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
1352
1533
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
1353
1534
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -196,6 +196,36 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class RrSetRoutingPolicy
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class RrSetRoutingPolicyGeoPolicy
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class RrSetRoutingPolicyWrrPolicy
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
199
229
  class ResourceRecordSet
200
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
231
 
@@ -553,11 +583,64 @@ module Google
553
583
  end
554
584
  end
555
585
 
586
+ class RrSetRoutingPolicy
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy::Representation
590
+
591
+ property :kind, as: 'kind'
592
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy::Representation
593
+
594
+ end
595
+ end
596
+
597
+ class RrSetRoutingPolicyGeoPolicy
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ collection :failovers, as: 'failovers', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
601
+
602
+ collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
603
+
604
+ property :kind, as: 'kind'
605
+ end
606
+ end
607
+
608
+ class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :kind, as: 'kind'
612
+ property :location, as: 'location'
613
+ collection :rrdatas, as: 'rrdatas'
614
+ collection :signature_rrdatas, as: 'signatureRrdatas'
615
+ end
616
+ end
617
+
618
+ class RrSetRoutingPolicyWrrPolicy
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
622
+
623
+ property :kind, as: 'kind'
624
+ end
625
+ end
626
+
627
+ class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :kind, as: 'kind'
631
+ collection :rrdatas, as: 'rrdatas'
632
+ collection :signature_rrdatas, as: 'signatureRrdatas'
633
+ property :weight, as: 'weight'
634
+ end
635
+ end
636
+
556
637
  class ResourceRecordSet
557
638
  # @private
558
639
  class Representation < Google::Apis::Core::JsonRepresentation
559
640
  property :kind, as: 'kind'
560
641
  property :name, as: 'name'
642
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicy::Representation
643
+
561
644
  collection :rrdatas, as: 'rrdatas'
562
645
  collection :signature_rrdatas, as: 'signatureRrdatas'
563
646
  property :ttl, as: 'ttl'