google-api-client 0.47.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (605) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +57 -0
  3. data/CHANGELOG.md +466 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/accessapproval_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  11. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  13. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  14. data/generated/google/apis/admin_directory_v1.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  16. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  17. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  18. data/generated/google/apis/admin_reports_v1.rb +2 -2
  19. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  20. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/service.rb +4 -0
  23. data/generated/google/apis/admob_v1beta.rb +38 -0
  24. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  25. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  26. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  27. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  28. data/generated/google/apis/analytics_v3/service.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  30. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
  31. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
  32. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  33. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
  34. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  35. data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  38. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  39. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  40. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  41. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  42. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  45. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  46. data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
  47. data/generated/google/apis/apigee_v1.rb +1 -1
  48. data/generated/google/apis/apigee_v1/classes.rb +433 -84
  49. data/generated/google/apis/apigee_v1/representations.rb +150 -0
  50. data/generated/google/apis/apigee_v1/service.rb +926 -110
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  53. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  54. data/generated/google/apis/appengine_v1beta.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  56. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  58. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  59. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  60. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  61. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  62. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
  63. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  64. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  65. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  66. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  67. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  68. data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
  69. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  70. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  71. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  72. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  73. data/generated/google/apis/bigquery_v2.rb +1 -1
  74. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  75. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  76. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  77. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  78. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  79. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  80. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  81. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  82. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  83. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  84. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
  87. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
  90. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  93. data/generated/google/apis/chat_v1.rb +1 -1
  94. data/generated/google/apis/chat_v1/classes.rb +1 -2
  95. data/generated/google/apis/chat_v1/service.rb +176 -0
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  98. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  99. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  100. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  101. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  102. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  104. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  105. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  107. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  108. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
  118. data/generated/google/apis/cloudiot_v1.rb +1 -1
  119. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  120. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  121. data/generated/google/apis/cloudkms_v1.rb +1 -1
  122. data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
  123. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  124. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  126. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  128. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  129. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  130. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  132. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  133. data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
  134. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  136. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  137. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
  138. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  140. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  141. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  142. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  143. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  144. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  146. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  147. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
  149. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
  150. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  151. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  152. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
  153. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
  154. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  155. data/generated/google/apis/composer_v1.rb +1 -1
  156. data/generated/google/apis/composer_v1/classes.rb +123 -0
  157. data/generated/google/apis/composer_v1/representations.rb +49 -0
  158. data/generated/google/apis/composer_v1/service.rb +19 -15
  159. data/generated/google/apis/composer_v1beta1.rb +1 -1
  160. data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
  161. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  162. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  163. data/generated/google/apis/compute_alpha.rb +1 -1
  164. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  165. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  166. data/generated/google/apis/compute_alpha/service.rb +291 -15
  167. data/generated/google/apis/compute_beta.rb +1 -1
  168. data/generated/google/apis/compute_beta/classes.rb +926 -283
  169. data/generated/google/apis/compute_beta/representations.rb +221 -18
  170. data/generated/google/apis/compute_beta/service.rb +24 -15
  171. data/generated/google/apis/compute_v1.rb +1 -1
  172. data/generated/google/apis/compute_v1/classes.rb +688 -176
  173. data/generated/google/apis/compute_v1/representations.rb +99 -0
  174. data/generated/google/apis/compute_v1/service.rb +704 -552
  175. data/generated/google/apis/container_v1.rb +1 -1
  176. data/generated/google/apis/container_v1/classes.rb +48 -9
  177. data/generated/google/apis/container_v1/representations.rb +17 -0
  178. data/generated/google/apis/container_v1/service.rb +4 -2
  179. data/generated/google/apis/container_v1beta1.rb +1 -1
  180. data/generated/google/apis/container_v1beta1/classes.rb +53 -13
  181. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  182. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  183. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  184. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  185. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  186. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  187. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  188. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  189. data/generated/google/apis/content_v2.rb +1 -1
  190. data/generated/google/apis/content_v2/classes.rb +7 -7
  191. data/generated/google/apis/content_v2/service.rb +10 -8
  192. data/generated/google/apis/content_v2_1.rb +3 -4
  193. data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
  194. data/generated/google/apis/content_v2_1/representations.rb +421 -0
  195. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  196. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  197. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  198. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  199. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  200. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  201. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  202. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  203. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  204. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  205. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  206. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  207. data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
  208. data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
  209. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  210. data/generated/google/apis/dataproc_v1.rb +1 -1
  211. data/generated/google/apis/dataproc_v1/classes.rb +80 -9
  212. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  213. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  214. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
  215. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  216. data/generated/google/apis/datastore_v1.rb +1 -1
  217. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  218. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  219. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  220. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  221. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  222. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  223. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  224. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  225. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  226. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  227. data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
  228. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  229. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  230. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  231. data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
  232. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  233. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  234. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  235. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  236. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  237. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  238. data/generated/google/apis/dialogflow_v2.rb +1 -1
  239. data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
  240. data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
  241. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  242. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  243. data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
  244. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
  245. data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
  246. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  247. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  248. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  249. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  250. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  251. data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
  252. data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
  253. data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
  254. data/generated/google/apis/displayvideo_v1.rb +1 -1
  255. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  256. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  257. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  258. data/generated/google/apis/dlp_v2.rb +1 -1
  259. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  260. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  261. data/generated/google/apis/dlp_v2/service.rb +294 -1
  262. data/generated/google/apis/dns_v1.rb +1 -1
  263. data/generated/google/apis/dns_v1/classes.rb +71 -0
  264. data/generated/google/apis/dns_v1/representations.rb +33 -0
  265. data/generated/google/apis/dns_v1beta2.rb +1 -1
  266. data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
  267. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  268. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  269. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  270. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  271. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  272. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  273. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  274. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  275. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  276. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  277. data/generated/google/apis/domains_v1beta1.rb +1 -1
  278. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  279. data/generated/google/apis/drive_v2.rb +1 -1
  280. data/generated/google/apis/drive_v2/classes.rb +24 -21
  281. data/generated/google/apis/drive_v2/service.rb +26 -58
  282. data/generated/google/apis/drive_v3.rb +1 -1
  283. data/generated/google/apis/drive_v3/classes.rb +12 -8
  284. data/generated/google/apis/drive_v3/service.rb +14 -30
  285. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  286. data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
  287. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  288. data/generated/google/apis/file_v1.rb +1 -1
  289. data/generated/google/apis/file_v1/classes.rb +566 -4
  290. data/generated/google/apis/file_v1/representations.rb +222 -0
  291. data/generated/google/apis/file_v1/service.rb +229 -1
  292. data/generated/google/apis/file_v1beta1.rb +1 -1
  293. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  294. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  295. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  296. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  297. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  298. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  299. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  300. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  301. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  302. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  303. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  304. data/generated/google/apis/firestore_v1.rb +1 -1
  305. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  306. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  307. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  308. data/generated/google/apis/games_v1.rb +1 -1
  309. data/generated/google/apis/games_v1/classes.rb +353 -0
  310. data/generated/google/apis/games_v1/representations.rb +145 -0
  311. data/generated/google/apis/games_v1/service.rb +67 -0
  312. data/generated/google/apis/gameservices_v1.rb +1 -1
  313. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  314. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  315. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  316. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  317. data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
  318. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  319. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  320. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  321. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  322. data/generated/google/apis/healthcare_v1.rb +1 -1
  323. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  324. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  325. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  326. data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
  327. data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
  328. data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
  329. data/generated/google/apis/iam_v1.rb +2 -5
  330. data/generated/google/apis/iam_v1/classes.rb +109 -11
  331. data/generated/google/apis/iam_v1/representations.rb +33 -1
  332. data/generated/google/apis/iam_v1/service.rb +63 -4
  333. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  334. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  335. data/generated/google/apis/iap_v1.rb +1 -1
  336. data/generated/google/apis/iap_v1/classes.rb +0 -18
  337. data/generated/google/apis/iap_v1/representations.rb +0 -2
  338. data/generated/google/apis/iap_v1beta1.rb +1 -1
  339. data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
  340. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  341. data/generated/google/apis/jobs_v3.rb +1 -1
  342. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  343. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  344. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  345. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  346. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  347. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  348. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  349. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  350. data/generated/google/apis/jobs_v4/service.rb +903 -0
  351. data/generated/google/apis/licensing_v1.rb +1 -1
  352. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  353. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  354. data/generated/google/apis/licensing_v1/service.rb +32 -29
  355. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  356. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  357. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  358. data/generated/google/apis/logging_v2.rb +1 -1
  359. data/generated/google/apis/logging_v2/classes.rb +187 -9
  360. data/generated/google/apis/logging_v2/representations.rb +77 -0
  361. data/generated/google/apis/logging_v2/service.rb +446 -25
  362. data/generated/google/apis/managedidentities_v1.rb +1 -1
  363. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  364. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  365. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  366. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  367. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  368. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  369. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  370. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  371. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  372. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  373. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  374. data/generated/google/apis/metastore_v1beta.rb +35 -0
  375. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  376. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  377. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  378. data/generated/google/apis/ml_v1.rb +1 -1
  379. data/generated/google/apis/ml_v1/classes.rb +85 -25
  380. data/generated/google/apis/ml_v1/representations.rb +42 -1
  381. data/generated/google/apis/ml_v1/service.rb +35 -0
  382. data/generated/google/apis/monitoring_v3.rb +1 -1
  383. data/generated/google/apis/monitoring_v3/classes.rb +13 -8
  384. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  385. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  386. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  387. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  388. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  389. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  390. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  391. data/generated/google/apis/notebooks_v1.rb +34 -0
  392. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  393. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  394. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  395. data/generated/google/apis/osconfig_v1.rb +1 -1
  396. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  397. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  398. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  399. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  400. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  401. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  402. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  403. data/generated/google/apis/people_v1.rb +1 -1
  404. data/generated/google/apis/people_v1/classes.rb +10 -6
  405. data/generated/google/apis/people_v1/service.rb +21 -18
  406. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  407. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  408. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  409. data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
  410. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  411. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  412. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  413. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  414. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  415. data/generated/google/apis/pubsub_v1.rb +1 -1
  416. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  417. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  418. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  419. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  420. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  421. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  422. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  423. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  424. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  425. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  426. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  427. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  428. data/generated/google/apis/recommender_v1.rb +1 -1
  429. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  430. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  431. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  432. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  433. data/generated/google/apis/redis_v1.rb +1 -1
  434. data/generated/google/apis/redis_v1/classes.rb +86 -0
  435. data/generated/google/apis/redis_v1/representations.rb +34 -0
  436. data/generated/google/apis/redis_v1/service.rb +34 -0
  437. data/generated/google/apis/redis_v1beta1.rb +1 -1
  438. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  439. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  440. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  441. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  442. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  443. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  444. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  445. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  446. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  447. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  448. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  449. data/generated/google/apis/reseller_v1.rb +4 -4
  450. data/generated/google/apis/reseller_v1/service.rb +5 -5
  451. data/generated/google/apis/run_v1.rb +1 -1
  452. data/generated/google/apis/run_v1/classes.rb +2 -1
  453. data/generated/google/apis/run_v1alpha1.rb +1 -1
  454. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  455. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  456. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  457. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  458. data/generated/google/apis/safebrowsing_v4.rb +35 -0
  459. data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
  460. data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
  461. data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
  462. data/generated/google/apis/searchconsole_v1.rb +1 -1
  463. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  464. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  465. data/generated/google/apis/secretmanager_v1.rb +1 -1
  466. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  467. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  468. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  469. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  470. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  471. data/generated/google/apis/securitycenter_v1.rb +1 -1
  472. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  473. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  474. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  475. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  476. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  477. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  478. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  479. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  480. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  481. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  482. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  483. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  484. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
  485. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  486. data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
  487. data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
  488. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  489. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  490. data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
  491. data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
  492. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  493. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  494. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  495. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  496. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  497. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  498. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  499. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  500. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  501. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
  502. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  503. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  504. data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
  505. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
  506. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  507. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  508. data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
  509. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  510. data/generated/google/apis/serviceusage_v1.rb +1 -1
  511. data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
  512. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  513. data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
  514. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  515. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  516. data/generated/google/apis/sheets_v4.rb +1 -1
  517. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  518. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  519. data/generated/google/apis/slides_v1.rb +1 -1
  520. data/generated/google/apis/slides_v1/classes.rb +9 -3
  521. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  522. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  523. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  524. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  525. data/generated/google/apis/spanner_v1.rb +1 -1
  526. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  527. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  528. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  529. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  530. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  531. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  532. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  533. data/generated/google/apis/storage_v1.rb +1 -1
  534. data/generated/google/apis/storage_v1/classes.rb +7 -0
  535. data/generated/google/apis/storage_v1/representations.rb +1 -0
  536. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  537. data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
  538. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  539. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  540. data/generated/google/apis/testing_v1.rb +1 -1
  541. data/generated/google/apis/testing_v1/classes.rb +1 -1
  542. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  543. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  544. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  545. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  546. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  547. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  548. data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
  549. data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
  550. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  551. data/generated/google/apis/translate_v3.rb +1 -1
  552. data/generated/google/apis/translate_v3/classes.rb +3 -2
  553. data/generated/google/apis/translate_v3beta1.rb +1 -1
  554. data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
  555. data/generated/google/apis/vault_v1.rb +1 -1
  556. data/generated/google/apis/vault_v1/classes.rb +76 -0
  557. data/generated/google/apis/vault_v1/representations.rb +45 -0
  558. data/generated/google/apis/vectortile_v1.rb +1 -1
  559. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  560. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  561. data/generated/google/apis/videointelligence_v1.rb +1 -1
  562. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  563. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  564. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  565. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  566. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  567. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  568. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  569. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  570. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  571. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  572. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  573. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  574. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  575. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  576. data/generated/google/apis/vision_v1.rb +1 -1
  577. data/generated/google/apis/vision_v1/classes.rb +16 -16
  578. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  579. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  580. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  581. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  582. data/generated/google/apis/workflows_v1beta.rb +1 -1
  583. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  584. data/generated/google/apis/youtube_v3.rb +1 -1
  585. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  586. data/generated/google/apis/youtube_v3/service.rb +8 -8
  587. data/lib/google/apis/version.rb +1 -1
  588. metadata +60 -27
  589. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  590. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  591. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  592. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  593. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  594. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  595. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  596. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  597. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  598. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  599. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  600. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  601. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  602. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  603. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  604. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  605. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/speed/docs/insights/v5/about
29
29
  module PagespeedonlineV5
30
30
  VERSION = 'V5'
31
- REVISION = '20200813'
31
+ REVISION = '20201130'
32
32
 
33
33
  # Associate you with your personal info on Google
34
34
  PENID = 'openid'
@@ -53,6 +53,8 @@ module Google
53
53
  # Runs PageSpeed analysis on the page at the specified URL, and returns
54
54
  # PageSpeed scores, a list of suggestions to make that page faster, and other
55
55
  # information.
56
+ # @param [String] url
57
+ # Required. The URL to fetch and analyze
56
58
  # @param [String] captcha_token
57
59
  # The captcha token passed when filling out a captcha.
58
60
  # @param [Array<String>, String] category
@@ -62,8 +64,6 @@ module Google
62
64
  # The locale used to localize formatted results
63
65
  # @param [String] strategy
64
66
  # The analysis strategy (desktop or mobile) to use, and desktop is the default
65
- # @param [String] url
66
- # Required. The URL to fetch and analyze
67
67
  # @param [String] utm_campaign
68
68
  # Campaign name for analytics.
69
69
  # @param [String] utm_source
@@ -85,7 +85,7 @@ module Google
85
85
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
86
86
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
87
87
  # @raise [Google::Apis::AuthorizationError] Authorization is required
