google-api-client 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +305 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  15. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  16. data/generated/google/apis/admob_v1.rb +4 -1
  17. data/generated/google/apis/admob_v1/classes.rb +2 -2
  18. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  19. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  21. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  22. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  23. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  24. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  25. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  26. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
  31. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  33. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  34. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  35. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  36. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  37. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  38. data/generated/google/apis/apigee_v1.rb +1 -1
  39. data/generated/google/apis/apigee_v1/classes.rb +247 -27
  40. data/generated/google/apis/apigee_v1/representations.rb +90 -3
  41. data/generated/google/apis/apigee_v1/service.rb +63 -43
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  44. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  47. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  48. data/generated/google/apis/appsmarket_v2.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  50. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  51. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  52. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  53. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  54. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  55. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  56. data/generated/google/apis/bigquery_v2.rb +1 -1
  57. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  58. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  59. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  64. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  68. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  69. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  70. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  73. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  74. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +2 -2
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +79 -5
  81. data/generated/google/apis/chat_v1/representations.rb +35 -0
  82. data/generated/google/apis/civicinfo_v2.rb +1 -1
  83. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  84. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  85. data/generated/google/apis/classroom_v1.rb +7 -1
  86. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  87. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  88. data/generated/google/apis/classroom_v1/service.rb +240 -0
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  100. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  101. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  102. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  104. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  105. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  107. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  108. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  118. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  119. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  120. data/generated/google/apis/cloudiot_v1.rb +1 -1
  121. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  122. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudkms_v1.rb +1 -1
  124. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  125. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  126. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  128. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  130. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  132. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  134. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  136. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  137. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  138. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  139. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  140. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  142. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  143. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  144. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  146. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  147. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  149. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  150. data/generated/google/apis/composer_v1beta1.rb +1 -1
  151. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  154. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  155. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  156. data/generated/google/apis/compute_beta.rb +1 -1
  157. data/generated/google/apis/compute_beta/classes.rb +491 -83
  158. data/generated/google/apis/compute_beta/representations.rb +96 -1
  159. data/generated/google/apis/compute_beta/service.rb +802 -133
  160. data/generated/google/apis/compute_v1.rb +1 -1
  161. data/generated/google/apis/compute_v1/classes.rb +308 -45
  162. data/generated/google/apis/compute_v1/representations.rb +54 -1
  163. data/generated/google/apis/compute_v1/service.rb +736 -130
  164. data/generated/google/apis/container_v1.rb +1 -1
  165. data/generated/google/apis/container_v1/classes.rb +57 -2
  166. data/generated/google/apis/container_v1/representations.rb +7 -0
  167. data/generated/google/apis/container_v1beta1.rb +1 -1
  168. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  169. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  170. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  171. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  172. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  173. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  174. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  175. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  176. data/generated/google/apis/content_v2.rb +1 -1
  177. data/generated/google/apis/content_v2/classes.rb +4 -2
  178. data/generated/google/apis/content_v2_1.rb +1 -1
  179. data/generated/google/apis/content_v2_1/classes.rb +16 -4
  180. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  181. data/generated/google/apis/content_v2_1/service.rb +1 -1
  182. data/generated/google/apis/customsearch_v1.rb +1 -1
  183. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  184. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  185. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  186. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  189. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  190. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  191. data/generated/google/apis/datafusion_v1.rb +1 -1
  192. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  193. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  194. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  195. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  196. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  197. data/generated/google/apis/dataproc_v1.rb +1 -1
  198. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  199. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  200. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  201. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  202. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  203. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  205. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  206. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  207. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  208. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  209. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  210. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  211. data/generated/google/apis/dialogflow_v2.rb +1 -1
  212. data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
  213. data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
  214. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  215. data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
  216. data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
  217. data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
  218. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  219. data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
  220. data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
  221. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  222. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  223. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  224. data/generated/google/apis/displayvideo_v1.rb +1 -1
  225. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  226. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  227. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  228. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  229. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  230. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  231. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  232. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  233. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  234. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  235. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  236. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  237. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  238. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  239. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  240. data/generated/google/apis/dlp_v2.rb +1 -1
  241. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  242. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  243. data/generated/google/apis/dlp_v2/service.rb +328 -328
  244. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  245. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  246. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  249. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  251. data/generated/google/apis/file_v1.rb +1 -1
  252. data/generated/google/apis/file_v1/classes.rb +1 -1
  253. data/generated/google/apis/file_v1beta1.rb +1 -1
  254. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  256. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  257. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  262. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  263. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  264. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  265. data/generated/google/apis/firestore_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  267. data/generated/google/apis/fitness_v1.rb +3 -3
  268. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  269. data/generated/google/apis/games_v1.rb +1 -1
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  272. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  273. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  274. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  275. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  276. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  277. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  278. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  279. data/generated/google/apis/gmail_v1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/service.rb +1 -1
  281. data/generated/google/apis/healthcare_v1.rb +1 -1
  282. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  283. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  284. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  285. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  286. data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
  287. data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
  288. data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
  289. data/generated/google/apis/homegraph_v1.rb +4 -1
  290. data/generated/google/apis/iam_v1.rb +1 -1
  291. data/generated/google/apis/iam_v1/classes.rb +7 -0
  292. data/generated/google/apis/iam_v1/representations.rb +1 -0
  293. data/generated/google/apis/iam_v1/service.rb +2 -1
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +7 -0
  296. data/generated/google/apis/iap_v1/representations.rb +1 -0
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  299. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  300. data/generated/google/apis/jobs_v2.rb +1 -1
  301. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  302. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  303. data/generated/google/apis/jobs_v2/service.rb +85 -126
  304. data/generated/google/apis/jobs_v3.rb +1 -1
  305. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  306. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  307. data/generated/google/apis/jobs_v3/service.rb +101 -139
  308. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  311. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  312. data/generated/google/apis/licensing_v1.rb +4 -3
  313. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  314. data/generated/google/apis/licensing_v1/service.rb +55 -85
  315. data/generated/google/apis/logging_v2.rb +1 -1
  316. data/generated/google/apis/logging_v2/classes.rb +98 -55
  317. data/generated/google/apis/logging_v2/representations.rb +32 -0
  318. data/generated/google/apis/logging_v2/service.rb +1214 -264
  319. data/generated/google/apis/managedidentities_v1.rb +1 -1
  320. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  321. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  322. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  323. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  324. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  325. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  326. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  327. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  328. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  329. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  330. data/generated/google/apis/ml_v1.rb +1 -1
  331. data/generated/google/apis/ml_v1/classes.rb +7 -0
  332. data/generated/google/apis/ml_v1/representations.rb +1 -0
  333. data/generated/google/apis/ml_v1/service.rb +1 -1
  334. data/generated/google/apis/monitoring_v1.rb +1 -1
  335. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  336. data/generated/google/apis/monitoring_v3.rb +1 -1
  337. data/generated/google/apis/monitoring_v3/classes.rb +43 -37
  338. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  339. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  340. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  341. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  342. data/generated/google/apis/osconfig_v1.rb +3 -3
  343. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  344. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  345. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  346. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  347. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  348. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  349. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  350. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  351. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  352. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  353. data/generated/google/apis/people_v1.rb +1 -1
  354. data/generated/google/apis/people_v1/service.rb +8 -6
  355. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  356. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  359. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  360. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  361. data/generated/google/apis/pubsub_v1.rb +1 -1
  362. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  363. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  364. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  365. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  366. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  367. data/generated/google/apis/pubsublite_v1.rb +1 -1
  368. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  369. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  370. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  371. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  372. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  373. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  374. data/generated/google/apis/recommender_v1.rb +1 -1
  375. data/generated/google/apis/recommender_v1/service.rb +4 -2
  376. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  377. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  378. data/generated/google/apis/redis_v1.rb +1 -1
  379. data/generated/google/apis/redis_v1/classes.rb +5 -391
  380. data/generated/google/apis/redis_v1/representations.rb +0 -139
  381. data/generated/google/apis/redis_v1/service.rb +2 -2
  382. data/generated/google/apis/redis_v1beta1.rb +1 -1
  383. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  384. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  385. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  386. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  389. data/generated/google/apis/reseller_v1.rb +2 -2
  390. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  391. data/generated/google/apis/reseller_v1/service.rb +122 -173
  392. data/generated/google/apis/run_v1.rb +1 -1
  393. data/generated/google/apis/run_v1/classes.rb +8 -132
  394. data/generated/google/apis/run_v1/representations.rb +0 -61
  395. data/generated/google/apis/run_v1/service.rb +0 -342
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  398. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  399. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  400. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  401. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  402. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  403. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  404. data/generated/google/apis/searchconsole_v1.rb +7 -1
  405. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  406. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  407. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  408. data/generated/google/apis/secretmanager_v1.rb +1 -1
  409. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  410. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  411. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  412. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  413. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  414. data/generated/google/apis/securitycenter_v1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  416. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  417. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  418. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  419. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  420. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  421. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  422. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  423. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  424. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  425. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  428. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  429. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  430. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  431. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  432. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  435. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  436. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  439. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  440. data/generated/google/apis/sheets_v4.rb +1 -1
  441. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  442. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  443. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  444. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  445. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  446. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  447. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  448. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  449. data/generated/google/apis/spanner_v1.rb +1 -1
  450. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  451. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  452. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  453. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  454. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
  455. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
  456. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  457. data/generated/google/apis/storage_v1.rb +1 -1
  458. data/generated/google/apis/storage_v1/classes.rb +2 -10
  459. data/generated/google/apis/storage_v1/representations.rb +0 -1
  460. data/generated/google/apis/storage_v1/service.rb +3 -2
  461. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  462. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  463. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  464. data/generated/google/apis/sts_v1/classes.rb +120 -0
  465. data/generated/google/apis/sts_v1/representations.rb +59 -0
  466. data/generated/google/apis/sts_v1/service.rb +90 -0
  467. data/generated/google/apis/sts_v1beta.rb +32 -0
  468. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  469. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  470. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  471. data/generated/google/apis/tagmanager_v2.rb +1 -1
  472. data/generated/google/apis/tasks_v1.rb +1 -1
  473. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  474. data/generated/google/apis/tasks_v1/service.rb +4 -3
  475. data/generated/google/apis/testing_v1.rb +1 -1
  476. data/generated/google/apis/testing_v1/classes.rb +2 -2
  477. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  478. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  479. data/generated/google/apis/tpu_v1.rb +1 -1
  480. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  481. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  482. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  483. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  484. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  485. data/generated/google/apis/translate_v3.rb +1 -1
  486. data/generated/google/apis/translate_v3/classes.rb +2 -2
  487. data/generated/google/apis/vault_v1.rb +1 -1
  488. data/generated/google/apis/vault_v1/classes.rb +80 -103
  489. data/generated/google/apis/vault_v1/service.rb +31 -37
  490. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  491. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  492. data/generated/google/apis/videointelligence_v1.rb +1 -1
  493. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  494. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  495. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  496. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  497. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  498. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  499. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  501. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  502. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  504. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  505. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  507. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  508. data/generated/google/apis/vision_v1.rb +1 -1
  509. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  511. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  512. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  513. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  514. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  515. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  516. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  517. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  518. data/generated/google/apis/workflows_v1beta.rb +34 -0
  519. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  520. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  521. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  522. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  523. data/generated/google/apis/youtube_v3.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  525. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  526. data/generated/google/apis/youtube_v3/service.rb +2 -197
  527. data/google-api-client.gemspec +2 -1
  528. data/lib/google/apis/version.rb +1 -1
  529. metadata +70 -16
  530. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  531. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  532. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  533. data/generated/google/apis/plus_v1.rb +0 -43
  534. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  535. data/generated/google/apis/plus_v1/representations.rb +0 -907
  536. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -0,0 +1,312 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module SmartdevicemanagementV1
