google-api-client 0.44.2 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +295 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  10. data/generated/google/apis/accessapproval_v1.rb +1 -1
  11. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  12. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  15. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  16. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  19. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  20. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  22. data/generated/google/apis/admin_directory_v1.rb +1 -1
  23. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  24. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  25. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  26. data/generated/google/apis/admin_reports_v1.rb +1 -1
  27. data/generated/google/apis/admob_v1.rb +6 -2
  28. data/generated/google/apis/admob_v1/classes.rb +31 -31
  29. data/generated/google/apis/admob_v1/service.rb +2 -1
  30. data/generated/google/apis/adsense_v1_4.rb +1 -1
  31. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  42. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  45. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +442 -14
  48. data/generated/google/apis/apigee_v1/representations.rb +161 -1
  49. data/generated/google/apis/apigee_v1/service.rb +264 -44
  50. data/generated/google/apis/appengine_v1.rb +1 -1
  51. data/generated/google/apis/appengine_v1beta.rb +1 -1
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  54. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
  55. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  56. data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
  57. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  58. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +140 -23
  62. data/generated/google/apis/bigquery_v2/representations.rb +36 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  65. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  66. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  67. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  68. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
  70. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  71. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  73. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  74. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  77. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  78. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  79. data/generated/google/apis/books_v1.rb +1 -1
  80. data/generated/google/apis/books_v1/service.rb +2 -2
  81. data/generated/google/apis/calendar_v3.rb +1 -1
  82. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  83. data/generated/google/apis/chat_v1.rb +1 -1
  84. data/generated/google/apis/chat_v1/classes.rb +79 -5
  85. data/generated/google/apis/chat_v1/representations.rb +35 -0
  86. data/generated/google/apis/civicinfo_v2.rb +1 -1
  87. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  88. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  89. data/generated/google/apis/classroom_v1.rb +7 -1
  90. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  91. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  92. data/generated/google/apis/classroom_v1/service.rb +240 -0
  93. data/generated/google/apis/cloudasset_v1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  95. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  96. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
  98. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  99. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  100. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  101. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  102. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  103. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  106. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  107. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  108. data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
  109. data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
  110. data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
  111. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  112. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  113. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  114. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  115. data/generated/google/apis/cloudkms_v1.rb +1 -1
  116. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  117. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  118. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  124. data/generated/google/apis/cloudshell_v1.rb +1 -1
  125. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  126. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  127. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  128. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  129. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  130. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  131. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  133. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +2 -3
  139. data/generated/google/apis/composer_v1beta1.rb +1 -1
  140. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  141. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  142. data/generated/google/apis/compute_alpha.rb +1 -1
  143. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  144. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  145. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  146. data/generated/google/apis/compute_beta.rb +1 -1
  147. data/generated/google/apis/compute_beta/classes.rb +566 -94
  148. data/generated/google/apis/compute_beta/representations.rb +100 -1
  149. data/generated/google/apis/compute_beta/service.rb +805 -136
  150. data/generated/google/apis/compute_v1.rb +1 -1
  151. data/generated/google/apis/compute_v1/classes.rb +336 -53
  152. data/generated/google/apis/compute_v1/representations.rb +57 -1
  153. data/generated/google/apis/compute_v1/service.rb +739 -133
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +22 -10
  156. data/generated/google/apis/container_v1beta1.rb +1 -1
  157. data/generated/google/apis/container_v1beta1/classes.rb +50 -10
  158. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  159. data/generated/google/apis/content_v2.rb +1 -1
  160. data/generated/google/apis/content_v2/classes.rb +2 -1
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +108 -5
  163. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  164. data/generated/google/apis/content_v2_1/service.rb +38 -1
  165. data/generated/google/apis/customsearch_v1.rb +1 -1
  166. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  167. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  168. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  170. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  171. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  172. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  173. data/generated/google/apis/datafusion_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1.rb +1 -1
  175. data/generated/google/apis/dataproc_v1/classes.rb +29 -3
  176. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  177. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  178. data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
  179. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  180. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  181. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  182. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  183. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  184. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  185. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  186. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  187. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  188. data/generated/google/apis/dialogflow_v2.rb +1 -1
  189. data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
  190. data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
  191. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
  193. data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
  194. data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
  195. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
  197. data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
  198. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  199. data/generated/google/apis/displayvideo_v1.rb +1 -1
  200. data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
  201. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  202. data/generated/google/apis/displayvideo_v1/service.rb +21 -18
  203. data/generated/google/apis/dlp_v2.rb +1 -1
  204. data/generated/google/apis/dlp_v2/classes.rb +30 -3
  205. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  206. data/generated/google/apis/dlp_v2/service.rb +328 -328
  207. data/generated/google/apis/dns_v1.rb +1 -1
  208. data/generated/google/apis/dns_v1/classes.rb +181 -0
  209. data/generated/google/apis/dns_v1/representations.rb +83 -0
  210. data/generated/google/apis/dns_v1/service.rb +10 -10
  211. data/generated/google/apis/dns_v1beta2.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  213. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  214. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  215. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  216. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  217. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  218. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  219. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  220. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  221. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  222. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  223. data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
  224. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  225. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  226. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  227. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  228. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  229. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  230. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
  231. data/generated/google/apis/drive_v2.rb +1 -1
  232. data/generated/google/apis/drive_v2/classes.rb +4 -1
  233. data/generated/google/apis/drive_v3.rb +1 -1
  234. data/generated/google/apis/drive_v3/classes.rb +4 -2
  235. data/generated/google/apis/file_v1.rb +1 -1
  236. data/generated/google/apis/file_v1/classes.rb +1 -1
  237. data/generated/google/apis/file_v1beta1.rb +1 -1
  238. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  239. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  240. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  241. data/generated/google/apis/firestore_v1.rb +1 -1
  242. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  243. data/generated/google/apis/fitness_v1.rb +13 -1
  244. data/generated/google/apis/fitness_v1/service.rb +3 -1
  245. data/generated/google/apis/gameservices_v1.rb +1 -1
  246. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  247. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  248. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  249. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  250. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  251. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  252. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  253. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  254. data/generated/google/apis/gmail_v1.rb +1 -1
  255. data/generated/google/apis/gmail_v1/service.rb +1 -1
  256. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  257. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  258. data/generated/google/apis/healthcare_v1.rb +1 -1
  259. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  260. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  261. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  262. data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
  263. data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
  264. data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
  265. data/generated/google/apis/iam_v1.rb +1 -1
  266. data/generated/google/apis/iam_v1/service.rb +2 -1
  267. data/generated/google/apis/jobs_v2.rb +1 -1
  268. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  269. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  270. data/generated/google/apis/jobs_v3.rb +1 -1
  271. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  272. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  273. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  274. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  275. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  276. data/generated/google/apis/licensing_v1.rb +4 -3
  277. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  278. data/generated/google/apis/licensing_v1/service.rb +55 -85
  279. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  280. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  281. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  282. data/generated/google/apis/localservices_v1.rb +1 -1
  283. data/generated/google/apis/localservices_v1/service.rb +20 -20
  284. data/generated/google/apis/logging_v2.rb +1 -1
  285. data/generated/google/apis/logging_v2/classes.rb +98 -55
  286. data/generated/google/apis/logging_v2/representations.rb +32 -0
  287. data/generated/google/apis/logging_v2/service.rb +1214 -264
  288. data/generated/google/apis/managedidentities_v1.rb +1 -1
  289. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  290. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  291. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  292. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  293. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  294. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  295. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  296. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  297. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  298. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  299. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  300. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  301. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  302. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  303. data/generated/google/apis/monitoring_v1.rb +1 -1
  304. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  305. data/generated/google/apis/monitoring_v3.rb +1 -1
  306. data/generated/google/apis/monitoring_v3/classes.rb +99 -45
  307. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  308. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  309. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  310. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  311. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  312. data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
  313. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  314. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  315. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  316. data/generated/google/apis/osconfig_v1.rb +3 -3
  317. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  318. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  319. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  320. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  321. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  322. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  323. data/generated/google/apis/people_v1.rb +1 -1
  324. data/generated/google/apis/people_v1/classes.rb +48 -47
  325. data/generated/google/apis/people_v1/service.rb +12 -10
  326. data/generated/google/apis/playablelocations_v3.rb +1 -1
  327. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  328. data/generated/google/apis/poly_v1.rb +3 -4
  329. data/generated/google/apis/poly_v1/classes.rb +65 -79
  330. data/generated/google/apis/poly_v1/service.rb +50 -63
  331. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  332. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  333. data/generated/google/apis/pubsub_v1.rb +1 -1
  334. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  335. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  336. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  337. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  338. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  339. data/generated/google/apis/pubsublite_v1.rb +1 -1
  340. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  341. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  342. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  343. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  344. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  345. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  346. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  347. data/generated/google/apis/recommender_v1.rb +1 -1
  348. data/generated/google/apis/recommender_v1/service.rb +4 -2
  349. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  350. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  351. data/generated/google/apis/redis_v1.rb +1 -1
  352. data/generated/google/apis/redis_v1/classes.rb +5 -391
  353. data/generated/google/apis/redis_v1/representations.rb +0 -139
  354. data/generated/google/apis/redis_v1/service.rb +2 -2
  355. data/generated/google/apis/redis_v1beta1.rb +1 -1
  356. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  357. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  358. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  359. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  360. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  361. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  362. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  363. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  364. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  365. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  366. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  367. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  368. data/generated/google/apis/reseller_v1.rb +2 -2
  369. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  370. data/generated/google/apis/reseller_v1/service.rb +122 -173
  371. data/generated/google/apis/run_v1.rb +1 -1
  372. data/generated/google/apis/run_v1/classes.rb +15 -135
  373. data/generated/google/apis/run_v1/representations.rb +0 -61
  374. data/generated/google/apis/run_v1/service.rb +0 -342
  375. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  376. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  377. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  379. data/generated/google/apis/searchconsole_v1.rb +7 -1
  380. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  381. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  382. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  383. data/generated/google/apis/secretmanager_v1.rb +1 -1
  384. data/generated/google/apis/securitycenter_v1.rb +1 -1
  385. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  386. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  387. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  388. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  389. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  390. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  391. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  392. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  393. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  394. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  395. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  396. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  398. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  399. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  400. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  401. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  402. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  403. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  407. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  411. data/generated/google/apis/sheets_v4.rb +1 -1
  412. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  413. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  414. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
  415. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
  416. data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
  417. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  418. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  419. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  420. data/generated/google/apis/spanner_v1.rb +1 -1
  421. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  422. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  423. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  424. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
  425. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
  426. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  427. data/generated/google/apis/storage_v1.rb +1 -1
  428. data/generated/google/apis/storage_v1/classes.rb +2 -10
  429. data/generated/google/apis/storage_v1/representations.rb +0 -1
  430. data/generated/google/apis/storage_v1/service.rb +3 -2
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1.rb +1 -1
  438. data/generated/google/apis/sts_v1/classes.rb +10 -9
  439. data/generated/google/apis/sts_v1beta.rb +1 -1
  440. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  441. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  442. data/generated/google/apis/tagmanager_v2.rb +1 -1
  443. data/generated/google/apis/tasks_v1.rb +1 -1
  444. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  445. data/generated/google/apis/tasks_v1/service.rb +4 -3
  446. data/generated/google/apis/testing_v1.rb +1 -1
  447. data/generated/google/apis/testing_v1/classes.rb +49 -2
  448. data/generated/google/apis/testing_v1/representations.rb +20 -0
  449. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  450. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  451. data/generated/google/apis/tpu_v1.rb +1 -1
  452. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  453. data/generated/google/apis/tpu_v1/service.rb +8 -8
  454. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  455. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  456. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  457. data/generated/google/apis/translate_v3.rb +1 -1
  458. data/generated/google/apis/translate_v3/classes.rb +2 -2
  459. data/generated/google/apis/vault_v1.rb +1 -1
  460. data/generated/google/apis/vault_v1/classes.rb +333 -0
  461. data/generated/google/apis/vault_v1/representations.rb +162 -0
  462. data/generated/google/apis/vault_v1/service.rb +151 -0
  463. data/generated/google/apis/videointelligence_v1.rb +1 -1
  464. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  465. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  466. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  467. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  468. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  469. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  470. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  471. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  472. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  473. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  474. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  475. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  476. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  477. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  478. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  479. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  480. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  481. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  482. data/generated/google/apis/workflows_v1beta.rb +3 -2
  483. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  484. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  485. data/generated/google/apis/youtube_v3.rb +1 -1
  486. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  487. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  488. data/generated/google/apis/youtube_v3/service.rb +3 -198
  489. data/google-api-client.gemspec +1 -1
  490. data/lib/google/apis/core/api_command.rb +1 -0
  491. data/lib/google/apis/version.rb +1 -1
  492. data/synth.py +40 -0
  493. metadata +41 -19
  494. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  495. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  496. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  497. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  498. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  499. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  500. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  501. data/generated/google/apis/plus_v1/representations.rb +0 -907
  502. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -0,0 +1,309 @@
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] fields
128
+ # Selector specifying which fields to include in a partial response.
129
+ # @param [String] quota_user
130
+ # Available to use for quota purposes for server-side applications. Can be any
131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
132
+ # @param [Google::Apis::RequestOptions] options
133
+ # Request-specific options
134
+ #
135
+ # @yield [result, err] Result & error if block supplied
136
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse] parsed result object
137
+ # @yieldparam err [StandardError] error object if request failed
138
+ #
139
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse]
140
+ #
141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
144
+ def list_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
145
+ command = make_simple_command(:get, 'v1/{+parent}/devices', options)
146
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation
147
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
148
+ command.params['parent'] = parent unless parent.nil?
149
+ command.query['filter'] = filter unless filter.nil?
150
+ command.query['pageSize'] = page_size unless page_size.nil?
151
+ command.query['pageToken'] = page_token unless page_token.nil?
152
+ command.query['fields'] = fields unless fields.nil?
153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
154
+ execute_or_queue_command(command, &block)
155
+ end
156
+
157
+ # Gets a structure managed by the enterprise.
158
+ # @param [String] name
159
+ # The name of the structure requested. For example: "enterprises/XYZ/structures/
160
+ # ABC".
161
+ # @param [String] fields
162
+ # Selector specifying which fields to include in a partial response.
163
+ # @param [String] quota_user
164
+ # Available to use for quota purposes for server-side applications. Can be any
165
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
166
+ # @param [Google::Apis::RequestOptions] options
167
+ # Request-specific options
168
+ #
169
+ # @yield [result, err] Result & error if block supplied
170
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure] parsed result object
171
+ # @yieldparam err [StandardError] error object if request failed
172
+ #
173
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure]
174
+ #
175
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
178
+ def get_enterprise_structure(name, fields: nil, quota_user: nil, options: nil, &block)
179
+ command = make_simple_command(:get, 'v1/{+name}', options)
180
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure::Representation
181
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure
182
+ command.params['name'] = name unless name.nil?
183
+ command.query['fields'] = fields unless fields.nil?
184
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
185
+ execute_or_queue_command(command, &block)
186
+ end
187
+
188
+ # Lists structures managed by the enterprise.
189
+ # @param [String] parent
190
+ # The parent enterprise to list structures under. E.g. "enterprises/XYZ".
191
+ # @param [String] filter
192
+ # Optional filter to list structures. Filters can match the exact album assigned
193
+ # to the structure. E.g. 'album=enterprises/XYZ/albums/abc' It also support
194
+ # filtering by parent (only groups for now): E.g. 'parent=enterprises/XYZ/groups/
195
+ # 124'
196
+ # @param [Fixnum] page_size
197
+ # Requested page size. Server may return fewer structures than requested. If
198
+ # unspecified, server will pick an appropriate default.
199
+ # @param [String] page_token
200
+ # The token of the page to retrieve.
201
+ # @param [String] fields
202
+ # Selector specifying which fields to include in a partial response.
203
+ # @param [String] quota_user
204
+ # Available to use for quota purposes for server-side applications. Can be any
205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
206
+ # @param [Google::Apis::RequestOptions] options
207
+ # Request-specific options
208
+ #
209
+ # @yield [result, err] Result & error if block supplied
210
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse] parsed result object
211
+ # @yieldparam err [StandardError] error object if request failed
212
+ #
213
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse]
214
+ #
215
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
216
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
217
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
218
+ def list_enterprise_structures(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
219
+ command = make_simple_command(:get, 'v1/{+parent}/structures', options)
220
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse::Representation
221
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse
222
+ command.params['parent'] = parent unless parent.nil?
223
+ command.query['filter'] = filter unless filter.nil?
224
+ command.query['pageSize'] = page_size unless page_size.nil?
225
+ command.query['pageToken'] = page_token unless page_token.nil?
226
+ command.query['fields'] = fields unless fields.nil?
227
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
228
+ execute_or_queue_command(command, &block)
229
+ end
230
+
231
+ # Gets a room managed by the enterprise.
232
+ # @param [String] name
233
+ # The name of the room requested. For example: "enterprises/XYZ/structures/ABC/
234
+ # rooms/123".
235
+ # @param [String] fields
236
+ # Selector specifying which fields to include in a partial response.
237
+ # @param [String] quota_user
238
+ # Available to use for quota purposes for server-side applications. Can be any
239
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
240
+ # @param [Google::Apis::RequestOptions] options
241
+ # Request-specific options
242
+ #
243
+ # @yield [result, err] Result & error if block supplied
244
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room] parsed result object
245
+ # @yieldparam err [StandardError] error object if request failed
246
+ #
247
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room]
248
+ #
249
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
250
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
251
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
252
+ def get_enterprise_structure_room(name, fields: nil, quota_user: nil, options: nil, &block)
253
+ command = make_simple_command(:get, 'v1/{+name}', options)
254
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room::Representation
255
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room
256
+ command.params['name'] = name unless name.nil?
257
+ command.query['fields'] = fields unless fields.nil?
258
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
259
+ execute_or_queue_command(command, &block)
260
+ end
261
+
262
+ # Lists rooms managed by the enterprise.
263
+ # @param [String] parent
264
+ # The parent resource name of the rooms requested. For example: "enterprises/XYZ/
265
+ # structures/ABC".
266
+ # @param [Fixnum] page_size
267
+ # Requested page size. Server may return fewer rooms than requested. If
268
+ # unspecified, server will pick an appropriate default.
269
+ # @param [String] page_token
270
+ # The token of the page to retrieve.
271
+ # @param [String] fields
272
+ # Selector specifying which fields to include in a partial response.
273
+ # @param [String] quota_user
274
+ # Available to use for quota purposes for server-side applications. Can be any
275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
276
+ # @param [Google::Apis::RequestOptions] options
277
+ # Request-specific options
278
+ #
279
+ # @yield [result, err] Result & error if block supplied
280
+ # @yieldparam result [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse] parsed result object
281
+ # @yieldparam err [StandardError] error object if request failed
282
+ #
283
+ # @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse]
284
+ #
285
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
286
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
287
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
288
+ def list_enterprise_structure_rooms(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
289
+ command = make_simple_command(:get, 'v1/{+parent}/rooms', options)
290
+ command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse::Representation
291
+ command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
292
+ command.params['parent'] = parent unless parent.nil?
293
+ command.query['pageSize'] = page_size unless page_size.nil?
294
+ command.query['pageToken'] = page_token unless page_token.nil?
295
+ command.query['fields'] = fields unless fields.nil?
296
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
297
+ execute_or_queue_command(command, &block)
298
+ end
299
+
300
+ protected
301
+
302
+ def apply_command_defaults(command)
303
+ command.query['key'] = key unless key.nil?
304
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
305
+ end
306
+ end
307
+ end
308
+ end
309
+ 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