88
- def runpagespeed_pagespeedapi(captcha_token: nil, category: nil, locale: nil, strategy: nil, url: nil, utm_campaign: nil, utm_source: nil, fields: nil, quota_user: nil, options: nil, &block)
88
+ def runpagespeed_pagespeedapi(url, captcha_token: nil, category: nil, locale: nil, strategy: nil, utm_campaign: nil, utm_source: nil, fields: nil, quota_user: nil, options: nil, &block)
89
89
  command = make_simple_command(:get, 'pagespeedonline/v5/runPagespeed', options)
90
90
  command.response_representation = Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5::Representation
91
91
  command.response_class = Google::Apis::PagespeedonlineV5::PagespeedApiPagespeedResponseV5
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201013'
28
+ REVISION = '20201117'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -509,8 +509,8 @@ module Google
509
509
  # @return [String]
510
510
  attr_accessor :read_mask
511
511
 
512
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
513
- # CONTACT and ReadSourceType.PROFILE if not set.
512
+ # Optional. A mask of what source types to return. Defaults to
513
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
514
514
  # Corresponds to the JSON property `sources`
515
515
  # @return [Array<String>]
516
516
  attr_accessor :sources
@@ -1328,13 +1328,17 @@ module Google
1328
1328
  include Google::Apis::Core::Hashable
1329
1329
 
1330
1330
  # Optional. The resource names of the contact people to add in the form of `
1331
- # people/`person_id``.
1331
+ # people/`person_id``. The total number of resource names in `
1332
+ # resource_names_to_add` and `resource_names_to_remove` must be less than or
1333
+ # equal to 1000.
1332
1334
  # Corresponds to the JSON property `resourceNamesToAdd`
1333
1335
  # @return [Array<String>]
1334
1336
  attr_accessor :resource_names_to_add
1335
1337
 
1336
1338
  # Optional. The resource names of the contact people to remove in the form of `
1337
- # people/`person_id``.
1339
+ # people/`person_id``. The total number of resource names in `
1340
+ # resource_names_to_add` and `resource_names_to_remove` must be less than or
1341
+ # equal to 1000.
1338
1342
  # Corresponds to the JSON property `resourceNamesToRemove`
1339
1343
  # @return [Array<String>]
1340
1344
  attr_accessor :resource_names_to_remove
@@ -2511,8 +2515,8 @@ module Google
2511
2515
  # @return [String]
2512
2516
  attr_accessor :photo_bytes
2513
2517
 
2514
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
2515
- # CONTACT and ReadSourceType.PROFILE if not set.
2518
+ # Optional. A mask of what source types to return. Defaults to
2519
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
2516
2520
  # Corresponds to the JSON property `sources`
2517
2521
  # @return [Array<String>]
2518
2522
  attr_accessor :sources
@@ -383,8 +383,8 @@ module Google
383
383
  end
384
384
 
385
385
  # Create a new contact and return the person resource for that contact. The
386
- # request throws a 400 error if more than one field is specified on a field that
387
- # is a singleton for contact sources: * biographies * birthdays * genders *
386
+ # request returns a 400 error if more than one field is specified on a field
387
+ # that is a singleton for contact sources: * biographies * birthdays * genders *
388
388
  # names
389
389
  # @param [Google::Apis::PeopleV1::Person] person_object
390
390
  # @param [String] person_fields
@@ -397,8 +397,8 @@ module Google
397
397
  # organizations * phoneNumbers * photos * relations * sipAddresses * skills *
398
398
  # urls * userDefined
399
399
  # @param [Array<String>, String] sources
400
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
401
- # CONTACT and ReadSourceType.PROFILE if not set.
400
+ # Optional. A mask of what source types to return. Defaults to
401
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
402
402
  # @param [String] fields
403
403
  # Selector specifying which fields to include in a partial response.
404
404
  # @param [String] quota_user
@@ -472,8 +472,8 @@ module Google
472
472
  # names * nicknames * occupations * organizations * phoneNumbers * photos *
473
473
  # relations * sipAddresses * skills * urls * userDefined
474
474
  # @param [Array<String>, String] sources
475
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
476
- # CONTACT and ReadSourceType.PROFILE if not set.
475
+ # Optional. A mask of what source types to return. Defaults to
476
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
477
477
  # @param [String] fields
478
478
  # Selector specifying which fields to include in a partial response.
479
479
  # @param [String] quota_user
@@ -504,7 +504,7 @@ module Google
504
504
  end
505
505
 
506
506
  # Provides information about a person by specifying a resource name. Use `people/
507
- # me` to indicate the authenticated user. The request throws a 400 error if '
507
+ # me` to indicate the authenticated user. The request returns a 400 error if '
508
508
  # personFields' is not specified.
509
509
  # @param [String] resource_name
510
510
  # Required. The resource name of the person to provide information about. - To
@@ -526,8 +526,8 @@ module Google
526
526
  # Each path should start with `person.`: for example, `person.names` or `person.
527
527
  # photos`.
528
528
  # @param [Array<String>, String] sources
529
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
530
- # PROFILE and ReadSourceType.CONTACT if not set.
529
+ # Optional. A mask of what source types to return. Defaults to
530
+ # READ_SOURCE_TYPE_PROFILE and READ_SOURCE_TYPE_CONTACT if not set.
531
531
  # @param [String] fields
532
532
  # Selector specifying which fields to include in a partial response.
533
533
  # @param [String] quota_user
@@ -560,7 +560,7 @@ module Google
560
560
 
561
561
  # Provides information about a list of specific people by specifying a list of
562
562
  # requested resource names. Use `people/me` to indicate the authenticated user.
563
- # The request throws a 400 error if 'personFields' is not specified.
563
+ # The request returns a 400 error if 'personFields' is not specified.
564
564
  # @param [String] person_fields
565
565
  # Required. A field mask to restrict which fields on each person are returned.
566
566
  # Multiple fields can be specified by separating them with commas. Valid values
@@ -583,8 +583,8 @@ module Google
583
583
  # list`](/people/api/rest/v1/people.connections/list). You can include up to 50
584
584
  # resource names in one request.
585
585
  # @param [Array<String>, String] sources
586
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
587
- # CONTACT and ReadSourceType.PROFILE if not set.
586
+ # Optional. A mask of what source types to return. Defaults to
587
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
588
588
  # @param [String] fields
589
589
  # Selector specifying which fields to include in a partial response.
590
590
  # @param [String] quota_user
@@ -765,8 +765,8 @@ module Google
765
765
  # organizations * phoneNumbers * photos * relations * sipAddresses * skills *
766
766
  # urls * userDefined
767
767
  # @param [Array<String>, String] sources
768
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
769
- # CONTACT and ReadSourceType.PROFILE if not set.
768
+ # Optional. A mask of what source types to return. Defaults to
769
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
770
770
  # @param [String] update_person_fields
771
771
  # Required. A field mask to restrict which fields on the person are updated.
772
772
  # Multiple fields can be specified by separating them with commas. All updated
@@ -840,8 +840,11 @@ module Google
840
840
  execute_or_queue_command(command, &block)
841
841
  end
842
842
 
843
- # Provides a list of the authenticated user's contacts. The request throws a 400
844
- # error if 'personFields' is not specified.
843
+ # Provides a list of the authenticated user's contacts. The request returns a
844
+ # 400 error if `personFields` is not specified. The request returns a 410 error
845
+ # if `sync_token` is specified and is expired. Sync tokens expire after 7 days.
846
+ # A request without `sync_token` should be made and all contacts should be
847
+ # synced.
845
848
  # @param [String] resource_name
846
849
  # Required. The resource name to return connections for. Only `people/me` is
847
850
  # valid.
@@ -874,8 +877,8 @@ module Google
874
877
  # Optional. The order in which the connections should be sorted. Defaults to `
875
878
  # LAST_MODIFIED_ASCENDING`.
876
879
  # @param [Array<String>, String] sources
877
- # Optional. A mask of what source types to return. Defaults to ReadSourceType.
878
- # CONTACT and ReadSourceType.PROFILE if not set.
880
+ # Optional. A mask of what source types to return. Defaults to
881
+ # READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
879
882
  # @param [String] sync_token
880
883
  # Optional. A sync token, received from a previous `ListConnections` call.
881
884
  # Provide this to retrieve only the resources changed since the last request.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200801'
