google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -296,8 +296,138 @@ module Google
296
296
  execute_or_queue_command(command, &block)
297
297
  end
298
298
 
299
+ # Copies an "Other contact" to a new contact in the user's "myContacts" group
300
+ # @param [String] resource_name
301
+ # Required. The resource name of the "Other contact" to copy.
302
+ # @param [Google::Apis::PeopleV1::CopyOtherContactToMyContactsGroupRequest] copy_other_contact_to_my_contacts_group_request_object
303
+ # @param [String] fields
304
+ # Selector specifying which fields to include in a partial response.
305
+ # @param [String] quota_user
306
+ # Available to use for quota purposes for server-side applications. Can be any
307
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
308
+ # @param [Google::Apis::RequestOptions] options
309
+ # Request-specific options
310
+ #
311
+ # @yield [result, err] Result & error if block supplied
312
+ # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
313
+ # @yieldparam err [StandardError] error object if request failed
314
+ #
315
+ # @return [Google::Apis::PeopleV1::Person]
316
+ #
317
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
318
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
319
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
320
+ def copy_other_contact_to_my_contacts_group(resource_name, copy_other_contact_to_my_contacts_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
321
+ command = make_simple_command(:post, 'v1/{+resourceName}:copyOtherContactToMyContactsGroup', options)
322
+ command.request_representation = Google::Apis::PeopleV1::CopyOtherContactToMyContactsGroupRequest::Representation
323
+ command.request_object = copy_other_contact_to_my_contacts_group_request_object
324
+ command.response_representation = Google::Apis::PeopleV1::Person::Representation
325
+ command.response_class = Google::Apis::PeopleV1::Person
326
+ command.params['resourceName'] = resource_name unless resource_name.nil?
327
+ command.query['fields'] = fields unless fields.nil?
328
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
329
+ execute_or_queue_command(command, &block)
330
+ end
331
+
332
+ # List all "Other contacts", that is contacts that are not in a contact
333
+ # group. "Other contacts" are typically auto created contacts from
334
+ # interactions.
335
+ # @param [Fixnum] page_size
336
+ # Optional. The number of "Other contacts" to include in the response. Valid
337
+ # values are
338
+ # between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.
339
+ # @param [String] page_token
340
+ # Optional. A page token, received from a previous `ListOtherContacts` call.
341
+ # Provide this to retrieve the subsequent page.
342
+ # When paginating, all other parameters provided to `ListOtherContacts`
343
+ # must match the call that provided the page token.
344
+ # @param [String] read_mask
345
+ # Required. A field mask to restrict which fields on each person are returned.
346
+ # Multiple
347
+ # fields can be specified by separating them with commas. Valid values are:
348
+ # * emailAddresses
349
+ # * names
350
+ # * phoneNumbers
351
+ # @param [Boolean] request_sync_token
352
+ # Optional. Whether the response should include `next_sync_token`, which can be
353
+ # used to
354
+ # get all changes since the last request. For subsequent sync requests use
355
+ # the `sync_token` param instead. Initial sync requests that specify
356
+ # `request_sync_token` have an additional rate limit.
357
+ # @param [String] sync_token
358
+ # Optional. A sync token, received from a previous `ListOtherContacts` call.
359
+ # Provide this to retrieve only the resources changed since the last request.
360
+ # Sync requests that specify `sync_token` have an additional rate limit.
361
+ # When syncing, all other parameters provided to `ListOtherContacts`
362
+ # must match the call that provided the sync token.
363
+ # @param [String] fields
364
+ # Selector specifying which fields to include in a partial response.
365
+ # @param [String] quota_user
366
+ # Available to use for quota purposes for server-side applications. Can be any
367
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
368
+ # @param [Google::Apis::RequestOptions] options
369
+ # Request-specific options
370
+ #
371
+ # @yield [result, err] Result & error if block supplied
372
+ # @yieldparam result [Google::Apis::PeopleV1::ListOtherContactsResponse] parsed result object
373
+ # @yieldparam err [StandardError] error object if request failed
374
+ #
375
+ # @return [Google::Apis::PeopleV1::ListOtherContactsResponse]
376
+ #
377
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
378
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
379
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
380
+ def list_other_contacts(page_size: nil, page_token: nil, read_mask: nil, request_sync_token: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
381
+ command = make_simple_command(:get, 'v1/otherContacts', options)
382
+ command.response_representation = Google::Apis::PeopleV1::ListOtherContactsResponse::Representation
383
+ command.response_class = Google::Apis::PeopleV1::ListOtherContactsResponse
384
+ command.query['pageSize'] = page_size unless page_size.nil?
385
+ command.query['pageToken'] = page_token unless page_token.nil?
386
+ command.query['readMask'] = read_mask unless read_mask.nil?
387
+ command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
388
+ command.query['syncToken'] = sync_token unless sync_token.nil?
389
+ command.query['fields'] = fields unless fields.nil?
390
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
391
+ execute_or_queue_command(command, &block)
392
+ end
393
+
299
394
  # Create a new contact and return the person resource for that contact.
300
395
  # @param [Google::Apis::PeopleV1::Person] person_object
396
+ # @param [String] person_fields
397
+ # Required. A field mask to restrict which fields on each person are returned.
398
+ # Multiple
399
+ # fields can be specified by separating them with commas. Defaults to all
400
+ # fields if not set. Valid values are:
401
+ # * addresses
402
+ # * ageRanges
403
+ # * biographies
404
+ # * birthdays
405
+ # * coverPhotos
406
+ # * emailAddresses
407
+ # * events
408
+ # * genders
409
+ # * imClients
410
+ # * interests
411
+ # * locales
412
+ # * memberships
413
+ # * metadata
414
+ # * names
415
+ # * nicknames
416
+ # * occupations
417
+ # * organizations
418
+ # * phoneNumbers
419
+ # * photos
420
+ # * relations
421
+ # * residences
422
+ # * sipAddresses
423
+ # * skills
424
+ # * urls
425
+ # * userDefined
426
+ # @param [Array<String>, String] sources
427
+ # Optional. A mask of what source types to return. Defaults to
428
+ # ReadSourceType.CONTACT and
429
+ # ReadSourceType.PROFILE if not
430
+ # set.
301
431
  # @param [String] fields
302
432
  # Selector specifying which fields to include in a partial response.
303
433
  # @param [String] quota_user
@@ -315,12 +445,14 @@ module Google
315
445
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
316
446
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
317
447
  # @raise [Google::Apis::AuthorizationError] Authorization is required
318
- def create_person_contact(person_object = nil, fields: nil, quota_user: nil, options: nil, &block)
448
+ def create_person_contact(person_object = nil, person_fields: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
319
449
  command = make_simple_command(:post, 'v1/people:createContact', options)
320
450
  command.request_representation = Google::Apis::PeopleV1::Person::Representation
321
451
  command.request_object = person_object
322
452
  command.response_representation = Google::Apis::PeopleV1::Person::Representation
323
453
  command.response_class = Google::Apis::PeopleV1::Person
454
+ command.query['personFields'] = person_fields unless person_fields.nil?
455
+ command.query['sources'] = sources unless sources.nil?
324
456
  command.query['fields'] = fields unless fields.nil?
325
457
  command.query['quotaUser'] = quota_user unless quota_user.nil?
326
458
  execute_or_queue_command(command, &block)
@@ -389,6 +521,11 @@ module Google
389
521
  # * skills
390
522
  # * urls
391
523
  # * userDefined
524
+ # @param [Array<String>, String] sources
525
+ # Optional. A mask of what source types to return. Defaults to
526
+ # ReadSourceType.CONTACT and
527
+ # ReadSourceType.PROFILE if not
528
+ # set.
392
529
  # @param [String] fields
393
530
  # Selector specifying which fields to include in a partial response.
394
531
  # @param [String] quota_user
@@ -406,12 +543,13 @@ module Google
406
543
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
544
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
545
  # @raise [Google::Apis::AuthorizationError] Authorization is required
409
- def delete_person_contact_photo(resource_name, person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
546
+ def delete_person_contact_photo(resource_name, person_fields: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
410
547
  command = make_simple_command(:delete, 'v1/{+resourceName}:deleteContactPhoto', options)
411
548
  command.response_representation = Google::Apis::PeopleV1::DeleteContactPhotoResponse::Representation
412
549
  command.response_class = Google::Apis::PeopleV1::DeleteContactPhotoResponse
413
550
  command.params['resourceName'] = resource_name unless resource_name.nil?
414
551
  command.query['personFields'] = person_fields unless person_fields.nil?
552
+ command.query['sources'] = sources unless sources.nil?
415
553
  command.query['fields'] = fields unless fields.nil?
416
554
  command.query['quotaUser'] = quota_user unless quota_user.nil?
417
555
  execute_or_queue_command(command, &block)
@@ -462,6 +600,12 @@ module Google
462
600
  # Each
463
601
  # path should start with `person.`: for example, `person.names` or
464
602
  # `person.photos`.
603
+ # @param [Array<String>, String] sources
604
+ # Optional. A mask of what source types to return. Defaults to
605
+ # ReadSourceType.PROFILE
606
+ # and
607
+ # ReadSourceType.CONTACT
608
+ # if not set.
465
609
  # @param [String] fields
466
610
  # Selector specifying which fields to include in a partial response.
467
611
  # @param [String] quota_user
@@ -479,13 +623,14 @@ module Google
479
623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
482
- def get_person(resource_name, person_fields: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
626
+ def get_person(resource_name, person_fields: nil, request_mask_include_field: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
483
627
  command = make_simple_command(:get, 'v1/{+resourceName}', options)
484
628
  command.response_representation = Google::Apis::PeopleV1::Person::Representation
485
629
  command.response_class = Google::Apis::PeopleV1::Person
486
630
  command.params['resourceName'] = resource_name unless resource_name.nil?
487
631
  command.query['personFields'] = person_fields unless person_fields.nil?
488
632
  command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
633
+ command.query['sources'] = sources unless sources.nil?
489
634
  command.query['fields'] = fields unless fields.nil?
490
635
  command.query['quotaUser'] = quota_user unless quota_user.nil?
491
636
  execute_or_queue_command(command, &block)
@@ -538,6 +683,12 @@ module Google
538
683
  # identifies the contact as returned by
539
684
  # [`people.connections.list`](/people/api/rest/v1/people.connections/list).
540
685
  # You can include up to 50 resource names in one request.
686
+ # @param [Array<String>, String] sources
687
+ # Optional. A mask of what source types to return. Defaults to
688
+ # ReadSourceType.CONTACT
689
+ # and
690
+ # ReadSourceType.PROFILE
691
+ # if not set.
541
692
  # @param [String] fields
542
693
  # Selector specifying which fields to include in a partial response.
543
694
  # @param [String] quota_user
@@ -555,13 +706,182 @@ module Google
555
706
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
556
707
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
557
708
  # @raise [Google::Apis::AuthorizationError] Authorization is required
558
- def get_people(person_fields: nil, request_mask_include_field: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
709
+ def get_people(person_fields: nil, request_mask_include_field: nil, resource_names: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
559
710
  command = make_simple_command(:get, 'v1/people:batchGet', options)
560
711
  command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
561
712
  command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
562
713
  command.query['personFields'] = person_fields unless person_fields.nil?
563
714
  command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
564
715
  command.query['resourceNames'] = resource_names unless resource_names.nil?
716
+ command.query['sources'] = sources unless sources.nil?
717
+ command.query['fields'] = fields unless fields.nil?
718
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
719
+ execute_or_queue_command(command, &block)
720
+ end
721
+
722
+ # Provides a list of domain profiles and domain contacts in the authenticated
723
+ # user's domain directory.
724
+ # @param [Array<String>, String] merge_sources
725
+ # Optional. Additional data to merge into the directory sources if they are
726
+ # connected
727
+ # through verified join keys such as email addresses or phone numbers.
728
+ # @param [Fixnum] page_size
729
+ # Optional. The number of people to include in the response. Valid values are
730
+ # between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.
731
+ # @param [String] page_token
732
+ # Optional. A page token, received from a previous `ListDirectoryPeople` call.
733
+ # Provide this to retrieve the subsequent page.
734
+ # When paginating, all other parameters provided to `ListDirectoryPeople`
735
+ # must match the call that provided the page token.
736
+ # @param [String] read_mask
737
+ # Required. A field mask to restrict which fields on each person are returned.
738
+ # Multiple
739
+ # fields can be specified by separating them with commas. Valid values are:
740
+ # * addresses
741
+ # * ageRanges
742
+ # * biographies
743
+ # * birthdays
744
+ # * coverPhotos
745
+ # * emailAddresses
746
+ # * events
747
+ # * genders
748
+ # * imClients
749
+ # * interests
750
+ # * locales
751
+ # * memberships
752
+ # * metadata
753
+ # * names
754
+ # * nicknames
755
+ # * occupations
756
+ # * organizations
757
+ # * phoneNumbers
758
+ # * photos
759
+ # * relations
760
+ # * residences
761
+ # * sipAddresses
762
+ # * skills
763
+ # * urls
764
+ # * userDefined
765
+ # @param [Boolean] request_sync_token
766
+ # Optional. Whether the response should include `next_sync_token`, which can be
767
+ # used to
768
+ # get all changes since the last request. For subsequent sync requests use
769
+ # the `sync_token` param instead.
770
+ # @param [Array<String>, String] sources
771
+ # Required. Directory sources to return.
772
+ # @param [String] sync_token
773
+ # Optional. A sync token, received from a previous `ListDirectoryPeople` call.
774
+ # Provide this to retrieve only the resources changed since the last request.
775
+ # When syncing, all other parameters provided to `ListDirectoryPeople`
776
+ # must match the call that provided the sync token.
777
+ # @param [String] fields
778
+ # Selector specifying which fields to include in a partial response.
779
+ # @param [String] quota_user
780
+ # Available to use for quota purposes for server-side applications. Can be any
781
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
782
+ # @param [Google::Apis::RequestOptions] options
783
+ # Request-specific options
784
+ #
785
+ # @yield [result, err] Result & error if block supplied
786
+ # @yieldparam result [Google::Apis::PeopleV1::ListDirectoryPeopleResponse] parsed result object
787
+ # @yieldparam err [StandardError] error object if request failed
788
+ #
789
+ # @return [Google::Apis::PeopleV1::ListDirectoryPeopleResponse]
790
+ #
791
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
792
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
793
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
794
+ def list_person_directory_people(merge_sources: nil, page_size: nil, page_token: nil, read_mask: nil, request_sync_token: nil, sources: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
795
+ command = make_simple_command(:get, 'v1/people:listDirectoryPeople', options)
796
+ command.response_representation = Google::Apis::PeopleV1::ListDirectoryPeopleResponse::Representation
797
+ command.response_class = Google::Apis::PeopleV1::ListDirectoryPeopleResponse
798
+ command.query['mergeSources'] = merge_sources unless merge_sources.nil?
799
+ command.query['pageSize'] = page_size unless page_size.nil?
800
+ command.query['pageToken'] = page_token unless page_token.nil?
801
+ command.query['readMask'] = read_mask unless read_mask.nil?
802
+ command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
803
+ command.query['sources'] = sources unless sources.nil?
804
+ command.query['syncToken'] = sync_token unless sync_token.nil?
805
+ command.query['fields'] = fields unless fields.nil?
806
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
807
+ execute_or_queue_command(command, &block)
808
+ end
809
+
810
+ # Provides a list of domain profiles and domain contacts in the authenticated
811
+ # user's domain directory that match the search query.
812
+ # @param [Array<String>, String] merge_sources
813
+ # Optional. Additional data to merge into the directory sources if they are
814
+ # connected
815
+ # through verified join keys such as email addresses or phone numbers.
816
+ # @param [Fixnum] page_size
817
+ # Optional. The number of people to include in the response. Valid values are
818
+ # between 1 and 500, inclusive. Defaults to 100 if not set or set to 0.
819
+ # @param [String] page_token
820
+ # Optional. A page token, received from a previous `SearchDirectoryPeople` call.
821
+ # Provide this to retrieve the subsequent page.
822
+ # When paginating, all other parameters provided to `SearchDirectoryPeople`
823
+ # must match the call that provided the page token.
824
+ # @param [String] query
825
+ # Required. Prefix query that matches fields in the person. Does NOT use the
826
+ # read_mask for determining what fields to match.
827
+ # @param [String] read_mask
828
+ # Required. A field mask to restrict which fields on each person are returned.
829
+ # Multiple
830
+ # fields can be specified by separating them with commas. Valid values are:
831
+ # * addresses
832
+ # * ageRanges
833
+ # * biographies
834
+ # * birthdays
835
+ # * coverPhotos
836
+ # * emailAddresses
837
+ # * events
838
+ # * genders
839
+ # * imClients
840
+ # * interests
841
+ # * locales
842
+ # * memberships
843
+ # * metadata
844
+ # * names
845
+ # * nicknames
846
+ # * occupations
847
+ # * organizations
848
+ # * phoneNumbers
849
+ # * photos
850
+ # * relations
851
+ # * residences
852
+ # * sipAddresses
853
+ # * skills
854
+ # * urls
855
+ # * userDefined
856
+ # @param [Array<String>, String] sources
857
+ # Required. Directory sources to return.
858
+ # @param [String] fields
859
+ # Selector specifying which fields to include in a partial response.
860
+ # @param [String] quota_user
861
+ # Available to use for quota purposes for server-side applications. Can be any
862
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
863
+ # @param [Google::Apis::RequestOptions] options
864
+ # Request-specific options
865
+ #
866
+ # @yield [result, err] Result & error if block supplied
867
+ # @yieldparam result [Google::Apis::PeopleV1::SearchDirectoryPeopleResponse] parsed result object
868
+ # @yieldparam err [StandardError] error object if request failed
869
+ #
870
+ # @return [Google::Apis::PeopleV1::SearchDirectoryPeopleResponse]
871
+ #
872
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
873
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
874
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
875
+ def search_person_directory_people(merge_sources: nil, page_size: nil, page_token: nil, query: nil, read_mask: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
876
+ command = make_simple_command(:get, 'v1/people:searchDirectoryPeople', options)
877
+ command.response_representation = Google::Apis::PeopleV1::SearchDirectoryPeopleResponse::Representation
878
+ command.response_class = Google::Apis::PeopleV1::SearchDirectoryPeopleResponse
879
+ command.query['mergeSources'] = merge_sources unless merge_sources.nil?
880
+ command.query['pageSize'] = page_size unless page_size.nil?
881
+ command.query['pageToken'] = page_token unless page_token.nil?
882
+ command.query['query'] = query unless query.nil?
883
+ command.query['readMask'] = read_mask unless read_mask.nil?
884
+ command.query['sources'] = sources unless sources.nil?
565
885
  command.query['fields'] = fields unless fields.nil?
566
886
  command.query['quotaUser'] = quota_user unless quota_user.nil?
567
887
  execute_or_queue_command(command, &block)
@@ -582,6 +902,41 @@ module Google
582
902
  # with a max length of 27 characters, in the form of
583
903
  # `people/`person_id``.
584
904
  # @param [Google::Apis::PeopleV1::Person] person_object
905
+ # @param [String] person_fields
906
+ # Optional. A field mask to restrict which fields on each person are returned.
907
+ # Multiple
908
+ # fields can be specified by separating them with commas. Defaults to all
909
+ # fields if not set. Valid values are:
910
+ # * addresses
911
+ # * ageRanges
912
+ # * biographies
913
+ # * birthdays
914
+ # * coverPhotos
915
+ # * emailAddresses
916
+ # * events
917
+ # * genders
918
+ # * imClients
919
+ # * interests
920
+ # * locales
921
+ # * memberships
922
+ # * metadata
923
+ # * names
924
+ # * nicknames
925
+ # * occupations
926
+ # * organizations
927
+ # * phoneNumbers
928
+ # * photos
929
+ # * relations
930
+ # * residences
931
+ # * sipAddresses
932
+ # * skills
933
+ # * urls
934
+ # * userDefined
935
+ # @param [Array<String>, String] sources
936
+ # Optional. A mask of what source types to return. Defaults to
937
+ # ReadSourceType.CONTACT and
938
+ # ReadSourceType.PROFILE if not
939
+ # set.
585
940
  # @param [String] update_person_fields
586
941
  # Required. A field mask to restrict which fields on the person are updated.
587
942
  # Multiple
@@ -624,13 +979,15 @@ module Google
624
979
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
980
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
981
  # @raise [Google::Apis::AuthorizationError] Authorization is required
627
- def update_person_contact(resource_name, person_object = nil, update_person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
982
+ def update_person_contact(resource_name, person_object = nil, person_fields: nil, sources: nil, update_person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
628
983
  command = make_simple_command(:patch, 'v1/{+resourceName}:updateContact', options)
629
984
  command.request_representation = Google::Apis::PeopleV1::Person::Representation
630
985
  command.request_object = person_object
631
986
  command.response_representation = Google::Apis::PeopleV1::Person::Representation
632
987
  command.response_class = Google::Apis::PeopleV1::Person
633
988
  command.params['resourceName'] = resource_name unless resource_name.nil?
989
+ command.query['personFields'] = person_fields unless person_fields.nil?
990
+ command.query['sources'] = sources unless sources.nil?
634
991
  command.query['updatePersonFields'] = update_person_fields unless update_person_fields.nil?
635
992
  command.query['fields'] = fields unless fields.nil?
636
993
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -670,8 +1027,7 @@ module Google
670
1027
  execute_or_queue_command(command, &block)
671
1028
  end
672
1029
 
673
- # Provides a list of the authenticated user's contacts merged with any
674
- # connected profiles.
1030
+ # Provides a list of the authenticated user's contacts.
675
1031
  # The request throws a 400 error if 'personFields' is not specified.
676
1032
  # @param [String] resource_name
677
1033
  # Required. The resource name to return connections for. Only `people/me` is
@@ -728,6 +1084,12 @@ module Google
728
1084
  # @param [String] sort_order
729
1085
  # Optional. The order in which the connections should be sorted. Defaults to
730
1086
  # `LAST_MODIFIED_ASCENDING`.
1087
+ # @param [Array<String>, String] sources
1088
+ # Optional. A mask of what source types to return. Defaults to
1089
+ # ReadSourceType.CONTACT
1090
+ # and
1091
+ # ReadSourceType.PROFILE if not
1092
+ # set.
731
1093
  # @param [String] sync_token
732
1094
  # Optional. A sync token, received from a previous `ListConnections` call.
733
1095
  # Provide this to retrieve only the resources changed since the last request.
@@ -751,7 +1113,7 @@ module Google
751
1113
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
752
1114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
1115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
754
- def list_person_connections(resource_name, page_size: nil, page_token: nil, person_fields: nil, request_mask_include_field: nil, request_sync_token: nil, sort_order: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1116
+ def list_person_connections(resource_name, page_size: nil, page_token: nil, person_fields: nil, request_mask_include_field: nil, request_sync_token: nil, sort_order: nil, sources: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
755
1117
  command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
756
1118
  command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
757
1119
  command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
@@ -762,6 +1124,7 @@ module Google
762
1124
  command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
763
1125
  command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
764
1126
  command.query['sortOrder'] = sort_order unless sort_order.nil?
1127
+ command.query['sources'] = sources unless sources.nil?
765
1128
  command.query['syncToken'] = sync_token unless sync_token.nil?
766
1129
  command.query['fields'] = fields unless fields.nil?
767
1130
  command.query['quotaUser'] = quota_user unless quota_user.nil?