23
+ # Smart Device Management API
24
+ #
25
+ # Allow select enterprise partners to access, control, and manage Google and
26
+ # Nest devices programmatically.
27
+ #
28
+ # @example
29
+ # require 'google/apis/smartdevicemanagement_v1'
30
+ #
31
+ # Smartdevicemanagement = Google::Apis::SmartdevicemanagementV1 # Alias the module
32
+ # service = Smartdevicemanagement::SmartDeviceManagementService.new
33
+ #
34
+ # @see https://developers.google.com/nest/device-access
35
+ class SmartDeviceManagementService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://smartdevicemanagement.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
+ end
50
+
51
+ # Executes a command to device managed by the enterprise.
52
+ # @param [String] name
53
+ # The name of the device requested. For example: "enterprises/XYZ/devices/123"
54
+ # @param [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest] google_home_enterprise_sdm_v1_execute_device_command_request_object
55
+ # @param [String] fields
56
+ # Selector specifying which fields to include in a partial response.
57
+ # @param [String] quota_user
58
+ # Available to use for quota purposes for server-side applications. Can be any
59
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
60
+ # @param [Google::Apis::RequestOptions] options
61
+ # Request-specific options
62
+ #
63
+ # @yield [result, err] Result & error if block supplied
64
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse] parsed result object
65
+ # @yieldparam err [StandardError] error object if request failed
66
+ #
67
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse]
68
+ #
69
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
72
+ def execute_enterprise_device_command(name, google_home_enterprise_sdm_v1_execute_device_command_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
73
+ command = make_simple_command(:post, 'v1/{+name}:executeCommand', options)
74
+ command.request_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest::Representation
75
+ command.request_object = google_home_enterprise_sdm_v1_execute_device_command_request_object
76
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse::Representation
77
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
78
+ command.params['name'] = name unless name.nil?
79
+ command.query['fields'] = fields unless fields.nil?
80
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ execute_or_queue_command(command, &block)
82
+ end
83
+
84
+ # Gets a device managed by the enterprise.
85
+ # @param [String] name
86
+ # The name of the device requested. For example: "enterprises/XYZ/devices/123"
87
+ # @param [String] fields
88
+ # Selector specifying which fields to include in a partial response.
89
+ # @param [String] quota_user
90
+ # Available to use for quota purposes for server-side applications. Can be any
91
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
92
+ # @param [Google::Apis::RequestOptions] options
93
+ # Request-specific options
94
+ #
95
+ # @yield [result, err] Result & error if block supplied
96
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device] parsed result object
97
+ # @yieldparam err [StandardError] error object if request failed
98
+ #
99
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device]
100
+ #
101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
104
+ def get_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
105
+ command = make_simple_command(:get, 'v1/{+name}', options)
106
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device::Representation
107
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device
108
+ command.params['name'] = name unless name.nil?
109
+ command.query['fields'] = fields unless fields.nil?
110
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
111
+ execute_or_queue_command(command, &block)
112
+ end
113
+
114
+ # Lists devices managed by the enterprise.
115
+ # @param [String] parent
116
+ # The parent enterprise to list devices under. E.g. "enterprises/XYZ".
117
+ # @param [String] filter
118
+ # Optional filter to list devices. Filters can match the exact assignee (could
119
+ # be a structure or a room). E.g. 'assignee=enterprises/XYZ/structures/abc' Also
120
+ # could filter by parent (group): 'parent=enterprises/XYZ/groups/jkl' or filter
121
+ # by device custom name (substring match): 'customName=wing'
122
+ # @param [Fixnum] page_size
123
+ # Optional requested page size. Server may return fewer devices than requested.
124
+ # If unspecified, server will pick an appropriate default.
125
+ # @param [String] page_token
126
+ # Optional token of the page to retrieve.
127
+ # @param [String] view
128
+ # Additional details that need to be provided for the device.
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def list_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1/{+parent}/devices', options)
148
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation
149
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
150
+ command.params['parent'] = parent unless parent.nil?
151
+ command.query['filter'] = filter unless filter.nil?
152
+ command.query['pageSize'] = page_size unless page_size.nil?
153
+ command.query['pageToken'] = page_token unless page_token.nil?
154
+ command.query['view'] = view unless view.nil?
155
+ command.query['fields'] = fields unless fields.nil?
156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
157
+ execute_or_queue_command(command, &block)
158
+ end
159
+
160
+ # Gets a structure managed by the enterprise.
161
+ # @param [String] name
162
+ # The name of the structure requested. For example: "enterprises/XYZ/structures/
163
+ # ABC".
164
+ # @param [String] fields
165
+ # Selector specifying which fields to include in a partial response.
166
+ # @param [String] quota_user
167
+ # Available to use for quota purposes for server-side applications. Can be any
168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
169
+ # @param [Google::Apis::RequestOptions] options
170
+ # Request-specific options
171
+ #
172
+ # @yield [result, err] Result & error if block supplied
173
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure] parsed result object
174
+ # @yieldparam err [StandardError] error object if request failed
175
+ #
176
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure]
177
+ #
178
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
179
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
180
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
181
+ def get_enterprise_structure(name, fields: nil, quota_user: nil, options: nil, &block)
182
+ command = make_simple_command(:get, 'v1/{+name}', options)
183
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure::Representation
184
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure
185
+ command.params['name'] = name unless name.nil?
186
+ command.query['fields'] = fields unless fields.nil?
187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
188
+ execute_or_queue_command(command, &block)
189
+ end
190
+
191
+ # Lists structures managed by the enterprise.
192
+ # @param [String] parent
193
+ # The parent enterprise to list structures under. E.g. "enterprises/XYZ".
194
+ # @param [String] filter
195
+ # Optional filter to list structures. Filters can match the exact album assigned
196
+ # to the structure. E.g. 'album=enterprises/XYZ/albums/abc' It also support
197
+ # filtering by parent (only groups for now): E.g. 'parent=enterprises/XYZ/groups/
198
+ # 124'
199
+ # @param [Fixnum] page_size
200
+ # Requested page size. Server may return fewer structures than requested. If
201
+ # unspecified, server will pick an appropriate default.
202
+ # @param [String] page_token
203
+ # The token of the page to retrieve.
204
+ # @param [String] fields
205
+ # Selector specifying which fields to include in a partial response.
206
+ # @param [String] quota_user
207
+ # Available to use for quota purposes for server-side applications. Can be any
208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
209
+ # @param [Google::Apis::RequestOptions] options
210
+ # Request-specific options
211
+ #
212
+ # @yield [result, err] Result & error if block supplied
213
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse] parsed result object
214
+ # @yieldparam err [StandardError] error object if request failed
215
+ #
216
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse]
217
+ #
218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
221
+ def list_enterprise_structures(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
222
+ command = make_simple_command(:get, 'v1/{+parent}/structures', options)
223
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse::Representation
224
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse
225
+ command.params['parent'] = parent unless parent.nil?
226
+ command.query['filter'] = filter unless filter.nil?
227
+ command.query['pageSize'] = page_size unless page_size.nil?
228
+ command.query['pageToken'] = page_token unless page_token.nil?
229
+ command.query['fields'] = fields unless fields.nil?
230
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
231
+ execute_or_queue_command(command, &block)
232
+ end
233
+
234
+ # Gets a room managed by the enterprise.
235
+ # @param [String] name
236
+ # The name of the room requested. For example: "enterprises/XYZ/structures/ABC/
237
+ # rooms/123".
238
+ # @param [String] fields
239
+ # Selector specifying which fields to include in a partial response.
240
+ # @param [String] quota_user
241
+ # Available to use for quota purposes for server-side applications. Can be any
242
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
243
+ # @param [Google::Apis::RequestOptions] options
244
+ # Request-specific options
245
+ #
246
+ # @yield [result, err] Result & error if block supplied
247
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room] parsed result object
248
+ # @yieldparam err [StandardError] error object if request failed
249
+ #
250
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room]
251
+ #
252
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
255
+ def get_enterprise_structure_room(name, fields: nil, quota_user: nil, options: nil, &block)
256
+ command = make_simple_command(:get, 'v1/{+name}', options)
257
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room::Representation
258
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room
259
+ command.params['name'] = name unless name.nil?
260
+ command.query['fields'] = fields unless fields.nil?
261
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
262
+ execute_or_queue_command(command, &block)
263
+ end
264
+
265
+ # Lists rooms managed by the enterprise.
266
+ # @param [String] parent
267
+ # The parent resource name of the rooms requested. For example: "enterprises/XYZ/
268
+ # structures/ABC".
269
+ # @param [Fixnum] page_size
270
+ # Requested page size. Server may return fewer rooms than requested. If
271
+ # unspecified, server will pick an appropriate default.
272
+ # @param [String] page_token
273
+ # The token of the page to retrieve.
274
+ # @param [String] fields
275
+ # Selector specifying which fields to include in a partial response.
276
+ # @param [String] quota_user
277
+ # Available to use for quota purposes for server-side applications. Can be any
278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
279
+ # @param [Google::Apis::RequestOptions] options
280
+ # Request-specific options
281
+ #
282
+ # @yield [result, err] Result & error if block supplied
283
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse] parsed result object
284
+ # @yieldparam err [StandardError] error object if request failed
285
+ #
286
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse]
287
+ #
288
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
289
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
291
+ def list_enterprise_structure_rooms(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
292
+ command = make_simple_command(:get, 'v1/{+parent}/rooms', options)
293
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse::Representation
294
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
295
+ command.params['parent'] = parent unless parent.nil?
296
+ command.query['pageSize'] = page_size unless page_size.nil?
297
+ command.query['pageToken'] = page_token unless page_token.nil?
298
+ command.query['fields'] = fields unless fields.nil?
299
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
300
+ execute_or_queue_command(command, &block)
301
+ end
302
+
303
+ protected
304
+
305
+ def apply_command_defaults(command)
306
+ command.query['key'] = key unless key.nil?
307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
308
+ end
309
+ end
310
+ end
311
+ end
312
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/source-repositories/docs/apis
26
26
  module SourcerepoV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200729'
28
+ REVISION = '20200914'
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'
@@ -22,53 +22,21 @@ module Google
22
22
  module Apis
23
23
  module SourcerepoV1
24
24
 
25
- # Specifies the audit configuration for a service.
26
- # The configuration determines which permission types are logged, and what
27
- # identities, if any, are exempted from logging.
28
- # An AuditConfig must have one or more AuditLogConfigs.
29
- # If there are AuditConfigs for both `allServices` and a specific service,
30
- # the union of the two AuditConfigs is used for that service: the log_types
31
- # specified in each AuditConfig are enabled, and the exempted_members in each
32
- # AuditLogConfig are exempted.
33
- # Example Policy with multiple AuditConfigs:
34
- # `
35
- # "audit_configs": [
36
- # `
37
- # "service": "allServices",
38
- # "audit_log_configs": [
39
- # `
40
- # "log_type": "DATA_READ",
41
- # "exempted_members": [
42
- # "user:jose@example.com"
43
- # ]
44
- # `,
45
- # `
46
- # "log_type": "DATA_WRITE"
47
- # `,
48
- # `
49
- # "log_type": "ADMIN_READ"
50
- # `
51
- # ]
52
- # `,
53
- # `
54
- # "service": "sampleservice.googleapis.com",
55
- # "audit_log_configs": [
56
- # `
57
- # "log_type": "DATA_READ"
58
- # `,
59
- # `
60
- # "log_type": "DATA_WRITE",
61
- # "exempted_members": [
62
- # "user:aliya@example.com"
63
- # ]
64
- # `
65
- # ]
66
- # `
67
- # ]
68
- # `
69
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
- # logging. It also exempts jose@example.com from DATA_READ logging, and
71
- # aliya@example.com from DATA_WRITE logging.
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
72
40
  class AuditConfig
73
41
  include Google::Apis::Core::Hashable
74
42
 
@@ -77,9 +45,9 @@ module Google
77
45
  # @return [Array<Google::Apis::SourcerepoV1::AuditLogConfig>]
78
46
  attr_accessor :audit_log_configs
79
47
 
80
- # Specifies a service that will be enabled for audit logging.
81
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
82
- # `allServices` is a special value that covers all services.
48
+ # Specifies a service that will be enabled for audit logging. For example, `
49
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
+ # value that covers all services.
83
51
  # Corresponds to the JSON property `service`
84
52
  # @return [String]
85
53
  attr_accessor :service
@@ -95,28 +63,15 @@ module Google
95
63
  end
96
64
  end
97
65
 
98
- # Provides the configuration for logging a type of permissions.
99
- # Example:
100
- # `
101
- # "audit_log_configs": [
102
- # `
103
- # "log_type": "DATA_READ",
104
- # "exempted_members": [
105
- # "user:jose@example.com"
106
- # ]
107
- # `,
108
- # `
109
- # "log_type": "DATA_WRITE"
110
- # `
111
- # ]
112
- # `
113
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
114
- # jose@example.com from DATA_READ logging.
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
115
71
  class AuditLogConfig
116
72
  include Google::Apis::Core::Hashable
117
73
 
118
- # Specifies the identities that do not cause logging for this type of
119
- # permission.
74
+ # Specifies the identities that do not cause logging for this type of permission.
120
75
  # Follows the same format of Binding.members.
121
76
  # Corresponds to the JSON property `exemptedMembers`
122
77
  # @return [Array<String>]
@@ -142,69 +97,57 @@ module Google
142
97
  class Binding
143
98
  include Google::Apis::Core::Hashable
144
99
 
145
- # Represents a textual expression in the Common Expression Language (CEL)
146
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
147
- # are documented at https://github.com/google/cel-spec.
148
- # Example (Comparison):
149
- # title: "Summary size limit"
150
- # description: "Determines if a summary is less than 100 chars"
151
- # expression: "document.summary.size() < 100"
152
- # Example (Equality):
153
- # title: "Requestor is owner"
154
- # description: "Determines if requestor is the document owner"
155
- # expression: "document.owner == request.auth.claims.email"
156
- # Example (Logic):
157
- # title: "Public documents"
158
- # description: "Determine whether the document should be publicly visible"
159
- # expression: "document.type != 'private' && document.type != 'internal'"
160
- # Example (Data Manipulation):
161
- # title: "Notification string"
162
- # description: "Create a notification string with a timestamp."
163
- # expression: "'New message received at ' + string(document.create_time)"
164
- # The exact variables and functions that may be referenced within an expression
165
- # are determined by the service that evaluates it. See the service
166
- # documentation for additional information.
100
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
102
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
+ # "Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
167
115
  # Corresponds to the JSON property `condition`
168
116
  # @return [Google::Apis::SourcerepoV1::Expr]
169
117
  attr_accessor :condition
170
118
 
171
- # Specifies the identities requesting access for a Cloud Platform resource.
172
- # `members` can have the following values:
173
- # * `allUsers`: A special identifier that represents anyone who is
174
- # on the internet; with or without a Google account.
175
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
176
- # who is authenticated with a Google account or a service account.
177
- # * `user:`emailid``: An email address that represents a specific Google
178
- # account. For example, `alice@example.com` .
179
- # * `serviceAccount:`emailid``: An email address that represents a service
180
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
181
- # * `group:`emailid``: An email address that represents a Google group.
182
- # For example, `admins@example.com`.
183
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
184
- # identifier) representing a user that has been recently deleted. For
185
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
186
- # recovered, this value reverts to `user:`emailid`` and the recovered user
187
- # retains the role in the binding.
188
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
189
- # unique identifier) representing a service account that has been recently
190
- # deleted. For example,
191
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
192
- # If the service account is undeleted, this value reverts to
193
- # `serviceAccount:`emailid`` and the undeleted service account retains the
194
- # role in the binding.
195
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
196
- # identifier) representing a Google group that has been recently
197
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
198
- # the group is recovered, this value reverts to `group:`emailid`` and the
199
- # recovered group retains the role in the binding.
200
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
201
- # users of that domain. For example, `google.com` or `example.com`.
119
+ # Specifies the identities requesting access for a Cloud Platform resource. `
120
+ # members` can have the following values: * `allUsers`: A special identifier
121
+ # that represents anyone who is on the internet; with or without a Google
122
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
123
+ # anyone who is authenticated with a Google account or a service account. * `
124
+ # user:`emailid``: An email address that represents a specific Google account.
125
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
+ # address that represents a service account. For example, `my-other-app@appspot.
127
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
+ # `uniqueid``: An email address (plus unique identifier) representing a user
130
+ # that has been recently deleted. For example, `alice@example.com?uid=
131
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
+ # identifier) representing a service account that has been recently deleted. For
135
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
137
+ # emailid`` and the undeleted service account retains the role in the binding. *
138
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
139
+ # identifier) representing a Google group that has been recently deleted. For
140
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
141
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
142
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
+ # primary) that represents all the users of that domain. For example, `google.
144
+ # com` or `example.com`.
202
145
  # Corresponds to the JSON property `members`
203
146
  # @return [Array<String>]
204
147
  attr_accessor :members
205
148
 
206
- # Role that is assigned to `members`.
207
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
149
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
+ # , or `roles/owner`.
208
151
  # Corresponds to the JSON property `role`
209
152
  # @return [String]
210
153
  attr_accessor :role
@@ -221,13 +164,11 @@ module Google
221
164
  end
222
165
  end
223
166
 
224
- # A generic empty message that you can re-use to avoid defining duplicated
225
- # empty messages in your APIs. A typical example is to use it as the request
226
- # or the response type of an API method. For instance:
227
- # service Foo `
228
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
229
- # `
230
- # The JSON representation for `Empty` is empty JSON object ````.
167
+ # A generic empty message that you can re-use to avoid defining duplicated empty
168
+ # messages in your APIs. A typical example is to use it as the request or the
169
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
170
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
171
+ # `Empty` is empty JSON object ````.
231
172
  class Empty
232
173
  include Google::Apis::Core::Hashable
233
174
 
@@ -240,52 +181,43 @@ module Google
240
181
  end
241
182
  end
242
183
 
243
- # Represents a textual expression in the Common Expression Language (CEL)
244
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
245
- # are documented at https://github.com/google/cel-spec.
246
- # Example (Comparison):
247
- # title: "Summary size limit"
248
- # description: "Determines if a summary is less than 100 chars"
249
- # expression: "document.summary.size() < 100"
250
- # Example (Equality):
251
- # title: "Requestor is owner"
252
- # description: "Determines if requestor is the document owner"
253
- # expression: "document.owner == request.auth.claims.email"
254
- # Example (Logic):
255
- # title: "Public documents"
256
- # description: "Determine whether the document should be publicly visible"
257
- # expression: "document.type != 'private' && document.type != 'internal'"
258
- # Example (Data Manipulation):
259
- # title: "Notification string"
260
- # description: "Create a notification string with a timestamp."
261
- # expression: "'New message received at ' + string(document.create_time)"
262
- # The exact variables and functions that may be referenced within an expression
263
- # are determined by the service that evaluates it. See the service
264
- # documentation for additional information.
184
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
185
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
186
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
187
+ # "Summary size limit" description: "Determines if a summary is less than 100
188
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
189
+ # Requestor is owner" description: "Determines if requestor is the document
190
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
191
+ # Logic): title: "Public documents" description: "Determine whether the document
192
+ # should be publicly visible" expression: "document.type != 'private' &&
193
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
194
+ # string" description: "Create a notification string with a timestamp."
195
+ # expression: "'New message received at ' + string(document.create_time)" The
196
+ # exact variables and functions that may be referenced within an expression are
197
+ # determined by the service that evaluates it. See the service documentation for
198
+ # additional information.
265
199
  class Expr
266
200
  include Google::Apis::Core::Hashable
267
201
 
268
- # Optional. Description of the expression. This is a longer text which
269
- # describes the expression, e.g. when hovered over it in a UI.
202
+ # Optional. Description of the expression. This is a longer text which describes
203
+ # the expression, e.g. when hovered over it in a UI.
270
204
  # Corresponds to the JSON property `description`
271
205
  # @return [String]
272
206
  attr_accessor :description
273
207
 
274
- # Textual representation of an expression in Common Expression Language
275
- # syntax.
208
+ # Textual representation of an expression in Common Expression Language syntax.
276
209
  # Corresponds to the JSON property `expression`
277
210
  # @return [String]
278
211
  attr_accessor :expression
279
212
 
280
- # Optional. String indicating the location of the expression for error
281
- # reporting, e.g. a file name and a position in the file.
213
+ # Optional. String indicating the location of the expression for error reporting,
214
+ # e.g. a file name and a position in the file.
282
215
  # Corresponds to the JSON property `location`
283
216
  # @return [String]
284
217
  attr_accessor :location
285
218
 
286
- # Optional. Title for the expression, i.e. a short string describing
287
- # its purpose. This can be used e.g. in UIs which allow to enter the
288
- # expression.
219
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
220
+ # This can be used e.g. in UIs which allow to enter the expression.
289
221
  # Corresponds to the JSON property `title`
290
222
  # @return [String]
291
223
  attr_accessor :title
@@ -303,13 +235,13 @@ module Google
303
235
  end
304
236
  end
305
237
 
306
- # Response for ListRepos. The size is not set in the returned repositories.
238
+ # Response for ListRepos. The size is not set in the returned repositories.
307
239
  class ListReposResponse
308
240
  include Google::Apis::Core::Hashable
309
241
 
310
- # If non-empty, additional repositories exist within the project. These
311
- # can be retrieved by including this value in the next ListReposRequest's
312
- # page_token field.
242
+ # If non-empty, additional repositories exist within the project. These can be
243
+ # retrieved by including this value in the next ListReposRequest's page_token
244
+ # field.
313
245
  # Corresponds to the JSON property `nextPageToken`
314
246
  # @return [String]
315
247
  attr_accessor :next_page_token
@@ -330,14 +262,14 @@ module Google
330
262
  end
331
263
  end
332
264
 
333
- # Configuration to automatically mirror a repository from another
334
- # hosting service, for example GitHub or Bitbucket.
265
+ # Configuration to automatically mirror a repository from another hosting
266
+ # service, for example GitHub or Bitbucket.
335
267
  class MirrorConfig
336
268
  include Google::Apis::Core::Hashable
337
269
 
338
- # ID of the SSH deploy key at the other hosting service.
339
- # Removing this key from the other service would deauthorize
340
- # Google Cloud Source Repositories from mirroring.
270
+ # ID of the SSH deploy key at the other hosting service. Removing this key from
271
+ # the other service would deauthorize Google Cloud Source Repositories from
272
+ # mirroring.
341
273
  # Corresponds to the JSON property `deployKeyId`
342
274
  # @return [String]
343
275
  attr_accessor :deploy_key_id
@@ -347,10 +279,9 @@ module Google
347
279
  # @return [String]
348
280
  attr_accessor :url
349
281
 
350
- # ID of the webhook listening to updates to trigger mirroring.
351
- # Removing this webhook from the other hosting service will stop
352
- # Google Cloud Source Repositories from receiving notifications,
353
- # and thereby disabling mirroring.
282
+ # ID of the webhook listening to updates to trigger mirroring. Removing this
283
+ # webhook from the other hosting service will stop Google Cloud Source
284
+ # Repositories from receiving notifications, and thereby disabling mirroring.
354
285
  # Corresponds to the JSON property `webhookId`
355
286
  # @return [String]
356
287
  attr_accessor :webhook_id
@@ -372,47 +303,45 @@ module Google
372
303
  class Operation
373
304
  include Google::Apis::Core::Hashable
374
305
 
375
- # If the value is `false`, it means the operation is still in progress.
376
- # If `true`, the operation is completed, and either `error` or `response` is
377
- # available.
306
+ # If the value is `false`, it means the operation is still in progress. If `true`
307
+ # , the operation is completed, and either `error` or `response` is available.
378
308
  # Corresponds to the JSON property `done`
379
309
  # @return [Boolean]
380
310
  attr_accessor :done
381
311
  alias_method :done?, :done
382
312
 
383
- # The `Status` type defines a logical error model that is suitable for
384
- # different programming environments, including REST APIs and RPC APIs. It is
385
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
386
- # three pieces of data: error code, error message, and error details.
387
- # You can find out more about this error model and how to work with it in the
388
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
313
+ # The `Status` type defines a logical error model that is suitable for different
314
+ # programming environments, including REST APIs and RPC APIs. It is used by [
315
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
316
+ # data: error code, error message, and error details. You can find out more
317
+ # about this error model and how to work with it in the [API Design Guide](https:
318
+ # //cloud.google.com/apis/design/errors).
389
319
  # Corresponds to the JSON property `error`
390
320
  # @return [Google::Apis::SourcerepoV1::Status]
391
321
  attr_accessor :error
392
322
 
393
- # Service-specific metadata associated with the operation. It typically
394
- # contains progress information and common metadata such as create time.
395
- # Some services might not provide such metadata. Any method that returns a
396
- # long-running operation should document the metadata type, if any.
323
+ # Service-specific metadata associated with the operation. It typically contains
324
+ # progress information and common metadata such as create time. Some services
325
+ # might not provide such metadata. Any method that returns a long-running
326
+ # operation should document the metadata type, if any.
397
327
  # Corresponds to the JSON property `metadata`
398
328
  # @return [Hash<String,Object>]
399
329
  attr_accessor :metadata
400
330
 
401
331
  # The server-assigned name, which is only unique within the same service that
402
- # originally returns it. If you use the default HTTP mapping, the
403
- # `name` should be a resource name ending with `operations/`unique_id``.
332
+ # originally returns it. If you use the default HTTP mapping, the `name` should
333
+ # be a resource name ending with `operations/`unique_id``.
404
334
  # Corresponds to the JSON property `name`
405
335
  # @return [String]
406
336
  attr_accessor :name
407
337
 
408
- # The normal response of the operation in case of success. If the original
409
- # method returns no data on success, such as `Delete`, the response is
410
- # `google.protobuf.Empty`. If the original method is standard
411
- # `Get`/`Create`/`Update`, the response should be the resource. For other
412
- # methods, the response should have the type `XxxResponse`, where `Xxx`
413
- # is the original method name. For example, if the original method name
414
- # is `TakeSnapshot()`, the inferred response type is
415
- # `TakeSnapshotResponse`.
338
+ # The normal response of the operation in case of success. If the original
339
+ # method returns no data on success, such as `Delete`, the response is `google.
340
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
341
+ # the response should be the resource. For other methods, the response should
342
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
343
+ # example, if the original method name is `TakeSnapshot()`, the inferred
344
+ # response type is `TakeSnapshotResponse`.
416
345
  # Corresponds to the JSON property `response`
417
346
  # @return [Hash<String,Object>]
418
347
  attr_accessor :response
@@ -432,66 +361,32 @@ module Google
432
361
  end
433
362
 
434
363
  # An Identity and Access Management (IAM) policy, which specifies access
435
- # controls for Google Cloud resources.
436
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
437
- # `members` to a single `role`. Members can be user accounts, service accounts,
438
- # Google groups, and domains (such as G Suite). A `role` is a named list of
439
- # permissions; each `role` can be an IAM predefined role or a user-created
440
- # custom role.
441
- # For some types of Google Cloud resources, a `binding` can also specify a
442
- # `condition`, which is a logical expression that allows access to a resource
443
- # only if the expression evaluates to `true`. A condition can add constraints
444
- # based on attributes of the request, the resource, or both. To learn which
445
- # resources support conditions in their IAM policies, see the
446
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
447
- # policies).
448
- # **JSON example:**
449
- # `
450
- # "bindings": [
451
- # `
452
- # "role": "roles/resourcemanager.organizationAdmin",
453
- # "members": [
454
- # "user:mike@example.com",
455
- # "group:admins@example.com",
456
- # "domain:google.com",
457
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
458
- # ]
459
- # `,
460
- # `
461
- # "role": "roles/resourcemanager.organizationViewer",
462
- # "members": [
463
- # "user:eve@example.com"
464
- # ],
465
- # "condition": `
466
- # "title": "expirable access",
467
- # "description": "Does not grant access after Sep 2020",
468
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
469
- # ",
470
- # `
471
- # `
472
- # ],
473
- # "etag": "BwWWja0YfJA=",
474
- # "version": 3
475
- # `
476
- # **YAML example:**
477
- # bindings:
478
- # - members:
479
- # - user:mike@example.com
480
- # - group:admins@example.com
481
- # - domain:google.com
482
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
483
- # role: roles/resourcemanager.organizationAdmin
484
- # - members:
485
- # - user:eve@example.com
486
- # role: roles/resourcemanager.organizationViewer
487
- # condition:
488
- # title: expirable access
489
- # description: Does not grant access after Sep 2020
490
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
491
- # - etag: BwWWja0YfJA=
492
- # - version: 3
493
- # For a description of IAM and its features, see the
494
- # [IAM documentation](https://cloud.google.com/iam/docs/).
364
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
365
+ # A `binding` binds one or more `members` to a single `role`. Members can be
366
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
367
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
368
+ # role or a user-created custom role. For some types of Google Cloud resources,
369
+ # a `binding` can also specify a `condition`, which is a logical expression that
370
+ # allows access to a resource only if the expression evaluates to `true`. A
371
+ # condition can add constraints based on attributes of the request, the resource,
372
+ # or both. To learn which resources support conditions in their IAM policies,
373
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
374
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
375
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
376
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
377
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
378
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
379
+ # title": "expirable access", "description": "Does not grant access after Sep
380
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
381
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
382
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
383
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
384
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
385
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
386
+ # description: Does not grant access after Sep 2020 expression: request.time <
387
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
388
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
389
+ # google.com/iam/docs/).
495
390
  class Policy
496
391
  include Google::Apis::Core::Hashable
497
392
 
@@ -500,48 +395,44 @@ module Google
500
395
  # @return [Array<Google::Apis::SourcerepoV1::AuditConfig>]
501
396
  attr_accessor :audit_configs
502
397
 
503
- # Associates a list of `members` to a `role`. Optionally, may specify a
504
- # `condition` that determines how and when the `bindings` are applied. Each
505
- # of the `bindings` must contain at least one member.
398
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
399
+ # condition` that determines how and when the `bindings` are applied. Each of
400
+ # the `bindings` must contain at least one member.
506
401
  # Corresponds to the JSON property `bindings`
507
402
  # @return [Array<Google::Apis::SourcerepoV1::Binding>]
508
403
  attr_accessor :bindings
509
404
 
510
- # `etag` is used for optimistic concurrency control as a way to help
511
- # prevent simultaneous updates of a policy from overwriting each other.
512
- # It is strongly suggested that systems make use of the `etag` in the
513
- # read-modify-write cycle to perform policy updates in order to avoid race
514
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
515
- # systems are expected to put that etag in the request to `setIamPolicy` to
516
- # ensure that their change will be applied to the same version of the policy.
517
- # **Important:** If you use IAM Conditions, you must include the `etag` field
518
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
519
- # you to overwrite a version `3` policy with a version `1` policy, and all of
520
- # the conditions in the version `3` policy are lost.
405
+ # `etag` is used for optimistic concurrency control as a way to help prevent
406
+ # simultaneous updates of a policy from overwriting each other. It is strongly
407
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
408
+ # to perform policy updates in order to avoid race conditions: An `etag` is
409
+ # returned in the response to `getIamPolicy`, and systems are expected to put
410
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
411
+ # applied to the same version of the policy. **Important:** If you use IAM
412
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
413
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
414
+ # with a version `1` policy, and all of the conditions in the version `3` policy
415
+ # are lost.
521
416
  # Corresponds to the JSON property `etag`
522
417
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
523
418
  # @return [String]
524
419
  attr_accessor :etag
525
420
 
526
- # Specifies the format of the policy.
527
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
528
- # are rejected.
529
- # Any operation that affects conditional role bindings must specify version
530
- # `3`. This requirement applies to the following operations:
531
- # * Getting a policy that includes a conditional role binding
532
- # * Adding a conditional role binding to a policy
533
- # * Changing a conditional role binding in a policy
534
- # * Removing any role binding, with or without a condition, from a policy
535
- # that includes conditions
536
- # **Important:** If you use IAM Conditions, you must include the `etag` field
537
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
538
- # you to overwrite a version `3` policy with a version `1` policy, and all of
539
- # the conditions in the version `3` policy are lost.
540
- # If a policy does not include any conditions, operations on that policy may
541
- # specify any valid version or leave the field unset.
542
- # To learn which resources support conditions in their IAM policies, see the
543
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
544
- # policies).
421
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
422
+ # Requests that specify an invalid value are rejected. Any operation that
423
+ # affects conditional role bindings must specify version `3`. This requirement
424
+ # applies to the following operations: * Getting a policy that includes a
425
+ # conditional role binding * Adding a conditional role binding to a policy *
426
+ # Changing a conditional role binding in a policy * Removing any role binding,
427
+ # with or without a condition, from a policy that includes conditions **
428
+ # Important:** If you use IAM Conditions, you must include the `etag` field
429
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
430
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
431
+ # conditions in the version `3` policy are lost. If a policy does not include
432
+ # any conditions, operations on that policy may specify any valid version or
433
+ # leave the field unset. To learn which resources support conditions in their
434
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
435
+ # conditions/resource-policies).
545
436
  # Corresponds to the JSON property `version`
546
437
  # @return [Fixnum]
547
438
  attr_accessor :version
@@ -569,13 +460,13 @@ module Google
569
460
  attr_accessor :enable_private_key_check
570
461
  alias_method :enable_private_key_check?, :enable_private_key_check
571
462
 
572
- # The name of the project. Values are of the form `projects/<project>`.
463
+ # The name of the project. Values are of the form `projects/`.
573
464
  # Corresponds to the JSON property `name`
574
465
  # @return [String]
575
466
  attr_accessor :name
576
467
 
577
- # How this project publishes a change in the repositories through Cloud
578
- # Pub/Sub. Keyed by the topic names.
468
+ # How this project publishes a change in the repositories through Cloud Pub/Sub.
469
+ # Keyed by the topic names.
579
470
  # Corresponds to the JSON property `pubsubConfigs`
580
471
  # @return [Hash<String,Google::Apis::SourcerepoV1::PubsubConfig>]
581
472
  attr_accessor :pubsub_configs
@@ -603,16 +494,15 @@ module Google
603
494
 
604
495
  # Email address of the service account used for publishing Cloud Pub/Sub
605
496
  # messages. This service account needs to be in the same project as the
606
- # PubsubConfig. When added, the caller needs to have
607
- # iam.serviceAccounts.actAs permission on this service account. If
608
- # unspecified, it defaults to the compute engine default service account.
497
+ # PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs
498
+ # permission on this service account. If unspecified, it defaults to the compute
499
+ # engine default service account.
609
500
  # Corresponds to the JSON property `serviceAccountEmail`
610
501
  # @return [String]
611
502
  attr_accessor :service_account_email
612
503
 
613
- # A topic of Cloud Pub/Sub. Values are of the form
614
- # `projects/<project>/topics/<topic>`. The project needs to be the same
615
- # project as this config is in.
504
+ # A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The
505
+ # project needs to be the same project as this config is in.
616
506
  # Corresponds to the JSON property `topic`
617
507
  # @return [String]
618
508
  attr_accessor :topic
@@ -633,33 +523,32 @@ module Google
633
523
  class Repo
634
524
  include Google::Apis::Core::Hashable
635
525
 
636
- # Configuration to automatically mirror a repository from another
637
- # hosting service, for example GitHub or Bitbucket.
526
+ # Configuration to automatically mirror a repository from another hosting
527
+ # service, for example GitHub or Bitbucket.
638
528
  # Corresponds to the JSON property `mirrorConfig`
639
529
  # @return [Google::Apis::SourcerepoV1::MirrorConfig]
640
530
  attr_accessor :mirror_config
641
531
 
642
- # Resource name of the repository, of the form
643
- # `projects/<project>/repos/<repo>`. The repo name may contain slashes.
644
- # eg, `projects/myproject/repos/name/with/slash`
532
+ # Resource name of the repository, of the form `projects//repos/`. The repo name
533
+ # may contain slashes. eg, `projects/myproject/repos/name/with/slash`
645
534
  # Corresponds to the JSON property `name`
646
535
  # @return [String]
647
536
  attr_accessor :name
648
537
 
649
- # How this repository publishes a change in the repository through Cloud
650
- # Pub/Sub. Keyed by the topic names.
538
+ # How this repository publishes a change in the repository through Cloud Pub/Sub.
539
+ # Keyed by the topic names.
651
540
  # Corresponds to the JSON property `pubsubConfigs`
652
541
  # @return [Hash<String,Google::Apis::SourcerepoV1::PubsubConfig>]
653
542
  attr_accessor :pubsub_configs
654
543
 
655
- # The disk usage of the repo, in bytes. Read-only field. Size is only
656
- # returned by GetRepo.
544
+ # The disk usage of the repo, in bytes. Read-only field. Size is only returned
545
+ # by GetRepo.
657
546
  # Corresponds to the JSON property `size`
658
547
  # @return [Fixnum]
659
548
  attr_accessor :size
660
549
 
661
- # URL to clone the repository from Google Cloud Source Repositories.
662
- # Read-only field.
550
+ # URL to clone the repository from Google Cloud Source Repositories. Read-only
551
+ # field.
663
552
  # Corresponds to the JSON property `url`
664
553
  # @return [String]
665
554
  attr_accessor :url
@@ -683,74 +572,39 @@ module Google
683
572
  include Google::Apis::Core::Hashable
684
573
 
685
574
  # An Identity and Access Management (IAM) policy, which specifies access
686
- # controls for Google Cloud resources.
687
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
688
- # `members` to a single `role`. Members can be user accounts, service accounts,
689
- # Google groups, and domains (such as G Suite). A `role` is a named list of
690
- # permissions; each `role` can be an IAM predefined role or a user-created
691
- # custom role.
692
- # For some types of Google Cloud resources, a `binding` can also specify a
693
- # `condition`, which is a logical expression that allows access to a resource
694
- # only if the expression evaluates to `true`. A condition can add constraints
695
- # based on attributes of the request, the resource, or both. To learn which
696
- # resources support conditions in their IAM policies, see the
697
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
698
- # policies).
699
- # **JSON example:**
700
- # `
701
- # "bindings": [
702
- # `
703
- # "role": "roles/resourcemanager.organizationAdmin",
704
- # "members": [
705
- # "user:mike@example.com",
706
- # "group:admins@example.com",
707
- # "domain:google.com",
708
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
709
- # ]
710
- # `,
711
- # `
712
- # "role": "roles/resourcemanager.organizationViewer",
713
- # "members": [
714
- # "user:eve@example.com"
715
- # ],
716
- # "condition": `
717
- # "title": "expirable access",
718
- # "description": "Does not grant access after Sep 2020",
719
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
720
- # ",
721
- # `
722
- # `
723
- # ],
724
- # "etag": "BwWWja0YfJA=",
725
- # "version": 3
726
- # `
727
- # **YAML example:**
728
- # bindings:
729
- # - members:
730
- # - user:mike@example.com
731
- # - group:admins@example.com
732
- # - domain:google.com
733
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
734
- # role: roles/resourcemanager.organizationAdmin
735
- # - members:
736
- # - user:eve@example.com
737
- # role: roles/resourcemanager.organizationViewer
738
- # condition:
739
- # title: expirable access
740
- # description: Does not grant access after Sep 2020
741
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
742
- # - etag: BwWWja0YfJA=
743
- # - version: 3
744
- # For a description of IAM and its features, see the
745
- # [IAM documentation](https://cloud.google.com/iam/docs/).
575
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
576
+ # A `binding` binds one or more `members` to a single `role`. Members can be
577
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
578
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
579
+ # role or a user-created custom role. For some types of Google Cloud resources,
580
+ # a `binding` can also specify a `condition`, which is a logical expression that
581
+ # allows access to a resource only if the expression evaluates to `true`. A
582
+ # condition can add constraints based on attributes of the request, the resource,
583
+ # or both. To learn which resources support conditions in their IAM policies,
584
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
585
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
586
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
587
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
588
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
589
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
590
+ # title": "expirable access", "description": "Does not grant access after Sep
591
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
592
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
593
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
594
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
595
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
596
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
597
+ # description: Does not grant access after Sep 2020 expression: request.time <
598
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
599
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
600
+ # google.com/iam/docs/).
746
601
  # Corresponds to the JSON property `policy`
747
602
  # @return [Google::Apis::SourcerepoV1::Policy]
748
603
  attr_accessor :policy
749
604
 
750
605
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
751
- # the fields in the mask will be modified. If no mask is provided, the
752
- # following default mask is used:
753
- # `paths: "bindings, etag"`
606
+ # the fields in the mask will be modified. If no mask is provided, the following
607
+ # default mask is used: `paths: "bindings, etag"`
754
608
  # Corresponds to the JSON property `updateMask`
755
609
  # @return [String]
756
610
  attr_accessor :update_mask
@@ -766,12 +620,12 @@ module Google
766
620
  end
767
621
  end
768
622
 
769
- # The `Status` type defines a logical error model that is suitable for
770
- # different programming environments, including REST APIs and RPC APIs. It is
771
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
772
- # three pieces of data: error code, error message, and error details.
773
- # You can find out more about this error model and how to work with it in the
774
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
623
+ # The `Status` type defines a logical error model that is suitable for different
624
+ # programming environments, including REST APIs and RPC APIs. It is used by [
625
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
626
+ # data: error code, error message, and error details. You can find out more
627
+ # about this error model and how to work with it in the [API Design Guide](https:
628
+ # //cloud.google.com/apis/design/errors).
775
629
  class Status
776
630
  include Google::Apis::Core::Hashable
777
631
 
@@ -780,15 +634,15 @@ module Google
780
634
  # @return [Fixnum]
781
635
  attr_accessor :code
782
636
 
783
- # A list of messages that carry the error details. There is a common set of
637
+ # A list of messages that carry the error details. There is a common set of
784
638
  # message types for APIs to use.
785
639
  # Corresponds to the JSON property `details`
786
640
  # @return [Array<Hash<String,Object>>]
787
641
  attr_accessor :details
788
642
 
789
- # A developer-facing error message, which should be in English. Any
790
- # user-facing error message should be localized and sent in the
791
- # google.rpc.Status.details field, or localized by the client.
643
+ # A developer-facing error message, which should be in English. Any user-facing
644
+ # error message should be localized and sent in the google.rpc.Status.details
645
+ # field, or localized by the client.
792
646
  # Corresponds to the JSON property `message`
793
647
  # @return [String]
794
648
  attr_accessor :message
@@ -805,13 +659,12 @@ module Google
805
659
  end
806
660
  end
807
661
 
808
- # Metadata of SyncRepo.
809
- # This message is in the metadata field of Operation.
662
+ # Metadata of SyncRepo. This message is in the metadata field of Operation.
810
663
  class SyncRepoMetadata
811
664
  include Google::Apis::Core::Hashable
812
665
 
813
- # The name of the repo being synchronized. Values are of the form
814
- # `projects/<project>/repos/<repo>`.
666
+ # The name of the repo being synchronized. Values are of the form `projects//
667
+ # repos/`.
815
668
  # Corresponds to the JSON property `name`
816
669
  # @return [String]
817
670
  attr_accessor :name
@@ -861,10 +714,9 @@ module Google
861
714
  class TestIamPermissionsRequest
862
715
  include Google::Apis::Core::Hashable
863
716
 
864
- # The set of permissions to check for the `resource`. Permissions with
865
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
866
- # information see
867
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
717
+ # The set of permissions to check for the `resource`. Permissions with wildcards
718
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
719
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
868
720
  # Corresponds to the JSON property `permissions`
869
721
  # @return [Array<String>]
870
722
  attr_accessor :permissions
@@ -883,8 +735,7 @@ module Google
883
735
  class TestIamPermissionsResponse
884
736
  include Google::Apis::Core::Hashable
885
737
 
886
- # A subset of `TestPermissionsRequest.permissions` that the caller is
887
- # allowed.
738
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
888
739
  # Corresponds to the JSON property `permissions`
889
740
  # @return [Array<String>]
890
741
  attr_accessor :permissions
@@ -908,9 +759,9 @@ module Google
908
759
  # @return [Google::Apis::SourcerepoV1::ProjectConfig]
909
760
  attr_accessor :project_config
910
761
 
911
- # A FieldMask specifying which fields of the project_config to modify. Only
912
- # the fields in the mask will be modified. If no mask is provided, this
913
- # request is no-op.
762
+ # A FieldMask specifying which fields of the project_config to modify. Only the
763
+ # fields in the mask will be modified. If no mask is provided, this request is
764
+ # no-op.
914
765
  # Corresponds to the JSON property `updateMask`
915
766
  # @return [String]
916
767
  attr_accessor :update_mask
@@ -935,9 +786,8 @@ module Google
935
786
  # @return [Google::Apis::SourcerepoV1::Repo]
936
787
  attr_accessor :repo
937
788
 
938
- # A FieldMask specifying which fields of the repo to modify. Only the fields
939
- # in the mask will be modified. If no mask is provided, this request is
940
- # no-op.
789
+ # A FieldMask specifying which fields of the repo to modify. Only the fields in
790
+ # the mask will be modified. If no mask is provided, this request is no-op.
941
791
  # Corresponds to the JSON property `updateMask`
942
792
  # @return [String]
943
793
  attr_accessor :update_mask