28
+ REVISION = '20201107'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20200801'
28
+ REVISION = '20201107'
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'
@@ -0,0 +1,36 @@
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/privateca_v1beta1/service.rb'
16
+ require 'google/apis/privateca_v1beta1/classes.rb'
17
+ require 'google/apis/privateca_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Certificate Authority API
22
+ #
23
+ # The Certificate Authority Service API is a highly-available, scalable service
24
+ # that enables you to simplify and automate the management of private
25
+ # certificate authorities (CAs) while staying in control of your private keys."
26
+ #
27
+ # @see https://cloud.google.com/
28
+ module PrivatecaV1beta1
29
+ VERSION = 'V1beta1'
30
+ REVISION = '20201203'
31
+
32
+ # View and manage your data across Google Cloud Platform services
33
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,2467 @@
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 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PrivatecaV1beta1
24
+
25
+ # URLs where a CertificateAuthority will publish content.
26
+ class AccessUrls
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The URL where this CertificateAuthority's CA certificate is published. This
30
+ # will only be set for CAs that have been activated.
31
+ # Corresponds to the JSON property `caCertificateAccessUrl`
32
+ # @return [String]
33
+ attr_accessor :ca_certificate_access_url
34
+
35
+ # The URL where this CertificateAuthority's CRLs are published. This will only
36
+ # be set for CAs that have been activated.
37
+ # Corresponds to the JSON property `crlAccessUrl`
38
+ # @return [String]
39
+ attr_accessor :crl_access_url
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @ca_certificate_access_url = args[:ca_certificate_access_url] if args.key?(:ca_certificate_access_url)
48
+ @crl_access_url = args[:crl_access_url] if args.key?(:crl_access_url)
49
+ end
50
+ end
51
+
52
+ # Request message for CertificateAuthorityService.ActivateCertificateAuthority.
53
+ class ActivateCertificateAuthorityRequest
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Required. The signed CA certificate issued from
57
+ # FetchCertificateAuthorityCsrResponse.pem_csr.
58
+ # Corresponds to the JSON property `pemCaCertificate`
59
+ # @return [String]
60
+ attr_accessor :pem_ca_certificate
61
+
62
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
63
+ # you must retry your request, the server will know to ignore the request if it
64
+ # has already been completed. The server will guarantee that for at least 60
65
+ # minutes since the first request. For example, consider a situation where you
66
+ # make an initial request and t he request times out. If you make the request
67
+ # again with the same request ID, the server can check if original operation
68
+ # with the same request ID was received, and if so, will ignore the second
69
+ # request. This prevents clients from accidentally creating duplicate
70
+ # commitments. The request ID must be a valid UUID with the exception that zero
71
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
72
+ # Corresponds to the JSON property `requestId`
73
+ # @return [String]
74
+ attr_accessor :request_id
75
+
76
+ # Describes a subordinate CA's issuers. This is either a resource path to a
77
+ # known issuing CertificateAuthority, or a PEM issuer certificate chain.
78
+ # Corresponds to the JSON property `subordinateConfig`
79
+ # @return [Google::Apis::PrivatecaV1beta1::SubordinateConfig]
80
+ attr_accessor :subordinate_config
81
+
82
+ def initialize(**args)
83
+ update!(**args)
84
+ end
85
+
86
+ # Update properties of this object
87
+ def update!(**args)
88
+ @pem_ca_certificate = args[:pem_ca_certificate] if args.key?(:pem_ca_certificate)
89
+ @request_id = args[:request_id] if args.key?(:request_id)
90
+ @subordinate_config = args[:subordinate_config] if args.key?(:subordinate_config)
91
+ end
92
+ end
93
+
94
+ #
95
+ class AllowedConfigList
96
+ include Google::Apis::Core::Hashable
97
+
98
+ # Required. All Certificates issued by the CertificateAuthority must match at
99
+ # least one listed ReusableConfigWrapper. If a ReusableConfigWrapper has an
100
+ # empty field, any value will be allowed for that field.
101
+ # Corresponds to the JSON property `allowedConfigValues`
102
+ # @return [Array<Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper>]
103
+ attr_accessor :allowed_config_values
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @allowed_config_values = args[:allowed_config_values] if args.key?(:allowed_config_values)
112
+ end
113
+ end
114
+
115
+ # AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the
116
+ # CertificateAuthority when issuing Certificates.
117
+ class AllowedSubjectAltNames
118
+ include Google::Apis::Core::Hashable
119
+
120
+ # Optional. Specifies if to allow custom X509Extension values.
121
+ # Corresponds to the JSON property `allowCustomSans`
122
+ # @return [Boolean]
123
+ attr_accessor :allow_custom_sans
124
+ alias_method :allow_custom_sans?, :allow_custom_sans
125
+
126
+ # Optional. Specifies if glob patterns used for allowed_dns_names allow wildcard
127
+ # certificates. If this is set, certificate requests with wildcard domains will
128
+ # be permitted to match a glob pattern specified in allowed_dns_names. Otherwise,
129
+ # certificate requests with wildcard domains will be permitted only if
130
+ # allowed_dns_names contains a literal wildcard.
131
+ # Corresponds to the JSON property `allowGlobbingDnsWildcards`
132
+ # @return [Boolean]
133
+ attr_accessor :allow_globbing_dns_wildcards
134
+ alias_method :allow_globbing_dns_wildcards?, :allow_globbing_dns_wildcards
135
+
136
+ # Optional. Contains valid, fully-qualified host names. Glob patterns are also
137
+ # supported. To allow an explicit wildcard certificate, escape with backlash (i.
138
+ # e. "\*"). E.g. for globbed entries: '*bar.com' will allow 'foo.bar.com', but
139
+ # not '*.bar.com', unless the allow_globbing_dns_wildcards field is set. E.g.
140
+ # for wildcard entries: '\*.bar.com' will allow '*.bar.com', but not 'foo.bar.
141
+ # com'.
142
+ # Corresponds to the JSON property `allowedDnsNames`
143
+ # @return [Array<String>]
144
+ attr_accessor :allowed_dns_names
145
+
146
+ # Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
147
+ # supported.
148
+ # Corresponds to the JSON property `allowedEmailAddresses`
149
+ # @return [Array<String>]
150
+ attr_accessor :allowed_email_addresses
151
+
152
+ # Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291
153
+ # IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/'
154
+ # notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are
155
+ # supported only for ip address entries (i.e. not for subnet ranges).
156
+ # Corresponds to the JSON property `allowedIps`
157
+ # @return [Array<String>]
158
+ attr_accessor :allowed_ips
159
+
160
+ # Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
161
+ # match across path seperators (i.e. '/') use the double star glob pattern (i.e.
162
+ # '**').
163
+ # Corresponds to the JSON property `allowedUris`
164
+ # @return [Array<String>]
165
+ attr_accessor :allowed_uris
166
+
167
+ def initialize(**args)
168
+ update!(**args)
169
+ end
170
+
171
+ # Update properties of this object
172
+ def update!(**args)
173
+ @allow_custom_sans = args[:allow_custom_sans] if args.key?(:allow_custom_sans)
174
+ @allow_globbing_dns_wildcards = args[:allow_globbing_dns_wildcards] if args.key?(:allow_globbing_dns_wildcards)
175
+ @allowed_dns_names = args[:allowed_dns_names] if args.key?(:allowed_dns_names)
176
+ @allowed_email_addresses = args[:allowed_email_addresses] if args.key?(:allowed_email_addresses)
177
+ @allowed_ips = args[:allowed_ips] if args.key?(:allowed_ips)
178
+ @allowed_uris = args[:allowed_uris] if args.key?(:allowed_uris)
179
+ end
180
+ end
181
+
182
+ # Specifies the audit configuration for a service. The configuration determines
183
+ # which permission types are logged, and what identities, if any, are exempted
184
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
185
+ # are AuditConfigs for both `allServices` and a specific service, the union of
186
+ # the two AuditConfigs is used for that service: the log_types specified in each
187
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
188
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
189
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
190
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
191
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
192
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
193
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
194
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
195
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
196
+ # DATA_WRITE logging.
197
+ class AuditConfig
198
+ include Google::Apis::Core::Hashable
199
+
200
+ # The configuration for logging of each type of permission.
201
+ # Corresponds to the JSON property `auditLogConfigs`
202
+ # @return [Array<Google::Apis::PrivatecaV1beta1::AuditLogConfig>]
203
+ attr_accessor :audit_log_configs
204
+
205
+ # Specifies a service that will be enabled for audit logging. For example, `
206
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
207
+ # value that covers all services.
208
+ # Corresponds to the JSON property `service`
209
+ # @return [String]
210
+ attr_accessor :service
211
+
212
+ def initialize(**args)
213
+ update!(**args)
214
+ end
215
+
216
+ # Update properties of this object
217
+ def update!(**args)
218
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
219
+ @service = args[:service] if args.key?(:service)
220
+ end
221
+ end
222
+
223
+ # Provides the configuration for logging a type of permissions. Example: ` "
224
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
225
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
226
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
227
+ # DATA_READ logging.
228
+ class AuditLogConfig
229
+ include Google::Apis::Core::Hashable
230
+
231
+ # Specifies the identities that do not cause logging for this type of permission.
232
+ # Follows the same format of Binding.members.
233
+ # Corresponds to the JSON property `exemptedMembers`
234
+ # @return [Array<String>]
235
+ attr_accessor :exempted_members
236
+
237
+ # The log type that this config enables.
238
+ # Corresponds to the JSON property `logType`
239
+ # @return [String]
240
+ attr_accessor :log_type
241
+
242
+ def initialize(**args)
243
+ update!(**args)
244
+ end
245
+
246
+ # Update properties of this object
247
+ def update!(**args)
248
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
249
+ @log_type = args[:log_type] if args.key?(:log_type)
250
+ end
251
+ end
252
+
253
+ # Associates `members` with a `role`.
254
+ class Binding
255
+ include Google::Apis::Core::Hashable
256
+
257
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
258
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
259
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
260
+ # "Summary size limit" description: "Determines if a summary is less than 100
261
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
262
+ # Requestor is owner" description: "Determines if requestor is the document
263
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
264
+ # Logic): title: "Public documents" description: "Determine whether the document
265
+ # should be publicly visible" expression: "document.type != 'private' &&
266
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
267
+ # string" description: "Create a notification string with a timestamp."
268
+ # expression: "'New message received at ' + string(document.create_time)" The
269
+ # exact variables and functions that may be referenced within an expression are
270
+ # determined by the service that evaluates it. See the service documentation for
271
+ # additional information.
272
+ # Corresponds to the JSON property `condition`
273
+ # @return [Google::Apis::PrivatecaV1beta1::Expr]
274
+ attr_accessor :condition
275
+
276
+ # Specifies the identities requesting access for a Cloud Platform resource. `
277
+ # members` can have the following values: * `allUsers`: A special identifier
278
+ # that represents anyone who is on the internet; with or without a Google
279
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
280
+ # anyone who is authenticated with a Google account or a service account. * `
281
+ # user:`emailid``: An email address that represents a specific Google account.
282
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
283
+ # address that represents a service account. For example, `my-other-app@appspot.
284
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
285
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
286
+ # `uniqueid``: An email address (plus unique identifier) representing a user
287
+ # that has been recently deleted. For example, `alice@example.com?uid=
288
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
289
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
290
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
291
+ # identifier) representing a service account that has been recently deleted. For
292
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
293
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
294
+ # emailid`` and the undeleted service account retains the role in the binding. *
295
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
296
+ # identifier) representing a Google group that has been recently deleted. For
297
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
298
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
299
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
300
+ # primary) that represents all the users of that domain. For example, `google.
301
+ # com` or `example.com`.
302
+ # Corresponds to the JSON property `members`
303
+ # @return [Array<String>]
304
+ attr_accessor :members
305
+
306
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
307
+ # , or `roles/owner`.
308
+ # Corresponds to the JSON property `role`
309
+ # @return [String]
310
+ attr_accessor :role
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @condition = args[:condition] if args.key?(:condition)
319
+ @members = args[:members] if args.key?(:members)
320
+ @role = args[:role] if args.key?(:role)
321
+ end
322
+ end
323
+
324
+ # Describes values that are relevant in a CA certificate.
325
+ class CaOptions
326
+ include Google::Apis::Core::Hashable
327
+
328
+ # Optional. Refers to the "CA" X.509 extension, which is a boolean value. When
329
+ # this value is missing, the extension will be omitted from the CA certificate.
330
+ # Corresponds to the JSON property `isCa`
331
+ # @return [Boolean]
332
+ attr_accessor :is_ca
333
+ alias_method :is_ca?, :is_ca
334
+
335
+ # Optional. Refers to the path length restriction X.509 extension. For a CA
336
+ # certificate, this value describes the depth of subordinate CA certificates
337
+ # that are allowed. If this value is less than 0, the request will fail. If this
338
+ # value is missing, the max path length will be omitted from the CA certificate.
339
+ # Corresponds to the JSON property `maxIssuerPathLength`
340
+ # @return [Fixnum]
341
+ attr_accessor :max_issuer_path_length
342
+
343
+ def initialize(**args)
344
+ update!(**args)
345
+ end
346
+
347
+ # Update properties of this object
348
+ def update!(**args)
349
+ @is_ca = args[:is_ca] if args.key?(:is_ca)
350
+ @max_issuer_path_length = args[:max_issuer_path_length] if args.key?(:max_issuer_path_length)
351
+ end
352
+ end
353
+
354
+ # The request message for Operations.CancelOperation.
355
+ class CancelOperationRequest
356
+ include Google::Apis::Core::Hashable
357
+
358
+ def initialize(**args)
359
+ update!(**args)
360
+ end
361
+
362
+ # Update properties of this object
363
+ def update!(**args)
364
+ end
365
+ end
366
+
367
+ # A Certificate corresponds to a signed X.509 certificate issued by a
368
+ # CertificateAuthority.
369
+ class Certificate
370
+ include Google::Apis::Core::Hashable
371
+
372
+ # A CertificateDescription describes an X.509 certificate or CSR that has been
373
+ # issued, as an alternative to using ASN.1 / X.509.
374
+ # Corresponds to the JSON property `certificateDescription`
375
+ # @return [Google::Apis::PrivatecaV1beta1::CertificateDescription]
376
+ attr_accessor :certificate_description
377
+
378
+ # A CertificateConfig describes an X.509 certificate or CSR that is to be
379
+ # created, as an alternative to using ASN.1.
380
+ # Corresponds to the JSON property `config`
381
+ # @return [Google::Apis::PrivatecaV1beta1::CertificateConfig]
382
+ attr_accessor :config
383
+
384
+ # Output only. The time at which this Certificate was created.
385
+ # Corresponds to the JSON property `createTime`
386
+ # @return [String]
387
+ attr_accessor :create_time
388
+
389
+ # Optional. Labels with user-defined metadata.
390
+ # Corresponds to the JSON property `labels`
391
+ # @return [Hash<String,String>]
392
+ attr_accessor :labels
393
+
394
+ # Required. Immutable. The desired lifetime of a certificate. Used to create the
395
+ # "not_before_time" and "not_after_time" fields inside an X.509 certificate.
396
+ # Note that the lifetime may be truncated if it would extend past the life of
397
+ # any certificate authority in the issuing chain.
398
+ # Corresponds to the JSON property `lifetime`
399
+ # @return [String]
400
+ attr_accessor :lifetime
401
+
402
+ # Output only. The resource path for this Certificate in the format `projects/*/
403
+ # locations/*/certificateAuthorities/*/certificates/*`.
404
+ # Corresponds to the JSON property `name`
405
+ # @return [String]
406
+ attr_accessor :name
407
+
408
+ # Output only. The pem-encoded, signed X.509 certificate.
409
+ # Corresponds to the JSON property `pemCertificate`
410
+ # @return [String]
411
+ attr_accessor :pem_certificate
412
+
413
+ # Output only. The chain that may be used to verify the X.509 certificate.
414
+ # Expected to be in issuer-to-root order according to RFC 5246.
415
+ # Corresponds to the JSON property `pemCertificateChain`
416
+ # @return [Array<String>]
417
+ attr_accessor :pem_certificate_chain
418
+
419
+ # Immutable. A pem-encoded X.509 certificate signing request (CSR).
420
+ # Corresponds to the JSON property `pemCsr`
421
+ # @return [String]
422
+ attr_accessor :pem_csr
423
+
424
+ # Describes fields that are relavent to the revocation of a Certificate.
425
+ # Corresponds to the JSON property `revocationDetails`
426
+ # @return [Google::Apis::PrivatecaV1beta1::RevocationDetails]
427
+ attr_accessor :revocation_details
428
+
429
+ # Output only. The time at which this Certificate was updated.
430
+ # Corresponds to the JSON property `updateTime`
431
+ # @return [String]
432
+ attr_accessor :update_time
433
+
434
+ def initialize(**args)
435
+ update!(**args)
436
+ end
437
+
438
+ # Update properties of this object
439
+ def update!(**args)
440
+ @certificate_description = args[:certificate_description] if args.key?(:certificate_description)
441
+ @config = args[:config] if args.key?(:config)
442
+ @create_time = args[:create_time] if args.key?(:create_time)
443
+ @labels = args[:labels] if args.key?(:labels)
444
+ @lifetime = args[:lifetime] if args.key?(:lifetime)
445
+ @name = args[:name] if args.key?(:name)
446
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
447
+ @pem_certificate_chain = args[:pem_certificate_chain] if args.key?(:pem_certificate_chain)
448
+ @pem_csr = args[:pem_csr] if args.key?(:pem_csr)
449
+ @revocation_details = args[:revocation_details] if args.key?(:revocation_details)
450
+ @update_time = args[:update_time] if args.key?(:update_time)
451
+ end
452
+ end
453
+
454
+ # A CertificateAuthority represents an individual Certificate Authority. A
455
+ # CertificateAuthority can be used to create Certificates.
456
+ class CertificateAuthority
457
+ include Google::Apis::Core::Hashable
458
+
459
+ # URLs where a CertificateAuthority will publish content.
460
+ # Corresponds to the JSON property `accessUrls`
461
+ # @return [Google::Apis::PrivatecaV1beta1::AccessUrls]
462
+ attr_accessor :access_urls
463
+
464
+ # Output only. A structured description of this CertificateAuthority's CA
465
+ # certificate and its issuers. Ordered as self-to-root.
466
+ # Corresponds to the JSON property `caCertificateDescriptions`
467
+ # @return [Array<Google::Apis::PrivatecaV1beta1::CertificateDescription>]
468
+ attr_accessor :ca_certificate_descriptions
469
+
470
+ # The issuing policy for a CertificateAuthority. Certificates will not be
471
+ # successfully issued from this CertificateAuthority if they violate the policy.
472
+ # Corresponds to the JSON property `certificatePolicy`
473
+ # @return [Google::Apis::PrivatecaV1beta1::CertificateAuthorityPolicy]
474
+ attr_accessor :certificate_policy
475
+
476
+ # A CertificateConfig describes an X.509 certificate or CSR that is to be
477
+ # created, as an alternative to using ASN.1.
478
+ # Corresponds to the JSON property `config`
479
+ # @return [Google::Apis::PrivatecaV1beta1::CertificateConfig]
480
+ attr_accessor :config
481
+
482
+ # Output only. The time at which this CertificateAuthority was created.
483
+ # Corresponds to the JSON property `createTime`
484
+ # @return [String]
485
+ attr_accessor :create_time
486
+
487
+ # Output only. The time at which this CertificateAuthority will be deleted, if
488
+ # scheduled for deletion.
489
+ # Corresponds to the JSON property `deleteTime`
490
+ # @return [String]
491
+ attr_accessor :delete_time
492
+
493
+ # Immutable. The name of a Cloud Storage bucket where this CertificateAuthority
494
+ # will publish content, such as the CA certificate and CRLs. This must be a
495
+ # bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.
496
+ # googleapis.com`). For example, to use a bucket named `my-bucket`, you would
497
+ # simply specify `my-bucket`. If not specified, a managed bucket will be created.
498
+ # Corresponds to the JSON property `gcsBucket`
499
+ # @return [String]
500
+ attr_accessor :gcs_bucket
501
+
502
+ # Options that affect all certificates issued by a CertificateAuthority.
503
+ # Corresponds to the JSON property `issuingOptions`
504
+ # @return [Google::Apis::PrivatecaV1beta1::IssuingOptions]
505
+ attr_accessor :issuing_options
506
+
507
+ # A Cloud KMS key configuration that a CertificateAuthority will use.
508
+ # Corresponds to the JSON property `keySpec`
509
+ # @return [Google::Apis::PrivatecaV1beta1::KeyVersionSpec]
510
+ attr_accessor :key_spec
511
+
512
+ # Optional. Labels with user-defined metadata.
513
+ # Corresponds to the JSON property `labels`
514
+ # @return [Hash<String,String>]
515
+ attr_accessor :labels
516
+
517
+ # Required. The desired lifetime of the CA certificate. Used to create the "
518
+ # not_before_time" and "not_after_time" fields inside an X.509 certificate.
519
+ # Corresponds to the JSON property `lifetime`
520
+ # @return [String]
521
+ attr_accessor :lifetime
522
+
523
+ # Output only. The resource name for this CertificateAuthority in the format `
524
+ # projects/*/locations/*/certificateAuthorities/*`.
525
+ # Corresponds to the JSON property `name`
526
+ # @return [String]
527
+ attr_accessor :name
528
+
529
+ # Output only. This CertificateAuthority's certificate chain, including the
530
+ # current CertificateAuthority's certificate. Ordered such that the root issuer
531
+ # is the final element (consistent with RFC 5246). For a self-signed CA, this
532
+ # will only list the current CertificateAuthority's certificate.
533
+ # Corresponds to the JSON property `pemCaCertificates`
534
+ # @return [Array<String>]
535
+ attr_accessor :pem_ca_certificates
536
+
537
+ # Output only. The State for this CertificateAuthority.
538
+ # Corresponds to the JSON property `state`
539
+ # @return [String]
540
+ attr_accessor :state
541
+
542
+ # Describes a subordinate CA's issuers. This is either a resource path to a
543
+ # known issuing CertificateAuthority, or a PEM issuer certificate chain.
544
+ # Corresponds to the JSON property `subordinateConfig`
545
+ # @return [Google::Apis::PrivatecaV1beta1::SubordinateConfig]
546
+ attr_accessor :subordinate_config
547
+
548
+ # Required. Immutable. The Tier of this CertificateAuthority.
549
+ # Corresponds to the JSON property `tier`
550
+ # @return [String]
551
+ attr_accessor :tier
552
+
553
+ # Required. Immutable. The Type of this CertificateAuthority.
554
+ # Corresponds to the JSON property `type`
555
+ # @return [String]
556
+ attr_accessor :type
557
+
558
+ # Output only. The time at which this CertificateAuthority was updated.
559
+ # Corresponds to the JSON property `updateTime`
560
+ # @return [String]
561
+ attr_accessor :update_time
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @access_urls = args[:access_urls] if args.key?(:access_urls)
570
+ @ca_certificate_descriptions = args[:ca_certificate_descriptions] if args.key?(:ca_certificate_descriptions)
571
+ @certificate_policy = args[:certificate_policy] if args.key?(:certificate_policy)
572
+ @config = args[:config] if args.key?(:config)
573
+ @create_time = args[:create_time] if args.key?(:create_time)
574
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
575
+ @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
576
+ @issuing_options = args[:issuing_options] if args.key?(:issuing_options)
577
+ @key_spec = args[:key_spec] if args.key?(:key_spec)
578
+ @labels = args[:labels] if args.key?(:labels)
579
+ @lifetime = args[:lifetime] if args.key?(:lifetime)
580
+ @name = args[:name] if args.key?(:name)
581
+ @pem_ca_certificates = args[:pem_ca_certificates] if args.key?(:pem_ca_certificates)
582
+ @state = args[:state] if args.key?(:state)
583
+ @subordinate_config = args[:subordinate_config] if args.key?(:subordinate_config)
584
+ @tier = args[:tier] if args.key?(:tier)
585
+ @type = args[:type] if args.key?(:type)
586
+ @update_time = args[:update_time] if args.key?(:update_time)
587
+ end
588
+ end
589
+
590
+ # The issuing policy for a CertificateAuthority. Certificates will not be
591
+ # successfully issued from this CertificateAuthority if they violate the policy.
592
+ class CertificateAuthorityPolicy
593
+ include Google::Apis::Core::Hashable
594
+
595
+ # Optional. If any value is specified here, then all Certificates issued by the
596
+ # CertificateAuthority must match at least one listed value. If no value is
597
+ # specified, all values will be allowed for this fied. Glob patterns are also
598
+ # supported.
599
+ # Corresponds to the JSON property `allowedCommonNames`
600
+ # @return [Array<String>]
601
+ attr_accessor :allowed_common_names
602
+
603
+ # Optional. All Certificates issued by the CertificateAuthority must match at
604
+ # least one listed ReusableConfigWrapper in the list.
605
+ # Corresponds to the JSON property `allowedConfigList`
606
+ # @return [Google::Apis::PrivatecaV1beta1::AllowedConfigList]
607
+ attr_accessor :allowed_config_list
608
+
609
+ # IssuanceModes specifies the allowed ways in which Certificates may be
610
+ # requested from this CertificateAuthority.
611
+ # Corresponds to the JSON property `allowedIssuanceModes`
612
+ # @return [Google::Apis::PrivatecaV1beta1::IssuanceModes]
613
+ attr_accessor :allowed_issuance_modes
614
+
615
+ # Optional. If any Subject is specified here, then all Certificates issued by
616
+ # the CertificateAuthority must match at least one listed Subject. If a Subject
617
+ # has an empty field, any value will be allowed for that field.
618
+ # Corresponds to the JSON property `allowedLocationsAndOrganizations`
619
+ # @return [Array<Google::Apis::PrivatecaV1beta1::Subject>]
620
+ attr_accessor :allowed_locations_and_organizations
621
+
622
+ # AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the
623
+ # CertificateAuthority when issuing Certificates.
624
+ # Corresponds to the JSON property `allowedSans`
625
+ # @return [Google::Apis::PrivatecaV1beta1::AllowedSubjectAltNames]
626
+ attr_accessor :allowed_sans
627
+
628
+ # Optional. The maximum lifetime allowed by the CertificateAuthority. Note that
629
+ # if the any part if the issuing chain expires before a Certificate's requested
630
+ # maximum_lifetime, the effective lifetime will be explicitly truncated.
631
+ # Corresponds to the JSON property `maximumLifetime`
632
+ # @return [String]
633
+ attr_accessor :maximum_lifetime
634
+
635
+ # A ReusableConfigWrapper describes values that may assist in creating an X.509
636
+ # certificate, or a reference to a pre-defined set of values.
637
+ # Corresponds to the JSON property `overwriteConfigValues`
638
+ # @return [Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper]
639
+ attr_accessor :overwrite_config_values
640
+
641
+ def initialize(**args)
642
+ update!(**args)
643
+ end
644
+
645
+ # Update properties of this object
646
+ def update!(**args)
647
+ @allowed_common_names = args[:allowed_common_names] if args.key?(:allowed_common_names)
648
+ @allowed_config_list = args[:allowed_config_list] if args.key?(:allowed_config_list)
649
+ @allowed_issuance_modes = args[:allowed_issuance_modes] if args.key?(:allowed_issuance_modes)
650
+ @allowed_locations_and_organizations = args[:allowed_locations_and_organizations] if args.key?(:allowed_locations_and_organizations)
651
+ @allowed_sans = args[:allowed_sans] if args.key?(:allowed_sans)
652
+ @maximum_lifetime = args[:maximum_lifetime] if args.key?(:maximum_lifetime)
653
+ @overwrite_config_values = args[:overwrite_config_values] if args.key?(:overwrite_config_values)
654
+ end
655
+ end
656
+
657
+ # A CertificateConfig describes an X.509 certificate or CSR that is to be
658
+ # created, as an alternative to using ASN.1.
659
+ class CertificateConfig
660
+ include Google::Apis::Core::Hashable
661
+
662
+ # A PublicKey describes a public key.
663
+ # Corresponds to the JSON property `publicKey`
664
+ # @return [Google::Apis::PrivatecaV1beta1::PublicKey]
665
+ attr_accessor :public_key
666
+
667
+ # A ReusableConfigWrapper describes values that may assist in creating an X.509
668
+ # certificate, or a reference to a pre-defined set of values.
669
+ # Corresponds to the JSON property `reusableConfig`
670
+ # @return [Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper]
671
+ attr_accessor :reusable_config
672
+
673
+ # These values are used to create the distinguished name and subject alternative
674
+ # name fields in an X.509 certificate.
675
+ # Corresponds to the JSON property `subjectConfig`
676
+ # @return [Google::Apis::PrivatecaV1beta1::SubjectConfig]
677
+ attr_accessor :subject_config
678
+
679
+ def initialize(**args)
680
+ update!(**args)
681
+ end
682
+
683
+ # Update properties of this object
684
+ def update!(**args)
685
+ @public_key = args[:public_key] if args.key?(:public_key)
686
+ @reusable_config = args[:reusable_config] if args.key?(:reusable_config)
687
+ @subject_config = args[:subject_config] if args.key?(:subject_config)
688
+ end
689
+ end
690
+
691
+ # A CertificateDescription describes an X.509 certificate or CSR that has been
692
+ # issued, as an alternative to using ASN.1 / X.509.
693
+ class CertificateDescription
694
+ include Google::Apis::Core::Hashable
695
+
696
+ # Describes lists of issuer CA certificate URLs that appear in the "Authority
697
+ # Information Access" extension in the certificate.
698
+ # Corresponds to the JSON property `aiaIssuingCertificateUrls`
699
+ # @return [Array<String>]
700
+ attr_accessor :aia_issuing_certificate_urls
701
+
702
+ # A KeyId identifies a specific public key, usually by hashing the public key.
703
+ # Corresponds to the JSON property `authorityKeyId`
704
+ # @return [Google::Apis::PrivatecaV1beta1::KeyId]
705
+ attr_accessor :authority_key_id
706
+
707
+ # A group of fingerprints for the x509 certificate.
708
+ # Corresponds to the JSON property `certFingerprint`
709
+ # @return [Google::Apis::PrivatecaV1beta1::CertificateFingerprint]
710
+ attr_accessor :cert_fingerprint
711
+
712
+ # A ReusableConfigValues is used to describe certain fields of an X.509
713
+ # certificate, such as the key usage fields, fields specific to CA certificates,
714
+ # certificate policy extensions and custom extensions.
715
+ # Corresponds to the JSON property `configValues`
716
+ # @return [Google::Apis::PrivatecaV1beta1::ReusableConfigValues]
717
+ attr_accessor :config_values
718
+
719
+ # Describes a list of locations to obtain CRL information, i.e. the
720
+ # DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#
721
+ # section-4.2.1.13
722
+ # Corresponds to the JSON property `crlDistributionPoints`
723
+ # @return [Array<String>]
724
+ attr_accessor :crl_distribution_points
725
+
726
+ # A PublicKey describes a public key.
727
+ # Corresponds to the JSON property `publicKey`
728
+ # @return [Google::Apis::PrivatecaV1beta1::PublicKey]
729
+ attr_accessor :public_key
730
+
731
+ # These values describe fields in an issued X.509 certificate such as the
732
+ # distinguished name, subject alternative names, serial number, and lifetime.
733
+ # Corresponds to the JSON property `subjectDescription`
734
+ # @return [Google::Apis::PrivatecaV1beta1::SubjectDescription]
735
+ attr_accessor :subject_description
736
+
737
+ # A KeyId identifies a specific public key, usually by hashing the public key.
738
+ # Corresponds to the JSON property `subjectKeyId`
739
+ # @return [Google::Apis::PrivatecaV1beta1::KeyId]
740
+ attr_accessor :subject_key_id
741
+
742
+ def initialize(**args)
743
+ update!(**args)
744
+ end
745
+
746
+ # Update properties of this object
747
+ def update!(**args)
748
+ @aia_issuing_certificate_urls = args[:aia_issuing_certificate_urls] if args.key?(:aia_issuing_certificate_urls)
749
+ @authority_key_id = args[:authority_key_id] if args.key?(:authority_key_id)
750
+ @cert_fingerprint = args[:cert_fingerprint] if args.key?(:cert_fingerprint)
751
+ @config_values = args[:config_values] if args.key?(:config_values)
752
+ @crl_distribution_points = args[:crl_distribution_points] if args.key?(:crl_distribution_points)
753
+ @public_key = args[:public_key] if args.key?(:public_key)
754
+ @subject_description = args[:subject_description] if args.key?(:subject_description)
755
+ @subject_key_id = args[:subject_key_id] if args.key?(:subject_key_id)
756
+ end
757
+ end
758
+
759
+ # A group of fingerprints for the x509 certificate.
760
+ class CertificateFingerprint
761
+ include Google::Apis::Core::Hashable
762
+
763
+ # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
764
+ # Corresponds to the JSON property `sha256Hash`
765
+ # @return [String]
766
+ attr_accessor :sha256_hash
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
775
+ end
776
+ end
777
+
778
+ # A CertificateRevocationList corresponds to a signed X.509 certificate
779
+ # Revocation List (CRL). A CRL contains the serial numbers of certificates that
780
+ # should no longer be trusted.
781
+ class CertificateRevocationList
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # Output only. The location where 'pem_crl' can be accessed.
785
+ # Corresponds to the JSON property `accessUrl`
786
+ # @return [String]
787
+ attr_accessor :access_url
788
+
789
+ # Output only. The time at which this CertificateRevocationList was created.
790
+ # Corresponds to the JSON property `createTime`
791
+ # @return [String]
792
+ attr_accessor :create_time
793
+
794
+ # Optional. Labels with user-defined metadata.
795
+ # Corresponds to the JSON property `labels`
796
+ # @return [Hash<String,String>]
797
+ attr_accessor :labels
798
+
799
+ # Output only. The resource path for this CertificateRevocationList in the
800
+ # format `projects/*/locations/*/certificateAuthorities/*/
801
+ # certificateRevocationLists/*`.
802
+ # Corresponds to the JSON property `name`
803
+ # @return [String]
804
+ attr_accessor :name
805
+
806
+ # Output only. The PEM-encoded X.509 CRL.
807
+ # Corresponds to the JSON property `pemCrl`
808
+ # @return [String]
809
+ attr_accessor :pem_crl
810
+
811
+ # Output only. The revoked serial numbers that appear in pem_crl.
812
+ # Corresponds to the JSON property `revokedCertificates`
813
+ # @return [Array<Google::Apis::PrivatecaV1beta1::RevokedCertificate>]
814
+ attr_accessor :revoked_certificates
815
+
816
+ # Output only. The CRL sequence number that appears in pem_crl.
817
+ # Corresponds to the JSON property `sequenceNumber`
818
+ # @return [Fixnum]
819
+ attr_accessor :sequence_number
820
+
821
+ # Output only. The State for this CertificateRevocationList.
822
+ # Corresponds to the JSON property `state`
823
+ # @return [String]
824
+ attr_accessor :state
825
+
826
+ # Output only. The time at which this CertificateRevocationList was updated.
827
+ # Corresponds to the JSON property `updateTime`
828
+ # @return [String]
829
+ attr_accessor :update_time
830
+
831
+ def initialize(**args)
832
+ update!(**args)
833
+ end
834
+
835
+ # Update properties of this object
836
+ def update!(**args)
837
+ @access_url = args[:access_url] if args.key?(:access_url)
838
+ @create_time = args[:create_time] if args.key?(:create_time)
839
+ @labels = args[:labels] if args.key?(:labels)
840
+ @name = args[:name] if args.key?(:name)
841
+ @pem_crl = args[:pem_crl] if args.key?(:pem_crl)
842
+ @revoked_certificates = args[:revoked_certificates] if args.key?(:revoked_certificates)
843
+ @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
844
+ @state = args[:state] if args.key?(:state)
845
+ @update_time = args[:update_time] if args.key?(:update_time)
846
+ end
847
+ end
848
+
849
+ # Request message for CertificateAuthorityService.DisableCertificateAuthority.
850
+ class DisableCertificateAuthorityRequest
851
+ include Google::Apis::Core::Hashable
852
+
853
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
854
+ # you must retry your request, the server will know to ignore the request if it
855
+ # has already been completed. The server will guarantee that for at least 60
856
+ # minutes since the first request. For example, consider a situation where you
857
+ # make an initial request and t he request times out. If you make the request
858
+ # again with the same request ID, the server can check if original operation
859
+ # with the same request ID was received, and if so, will ignore the second
860
+ # request. This prevents clients from accidentally creating duplicate
861
+ # commitments. The request ID must be a valid UUID with the exception that zero
862
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
863
+ # Corresponds to the JSON property `requestId`
864
+ # @return [String]
865
+ attr_accessor :request_id
866
+
867
+ def initialize(**args)
868
+ update!(**args)
869
+ end
870
+
871
+ # Update properties of this object
872
+ def update!(**args)
873
+ @request_id = args[:request_id] if args.key?(:request_id)
874
+ end
875
+ end
876
+
877
+ # A generic empty message that you can re-use to avoid defining duplicated empty
878
+ # messages in your APIs. A typical example is to use it as the request or the
879
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
880
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
881
+ # `Empty` is empty JSON object ````.
882
+ class Empty
883
+ include Google::Apis::Core::Hashable
884
+
885
+ def initialize(**args)
886
+ update!(**args)
887
+ end
888
+
889
+ # Update properties of this object
890
+ def update!(**args)
891
+ end
892
+ end
893
+
894
+ # Request message for CertificateAuthorityService.EnableCertificateAuthority.
895
+ class EnableCertificateAuthorityRequest
896
+ include Google::Apis::Core::Hashable
897
+
898
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
899
+ # you must retry your request, the server will know to ignore the request if it
900
+ # has already been completed. The server will guarantee that for at least 60
901
+ # minutes since the first request. For example, consider a situation where you
902
+ # make an initial request and t he request times out. If you make the request
903
+ # again with the same request ID, the server can check if original operation
904
+ # with the same request ID was received, and if so, will ignore the second
905
+ # request. This prevents clients from accidentally creating duplicate
906
+ # commitments. The request ID must be a valid UUID with the exception that zero
907
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
908
+ # Corresponds to the JSON property `requestId`
909
+ # @return [String]
910
+ attr_accessor :request_id
911
+
912
+ def initialize(**args)
913
+ update!(**args)
914
+ end
915
+
916
+ # Update properties of this object
917
+ def update!(**args)
918
+ @request_id = args[:request_id] if args.key?(:request_id)
919
+ end
920
+ end
921
+
922
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
923
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
924
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
925
+ # "Summary size limit" description: "Determines if a summary is less than 100
926
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
927
+ # Requestor is owner" description: "Determines if requestor is the document
928
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
929
+ # Logic): title: "Public documents" description: "Determine whether the document
930
+ # should be publicly visible" expression: "document.type != 'private' &&
931
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
932
+ # string" description: "Create a notification string with a timestamp."
933
+ # expression: "'New message received at ' + string(document.create_time)" The
934
+ # exact variables and functions that may be referenced within an expression are
935
+ # determined by the service that evaluates it. See the service documentation for
936
+ # additional information.
937
+ class Expr
938
+ include Google::Apis::Core::Hashable
939
+
940
+ # Optional. Description of the expression. This is a longer text which describes
941
+ # the expression, e.g. when hovered over it in a UI.
942
+ # Corresponds to the JSON property `description`
943
+ # @return [String]
944
+ attr_accessor :description
945
+
946
+ # Textual representation of an expression in Common Expression Language syntax.
947
+ # Corresponds to the JSON property `expression`
948
+ # @return [String]
949
+ attr_accessor :expression
950
+
951
+ # Optional. String indicating the location of the expression for error reporting,
952
+ # e.g. a file name and a position in the file.
953
+ # Corresponds to the JSON property `location`
954
+ # @return [String]
955
+ attr_accessor :location
956
+
957
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
958
+ # This can be used e.g. in UIs which allow to enter the expression.
959
+ # Corresponds to the JSON property `title`
960
+ # @return [String]
961
+ attr_accessor :title
962
+
963
+ def initialize(**args)
964
+ update!(**args)
965
+ end
966
+
967
+ # Update properties of this object
968
+ def update!(**args)
969
+ @description = args[:description] if args.key?(:description)
970
+ @expression = args[:expression] if args.key?(:expression)
971
+ @location = args[:location] if args.key?(:location)
972
+ @title = args[:title] if args.key?(:title)
973
+ end
974
+ end
975
+
976
+ # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common
977
+ # OIDs that could be specified as an extended key usage value.
978
+ class ExtendedKeyUsageOptions
979
+ include Google::Apis::Core::Hashable
980
+
981
+ # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client
982
+ # authentication", though regularly used for non-WWW TLS.
983
+ # Corresponds to the JSON property `clientAuth`
984
+ # @return [Boolean]
985
+ attr_accessor :client_auth
986
+ alias_method :client_auth?, :client_auth
987
+
988
+ # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of
989
+ # downloadable executable code client authentication".
990
+ # Corresponds to the JSON property `codeSigning`
991
+ # @return [Boolean]
992
+ attr_accessor :code_signing
993
+ alias_method :code_signing?, :code_signing
994
+
995
+ # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email
996
+ # protection".
997
+ # Corresponds to the JSON property `emailProtection`
998
+ # @return [Boolean]
999
+ attr_accessor :email_protection
1000
+ alias_method :email_protection?, :email_protection
1001
+
1002
+ # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP
1003
+ # responses".
1004
+ # Corresponds to the JSON property `ocspSigning`
1005
+ # @return [Boolean]
1006
+ attr_accessor :ocsp_signing
1007
+ alias_method :ocsp_signing?, :ocsp_signing
1008
+
1009
+ # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server
1010
+ # authentication", though regularly used for non-WWW TLS.
1011
+ # Corresponds to the JSON property `serverAuth`
1012
+ # @return [Boolean]
1013
+ attr_accessor :server_auth
1014
+ alias_method :server_auth?, :server_auth
1015
+
1016
+ # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the
1017
+ # hash of an object to a time".
1018
+ # Corresponds to the JSON property `timeStamping`
1019
+ # @return [Boolean]
1020
+ attr_accessor :time_stamping
1021
+ alias_method :time_stamping?, :time_stamping
1022
+
1023
+ def initialize(**args)
1024
+ update!(**args)
1025
+ end
1026
+
1027
+ # Update properties of this object
1028
+ def update!(**args)
1029
+ @client_auth = args[:client_auth] if args.key?(:client_auth)
1030
+ @code_signing = args[:code_signing] if args.key?(:code_signing)
1031
+ @email_protection = args[:email_protection] if args.key?(:email_protection)
1032
+ @ocsp_signing = args[:ocsp_signing] if args.key?(:ocsp_signing)
1033
+ @server_auth = args[:server_auth] if args.key?(:server_auth)
1034
+ @time_stamping = args[:time_stamping] if args.key?(:time_stamping)
1035
+ end
1036
+ end
1037
+
1038
+ # Response message for CertificateAuthorityService.FetchCertificateAuthorityCsr.
1039
+ class FetchCertificateAuthorityCsrResponse
1040
+ include Google::Apis::Core::Hashable
1041
+
1042
+ # Output only. The PEM-encoded signed certificate signing request (CSR).
1043
+ # Corresponds to the JSON property `pemCsr`
1044
+ # @return [String]
1045
+ attr_accessor :pem_csr
1046
+
1047
+ def initialize(**args)
1048
+ update!(**args)
1049
+ end
1050
+
1051
+ # Update properties of this object
1052
+ def update!(**args)
1053
+ @pem_csr = args[:pem_csr] if args.key?(:pem_csr)
1054
+ end
1055
+ end
1056
+
1057
+ # IssuanceModes specifies the allowed ways in which Certificates may be
1058
+ # requested from this CertificateAuthority.
1059
+ class IssuanceModes
1060
+ include Google::Apis::Core::Hashable
1061
+
1062
+ # Required. When true, allows callers to create Certificates by specifying a
1063
+ # CertificateConfig.
1064
+ # Corresponds to the JSON property `allowConfigBasedIssuance`
1065
+ # @return [Boolean]
1066
+ attr_accessor :allow_config_based_issuance
1067
+ alias_method :allow_config_based_issuance?, :allow_config_based_issuance
1068
+
1069
+ # Required. When true, allows callers to create Certificates by specifying a CSR.
1070
+ # Corresponds to the JSON property `allowCsrBasedIssuance`
1071
+ # @return [Boolean]
1072
+ attr_accessor :allow_csr_based_issuance
1073
+ alias_method :allow_csr_based_issuance?, :allow_csr_based_issuance
1074
+
1075
+ def initialize(**args)
1076
+ update!(**args)
1077
+ end
1078
+
1079
+ # Update properties of this object
1080
+ def update!(**args)
1081
+ @allow_config_based_issuance = args[:allow_config_based_issuance] if args.key?(:allow_config_based_issuance)
1082
+ @allow_csr_based_issuance = args[:allow_csr_based_issuance] if args.key?(:allow_csr_based_issuance)
1083
+ end
1084
+ end
1085
+
1086
+ # Options that affect all certificates issued by a CertificateAuthority.
1087
+ class IssuingOptions
1088
+ include Google::Apis::Core::Hashable
1089
+
1090
+ # Required. When true, includes a URL to the issuing CA certificate in the "
1091
+ # authority information access" X.509 extension.
1092
+ # Corresponds to the JSON property `includeCaCertUrl`
1093
+ # @return [Boolean]
1094
+ attr_accessor :include_ca_cert_url
1095
+ alias_method :include_ca_cert_url?, :include_ca_cert_url
1096
+
1097
+ # Required. When true, includes a URL to the CRL corresponding to certificates
1098
+ # issued from a CertificateAuthority. CRLs will expire 7 days from their
1099
+ # creation. However, we will rebuild daily. CRLs are also rebuilt shortly after
1100
+ # a certificate is revoked.
1101
+ # Corresponds to the JSON property `includeCrlAccessUrl`
1102
+ # @return [Boolean]
1103
+ attr_accessor :include_crl_access_url
1104
+ alias_method :include_crl_access_url?, :include_crl_access_url
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ @include_ca_cert_url = args[:include_ca_cert_url] if args.key?(:include_ca_cert_url)
1113
+ @include_crl_access_url = args[:include_crl_access_url] if args.key?(:include_crl_access_url)
1114
+ end
1115
+ end
1116
+
1117
+ # A KeyId identifies a specific public key, usually by hashing the public key.
1118
+ class KeyId
1119
+ include Google::Apis::Core::Hashable
1120
+
1121
+ # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is
1122
+ # most likely the 160 bit SHA-1 hash of the public key.
1123
+ # Corresponds to the JSON property `keyId`
1124
+ # @return [String]
1125
+ attr_accessor :key_id
1126
+
1127
+ def initialize(**args)
1128
+ update!(**args)
1129
+ end
1130
+
1131
+ # Update properties of this object
1132
+ def update!(**args)
1133
+ @key_id = args[:key_id] if args.key?(:key_id)
1134
+ end
1135
+ end
1136
+
1137
+ # A KeyUsage describes key usage values that may appear in an X.509 certificate.
1138
+ class KeyUsage
1139
+ include Google::Apis::Core::Hashable
1140
+
1141
+ # KeyUsage.KeyUsageOptions corresponds to the key usage values described in
1142
+ # https://tools.ietf.org/html/rfc5280#section-4.2.1.3.
1143
+ # Corresponds to the JSON property `baseKeyUsage`
1144
+ # @return [Google::Apis::PrivatecaV1beta1::KeyUsageOptions]
1145
+ attr_accessor :base_key_usage
1146
+
1147
+ # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common
1148
+ # OIDs that could be specified as an extended key usage value.
1149
+ # Corresponds to the JSON property `extendedKeyUsage`
1150
+ # @return [Google::Apis::PrivatecaV1beta1::ExtendedKeyUsageOptions]
1151
+ attr_accessor :extended_key_usage
1152
+
1153
+ # Used to describe extended key usages that are not listed in the KeyUsage.
1154
+ # ExtendedKeyUsageOptions message.
1155
+ # Corresponds to the JSON property `unknownExtendedKeyUsages`
1156
+ # @return [Array<Google::Apis::PrivatecaV1beta1::ObjectIdProp>]
1157
+ attr_accessor :unknown_extended_key_usages
1158
+
1159
+ def initialize(**args)
1160
+ update!(**args)
1161
+ end
1162
+
1163
+ # Update properties of this object
1164
+ def update!(**args)
1165
+ @base_key_usage = args[:base_key_usage] if args.key?(:base_key_usage)
1166
+ @extended_key_usage = args[:extended_key_usage] if args.key?(:extended_key_usage)
1167
+ @unknown_extended_key_usages = args[:unknown_extended_key_usages] if args.key?(:unknown_extended_key_usages)
1168
+ end
1169
+ end
1170
+
1171
+ # KeyUsage.KeyUsageOptions corresponds to the key usage values described in
1172
+ # https://tools.ietf.org/html/rfc5280#section-4.2.1.3.
1173
+ class KeyUsageOptions
1174
+ include Google::Apis::Core::Hashable
1175
+
1176
+ # The key may be used to sign certificates.
1177
+ # Corresponds to the JSON property `certSign`
1178
+ # @return [Boolean]
1179
+ attr_accessor :cert_sign
1180
+ alias_method :cert_sign?, :cert_sign
1181
+
1182
+ # The key may be used for cryptographic commitments. Note that this may also be
1183
+ # referred to as "non-repudiation".
1184
+ # Corresponds to the JSON property `contentCommitment`
1185
+ # @return [Boolean]
1186
+ attr_accessor :content_commitment
1187
+ alias_method :content_commitment?, :content_commitment
1188
+
1189
+ # The key may be used sign certificate revocation lists.
1190
+ # Corresponds to the JSON property `crlSign`
1191
+ # @return [Boolean]
1192
+ attr_accessor :crl_sign
1193
+ alias_method :crl_sign?, :crl_sign
1194
+
1195
+ # The key may be used to encipher data.
1196
+ # Corresponds to the JSON property `dataEncipherment`
1197
+ # @return [Boolean]
1198
+ attr_accessor :data_encipherment
1199
+ alias_method :data_encipherment?, :data_encipherment
1200
+
1201
+ # The key may be used to decipher only.
1202
+ # Corresponds to the JSON property `decipherOnly`
1203
+ # @return [Boolean]
1204
+ attr_accessor :decipher_only
1205
+ alias_method :decipher_only?, :decipher_only
1206
+
1207
+ # The key may be used for digital signatures.
1208
+ # Corresponds to the JSON property `digitalSignature`
1209
+ # @return [Boolean]
1210
+ attr_accessor :digital_signature
1211
+ alias_method :digital_signature?, :digital_signature
1212
+
1213
+ # The key may be used to encipher only.
1214
+ # Corresponds to the JSON property `encipherOnly`
1215
+ # @return [Boolean]
1216
+ attr_accessor :encipher_only
1217
+ alias_method :encipher_only?, :encipher_only
1218
+
1219
+ # The key may be used in a key agreement protocol.
1220
+ # Corresponds to the JSON property `keyAgreement`
1221
+ # @return [Boolean]
1222
+ attr_accessor :key_agreement
1223
+ alias_method :key_agreement?, :key_agreement
1224
+
1225
+ # The key may be used to encipher other keys.
1226
+ # Corresponds to the JSON property `keyEncipherment`
1227
+ # @return [Boolean]
1228
+ attr_accessor :key_encipherment
1229
+ alias_method :key_encipherment?, :key_encipherment
1230
+
1231
+ def initialize(**args)
1232
+ update!(**args)
1233
+ end
1234
+
1235
+ # Update properties of this object
1236
+ def update!(**args)
1237
+ @cert_sign = args[:cert_sign] if args.key?(:cert_sign)
1238
+ @content_commitment = args[:content_commitment] if args.key?(:content_commitment)
1239
+ @crl_sign = args[:crl_sign] if args.key?(:crl_sign)
1240
+ @data_encipherment = args[:data_encipherment] if args.key?(:data_encipherment)
1241
+ @decipher_only = args[:decipher_only] if args.key?(:decipher_only)
1242
+ @digital_signature = args[:digital_signature] if args.key?(:digital_signature)
1243
+ @encipher_only = args[:encipher_only] if args.key?(:encipher_only)
1244
+ @key_agreement = args[:key_agreement] if args.key?(:key_agreement)
1245
+ @key_encipherment = args[:key_encipherment] if args.key?(:key_encipherment)
1246
+ end
1247
+ end
1248
+
1249
+ # A Cloud KMS key configuration that a CertificateAuthority will use.
1250
+ class KeyVersionSpec
1251
+ include Google::Apis::Core::Hashable
1252
+
1253
+ # Required. The algorithm to use for creating a managed Cloud KMS key for a for
1254
+ # a simplified experience. All managed keys will be have their ProtectionLevel
1255
+ # as `HSM`.
1256
+ # Corresponds to the JSON property `algorithm`
1257
+ # @return [String]
1258
+ attr_accessor :algorithm
1259
+
1260
+ # Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
1261
+ # format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
1262
+ # This option enables full flexibility in the key's capabilities and properties.
1263
+ # Corresponds to the JSON property `cloudKmsKeyVersion`
1264
+ # @return [String]
1265
+ attr_accessor :cloud_kms_key_version
1266
+
1267
+ def initialize(**args)
1268
+ update!(**args)
1269
+ end
1270
+
1271
+ # Update properties of this object
1272
+ def update!(**args)
1273
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
1274
+ @cloud_kms_key_version = args[:cloud_kms_key_version] if args.key?(:cloud_kms_key_version)
1275
+ end
1276
+ end
1277
+
1278
+ # Response message for CertificateAuthorityService.ListCertificateAuthorities.
1279
+ class ListCertificateAuthoritiesResponse
1280
+ include Google::Apis::Core::Hashable
1281
+
1282
+ # The list of CertificateAuthorities.
1283
+ # Corresponds to the JSON property `certificateAuthorities`
1284
+ # @return [Array<Google::Apis::PrivatecaV1beta1::CertificateAuthority>]
1285
+ attr_accessor :certificate_authorities
1286
+
1287
+ # A token to retrieve next page of results. Pass this value in
1288
+ # ListCertificateAuthoritiesRequest.next_page_token to retrieve the next page of
1289
+ # results.
1290
+ # Corresponds to the JSON property `nextPageToken`
1291
+ # @return [String]
1292
+ attr_accessor :next_page_token
1293
+
1294
+ # A list of locations (e.g. "us-west1") that could not be reached.
1295
+ # Corresponds to the JSON property `unreachable`
1296
+ # @return [Array<String>]
1297
+ attr_accessor :unreachable
1298
+
1299
+ def initialize(**args)
1300
+ update!(**args)
1301
+ end
1302
+
1303
+ # Update properties of this object
1304
+ def update!(**args)
1305
+ @certificate_authorities = args[:certificate_authorities] if args.key?(:certificate_authorities)
1306
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1307
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1308
+ end
1309
+ end
1310
+
1311
+ # Response message for CertificateAuthorityService.
1312
+ # ListCertificateRevocationLists.
1313
+ class ListCertificateRevocationListsResponse
1314
+ include Google::Apis::Core::Hashable
1315
+
1316
+ # The list of CertificateRevocationLists.
1317
+ # Corresponds to the JSON property `certificateRevocationLists`
1318
+ # @return [Array<Google::Apis::PrivatecaV1beta1::CertificateRevocationList>]
1319
+ attr_accessor :certificate_revocation_lists
1320
+
1321
+ # A token to retrieve next page of results. Pass this value in
1322
+ # ListCertificateRevocationListsRequest.next_page_token to retrieve the next
1323
+ # page of results.
1324
+ # Corresponds to the JSON property `nextPageToken`
1325
+ # @return [String]
1326
+ attr_accessor :next_page_token
1327
+
1328
+ # A list of locations (e.g. "us-west1") that could not be reached.
1329
+ # Corresponds to the JSON property `unreachable`
1330
+ # @return [Array<String>]
1331
+ attr_accessor :unreachable
1332
+
1333
+ def initialize(**args)
1334
+ update!(**args)
1335
+ end
1336
+
1337
+ # Update properties of this object
1338
+ def update!(**args)
1339
+ @certificate_revocation_lists = args[:certificate_revocation_lists] if args.key?(:certificate_revocation_lists)
1340
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1341
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1342
+ end
1343
+ end
1344
+
1345
+ # Response message for CertificateAuthorityService.ListCertificates.
1346
+ class ListCertificatesResponse
1347
+ include Google::Apis::Core::Hashable
1348
+
1349
+ # The list of Certificates.
1350
+ # Corresponds to the JSON property `certificates`
1351
+ # @return [Array<Google::Apis::PrivatecaV1beta1::Certificate>]
1352
+ attr_accessor :certificates
1353
+
1354
+ # A token to retrieve next page of results. Pass this value in
1355
+ # ListCertificatesRequest.next_page_token to retrieve the next page of results.
1356
+ # Corresponds to the JSON property `nextPageToken`
1357
+ # @return [String]
1358
+ attr_accessor :next_page_token
1359
+
1360
+ # A list of locations (e.g. "us-west1") that could not be reached.
1361
+ # Corresponds to the JSON property `unreachable`
1362
+ # @return [Array<String>]
1363
+ attr_accessor :unreachable
1364
+
1365
+ def initialize(**args)
1366
+ update!(**args)
1367
+ end
1368
+
1369
+ # Update properties of this object
1370
+ def update!(**args)
1371
+ @certificates = args[:certificates] if args.key?(:certificates)
1372
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1373
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1374
+ end
1375
+ end
1376
+
1377
+ # The response message for Locations.ListLocations.
1378
+ class ListLocationsResponse
1379
+ include Google::Apis::Core::Hashable
1380
+
1381
+ # A list of locations that matches the specified filter in the request.
1382
+ # Corresponds to the JSON property `locations`
1383
+ # @return [Array<Google::Apis::PrivatecaV1beta1::Location>]
1384
+ attr_accessor :locations
1385
+
1386
+ # The standard List next-page token.
1387
+ # Corresponds to the JSON property `nextPageToken`
1388
+ # @return [String]
1389
+ attr_accessor :next_page_token
1390
+
1391
+ def initialize(**args)
1392
+ update!(**args)
1393
+ end
1394
+
1395
+ # Update properties of this object
1396
+ def update!(**args)
1397
+ @locations = args[:locations] if args.key?(:locations)
1398
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1399
+ end
1400
+ end
1401
+
1402
+ # The response message for Operations.ListOperations.
1403
+ class ListOperationsResponse
1404
+ include Google::Apis::Core::Hashable
1405
+
1406
+ # The standard List next-page token.
1407
+ # Corresponds to the JSON property `nextPageToken`
1408
+ # @return [String]
1409
+ attr_accessor :next_page_token
1410
+
1411
+ # A list of operations that matches the specified filter in the request.
1412
+ # Corresponds to the JSON property `operations`
1413
+ # @return [Array<Google::Apis::PrivatecaV1beta1::Operation>]
1414
+ attr_accessor :operations
1415
+
1416
+ def initialize(**args)
1417
+ update!(**args)
1418
+ end
1419
+
1420
+ # Update properties of this object
1421
+ def update!(**args)
1422
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1423
+ @operations = args[:operations] if args.key?(:operations)
1424
+ end
1425
+ end
1426
+
1427
+ # Response message for CertificateAuthorityService.ListReusableConfigs.
1428
+ class ListReusableConfigsResponse
1429
+ include Google::Apis::Core::Hashable
1430
+
1431
+ # A token to retrieve next page of results. Pass this value in
1432
+ # ListReusableConfigsRequest.next_page_token to retrieve the next page of
1433
+ # results.
1434
+ # Corresponds to the JSON property `nextPageToken`
1435
+ # @return [String]
1436
+ attr_accessor :next_page_token
1437
+
1438
+ # The list of ReusableConfigs.
1439
+ # Corresponds to the JSON property `reusableConfigs`
1440
+ # @return [Array<Google::Apis::PrivatecaV1beta1::ReusableConfig>]
1441
+ attr_accessor :reusable_configs
1442
+
1443
+ # A list of locations (e.g. "us-west1") that could not be reached.
1444
+ # Corresponds to the JSON property `unreachable`
1445
+ # @return [Array<String>]
1446
+ attr_accessor :unreachable
1447
+
1448
+ def initialize(**args)
1449
+ update!(**args)
1450
+ end
1451
+
1452
+ # Update properties of this object
1453
+ def update!(**args)
1454
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1455
+ @reusable_configs = args[:reusable_configs] if args.key?(:reusable_configs)
1456
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1457
+ end
1458
+ end
1459
+
1460
+ # A resource that represents Google Cloud Platform location.
1461
+ class Location
1462
+ include Google::Apis::Core::Hashable
1463
+
1464
+ # The friendly name for this location, typically a nearby city name. For example,
1465
+ # "Tokyo".
1466
+ # Corresponds to the JSON property `displayName`
1467
+ # @return [String]
1468
+ attr_accessor :display_name
1469
+
1470
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1471
+ # region": "us-east1"`
1472
+ # Corresponds to the JSON property `labels`
1473
+ # @return [Hash<String,String>]
1474
+ attr_accessor :labels
1475
+
1476
+ # The canonical id for this location. For example: `"us-east1"`.
1477
+ # Corresponds to the JSON property `locationId`
1478
+ # @return [String]
1479
+ attr_accessor :location_id
1480
+
1481
+ # Service-specific metadata. For example the available capacity at the given
1482
+ # location.
1483
+ # Corresponds to the JSON property `metadata`
1484
+ # @return [Hash<String,Object>]
1485
+ attr_accessor :metadata
1486
+
1487
+ # Resource name for the location, which may vary between implementations. For
1488
+ # example: `"projects/example-project/locations/us-east1"`
1489
+ # Corresponds to the JSON property `name`
1490
+ # @return [String]
1491
+ attr_accessor :name
1492
+
1493
+ def initialize(**args)
1494
+ update!(**args)
1495
+ end
1496
+
1497
+ # Update properties of this object
1498
+ def update!(**args)
1499
+ @display_name = args[:display_name] if args.key?(:display_name)
1500
+ @labels = args[:labels] if args.key?(:labels)
1501
+ @location_id = args[:location_id] if args.key?(:location_id)
1502
+ @metadata = args[:metadata] if args.key?(:metadata)
1503
+ @name = args[:name] if args.key?(:name)
1504
+ end
1505
+ end
1506
+
1507
+ # An ObjectId specifies an object identifier (OID). These provide context and
1508
+ # describe types in ASN.1 messages.
1509
+ class ObjectIdProp
1510
+ include Google::Apis::Core::Hashable
1511
+
1512
+ # Required. The parts of an OID path. The most significant parts of the path
1513
+ # come first.
1514
+ # Corresponds to the JSON property `objectIdPath`
1515
+ # @return [Array<Fixnum>]
1516
+ attr_accessor :object_id_path
1517
+
1518
+ def initialize(**args)
1519
+ update!(**args)
1520
+ end
1521
+
1522
+ # Update properties of this object
1523
+ def update!(**args)
1524
+ @object_id_path = args[:object_id_path] if args.key?(:object_id_path)
1525
+ end
1526
+ end
1527
+
1528
+ # This resource represents a long-running operation that is the result of a
1529
+ # network API call.
1530
+ class Operation
1531
+ include Google::Apis::Core::Hashable
1532
+
1533
+ # If the value is `false`, it means the operation is still in progress. If `true`
1534
+ # , the operation is completed, and either `error` or `response` is available.
1535
+ # Corresponds to the JSON property `done`
1536
+ # @return [Boolean]
1537
+ attr_accessor :done
1538
+ alias_method :done?, :done
1539
+
1540
+ # The `Status` type defines a logical error model that is suitable for different
1541
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1542
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1543
+ # data: error code, error message, and error details. You can find out more
1544
+ # about this error model and how to work with it in the [API Design Guide](https:
1545
+ # //cloud.google.com/apis/design/errors).
1546
+ # Corresponds to the JSON property `error`
1547
+ # @return [Google::Apis::PrivatecaV1beta1::Status]
1548
+ attr_accessor :error
1549
+
1550
+ # Service-specific metadata associated with the operation. It typically contains
1551
+ # progress information and common metadata such as create time. Some services
1552
+ # might not provide such metadata. Any method that returns a long-running
1553
+ # operation should document the metadata type, if any.
1554
+ # Corresponds to the JSON property `metadata`
1555
+ # @return [Hash<String,Object>]
1556
+ attr_accessor :metadata
1557
+
1558
+ # The server-assigned name, which is only unique within the same service that
1559
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1560
+ # be a resource name ending with `operations/`unique_id``.
1561
+ # Corresponds to the JSON property `name`
1562
+ # @return [String]
1563
+ attr_accessor :name
1564
+
1565
+ # The normal response of the operation in case of success. If the original
1566
+ # method returns no data on success, such as `Delete`, the response is `google.
1567
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1568
+ # the response should be the resource. For other methods, the response should
1569
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1570
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1571
+ # response type is `TakeSnapshotResponse`.
1572
+ # Corresponds to the JSON property `response`
1573
+ # @return [Hash<String,Object>]
1574
+ attr_accessor :response
1575
+
1576
+ def initialize(**args)
1577
+ update!(**args)
1578
+ end
1579
+
1580
+ # Update properties of this object
1581
+ def update!(**args)
1582
+ @done = args[:done] if args.key?(:done)
1583
+ @error = args[:error] if args.key?(:error)
1584
+ @metadata = args[:metadata] if args.key?(:metadata)
1585
+ @name = args[:name] if args.key?(:name)
1586
+ @response = args[:response] if args.key?(:response)
1587
+ end
1588
+ end
1589
+
1590
+ # Represents the metadata of the long-running operation.
1591
+ class OperationMetadata
1592
+ include Google::Apis::Core::Hashable
1593
+
1594
+ # Output only. API version used to start the operation.
1595
+ # Corresponds to the JSON property `apiVersion`
1596
+ # @return [String]
1597
+ attr_accessor :api_version
1598
+
1599
+ # Output only. The time the operation was created.
1600
+ # Corresponds to the JSON property `createTime`
1601
+ # @return [String]
1602
+ attr_accessor :create_time
1603
+
1604
+ # Output only. The time the operation finished running.
1605
+ # Corresponds to the JSON property `endTime`
1606
+ # @return [String]
1607
+ attr_accessor :end_time
1608
+
1609
+ # Output only. Identifies whether the user has requested cancellation of the
1610
+ # operation. Operations that have successfully been cancelled have Operation.
1611
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1612
+ # CANCELLED`.
1613
+ # Corresponds to the JSON property `requestedCancellation`
1614
+ # @return [Boolean]
1615
+ attr_accessor :requested_cancellation
1616
+ alias_method :requested_cancellation?, :requested_cancellation
1617
+
1618
+ # Output only. Human-readable status of the operation, if any.
1619
+ # Corresponds to the JSON property `statusMessage`
1620
+ # @return [String]
1621
+ attr_accessor :status_message
1622
+
1623
+ # Output only. Server-defined resource path for the target of the operation.
1624
+ # Corresponds to the JSON property `target`
1625
+ # @return [String]
1626
+ attr_accessor :target
1627
+
1628
+ # Output only. Name of the verb executed by the operation.
1629
+ # Corresponds to the JSON property `verb`
1630
+ # @return [String]
1631
+ attr_accessor :verb
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @api_version = args[:api_version] if args.key?(:api_version)
1640
+ @create_time = args[:create_time] if args.key?(:create_time)
1641
+ @end_time = args[:end_time] if args.key?(:end_time)
1642
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1643
+ @status_message = args[:status_message] if args.key?(:status_message)
1644
+ @target = args[:target] if args.key?(:target)
1645
+ @verb = args[:verb] if args.key?(:verb)
1646
+ end
1647
+ end
1648
+
1649
+ # An Identity and Access Management (IAM) policy, which specifies access
1650
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1651
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1652
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1653
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1654
+ # role or a user-created custom role. For some types of Google Cloud resources,
1655
+ # a `binding` can also specify a `condition`, which is a logical expression that
1656
+ # allows access to a resource only if the expression evaluates to `true`. A
1657
+ # condition can add constraints based on attributes of the request, the resource,
1658
+ # or both. To learn which resources support conditions in their IAM policies,
1659
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1660
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1661
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1662
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1663
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1664
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1665
+ # title": "expirable access", "description": "Does not grant access after Sep
1666
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1667
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1668
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1669
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1670
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1671
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1672
+ # description: Does not grant access after Sep 2020 expression: request.time <
1673
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1674
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1675
+ # google.com/iam/docs/).
1676
+ class Policy
1677
+ include Google::Apis::Core::Hashable
1678
+
1679
+ # Specifies cloud audit logging configuration for this policy.
1680
+ # Corresponds to the JSON property `auditConfigs`
1681
+ # @return [Array<Google::Apis::PrivatecaV1beta1::AuditConfig>]
1682
+ attr_accessor :audit_configs
1683
+
1684
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1685
+ # condition` that determines how and when the `bindings` are applied. Each of
1686
+ # the `bindings` must contain at least one member.
1687
+ # Corresponds to the JSON property `bindings`
1688
+ # @return [Array<Google::Apis::PrivatecaV1beta1::Binding>]
1689
+ attr_accessor :bindings
1690
+
1691
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1692
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1693
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1694
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1695
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1696
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1697
+ # applied to the same version of the policy. **Important:** If you use IAM
1698
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1699
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1700
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1701
+ # are lost.
1702
+ # Corresponds to the JSON property `etag`
1703
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1704
+ # @return [String]
1705
+ attr_accessor :etag
1706
+
1707
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1708
+ # Requests that specify an invalid value are rejected. Any operation that
1709
+ # affects conditional role bindings must specify version `3`. This requirement
1710
+ # applies to the following operations: * Getting a policy that includes a
1711
+ # conditional role binding * Adding a conditional role binding to a policy *
1712
+ # Changing a conditional role binding in a policy * Removing any role binding,
1713
+ # with or without a condition, from a policy that includes conditions **
1714
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1715
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1716
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1717
+ # conditions in the version `3` policy are lost. If a policy does not include
1718
+ # any conditions, operations on that policy may specify any valid version or
1719
+ # leave the field unset. To learn which resources support conditions in their
1720
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1721
+ # conditions/resource-policies).
1722
+ # Corresponds to the JSON property `version`
1723
+ # @return [Fixnum]
1724
+ attr_accessor :version
1725
+
1726
+ def initialize(**args)
1727
+ update!(**args)
1728
+ end
1729
+
1730
+ # Update properties of this object
1731
+ def update!(**args)
1732
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1733
+ @bindings = args[:bindings] if args.key?(:bindings)
1734
+ @etag = args[:etag] if args.key?(:etag)
1735
+ @version = args[:version] if args.key?(:version)
1736
+ end
1737
+ end
1738
+
1739
+ # A PublicKey describes a public key.
1740
+ class PublicKey
1741
+ include Google::Apis::Core::Hashable
1742
+
1743
+ # Required. A public key. When this is specified in a request, the padding and
1744
+ # encoding can be any of the options described by the respective 'KeyType' value.
1745
+ # When this is generated by the service, it will always be an RFC 5280 [
1746
+ # SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1)
1747
+ # structure containing an algorithm identifier and a key.
1748
+ # Corresponds to the JSON property `key`
1749
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1750
+ # @return [String]
1751
+ attr_accessor :key
1752
+
1753
+ # Optional. The type of public key. If specified, it must match the public key
1754
+ # used for the`key` field.
1755
+ # Corresponds to the JSON property `type`
1756
+ # @return [String]
1757
+ attr_accessor :type
1758
+
1759
+ def initialize(**args)
1760
+ update!(**args)
1761
+ end
1762
+
1763
+ # Update properties of this object
1764
+ def update!(**args)
1765
+ @key = args[:key] if args.key?(:key)
1766
+ @type = args[:type] if args.key?(:type)
1767
+ end
1768
+ end
1769
+
1770
+ # Request message for CertificateAuthorityService.RestoreCertificateAuthority.
1771
+ class RestoreCertificateAuthorityRequest
1772
+ include Google::Apis::Core::Hashable
1773
+
1774
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
1775
+ # you must retry your request, the server will know to ignore the request if it
1776
+ # has already been completed. The server will guarantee that for at least 60
1777
+ # minutes since the first request. For example, consider a situation where you
1778
+ # make an initial request and t he request times out. If you make the request
1779
+ # again with the same request ID, the server can check if original operation
1780
+ # with the same request ID was received, and if so, will ignore the second
1781
+ # request. This prevents clients from accidentally creating duplicate
1782
+ # commitments. The request ID must be a valid UUID with the exception that zero
1783
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1784
+ # Corresponds to the JSON property `requestId`
1785
+ # @return [String]
1786
+ attr_accessor :request_id
1787
+
1788
+ def initialize(**args)
1789
+ update!(**args)
1790
+ end
1791
+
1792
+ # Update properties of this object
1793
+ def update!(**args)
1794
+ @request_id = args[:request_id] if args.key?(:request_id)
1795
+ end
1796
+ end
1797
+
1798
+ # A ReusableConfig refers to a managed ReusableConfigValues. Those, in turn, are
1799
+ # used to describe certain fields of an X.509 certificate, such as the key usage
1800
+ # fields, fields specific to CA certificates, certificate policy extensions and
1801
+ # custom extensions.
1802
+ class ReusableConfig
1803
+ include Google::Apis::Core::Hashable
1804
+
1805
+ # Output only. The time at which this ReusableConfig was created.
1806
+ # Corresponds to the JSON property `createTime`
1807
+ # @return [String]
1808
+ attr_accessor :create_time
1809
+
1810
+ # Optional. A human-readable description of scenarios these ReusableConfigValues
1811
+ # may be compatible with.
1812
+ # Corresponds to the JSON property `description`
1813
+ # @return [String]
1814
+ attr_accessor :description
1815
+
1816
+ # Optional. Labels with user-defined metadata.
1817
+ # Corresponds to the JSON property `labels`
1818
+ # @return [Hash<String,String>]
1819
+ attr_accessor :labels
1820
+
1821
+ # Output only. The resource path for this ReusableConfig in the format `projects/
1822
+ # */locations/*/reusableConfigs/*`.
1823
+ # Corresponds to the JSON property `name`
1824
+ # @return [String]
1825
+ attr_accessor :name
1826
+
1827
+ # Output only. The time at which this ReusableConfig was updated.
1828
+ # Corresponds to the JSON property `updateTime`
1829
+ # @return [String]
1830
+ attr_accessor :update_time
1831
+
1832
+ # A ReusableConfigValues is used to describe certain fields of an X.509
1833
+ # certificate, such as the key usage fields, fields specific to CA certificates,
1834
+ # certificate policy extensions and custom extensions.
1835
+ # Corresponds to the JSON property `values`
1836
+ # @return [Google::Apis::PrivatecaV1beta1::ReusableConfigValues]
1837
+ attr_accessor :values
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @create_time = args[:create_time] if args.key?(:create_time)
1846
+ @description = args[:description] if args.key?(:description)
1847
+ @labels = args[:labels] if args.key?(:labels)
1848
+ @name = args[:name] if args.key?(:name)
1849
+ @update_time = args[:update_time] if args.key?(:update_time)
1850
+ @values = args[:values] if args.key?(:values)
1851
+ end
1852
+ end
1853
+
1854
+ # A ReusableConfigValues is used to describe certain fields of an X.509
1855
+ # certificate, such as the key usage fields, fields specific to CA certificates,
1856
+ # certificate policy extensions and custom extensions.
1857
+ class ReusableConfigValues
1858
+ include Google::Apis::Core::Hashable
1859
+
1860
+ # Optional. Describes custom X.509 extensions.
1861
+ # Corresponds to the JSON property `additionalExtensions`
1862
+ # @return [Array<Google::Apis::PrivatecaV1beta1::X509Extension>]
1863
+ attr_accessor :additional_extensions
1864
+
1865
+ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint
1866
+ # addresses that appear in the "Authority Information Access" extension in the
1867
+ # certificate.
1868
+ # Corresponds to the JSON property `aiaOcspServers`
1869
+ # @return [Array<String>]
1870
+ attr_accessor :aia_ocsp_servers
1871
+
1872
+ # Describes values that are relevant in a CA certificate.
1873
+ # Corresponds to the JSON property `caOptions`
1874
+ # @return [Google::Apis::PrivatecaV1beta1::CaOptions]
1875
+ attr_accessor :ca_options
1876
+
1877
+ # A KeyUsage describes key usage values that may appear in an X.509 certificate.
1878
+ # Corresponds to the JSON property `keyUsage`
1879
+ # @return [Google::Apis::PrivatecaV1beta1::KeyUsage]
1880
+ attr_accessor :key_usage
1881
+
1882
+ # Optional. Describes the X.509 certificate policy object identifiers, per https:
1883
+ # //tools.ietf.org/html/rfc5280#section-4.2.1.4.
1884
+ # Corresponds to the JSON property `policyIds`
1885
+ # @return [Array<Google::Apis::PrivatecaV1beta1::ObjectIdProp>]
1886
+ attr_accessor :policy_ids
1887
+
1888
+ def initialize(**args)
1889
+ update!(**args)
1890
+ end
1891
+
1892
+ # Update properties of this object
1893
+ def update!(**args)
1894
+ @additional_extensions = args[:additional_extensions] if args.key?(:additional_extensions)
1895
+ @aia_ocsp_servers = args[:aia_ocsp_servers] if args.key?(:aia_ocsp_servers)
1896
+ @ca_options = args[:ca_options] if args.key?(:ca_options)
1897
+ @key_usage = args[:key_usage] if args.key?(:key_usage)
1898
+ @policy_ids = args[:policy_ids] if args.key?(:policy_ids)
1899
+ end
1900
+ end
1901
+
1902
+ # A ReusableConfigWrapper describes values that may assist in creating an X.509
1903
+ # certificate, or a reference to a pre-defined set of values.
1904
+ class ReusableConfigWrapper
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # Required. A resource path to a ReusableConfig in the format `projects/*/
1908
+ # locations/*/reusableConfigs/*`.
1909
+ # Corresponds to the JSON property `reusableConfig`
1910
+ # @return [String]
1911
+ attr_accessor :reusable_config
1912
+
1913
+ # A ReusableConfigValues is used to describe certain fields of an X.509
1914
+ # certificate, such as the key usage fields, fields specific to CA certificates,
1915
+ # certificate policy extensions and custom extensions.
1916
+ # Corresponds to the JSON property `reusableConfigValues`
1917
+ # @return [Google::Apis::PrivatecaV1beta1::ReusableConfigValues]
1918
+ attr_accessor :reusable_config_values
1919
+
1920
+ def initialize(**args)
1921
+ update!(**args)
1922
+ end
1923
+
1924
+ # Update properties of this object
1925
+ def update!(**args)
1926
+ @reusable_config = args[:reusable_config] if args.key?(:reusable_config)
1927
+ @reusable_config_values = args[:reusable_config_values] if args.key?(:reusable_config_values)
1928
+ end
1929
+ end
1930
+
1931
+ # Describes fields that are relavent to the revocation of a Certificate.
1932
+ class RevocationDetails
1933
+ include Google::Apis::Core::Hashable
1934
+
1935
+ # Indicates why a Certificate was revoked.
1936
+ # Corresponds to the JSON property `revocationState`
1937
+ # @return [String]
1938
+ attr_accessor :revocation_state
1939
+
1940
+ # The time at which this Certificate was revoked.
1941
+ # Corresponds to the JSON property `revocationTime`
1942
+ # @return [String]
1943
+ attr_accessor :revocation_time
1944
+
1945
+ def initialize(**args)
1946
+ update!(**args)
1947
+ end
1948
+
1949
+ # Update properties of this object
1950
+ def update!(**args)
1951
+ @revocation_state = args[:revocation_state] if args.key?(:revocation_state)
1952
+ @revocation_time = args[:revocation_time] if args.key?(:revocation_time)
1953
+ end
1954
+ end
1955
+
1956
+ # Request message for CertificateAuthorityService.RevokeCertificate.
1957
+ class RevokeCertificateRequest
1958
+ include Google::Apis::Core::Hashable
1959
+
1960
+ # Required. The RevocationReason for revoking this certificate.
1961
+ # Corresponds to the JSON property `reason`
1962
+ # @return [String]
1963
+ attr_accessor :reason
1964
+
1965
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
1966
+ # you must retry your request, the server will know to ignore the request if it
1967
+ # has already been completed. The server will guarantee that for at least 60
1968
+ # minutes since the first request. For example, consider a situation where you
1969
+ # make an initial request and t he request times out. If you make the request
1970
+ # again with the same request ID, the server can check if original operation
1971
+ # with the same request ID was received, and if so, will ignore the second
1972
+ # request. This prevents clients from accidentally creating duplicate
1973
+ # commitments. The request ID must be a valid UUID with the exception that zero
1974
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1975
+ # Corresponds to the JSON property `requestId`
1976
+ # @return [String]
1977
+ attr_accessor :request_id
1978
+
1979
+ def initialize(**args)
1980
+ update!(**args)
1981
+ end
1982
+
1983
+ # Update properties of this object
1984
+ def update!(**args)
1985
+ @reason = args[:reason] if args.key?(:reason)
1986
+ @request_id = args[:request_id] if args.key?(:request_id)
1987
+ end
1988
+ end
1989
+
1990
+ # Describes a revoked Certificate.
1991
+ class RevokedCertificate
1992
+ include Google::Apis::Core::Hashable
1993
+
1994
+ # The resource path for the Certificate in the format `projects/*/locations/*/
1995
+ # certificateAuthorities/*/certificates/*`.
1996
+ # Corresponds to the JSON property `certificate`
1997
+ # @return [String]
1998
+ attr_accessor :certificate
1999
+
2000
+ # The serial number of the Certificate.
2001
+ # Corresponds to the JSON property `hexSerialNumber`
2002
+ # @return [String]
2003
+ attr_accessor :hex_serial_number
2004
+
2005
+ # The reason the Certificate was revoked.
2006
+ # Corresponds to the JSON property `revocationReason`
2007
+ # @return [String]
2008
+ attr_accessor :revocation_reason
2009
+
2010
+ def initialize(**args)
2011
+ update!(**args)
2012
+ end
2013
+
2014
+ # Update properties of this object
2015
+ def update!(**args)
2016
+ @certificate = args[:certificate] if args.key?(:certificate)
2017
+ @hex_serial_number = args[:hex_serial_number] if args.key?(:hex_serial_number)
2018
+ @revocation_reason = args[:revocation_reason] if args.key?(:revocation_reason)
2019
+ end
2020
+ end
2021
+
2022
+ # Request message for CertificateAuthorityService.
2023
+ # ScheduleDeleteCertificateAuthority.
2024
+ class ScheduleDeleteCertificateAuthorityRequest
2025
+ include Google::Apis::Core::Hashable
2026
+
2027
+ # Optional. An ID to identify requests. Specify a unique request ID so that if
2028
+ # you must retry your request, the server will know to ignore the request if it
2029
+ # has already been completed. The server will guarantee that for at least 60
2030
+ # minutes since the first request. For example, consider a situation where you
2031
+ # make an initial request and t he request times out. If you make the request
2032
+ # again with the same request ID, the server can check if original operation
2033
+ # with the same request ID was received, and if so, will ignore the second
2034
+ # request. This prevents clients from accidentally creating duplicate
2035
+ # commitments. The request ID must be a valid UUID with the exception that zero
2036
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2037
+ # Corresponds to the JSON property `requestId`
2038
+ # @return [String]
2039
+ attr_accessor :request_id
2040
+
2041
+ def initialize(**args)
2042
+ update!(**args)
2043
+ end
2044
+
2045
+ # Update properties of this object
2046
+ def update!(**args)
2047
+ @request_id = args[:request_id] if args.key?(:request_id)
2048
+ end
2049
+ end
2050
+
2051
+ # Request message for `SetIamPolicy` method.
2052
+ class SetIamPolicyRequest
2053
+ include Google::Apis::Core::Hashable
2054
+
2055
+ # An Identity and Access Management (IAM) policy, which specifies access
2056
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2057
+ # A `binding` binds one or more `members` to a single `role`. Members can be
2058
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
2059
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
2060
+ # role or a user-created custom role. For some types of Google Cloud resources,
2061
+ # a `binding` can also specify a `condition`, which is a logical expression that
2062
+ # allows access to a resource only if the expression evaluates to `true`. A
2063
+ # condition can add constraints based on attributes of the request, the resource,
2064
+ # or both. To learn which resources support conditions in their IAM policies,
2065
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2066
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2067
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2068
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2069
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2070
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2071
+ # title": "expirable access", "description": "Does not grant access after Sep
2072
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2073
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2074
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
2075
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2076
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2077
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
2078
+ # description: Does not grant access after Sep 2020 expression: request.time <
2079
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2080
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
2081
+ # google.com/iam/docs/).
2082
+ # Corresponds to the JSON property `policy`
2083
+ # @return [Google::Apis::PrivatecaV1beta1::Policy]
2084
+ attr_accessor :policy
2085
+
2086
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2087
+ # the fields in the mask will be modified. If no mask is provided, the following
2088
+ # default mask is used: `paths: "bindings, etag"`
2089
+ # Corresponds to the JSON property `updateMask`
2090
+ # @return [String]
2091
+ attr_accessor :update_mask
2092
+
2093
+ def initialize(**args)
2094
+ update!(**args)
2095
+ end
2096
+
2097
+ # Update properties of this object
2098
+ def update!(**args)
2099
+ @policy = args[:policy] if args.key?(:policy)
2100
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
2101
+ end
2102
+ end
2103
+
2104
+ # The `Status` type defines a logical error model that is suitable for different
2105
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2106
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2107
+ # data: error code, error message, and error details. You can find out more
2108
+ # about this error model and how to work with it in the [API Design Guide](https:
2109
+ # //cloud.google.com/apis/design/errors).
2110
+ class Status
2111
+ include Google::Apis::Core::Hashable
2112
+
2113
+ # The status code, which should be an enum value of google.rpc.Code.
2114
+ # Corresponds to the JSON property `code`
2115
+ # @return [Fixnum]
2116
+ attr_accessor :code
2117
+
2118
+ # A list of messages that carry the error details. There is a common set of
2119
+ # message types for APIs to use.
2120
+ # Corresponds to the JSON property `details`
2121
+ # @return [Array<Hash<String,Object>>]
2122
+ attr_accessor :details
2123
+
2124
+ # A developer-facing error message, which should be in English. Any user-facing
2125
+ # error message should be localized and sent in the google.rpc.Status.details
2126
+ # field, or localized by the client.
2127
+ # Corresponds to the JSON property `message`
2128
+ # @return [String]
2129
+ attr_accessor :message
2130
+
2131
+ def initialize(**args)
2132
+ update!(**args)
2133
+ end
2134
+
2135
+ # Update properties of this object
2136
+ def update!(**args)
2137
+ @code = args[:code] if args.key?(:code)
2138
+ @details = args[:details] if args.key?(:details)
2139
+ @message = args[:message] if args.key?(:message)
2140
+ end
2141
+ end
2142
+
2143
+ # Subject describes parts of a distinguished name that, in turn, describes the
2144
+ # subject of the certificate.
2145
+ class Subject
2146
+ include Google::Apis::Core::Hashable
2147
+
2148
+ # The country code of the subject.
2149
+ # Corresponds to the JSON property `countryCode`
2150
+ # @return [String]
2151
+ attr_accessor :country_code
2152
+
2153
+ # The locality or city of the subject.
2154
+ # Corresponds to the JSON property `locality`
2155
+ # @return [String]
2156
+ attr_accessor :locality
2157
+
2158
+ # The organization of the subject.
2159
+ # Corresponds to the JSON property `organization`
2160
+ # @return [String]
2161
+ attr_accessor :organization
2162
+
2163
+ # The organizational_unit of the subject.
2164
+ # Corresponds to the JSON property `organizationalUnit`
2165
+ # @return [String]
2166
+ attr_accessor :organizational_unit
2167
+
2168
+ # The postal code of the subject.
2169
+ # Corresponds to the JSON property `postalCode`
2170
+ # @return [String]
2171
+ attr_accessor :postal_code
2172
+
2173
+ # The province, territory, or regional state of the subject.
2174
+ # Corresponds to the JSON property `province`
2175
+ # @return [String]
2176
+ attr_accessor :province
2177
+
2178
+ # The street address of the subject.
2179
+ # Corresponds to the JSON property `streetAddress`
2180
+ # @return [String]
2181
+ attr_accessor :street_address
2182
+
2183
+ def initialize(**args)
2184
+ update!(**args)
2185
+ end
2186
+
2187
+ # Update properties of this object
2188
+ def update!(**args)
2189
+ @country_code = args[:country_code] if args.key?(:country_code)
2190
+ @locality = args[:locality] if args.key?(:locality)
2191
+ @organization = args[:organization] if args.key?(:organization)
2192
+ @organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit)
2193
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
2194
+ @province = args[:province] if args.key?(:province)
2195
+ @street_address = args[:street_address] if args.key?(:street_address)
2196
+ end
2197
+ end
2198
+
2199
+ # SubjectAltNames corresponds to a more modern way of listing what the asserted
2200
+ # identity is in a certificate (i.e., compared to the "common name" in the
2201
+ # distinguished name).
2202
+ class SubjectAltNames
2203
+ include Google::Apis::Core::Hashable
2204
+
2205
+ # Contains additional subject alternative name values.
2206
+ # Corresponds to the JSON property `customSans`
2207
+ # @return [Array<Google::Apis::PrivatecaV1beta1::X509Extension>]
2208
+ attr_accessor :custom_sans
2209
+
2210
+ # Contains only valid, fully-qualified host names.
2211
+ # Corresponds to the JSON property `dnsNames`
2212
+ # @return [Array<String>]
2213
+ attr_accessor :dns_names
2214
+
2215
+ # Contains only valid RFC 2822 E-mail addresses.
2216
+ # Corresponds to the JSON property `emailAddresses`
2217
+ # @return [Array<String>]
2218
+ attr_accessor :email_addresses
2219
+
2220
+ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
2221
+ # Corresponds to the JSON property `ipAddresses`
2222
+ # @return [Array<String>]
2223
+ attr_accessor :ip_addresses
2224
+
2225
+ # Contains only valid RFC 3986 URIs.
2226
+ # Corresponds to the JSON property `uris`
2227
+ # @return [Array<String>]
2228
+ attr_accessor :uris
2229
+
2230
+ def initialize(**args)
2231
+ update!(**args)
2232
+ end
2233
+
2234
+ # Update properties of this object
2235
+ def update!(**args)
2236
+ @custom_sans = args[:custom_sans] if args.key?(:custom_sans)
2237
+ @dns_names = args[:dns_names] if args.key?(:dns_names)
2238
+ @email_addresses = args[:email_addresses] if args.key?(:email_addresses)
2239
+ @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
2240
+ @uris = args[:uris] if args.key?(:uris)
2241
+ end
2242
+ end
2243
+
2244
+ # These values are used to create the distinguished name and subject alternative
2245
+ # name fields in an X.509 certificate.
2246
+ class SubjectConfig
2247
+ include Google::Apis::Core::Hashable
2248
+
2249
+ # Optional. The "common name" of the distinguished name.
2250
+ # Corresponds to the JSON property `commonName`
2251
+ # @return [String]
2252
+ attr_accessor :common_name
2253
+
2254
+ # Subject describes parts of a distinguished name that, in turn, describes the
2255
+ # subject of the certificate.
2256
+ # Corresponds to the JSON property `subject`
2257
+ # @return [Google::Apis::PrivatecaV1beta1::Subject]
2258
+ attr_accessor :subject
2259
+
2260
+ # SubjectAltNames corresponds to a more modern way of listing what the asserted
2261
+ # identity is in a certificate (i.e., compared to the "common name" in the
2262
+ # distinguished name).
2263
+ # Corresponds to the JSON property `subjectAltName`
2264
+ # @return [Google::Apis::PrivatecaV1beta1::SubjectAltNames]
2265
+ attr_accessor :subject_alt_name
2266
+
2267
+ def initialize(**args)
2268
+ update!(**args)
2269
+ end
2270
+
2271
+ # Update properties of this object
2272
+ def update!(**args)
2273
+ @common_name = args[:common_name] if args.key?(:common_name)
2274
+ @subject = args[:subject] if args.key?(:subject)
2275
+ @subject_alt_name = args[:subject_alt_name] if args.key?(:subject_alt_name)
2276
+ end
2277
+ end
2278
+
2279
+ # These values describe fields in an issued X.509 certificate such as the
2280
+ # distinguished name, subject alternative names, serial number, and lifetime.
2281
+ class SubjectDescription
2282
+ include Google::Apis::Core::Hashable
2283
+
2284
+ # The "common name" of the distinguished name.
2285
+ # Corresponds to the JSON property `commonName`
2286
+ # @return [String]
2287
+ attr_accessor :common_name
2288
+
2289
+ # The serial number encoded in lowercase hexadecimal.
2290
+ # Corresponds to the JSON property `hexSerialNumber`
2291
+ # @return [String]
2292
+ attr_accessor :hex_serial_number
2293
+
2294
+ # For convenience, the actual lifetime of an issued certificate. Corresponds to '
2295
+ # not_after_time' - 'not_before_time'.
2296
+ # Corresponds to the JSON property `lifetime`
2297
+ # @return [String]
2298
+ attr_accessor :lifetime
2299
+
2300
+ # The time at which the certificate expires.
2301
+ # Corresponds to the JSON property `notAfterTime`
2302
+ # @return [String]
2303
+ attr_accessor :not_after_time
2304
+
2305
+ # The time at which the certificate becomes valid.
2306
+ # Corresponds to the JSON property `notBeforeTime`
2307
+ # @return [String]
2308
+ attr_accessor :not_before_time
2309
+
2310
+ # Subject describes parts of a distinguished name that, in turn, describes the
2311
+ # subject of the certificate.
2312
+ # Corresponds to the JSON property `subject`
2313
+ # @return [Google::Apis::PrivatecaV1beta1::Subject]
2314
+ attr_accessor :subject
2315
+
2316
+ # SubjectAltNames corresponds to a more modern way of listing what the asserted
2317
+ # identity is in a certificate (i.e., compared to the "common name" in the
2318
+ # distinguished name).
2319
+ # Corresponds to the JSON property `subjectAltName`
2320
+ # @return [Google::Apis::PrivatecaV1beta1::SubjectAltNames]
2321
+ attr_accessor :subject_alt_name
2322
+
2323
+ def initialize(**args)
2324
+ update!(**args)
2325
+ end
2326
+
2327
+ # Update properties of this object
2328
+ def update!(**args)
2329
+ @common_name = args[:common_name] if args.key?(:common_name)
2330
+ @hex_serial_number = args[:hex_serial_number] if args.key?(:hex_serial_number)
2331
+ @lifetime = args[:lifetime] if args.key?(:lifetime)
2332
+ @not_after_time = args[:not_after_time] if args.key?(:not_after_time)
2333
+ @not_before_time = args[:not_before_time] if args.key?(:not_before_time)
2334
+ @subject = args[:subject] if args.key?(:subject)
2335
+ @subject_alt_name = args[:subject_alt_name] if args.key?(:subject_alt_name)
2336
+ end
2337
+ end
2338
+
2339
+ # Describes a subordinate CA's issuers. This is either a resource path to a
2340
+ # known issuing CertificateAuthority, or a PEM issuer certificate chain.
2341
+ class SubordinateConfig
2342
+ include Google::Apis::Core::Hashable
2343
+
2344
+ # Required. This can refer to a CertificateAuthority in the same project that
2345
+ # was used to create a subordinate CertificateAuthority. This field is used for
2346
+ # information and usability purposes only. The resource name is in the format `
2347
+ # projects/*/locations/*/certificateAuthorities/*`.
2348
+ # Corresponds to the JSON property `certificateAuthority`
2349
+ # @return [String]
2350
+ attr_accessor :certificate_authority
2351
+
2352
+ # This message describes a subordinate CA's issuer certificate chain. This
2353
+ # wrapper exists for compatibility reasons.
2354
+ # Corresponds to the JSON property `pemIssuerChain`
2355
+ # @return [Google::Apis::PrivatecaV1beta1::SubordinateConfigChain]
2356
+ attr_accessor :pem_issuer_chain
2357
+
2358
+ def initialize(**args)
2359
+ update!(**args)
2360
+ end
2361
+
2362
+ # Update properties of this object
2363
+ def update!(**args)
2364
+ @certificate_authority = args[:certificate_authority] if args.key?(:certificate_authority)
2365
+ @pem_issuer_chain = args[:pem_issuer_chain] if args.key?(:pem_issuer_chain)
2366
+ end
2367
+ end
2368
+
2369
+ # This message describes a subordinate CA's issuer certificate chain. This
2370
+ # wrapper exists for compatibility reasons.
2371
+ class SubordinateConfigChain
2372
+ include Google::Apis::Core::Hashable
2373
+
2374
+ # Required. Expected to be in leaf-to-root order according to RFC 5246.
2375
+ # Corresponds to the JSON property `pemCertificates`
2376
+ # @return [Array<String>]
2377
+ attr_accessor :pem_certificates
2378
+
2379
+ def initialize(**args)
2380
+ update!(**args)
2381
+ end
2382
+
2383
+ # Update properties of this object
2384
+ def update!(**args)
2385
+ @pem_certificates = args[:pem_certificates] if args.key?(:pem_certificates)
2386
+ end
2387
+ end
2388
+
2389
+ # Request message for `TestIamPermissions` method.
2390
+ class TestIamPermissionsRequest
2391
+ include Google::Apis::Core::Hashable
2392
+
2393
+ # The set of permissions to check for the `resource`. Permissions with wildcards
2394
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2395
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2396
+ # Corresponds to the JSON property `permissions`
2397
+ # @return [Array<String>]
2398
+ attr_accessor :permissions
2399
+
2400
+ def initialize(**args)
2401
+ update!(**args)
2402
+ end
2403
+
2404
+ # Update properties of this object
2405
+ def update!(**args)
2406
+ @permissions = args[:permissions] if args.key?(:permissions)
2407
+ end
2408
+ end
2409
+
2410
+ # Response message for `TestIamPermissions` method.
2411
+ class TestIamPermissionsResponse
2412
+ include Google::Apis::Core::Hashable
2413
+
2414
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2415
+ # Corresponds to the JSON property `permissions`
2416
+ # @return [Array<String>]
2417
+ attr_accessor :permissions
2418
+
2419
+ def initialize(**args)
2420
+ update!(**args)
2421
+ end
2422
+
2423
+ # Update properties of this object
2424
+ def update!(**args)
2425
+ @permissions = args[:permissions] if args.key?(:permissions)
2426
+ end
2427
+ end
2428
+
2429
+ # An X509Extension specifies an X.509 extension, which may be used in different
2430
+ # parts of X.509 objects like certificates, CSRs, and CRLs.
2431
+ class X509Extension
2432
+ include Google::Apis::Core::Hashable
2433
+
2434
+ # Required. Indicates whether or not this extension is critical (i.e., if the
2435
+ # client does not know how to handle this extension, the client should consider
2436
+ # this to be an error).
2437
+ # Corresponds to the JSON property `critical`
2438
+ # @return [Boolean]
2439
+ attr_accessor :critical
2440
+ alias_method :critical?, :critical
2441
+
2442
+ # An ObjectId specifies an object identifier (OID). These provide context and
2443
+ # describe types in ASN.1 messages.
2444
+ # Corresponds to the JSON property `objectId`
2445
+ # @return [Google::Apis::PrivatecaV1beta1::ObjectIdProp]
2446
+ attr_accessor :object_id_prop
2447
+
2448
+ # Required. The value of this X.509 extension.
2449
+ # Corresponds to the JSON property `value`
2450
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2451
+ # @return [String]
2452
+ attr_accessor :value
2453
+
2454
+ def initialize(**args)
2455
+ update!(**args)
2456
+ end
2457
+
2458
+ # Update properties of this object
2459
+ def update!(**args)
2460
+ @critical = args[:critical] if args.key?(:critical)
2461
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
2462
+ @value = args[:value] if args.key?(:value)
2463
+ end
2464
+ end
2465
+ end
2466
+ end
2467
+ end