google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -0,0 +1,1540 @@
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 DomainsV1beta1
24
+
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
40
+ class AuditConfig
41
+ include Google::Apis::Core::Hashable
42
+
43
+ # The configuration for logging of each type of permission.
44
+ # Corresponds to the JSON property `auditLogConfigs`
45
+ # @return [Array<Google::Apis::DomainsV1beta1::AuditLogConfig>]
46
+ attr_accessor :audit_log_configs
47
+
48
+ # Specifies a service that will be enabled for audit logging. For example, `
49
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
+ # value that covers all services.
51
+ # Corresponds to the JSON property `service`
52
+ # @return [String]
53
+ attr_accessor :service
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
+ @service = args[:service] if args.key?(:service)
63
+ end
64
+ end
65
+
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
71
+ class AuditLogConfig
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Specifies the identities that do not cause logging for this type of permission.
75
+ # Follows the same format of Binding.members.
76
+ # Corresponds to the JSON property `exemptedMembers`
77
+ # @return [Array<String>]
78
+ attr_accessor :exempted_members
79
+
80
+ # The log type that this config enables.
81
+ # Corresponds to the JSON property `logType`
82
+ # @return [String]
83
+ attr_accessor :log_type
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
+ @log_type = args[:log_type] if args.key?(:log_type)
93
+ end
94
+ end
95
+
96
+ # Defines an authorization code.
97
+ class AuthorizationCode
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # The Authorization Code in ASCII. It can be used to transfer the domain to or
101
+ # from another registrar.
102
+ # Corresponds to the JSON property `code`
103
+ # @return [String]
104
+ attr_accessor :code
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @code = args[:code] if args.key?(:code)
113
+ end
114
+ end
115
+
116
+ # Associates `members` with a `role`.
117
+ class Binding
118
+ include Google::Apis::Core::Hashable
119
+
120
+ #
121
+ # Corresponds to the JSON property `bindingId`
122
+ # @return [String]
123
+ attr_accessor :binding_id
124
+
125
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
126
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
127
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
128
+ # "Summary size limit" description: "Determines if a summary is less than 100
129
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
130
+ # Requestor is owner" description: "Determines if requestor is the document
131
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
132
+ # Logic): title: "Public documents" description: "Determine whether the document
133
+ # should be publicly visible" expression: "document.type != 'private' &&
134
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
135
+ # string" description: "Create a notification string with a timestamp."
136
+ # expression: "'New message received at ' + string(document.create_time)" The
137
+ # exact variables and functions that may be referenced within an expression are
138
+ # determined by the service that evaluates it. See the service documentation for
139
+ # additional information.
140
+ # Corresponds to the JSON property `condition`
141
+ # @return [Google::Apis::DomainsV1beta1::Expr]
142
+ attr_accessor :condition
143
+
144
+ # Specifies the identities requesting access for a Cloud Platform resource. `
145
+ # members` can have the following values: * `allUsers`: A special identifier
146
+ # that represents anyone who is on the internet; with or without a Google
147
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
148
+ # anyone who is authenticated with a Google account or a service account. * `
149
+ # user:`emailid``: An email address that represents a specific Google account.
150
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
151
+ # address that represents a service account. For example, `my-other-app@appspot.
152
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
153
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
154
+ # `uniqueid``: An email address (plus unique identifier) representing a user
155
+ # that has been recently deleted. For example, `alice@example.com?uid=
156
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
157
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
158
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
159
+ # identifier) representing a service account that has been recently deleted. For
160
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
161
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
162
+ # emailid`` and the undeleted service account retains the role in the binding. *
163
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
164
+ # identifier) representing a Google group that has been recently deleted. For
165
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
166
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
167
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
168
+ # primary) that represents all the users of that domain. For example, `google.
169
+ # com` or `example.com`.
170
+ # Corresponds to the JSON property `members`
171
+ # @return [Array<String>]
172
+ attr_accessor :members
173
+
174
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
175
+ # , or `roles/owner`.
176
+ # Corresponds to the JSON property `role`
177
+ # @return [String]
178
+ attr_accessor :role
179
+
180
+ def initialize(**args)
181
+ update!(**args)
182
+ end
183
+
184
+ # Update properties of this object
185
+ def update!(**args)
186
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
187
+ @condition = args[:condition] if args.key?(:condition)
188
+ @members = args[:members] if args.key?(:members)
189
+ @role = args[:role] if args.key?(:role)
190
+ end
191
+ end
192
+
193
+ # Request for the `ConfigureContactSettings` method.
194
+ class ConfigureContactSettingsRequest
195
+ include Google::Apis::Core::Hashable
196
+
197
+ # The list of contact notices that the caller acknowledges. The notices required
198
+ # here depend on the values specified in `contact_settings`.
199
+ # Corresponds to the JSON property `contactNotices`
200
+ # @return [Array<String>]
201
+ attr_accessor :contact_notices
202
+
203
+ # Defines the contact information associated with a `Registration`. [ICANN](
204
+ # https://icann.org/) requires all domain names to have associated contact
205
+ # information. The `registrant_contact` is considered the domain's legal owner,
206
+ # and often the other contacts are identical.
207
+ # Corresponds to the JSON property `contactSettings`
208
+ # @return [Google::Apis::DomainsV1beta1::ContactSettings]
209
+ attr_accessor :contact_settings
210
+
211
+ # Required. The field mask describing which fields to update as a comma-
212
+ # separated list. For example, if only the registrant contact is being updated,
213
+ # the `update_mask` would be `"registrant_contact"`.
214
+ # Corresponds to the JSON property `updateMask`
215
+ # @return [String]
216
+ attr_accessor :update_mask
217
+
218
+ # Validate the request without actually updating the contact settings.
219
+ # Corresponds to the JSON property `validateOnly`
220
+ # @return [Boolean]
221
+ attr_accessor :validate_only
222
+ alias_method :validate_only?, :validate_only
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @contact_notices = args[:contact_notices] if args.key?(:contact_notices)
231
+ @contact_settings = args[:contact_settings] if args.key?(:contact_settings)
232
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
233
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
234
+ end
235
+ end
236
+
237
+ # Request for the `ConfigureDnsSettings` method.
238
+ class ConfigureDnsSettingsRequest
239
+ include Google::Apis::Core::Hashable
240
+
241
+ # Defines the DNS configuration of a `Registration`, including name servers,
242
+ # DNSSEC, and glue records.
243
+ # Corresponds to the JSON property `dnsSettings`
244
+ # @return [Google::Apis::DomainsV1beta1::DnsSettings]
245
+ attr_accessor :dns_settings
246
+
247
+ # Required. The field mask describing which fields to update as a comma-
248
+ # separated list. For example, if only the name servers are being updated for an
249
+ # existing Custom DNS configuration, the `update_mask` would be `"custom_dns.
250
+ # name_servers"`. When changing the DNS provider from one type to another, pass
251
+ # the new provider's field name as part of the field mask. For example, when
252
+ # changing from a Google Domains DNS configuration to a Custom DNS configuration,
253
+ # the `update_mask` would be `"custom_dns"`. //
254
+ # Corresponds to the JSON property `updateMask`
255
+ # @return [String]
256
+ attr_accessor :update_mask
257
+
258
+ # Validate the request without actually updating the DNS settings.
259
+ # Corresponds to the JSON property `validateOnly`
260
+ # @return [Boolean]
261
+ attr_accessor :validate_only
262
+ alias_method :validate_only?, :validate_only
263
+
264
+ def initialize(**args)
265
+ update!(**args)
266
+ end
267
+
268
+ # Update properties of this object
269
+ def update!(**args)
270
+ @dns_settings = args[:dns_settings] if args.key?(:dns_settings)
271
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
272
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
273
+ end
274
+ end
275
+
276
+ # Request for the `ConfigureManagementSettings` method.
277
+ class ConfigureManagementSettingsRequest
278
+ include Google::Apis::Core::Hashable
279
+
280
+ # Defines renewal, billing, and transfer settings for a `Registration`.
281
+ # Corresponds to the JSON property `managementSettings`
282
+ # @return [Google::Apis::DomainsV1beta1::ManagementSettings]
283
+ attr_accessor :management_settings
284
+
285
+ # Required. The field mask describing which fields to update as a comma-
286
+ # separated list. For example, if only the transfer lock is being updated, the `
287
+ # update_mask` would be `"transfer_lock_state"`.
288
+ # Corresponds to the JSON property `updateMask`
289
+ # @return [String]
290
+ attr_accessor :update_mask
291
+
292
+ def initialize(**args)
293
+ update!(**args)
294
+ end
295
+
296
+ # Update properties of this object
297
+ def update!(**args)
298
+ @management_settings = args[:management_settings] if args.key?(:management_settings)
299
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
300
+ end
301
+ end
302
+
303
+ # Details required for a contact associated with a `Registration`.
304
+ class Contact
305
+ include Google::Apis::Core::Hashable
306
+
307
+ # Required. Email address of the contact.
308
+ # Corresponds to the JSON property `email`
309
+ # @return [String]
310
+ attr_accessor :email
311
+
312
+ # Fax number of the contact in international format. For example, `"+1-800-555-
313
+ # 0123"`.
314
+ # Corresponds to the JSON property `faxNumber`
315
+ # @return [String]
316
+ attr_accessor :fax_number
317
+
318
+ # Required. Phone number of the contact in international format. For example, `"+
319
+ # 1-800-555-0123"`.
320
+ # Corresponds to the JSON property `phoneNumber`
321
+ # @return [String]
322
+ attr_accessor :phone_number
323
+
324
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
325
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
326
+ # Box or similar. It is not intended to model geographical locations (roads,
327
+ # towns, mountains). In typical usage an address would be created via user input
328
+ # or from importing existing data, depending on the type of process. Advice on
329
+ # address input / editing: - Use an i18n-ready address widget such as https://
330
+ # github.com/google/libaddressinput) - Users should not be presented with UI
331
+ # elements for input or editing of fields outside countries where that field is
332
+ # used. For more guidance on how to use this schema, please see: https://support.
333
+ # google.com/business/answer/6397478
334
+ # Corresponds to the JSON property `postalAddress`
335
+ # @return [Google::Apis::DomainsV1beta1::PostalAddress]
336
+ attr_accessor :postal_address
337
+
338
+ def initialize(**args)
339
+ update!(**args)
340
+ end
341
+
342
+ # Update properties of this object
343
+ def update!(**args)
344
+ @email = args[:email] if args.key?(:email)
345
+ @fax_number = args[:fax_number] if args.key?(:fax_number)
346
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
347
+ @postal_address = args[:postal_address] if args.key?(:postal_address)
348
+ end
349
+ end
350
+
351
+ # Defines the contact information associated with a `Registration`. [ICANN](
352
+ # https://icann.org/) requires all domain names to have associated contact
353
+ # information. The `registrant_contact` is considered the domain's legal owner,
354
+ # and often the other contacts are identical.
355
+ class ContactSettings
356
+ include Google::Apis::Core::Hashable
357
+
358
+ # Details required for a contact associated with a `Registration`.
359
+ # Corresponds to the JSON property `adminContact`
360
+ # @return [Google::Apis::DomainsV1beta1::Contact]
361
+ attr_accessor :admin_contact
362
+
363
+ # Required. Privacy setting for the contacts associated with the `Registration`.
364
+ # Corresponds to the JSON property `privacy`
365
+ # @return [String]
366
+ attr_accessor :privacy
367
+
368
+ # Details required for a contact associated with a `Registration`.
369
+ # Corresponds to the JSON property `registrantContact`
370
+ # @return [Google::Apis::DomainsV1beta1::Contact]
371
+ attr_accessor :registrant_contact
372
+
373
+ # Details required for a contact associated with a `Registration`.
374
+ # Corresponds to the JSON property `technicalContact`
375
+ # @return [Google::Apis::DomainsV1beta1::Contact]
376
+ attr_accessor :technical_contact
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @admin_contact = args[:admin_contact] if args.key?(:admin_contact)
385
+ @privacy = args[:privacy] if args.key?(:privacy)
386
+ @registrant_contact = args[:registrant_contact] if args.key?(:registrant_contact)
387
+ @technical_contact = args[:technical_contact] if args.key?(:technical_contact)
388
+ end
389
+ end
390
+
391
+ # Configuration for an arbitrary DNS provider.
392
+ class CustomDns
393
+ include Google::Apis::Core::Hashable
394
+
395
+ # The list of DS records for this domain, which are used to enable DNSSEC. The
396
+ # domain's DNS provider can provide the values to set here. If this field is
397
+ # empty, DNSSEC is disabled.
398
+ # Corresponds to the JSON property `dsRecords`
399
+ # @return [Array<Google::Apis::DomainsV1beta1::DsRecord>]
400
+ attr_accessor :ds_records
401
+
402
+ # Required. A list of name servers that store the DNS zone for this domain. Each
403
+ # name server is a domain name, with Unicode domain names expressed in Punycode
404
+ # format.
405
+ # Corresponds to the JSON property `nameServers`
406
+ # @return [Array<String>]
407
+ attr_accessor :name_servers
408
+
409
+ def initialize(**args)
410
+ update!(**args)
411
+ end
412
+
413
+ # Update properties of this object
414
+ def update!(**args)
415
+ @ds_records = args[:ds_records] if args.key?(:ds_records)
416
+ @name_servers = args[:name_servers] if args.key?(:name_servers)
417
+ end
418
+ end
419
+
420
+ # Defines the DNS configuration of a `Registration`, including name servers,
421
+ # DNSSEC, and glue records.
422
+ class DnsSettings
423
+ include Google::Apis::Core::Hashable
424
+
425
+ # Configuration for an arbitrary DNS provider.
426
+ # Corresponds to the JSON property `customDns`
427
+ # @return [Google::Apis::DomainsV1beta1::CustomDns]
428
+ attr_accessor :custom_dns
429
+
430
+ # The list of glue records for this `Registration`. Commonly empty.
431
+ # Corresponds to the JSON property `glueRecords`
432
+ # @return [Array<Google::Apis::DomainsV1beta1::GlueRecord>]
433
+ attr_accessor :glue_records
434
+
435
+ # Configuration for using the free DNS zone provided by Google Domains as a `
436
+ # Registration`'s `dns_provider`. You cannot configure the DNS zone itself using
437
+ # the API. To configure the DNS zone, go to [Google Domains](https://domains.
438
+ # google/).
439
+ # Corresponds to the JSON property `googleDomainsDns`
440
+ # @return [Google::Apis::DomainsV1beta1::GoogleDomainsDns]
441
+ attr_accessor :google_domains_dns
442
+
443
+ def initialize(**args)
444
+ update!(**args)
445
+ end
446
+
447
+ # Update properties of this object
448
+ def update!(**args)
449
+ @custom_dns = args[:custom_dns] if args.key?(:custom_dns)
450
+ @glue_records = args[:glue_records] if args.key?(:glue_records)
451
+ @google_domains_dns = args[:google_domains_dns] if args.key?(:google_domains_dns)
452
+ end
453
+ end
454
+
455
+ # Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for
456
+ # a domain. It contains a digest (hash) of a DNSKEY record that must be present
457
+ # in the domain's DNS zone.
458
+ class DsRecord
459
+ include Google::Apis::Core::Hashable
460
+
461
+ # The algorithm used to generate the referenced DNSKEY.
462
+ # Corresponds to the JSON property `algorithm`
463
+ # @return [String]
464
+ attr_accessor :algorithm
465
+
466
+ # The digest generated from the referenced DNSKEY.
467
+ # Corresponds to the JSON property `digest`
468
+ # @return [String]
469
+ attr_accessor :digest
470
+
471
+ # The hash function used to generate the digest of the referenced DNSKEY.
472
+ # Corresponds to the JSON property `digestType`
473
+ # @return [String]
474
+ attr_accessor :digest_type
475
+
476
+ # The key tag of the record. Must be set in range 0 -- 65535.
477
+ # Corresponds to the JSON property `keyTag`
478
+ # @return [Fixnum]
479
+ attr_accessor :key_tag
480
+
481
+ def initialize(**args)
482
+ update!(**args)
483
+ end
484
+
485
+ # Update properties of this object
486
+ def update!(**args)
487
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
488
+ @digest = args[:digest] if args.key?(:digest)
489
+ @digest_type = args[:digest_type] if args.key?(:digest_type)
490
+ @key_tag = args[:key_tag] if args.key?(:key_tag)
491
+ end
492
+ end
493
+
494
+ # Request for the `ExportRegistration` method.
495
+ class ExportRegistrationRequest
496
+ include Google::Apis::Core::Hashable
497
+
498
+ def initialize(**args)
499
+ update!(**args)
500
+ end
501
+
502
+ # Update properties of this object
503
+ def update!(**args)
504
+ end
505
+ end
506
+
507
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
508
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
509
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
510
+ # "Summary size limit" description: "Determines if a summary is less than 100
511
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
512
+ # Requestor is owner" description: "Determines if requestor is the document
513
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
514
+ # Logic): title: "Public documents" description: "Determine whether the document
515
+ # should be publicly visible" expression: "document.type != 'private' &&
516
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
517
+ # string" description: "Create a notification string with a timestamp."
518
+ # expression: "'New message received at ' + string(document.create_time)" The
519
+ # exact variables and functions that may be referenced within an expression are
520
+ # determined by the service that evaluates it. See the service documentation for
521
+ # additional information.
522
+ class Expr
523
+ include Google::Apis::Core::Hashable
524
+
525
+ # Optional. Description of the expression. This is a longer text which describes
526
+ # the expression, e.g. when hovered over it in a UI.
527
+ # Corresponds to the JSON property `description`
528
+ # @return [String]
529
+ attr_accessor :description
530
+
531
+ # Textual representation of an expression in Common Expression Language syntax.
532
+ # Corresponds to the JSON property `expression`
533
+ # @return [String]
534
+ attr_accessor :expression
535
+
536
+ # Optional. String indicating the location of the expression for error reporting,
537
+ # e.g. a file name and a position in the file.
538
+ # Corresponds to the JSON property `location`
539
+ # @return [String]
540
+ attr_accessor :location
541
+
542
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
543
+ # This can be used e.g. in UIs which allow to enter the expression.
544
+ # Corresponds to the JSON property `title`
545
+ # @return [String]
546
+ attr_accessor :title
547
+
548
+ def initialize(**args)
549
+ update!(**args)
550
+ end
551
+
552
+ # Update properties of this object
553
+ def update!(**args)
554
+ @description = args[:description] if args.key?(:description)
555
+ @expression = args[:expression] if args.key?(:expression)
556
+ @location = args[:location] if args.key?(:location)
557
+ @title = args[:title] if args.key?(:title)
558
+ end
559
+ end
560
+
561
+ # Defines a host on your domain that is a DNS name server for your domain and/or
562
+ # other domains. Glue records are a way of making the IP address of a name
563
+ # server known, even when it serves DNS queries for its parent domain. For
564
+ # example, when `ns.example.com` is a name server for `example.com`, the host `
565
+ # ns.example.com` must have a glue record to break the circular DNS reference.
566
+ class GlueRecord
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Required. Domain name of the host in Punycode format.
570
+ # Corresponds to the JSON property `hostName`
571
+ # @return [String]
572
+ attr_accessor :host_name
573
+
574
+ # List of IPv4 addresses corresponding to this host in the standard decimal
575
+ # format (e.g. `198.51.100.1`). At least one of `ipv4_address` and `ipv6_address`
576
+ # must be set.
577
+ # Corresponds to the JSON property `ipv4Addresses`
578
+ # @return [Array<String>]
579
+ attr_accessor :ipv4_addresses
580
+
581
+ # List of IPv6 addresses corresponding to this host in the standard hexadecimal
582
+ # format (e.g. `2001:db8::`). At least one of `ipv4_address` and `ipv6_address`
583
+ # must be set.
584
+ # Corresponds to the JSON property `ipv6Addresses`
585
+ # @return [Array<String>]
586
+ attr_accessor :ipv6_addresses
587
+
588
+ def initialize(**args)
589
+ update!(**args)
590
+ end
591
+
592
+ # Update properties of this object
593
+ def update!(**args)
594
+ @host_name = args[:host_name] if args.key?(:host_name)
595
+ @ipv4_addresses = args[:ipv4_addresses] if args.key?(:ipv4_addresses)
596
+ @ipv6_addresses = args[:ipv6_addresses] if args.key?(:ipv6_addresses)
597
+ end
598
+ end
599
+
600
+ # Configuration for using the free DNS zone provided by Google Domains as a `
601
+ # Registration`'s `dns_provider`. You cannot configure the DNS zone itself using
602
+ # the API. To configure the DNS zone, go to [Google Domains](https://domains.
603
+ # google/).
604
+ class GoogleDomainsDns
605
+ include Google::Apis::Core::Hashable
606
+
607
+ # Output only. The list of DS records published for this domain. The list is
608
+ # automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise
609
+ # it remains empty.
610
+ # Corresponds to the JSON property `dsRecords`
611
+ # @return [Array<Google::Apis::DomainsV1beta1::DsRecord>]
612
+ attr_accessor :ds_records
613
+
614
+ # Required. The state of DS records for this domain. Used to enable or disable
615
+ # automatic DNSSEC.
616
+ # Corresponds to the JSON property `dsState`
617
+ # @return [String]
618
+ attr_accessor :ds_state
619
+
620
+ # Output only. A list of name servers that store the DNS zone for this domain.
621
+ # Each name server is a domain name, with Unicode domain names expressed in
622
+ # Punycode format. This field is automatically populated with the name servers
623
+ # assigned to the Google Domains DNS zone.
624
+ # Corresponds to the JSON property `nameServers`
625
+ # @return [Array<String>]
626
+ attr_accessor :name_servers
627
+
628
+ def initialize(**args)
629
+ update!(**args)
630
+ end
631
+
632
+ # Update properties of this object
633
+ def update!(**args)
634
+ @ds_records = args[:ds_records] if args.key?(:ds_records)
635
+ @ds_state = args[:ds_state] if args.key?(:ds_state)
636
+ @name_servers = args[:name_servers] if args.key?(:name_servers)
637
+ end
638
+ end
639
+
640
+ # The response message for Locations.ListLocations.
641
+ class ListLocationsResponse
642
+ include Google::Apis::Core::Hashable
643
+
644
+ # A list of locations that matches the specified filter in the request.
645
+ # Corresponds to the JSON property `locations`
646
+ # @return [Array<Google::Apis::DomainsV1beta1::Location>]
647
+ attr_accessor :locations
648
+
649
+ # The standard List next-page token.
650
+ # Corresponds to the JSON property `nextPageToken`
651
+ # @return [String]
652
+ attr_accessor :next_page_token
653
+
654
+ def initialize(**args)
655
+ update!(**args)
656
+ end
657
+
658
+ # Update properties of this object
659
+ def update!(**args)
660
+ @locations = args[:locations] if args.key?(:locations)
661
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
662
+ end
663
+ end
664
+
665
+ # The response message for Operations.ListOperations.
666
+ class ListOperationsResponse
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # The standard List next-page token.
670
+ # Corresponds to the JSON property `nextPageToken`
671
+ # @return [String]
672
+ attr_accessor :next_page_token
673
+
674
+ # A list of operations that matches the specified filter in the request.
675
+ # Corresponds to the JSON property `operations`
676
+ # @return [Array<Google::Apis::DomainsV1beta1::Operation>]
677
+ attr_accessor :operations
678
+
679
+ def initialize(**args)
680
+ update!(**args)
681
+ end
682
+
683
+ # Update properties of this object
684
+ def update!(**args)
685
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
686
+ @operations = args[:operations] if args.key?(:operations)
687
+ end
688
+ end
689
+
690
+ # Response for the `ListRegistrations` method.
691
+ class ListRegistrationsResponse
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # When present, there are more results to retrieve. Set `page_token` to this
695
+ # value on a subsequent call to get the next page of results.
696
+ # Corresponds to the JSON property `nextPageToken`
697
+ # @return [String]
698
+ attr_accessor :next_page_token
699
+
700
+ # A list of `Registration`s.
701
+ # Corresponds to the JSON property `registrations`
702
+ # @return [Array<Google::Apis::DomainsV1beta1::Registration>]
703
+ attr_accessor :registrations
704
+
705
+ def initialize(**args)
706
+ update!(**args)
707
+ end
708
+
709
+ # Update properties of this object
710
+ def update!(**args)
711
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
712
+ @registrations = args[:registrations] if args.key?(:registrations)
713
+ end
714
+ end
715
+
716
+ # A resource that represents Google Cloud Platform location.
717
+ class Location
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # The friendly name for this location, typically a nearby city name. For example,
721
+ # "Tokyo".
722
+ # Corresponds to the JSON property `displayName`
723
+ # @return [String]
724
+ attr_accessor :display_name
725
+
726
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
727
+ # region": "us-east1"`
728
+ # Corresponds to the JSON property `labels`
729
+ # @return [Hash<String,String>]
730
+ attr_accessor :labels
731
+
732
+ # The canonical id for this location. For example: `"us-east1"`.
733
+ # Corresponds to the JSON property `locationId`
734
+ # @return [String]
735
+ attr_accessor :location_id
736
+
737
+ # Service-specific metadata. For example the available capacity at the given
738
+ # location.
739
+ # Corresponds to the JSON property `metadata`
740
+ # @return [Hash<String,Object>]
741
+ attr_accessor :metadata
742
+
743
+ # Resource name for the location, which may vary between implementations. For
744
+ # example: `"projects/example-project/locations/us-east1"`
745
+ # Corresponds to the JSON property `name`
746
+ # @return [String]
747
+ attr_accessor :name
748
+
749
+ def initialize(**args)
750
+ update!(**args)
751
+ end
752
+
753
+ # Update properties of this object
754
+ def update!(**args)
755
+ @display_name = args[:display_name] if args.key?(:display_name)
756
+ @labels = args[:labels] if args.key?(:labels)
757
+ @location_id = args[:location_id] if args.key?(:location_id)
758
+ @metadata = args[:metadata] if args.key?(:metadata)
759
+ @name = args[:name] if args.key?(:name)
760
+ end
761
+ end
762
+
763
+ # Defines renewal, billing, and transfer settings for a `Registration`.
764
+ class ManagementSettings
765
+ include Google::Apis::Core::Hashable
766
+
767
+ # Output only. The renewal method for this `Registration`.
768
+ # Corresponds to the JSON property `renewalMethod`
769
+ # @return [String]
770
+ attr_accessor :renewal_method
771
+
772
+ # Controls whether the domain can be transferred to another registrar.
773
+ # Corresponds to the JSON property `transferLockState`
774
+ # @return [String]
775
+ attr_accessor :transfer_lock_state
776
+
777
+ def initialize(**args)
778
+ update!(**args)
779
+ end
780
+
781
+ # Update properties of this object
782
+ def update!(**args)
783
+ @renewal_method = args[:renewal_method] if args.key?(:renewal_method)
784
+ @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state)
785
+ end
786
+ end
787
+
788
+ # Represents an amount of money with its currency type.
789
+ class Money
790
+ include Google::Apis::Core::Hashable
791
+
792
+ # The three-letter currency code defined in ISO 4217.
793
+ # Corresponds to the JSON property `currencyCode`
794
+ # @return [String]
795
+ attr_accessor :currency_code
796
+
797
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
798
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
799
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
800
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
801
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
802
+ # Corresponds to the JSON property `nanos`
803
+ # @return [Fixnum]
804
+ attr_accessor :nanos
805
+
806
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
807
+ # 1 unit is one US dollar.
808
+ # Corresponds to the JSON property `units`
809
+ # @return [Fixnum]
810
+ attr_accessor :units
811
+
812
+ def initialize(**args)
813
+ update!(**args)
814
+ end
815
+
816
+ # Update properties of this object
817
+ def update!(**args)
818
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
819
+ @nanos = args[:nanos] if args.key?(:nanos)
820
+ @units = args[:units] if args.key?(:units)
821
+ end
822
+ end
823
+
824
+ # This resource represents a long-running operation that is the result of a
825
+ # network API call.
826
+ class Operation
827
+ include Google::Apis::Core::Hashable
828
+
829
+ # If the value is `false`, it means the operation is still in progress. If `true`
830
+ # , the operation is completed, and either `error` or `response` is available.
831
+ # Corresponds to the JSON property `done`
832
+ # @return [Boolean]
833
+ attr_accessor :done
834
+ alias_method :done?, :done
835
+
836
+ # The `Status` type defines a logical error model that is suitable for different
837
+ # programming environments, including REST APIs and RPC APIs. It is used by [
838
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
839
+ # data: error code, error message, and error details. You can find out more
840
+ # about this error model and how to work with it in the [API Design Guide](https:
841
+ # //cloud.google.com/apis/design/errors).
842
+ # Corresponds to the JSON property `error`
843
+ # @return [Google::Apis::DomainsV1beta1::Status]
844
+ attr_accessor :error
845
+
846
+ # Service-specific metadata associated with the operation. It typically contains
847
+ # progress information and common metadata such as create time. Some services
848
+ # might not provide such metadata. Any method that returns a long-running
849
+ # operation should document the metadata type, if any.
850
+ # Corresponds to the JSON property `metadata`
851
+ # @return [Hash<String,Object>]
852
+ attr_accessor :metadata
853
+
854
+ # The server-assigned name, which is only unique within the same service that
855
+ # originally returns it. If you use the default HTTP mapping, the `name` should
856
+ # be a resource name ending with `operations/`unique_id``.
857
+ # Corresponds to the JSON property `name`
858
+ # @return [String]
859
+ attr_accessor :name
860
+
861
+ # The normal response of the operation in case of success. If the original
862
+ # method returns no data on success, such as `Delete`, the response is `google.
863
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
864
+ # the response should be the resource. For other methods, the response should
865
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
866
+ # example, if the original method name is `TakeSnapshot()`, the inferred
867
+ # response type is `TakeSnapshotResponse`.
868
+ # Corresponds to the JSON property `response`
869
+ # @return [Hash<String,Object>]
870
+ attr_accessor :response
871
+
872
+ def initialize(**args)
873
+ update!(**args)
874
+ end
875
+
876
+ # Update properties of this object
877
+ def update!(**args)
878
+ @done = args[:done] if args.key?(:done)
879
+ @error = args[:error] if args.key?(:error)
880
+ @metadata = args[:metadata] if args.key?(:metadata)
881
+ @name = args[:name] if args.key?(:name)
882
+ @response = args[:response] if args.key?(:response)
883
+ end
884
+ end
885
+
886
+ # Represents the metadata of the long-running operation. Output only.
887
+ class OperationMetadata
888
+ include Google::Apis::Core::Hashable
889
+
890
+ # API version used to start the operation.
891
+ # Corresponds to the JSON property `apiVersion`
892
+ # @return [String]
893
+ attr_accessor :api_version
894
+
895
+ # The time the operation was created.
896
+ # Corresponds to the JSON property `createTime`
897
+ # @return [String]
898
+ attr_accessor :create_time
899
+
900
+ # The time the operation finished running.
901
+ # Corresponds to the JSON property `endTime`
902
+ # @return [String]
903
+ attr_accessor :end_time
904
+
905
+ # Human-readable status of the operation, if any.
906
+ # Corresponds to the JSON property `statusDetail`
907
+ # @return [String]
908
+ attr_accessor :status_detail
909
+
910
+ # Server-defined resource path for the target of the operation.
911
+ # Corresponds to the JSON property `target`
912
+ # @return [String]
913
+ attr_accessor :target
914
+
915
+ # Name of the verb executed by the operation.
916
+ # Corresponds to the JSON property `verb`
917
+ # @return [String]
918
+ attr_accessor :verb
919
+
920
+ def initialize(**args)
921
+ update!(**args)
922
+ end
923
+
924
+ # Update properties of this object
925
+ def update!(**args)
926
+ @api_version = args[:api_version] if args.key?(:api_version)
927
+ @create_time = args[:create_time] if args.key?(:create_time)
928
+ @end_time = args[:end_time] if args.key?(:end_time)
929
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
930
+ @target = args[:target] if args.key?(:target)
931
+ @verb = args[:verb] if args.key?(:verb)
932
+ end
933
+ end
934
+
935
+ # An Identity and Access Management (IAM) policy, which specifies access
936
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
937
+ # A `binding` binds one or more `members` to a single `role`. Members can be
938
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
939
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
940
+ # role or a user-created custom role. For some types of Google Cloud resources,
941
+ # a `binding` can also specify a `condition`, which is a logical expression that
942
+ # allows access to a resource only if the expression evaluates to `true`. A
943
+ # condition can add constraints based on attributes of the request, the resource,
944
+ # or both. To learn which resources support conditions in their IAM policies,
945
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
946
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
947
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
948
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
949
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
950
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
951
+ # title": "expirable access", "description": "Does not grant access after Sep
952
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
953
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
954
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
955
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
956
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
957
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
958
+ # description: Does not grant access after Sep 2020 expression: request.time <
959
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
960
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
961
+ # google.com/iam/docs/).
962
+ class Policy
963
+ include Google::Apis::Core::Hashable
964
+
965
+ # Specifies cloud audit logging configuration for this policy.
966
+ # Corresponds to the JSON property `auditConfigs`
967
+ # @return [Array<Google::Apis::DomainsV1beta1::AuditConfig>]
968
+ attr_accessor :audit_configs
969
+
970
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
971
+ # condition` that determines how and when the `bindings` are applied. Each of
972
+ # the `bindings` must contain at least one member.
973
+ # Corresponds to the JSON property `bindings`
974
+ # @return [Array<Google::Apis::DomainsV1beta1::Binding>]
975
+ attr_accessor :bindings
976
+
977
+ # `etag` is used for optimistic concurrency control as a way to help prevent
978
+ # simultaneous updates of a policy from overwriting each other. It is strongly
979
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
980
+ # to perform policy updates in order to avoid race conditions: An `etag` is
981
+ # returned in the response to `getIamPolicy`, and systems are expected to put
982
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
983
+ # applied to the same version of the policy. **Important:** If you use IAM
984
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
985
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
986
+ # with a version `1` policy, and all of the conditions in the version `3` policy
987
+ # are lost.
988
+ # Corresponds to the JSON property `etag`
989
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
990
+ # @return [String]
991
+ attr_accessor :etag
992
+
993
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
994
+ # Requests that specify an invalid value are rejected. Any operation that
995
+ # affects conditional role bindings must specify version `3`. This requirement
996
+ # applies to the following operations: * Getting a policy that includes a
997
+ # conditional role binding * Adding a conditional role binding to a policy *
998
+ # Changing a conditional role binding in a policy * Removing any role binding,
999
+ # with or without a condition, from a policy that includes conditions **
1000
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1001
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1002
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1003
+ # conditions in the version `3` policy are lost. If a policy does not include
1004
+ # any conditions, operations on that policy may specify any valid version or
1005
+ # leave the field unset. To learn which resources support conditions in their
1006
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1007
+ # conditions/resource-policies).
1008
+ # Corresponds to the JSON property `version`
1009
+ # @return [Fixnum]
1010
+ attr_accessor :version
1011
+
1012
+ def initialize(**args)
1013
+ update!(**args)
1014
+ end
1015
+
1016
+ # Update properties of this object
1017
+ def update!(**args)
1018
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1019
+ @bindings = args[:bindings] if args.key?(:bindings)
1020
+ @etag = args[:etag] if args.key?(:etag)
1021
+ @version = args[:version] if args.key?(:version)
1022
+ end
1023
+ end
1024
+
1025
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
1026
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
1027
+ # Box or similar. It is not intended to model geographical locations (roads,
1028
+ # towns, mountains). In typical usage an address would be created via user input
1029
+ # or from importing existing data, depending on the type of process. Advice on
1030
+ # address input / editing: - Use an i18n-ready address widget such as https://
1031
+ # github.com/google/libaddressinput) - Users should not be presented with UI
1032
+ # elements for input or editing of fields outside countries where that field is
1033
+ # used. For more guidance on how to use this schema, please see: https://support.
1034
+ # google.com/business/answer/6397478
1035
+ class PostalAddress
1036
+ include Google::Apis::Core::Hashable
1037
+
1038
+ # Unstructured address lines describing the lower levels of an address. Because
1039
+ # values in address_lines do not have type information and may sometimes contain
1040
+ # multiple values in a single field (e.g. "Austin, TX"), it is important that
1041
+ # the line order is clear. The order of address lines should be "envelope order"
1042
+ # for the country/region of the address. In places where this can vary (e.g.
1043
+ # Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
1044
+ # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
1045
+ # specific line of an address can be selected based on the language. The minimum
1046
+ # permitted structural representation of an address consists of a region_code
1047
+ # with all remaining information placed in the address_lines. It would be
1048
+ # possible to format such an address very approximately without geocoding, but
1049
+ # no semantic reasoning could be made about any of the address components until
1050
+ # it was at least partially resolved. Creating an address only containing a
1051
+ # region_code and address_lines, and then geocoding is the recommended way to
1052
+ # handle completely unstructured addresses (as opposed to guessing which parts
1053
+ # of the address should be localities or administrative areas).
1054
+ # Corresponds to the JSON property `addressLines`
1055
+ # @return [Array<String>]
1056
+ attr_accessor :address_lines
1057
+
1058
+ # Optional. Highest administrative subdivision which is used for postal
1059
+ # addresses of a country or region. For example, this can be a state, a province,
1060
+ # an oblast, or a prefecture. Specifically, for Spain this is the province and
1061
+ # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
1062
+ # countries don't use an administrative area in postal addresses. E.g. in
1063
+ # Switzerland this should be left unpopulated.
1064
+ # Corresponds to the JSON property `administrativeArea`
1065
+ # @return [String]
1066
+ attr_accessor :administrative_area
1067
+
1068
+ # Optional. BCP-47 language code of the contents of this address (if known).
1069
+ # This is often the UI language of the input form or is expected to match one of
1070
+ # the languages used in the address' country/region, or their transliterated
1071
+ # equivalents. This can affect formatting in certain countries, but is not
1072
+ # critical to the correctness of the data and will never affect any validation
1073
+ # or other non-formatting related operations. If this value is not known, it
1074
+ # should be omitted (rather than specifying a possibly incorrect default).
1075
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
1076
+ # Corresponds to the JSON property `languageCode`
1077
+ # @return [String]
1078
+ attr_accessor :language_code
1079
+
1080
+ # Optional. Generally refers to the city/town portion of the address. Examples:
1081
+ # US city, IT comune, UK post town. In regions of the world where localities are
1082
+ # not well defined or do not fit into this structure well, leave locality empty
1083
+ # and use address_lines.
1084
+ # Corresponds to the JSON property `locality`
1085
+ # @return [String]
1086
+ attr_accessor :locality
1087
+
1088
+ # Optional. The name of the organization at the address.
1089
+ # Corresponds to the JSON property `organization`
1090
+ # @return [String]
1091
+ attr_accessor :organization
1092
+
1093
+ # Optional. Postal code of the address. Not all countries use or require postal
1094
+ # codes to be present, but where they are used, they may trigger additional
1095
+ # validation with other parts of the address (e.g. state/zip validation in the U.
1096
+ # S.A.).
1097
+ # Corresponds to the JSON property `postalCode`
1098
+ # @return [String]
1099
+ attr_accessor :postal_code
1100
+
1101
+ # Optional. The recipient at the address. This field may, under certain
1102
+ # circumstances, contain multiline information. For example, it might contain "
1103
+ # care of" information.
1104
+ # Corresponds to the JSON property `recipients`
1105
+ # @return [Array<String>]
1106
+ attr_accessor :recipients
1107
+
1108
+ # Required. CLDR region code of the country/region of the address. This is never
1109
+ # inferred and it is up to the user to ensure the value is correct. See http://
1110
+ # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
1111
+ # territory_information.html for details. Example: "CH" for Switzerland.
1112
+ # Corresponds to the JSON property `regionCode`
1113
+ # @return [String]
1114
+ attr_accessor :region_code
1115
+
1116
+ # The schema revision of the `PostalAddress`. This must be set to 0, which is
1117
+ # the latest revision. All new revisions **must** be backward compatible with
1118
+ # old revisions.
1119
+ # Corresponds to the JSON property `revision`
1120
+ # @return [Fixnum]
1121
+ attr_accessor :revision
1122
+
1123
+ # Optional. Additional, country-specific, sorting code. This is not used in most
1124
+ # regions. Where it is used, the value is either a string like "CEDEX",
1125
+ # optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
1126
+ # representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
1127
+ # or "post office indicator" (e.g. Côte d'Ivoire).
1128
+ # Corresponds to the JSON property `sortingCode`
1129
+ # @return [String]
1130
+ attr_accessor :sorting_code
1131
+
1132
+ # Optional. Sublocality of the address. For example, this can be neighborhoods,
1133
+ # boroughs, districts.
1134
+ # Corresponds to the JSON property `sublocality`
1135
+ # @return [String]
1136
+ attr_accessor :sublocality
1137
+
1138
+ def initialize(**args)
1139
+ update!(**args)
1140
+ end
1141
+
1142
+ # Update properties of this object
1143
+ def update!(**args)
1144
+ @address_lines = args[:address_lines] if args.key?(:address_lines)
1145
+ @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
1146
+ @language_code = args[:language_code] if args.key?(:language_code)
1147
+ @locality = args[:locality] if args.key?(:locality)
1148
+ @organization = args[:organization] if args.key?(:organization)
1149
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
1150
+ @recipients = args[:recipients] if args.key?(:recipients)
1151
+ @region_code = args[:region_code] if args.key?(:region_code)
1152
+ @revision = args[:revision] if args.key?(:revision)
1153
+ @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
1154
+ @sublocality = args[:sublocality] if args.key?(:sublocality)
1155
+ end
1156
+ end
1157
+
1158
+ # Request for the `RegisterDomain` method.
1159
+ class RegisterDomainRequest
1160
+ include Google::Apis::Core::Hashable
1161
+
1162
+ # The list of contact notices that the caller acknowledges. The notices required
1163
+ # here depend on the values specified in `registration.contact_settings`.
1164
+ # Corresponds to the JSON property `contactNotices`
1165
+ # @return [Array<String>]
1166
+ attr_accessor :contact_notices
1167
+
1168
+ # The list of domain notices that you acknowledge. Call `
1169
+ # RetrieveRegisterParameters` to see the notices that need acknowledgement.
1170
+ # Corresponds to the JSON property `domainNotices`
1171
+ # @return [Array<String>]
1172
+ attr_accessor :domain_notices
1173
+
1174
+ # The `Registration` resource facilitates managing and configuring domain name
1175
+ # registrations. To create a new `Registration` resource, find a suitable domain
1176
+ # name by calling the `SearchDomains` method with a query to see available
1177
+ # domain name options. After choosing a name, call `RetrieveRegisterParameters`
1178
+ # to ensure availability and obtain information like pricing, which is needed to
1179
+ # build a call to `RegisterDomain`.
1180
+ # Corresponds to the JSON property `registration`
1181
+ # @return [Google::Apis::DomainsV1beta1::Registration]
1182
+ attr_accessor :registration
1183
+
1184
+ # When true, only validation will be performed, without actually registering the
1185
+ # domain. Follows: https://cloud.google.com/apis/design/design_patterns#
1186
+ # request_validation
1187
+ # Corresponds to the JSON property `validateOnly`
1188
+ # @return [Boolean]
1189
+ attr_accessor :validate_only
1190
+ alias_method :validate_only?, :validate_only
1191
+
1192
+ # Represents an amount of money with its currency type.
1193
+ # Corresponds to the JSON property `yearlyPrice`
1194
+ # @return [Google::Apis::DomainsV1beta1::Money]
1195
+ attr_accessor :yearly_price
1196
+
1197
+ def initialize(**args)
1198
+ update!(**args)
1199
+ end
1200
+
1201
+ # Update properties of this object
1202
+ def update!(**args)
1203
+ @contact_notices = args[:contact_notices] if args.key?(:contact_notices)
1204
+ @domain_notices = args[:domain_notices] if args.key?(:domain_notices)
1205
+ @registration = args[:registration] if args.key?(:registration)
1206
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1207
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1208
+ end
1209
+ end
1210
+
1211
+ # Parameters required to register a new domain.
1212
+ class RegisterParameters
1213
+ include Google::Apis::Core::Hashable
1214
+
1215
+ # Indicates whether the domain is available for registration. This value is
1216
+ # accurate when obtained by calling `RetrieveRegisterParameters`, but is
1217
+ # approximate when obtained by calling `SearchDomains`.
1218
+ # Corresponds to the JSON property `availability`
1219
+ # @return [String]
1220
+ attr_accessor :availability
1221
+
1222
+ # The domain name. Unicode domain names are expressed in Punycode format.
1223
+ # Corresponds to the JSON property `domainName`
1224
+ # @return [String]
1225
+ attr_accessor :domain_name
1226
+
1227
+ # Notices about special properties of the domain.
1228
+ # Corresponds to the JSON property `domainNotices`
1229
+ # @return [Array<String>]
1230
+ attr_accessor :domain_notices
1231
+
1232
+ # Contact privacy options that the domain supports.
1233
+ # Corresponds to the JSON property `supportedPrivacy`
1234
+ # @return [Array<String>]
1235
+ attr_accessor :supported_privacy
1236
+
1237
+ # Represents an amount of money with its currency type.
1238
+ # Corresponds to the JSON property `yearlyPrice`
1239
+ # @return [Google::Apis::DomainsV1beta1::Money]
1240
+ attr_accessor :yearly_price
1241
+
1242
+ def initialize(**args)
1243
+ update!(**args)
1244
+ end
1245
+
1246
+ # Update properties of this object
1247
+ def update!(**args)
1248
+ @availability = args[:availability] if args.key?(:availability)
1249
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
1250
+ @domain_notices = args[:domain_notices] if args.key?(:domain_notices)
1251
+ @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
1252
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1253
+ end
1254
+ end
1255
+
1256
+ # The `Registration` resource facilitates managing and configuring domain name
1257
+ # registrations. To create a new `Registration` resource, find a suitable domain
1258
+ # name by calling the `SearchDomains` method with a query to see available
1259
+ # domain name options. After choosing a name, call `RetrieveRegisterParameters`
1260
+ # to ensure availability and obtain information like pricing, which is needed to
1261
+ # build a call to `RegisterDomain`.
1262
+ class Registration
1263
+ include Google::Apis::Core::Hashable
1264
+
1265
+ # Defines the contact information associated with a `Registration`. [ICANN](
1266
+ # https://icann.org/) requires all domain names to have associated contact
1267
+ # information. The `registrant_contact` is considered the domain's legal owner,
1268
+ # and often the other contacts are identical.
1269
+ # Corresponds to the JSON property `contactSettings`
1270
+ # @return [Google::Apis::DomainsV1beta1::ContactSettings]
1271
+ attr_accessor :contact_settings
1272
+
1273
+ # Output only. The creation timestamp of the `Registration` resource.
1274
+ # Corresponds to the JSON property `createTime`
1275
+ # @return [String]
1276
+ attr_accessor :create_time
1277
+
1278
+ # Defines the DNS configuration of a `Registration`, including name servers,
1279
+ # DNSSEC, and glue records.
1280
+ # Corresponds to the JSON property `dnsSettings`
1281
+ # @return [Google::Apis::DomainsV1beta1::DnsSettings]
1282
+ attr_accessor :dns_settings
1283
+
1284
+ # Required. Immutable. The domain name. Unicode domain names must be expressed
1285
+ # in Punycode format.
1286
+ # Corresponds to the JSON property `domainName`
1287
+ # @return [String]
1288
+ attr_accessor :domain_name
1289
+
1290
+ # Output only. The expiration timestamp of the `Registration`.
1291
+ # Corresponds to the JSON property `expireTime`
1292
+ # @return [String]
1293
+ attr_accessor :expire_time
1294
+
1295
+ # Output only. The set of issues with the `Registration` that require attention.
1296
+ # Corresponds to the JSON property `issues`
1297
+ # @return [Array<String>]
1298
+ attr_accessor :issues
1299
+
1300
+ # Set of labels associated with the `Registration`.
1301
+ # Corresponds to the JSON property `labels`
1302
+ # @return [Hash<String,String>]
1303
+ attr_accessor :labels
1304
+
1305
+ # Defines renewal, billing, and transfer settings for a `Registration`.
1306
+ # Corresponds to the JSON property `managementSettings`
1307
+ # @return [Google::Apis::DomainsV1beta1::ManagementSettings]
1308
+ attr_accessor :management_settings
1309
+
1310
+ # Output only. Name of the `Registration` resource, in the format `projects/*/
1311
+ # locations/*/registrations/`.
1312
+ # Corresponds to the JSON property `name`
1313
+ # @return [String]
1314
+ attr_accessor :name
1315
+
1316
+ # Defines the contact information associated with a `Registration`. [ICANN](
1317
+ # https://icann.org/) requires all domain names to have associated contact
1318
+ # information. The `registrant_contact` is considered the domain's legal owner,
1319
+ # and often the other contacts are identical.
1320
+ # Corresponds to the JSON property `pendingContactSettings`
1321
+ # @return [Google::Apis::DomainsV1beta1::ContactSettings]
1322
+ attr_accessor :pending_contact_settings
1323
+
1324
+ # Output only. The state of the `Registration`
1325
+ # Corresponds to the JSON property `state`
1326
+ # @return [String]
1327
+ attr_accessor :state
1328
+
1329
+ # Output only. Set of options for the `contact_settings.privacy` field that this
1330
+ # `Registration` supports.
1331
+ # Corresponds to the JSON property `supportedPrivacy`
1332
+ # @return [Array<String>]
1333
+ attr_accessor :supported_privacy
1334
+
1335
+ def initialize(**args)
1336
+ update!(**args)
1337
+ end
1338
+
1339
+ # Update properties of this object
1340
+ def update!(**args)
1341
+ @contact_settings = args[:contact_settings] if args.key?(:contact_settings)
1342
+ @create_time = args[:create_time] if args.key?(:create_time)
1343
+ @dns_settings = args[:dns_settings] if args.key?(:dns_settings)
1344
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
1345
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
1346
+ @issues = args[:issues] if args.key?(:issues)
1347
+ @labels = args[:labels] if args.key?(:labels)
1348
+ @management_settings = args[:management_settings] if args.key?(:management_settings)
1349
+ @name = args[:name] if args.key?(:name)
1350
+ @pending_contact_settings = args[:pending_contact_settings] if args.key?(:pending_contact_settings)
1351
+ @state = args[:state] if args.key?(:state)
1352
+ @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
1353
+ end
1354
+ end
1355
+
1356
+ # Request for the `ResetAuthorizationCode` method.
1357
+ class ResetAuthorizationCodeRequest
1358
+ include Google::Apis::Core::Hashable
1359
+
1360
+ def initialize(**args)
1361
+ update!(**args)
1362
+ end
1363
+
1364
+ # Update properties of this object
1365
+ def update!(**args)
1366
+ end
1367
+ end
1368
+
1369
+ # Response for the `RetrieveRegisterParameters` method.
1370
+ class RetrieveRegisterParametersResponse
1371
+ include Google::Apis::Core::Hashable
1372
+
1373
+ # Parameters required to register a new domain.
1374
+ # Corresponds to the JSON property `registerParameters`
1375
+ # @return [Google::Apis::DomainsV1beta1::RegisterParameters]
1376
+ attr_accessor :register_parameters
1377
+
1378
+ def initialize(**args)
1379
+ update!(**args)
1380
+ end
1381
+
1382
+ # Update properties of this object
1383
+ def update!(**args)
1384
+ @register_parameters = args[:register_parameters] if args.key?(:register_parameters)
1385
+ end
1386
+ end
1387
+
1388
+ # Response for the `SearchDomains` method.
1389
+ class SearchDomainsResponse
1390
+ include Google::Apis::Core::Hashable
1391
+
1392
+ # Results of the domain name search.
1393
+ # Corresponds to the JSON property `registerParameters`
1394
+ # @return [Array<Google::Apis::DomainsV1beta1::RegisterParameters>]
1395
+ attr_accessor :register_parameters
1396
+
1397
+ def initialize(**args)
1398
+ update!(**args)
1399
+ end
1400
+
1401
+ # Update properties of this object
1402
+ def update!(**args)
1403
+ @register_parameters = args[:register_parameters] if args.key?(:register_parameters)
1404
+ end
1405
+ end
1406
+
1407
+ # Request message for `SetIamPolicy` method.
1408
+ class SetIamPolicyRequest
1409
+ include Google::Apis::Core::Hashable
1410
+
1411
+ # An Identity and Access Management (IAM) policy, which specifies access
1412
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1413
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1414
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1415
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1416
+ # role or a user-created custom role. For some types of Google Cloud resources,
1417
+ # a `binding` can also specify a `condition`, which is a logical expression that
1418
+ # allows access to a resource only if the expression evaluates to `true`. A
1419
+ # condition can add constraints based on attributes of the request, the resource,
1420
+ # or both. To learn which resources support conditions in their IAM policies,
1421
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1422
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1423
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1424
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1425
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1426
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1427
+ # title": "expirable access", "description": "Does not grant access after Sep
1428
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1429
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1430
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1431
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1432
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1433
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1434
+ # description: Does not grant access after Sep 2020 expression: request.time <
1435
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1436
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1437
+ # google.com/iam/docs/).
1438
+ # Corresponds to the JSON property `policy`
1439
+ # @return [Google::Apis::DomainsV1beta1::Policy]
1440
+ attr_accessor :policy
1441
+
1442
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1443
+ # the fields in the mask will be modified. If no mask is provided, the following
1444
+ # default mask is used: `paths: "bindings, etag"`
1445
+ # Corresponds to the JSON property `updateMask`
1446
+ # @return [String]
1447
+ attr_accessor :update_mask
1448
+
1449
+ def initialize(**args)
1450
+ update!(**args)
1451
+ end
1452
+
1453
+ # Update properties of this object
1454
+ def update!(**args)
1455
+ @policy = args[:policy] if args.key?(:policy)
1456
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1457
+ end
1458
+ end
1459
+
1460
+ # The `Status` type defines a logical error model that is suitable for different
1461
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1462
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1463
+ # data: error code, error message, and error details. You can find out more
1464
+ # about this error model and how to work with it in the [API Design Guide](https:
1465
+ # //cloud.google.com/apis/design/errors).
1466
+ class Status
1467
+ include Google::Apis::Core::Hashable
1468
+
1469
+ # The status code, which should be an enum value of google.rpc.Code.
1470
+ # Corresponds to the JSON property `code`
1471
+ # @return [Fixnum]
1472
+ attr_accessor :code
1473
+
1474
+ # A list of messages that carry the error details. There is a common set of
1475
+ # message types for APIs to use.
1476
+ # Corresponds to the JSON property `details`
1477
+ # @return [Array<Hash<String,Object>>]
1478
+ attr_accessor :details
1479
+
1480
+ # A developer-facing error message, which should be in English. Any user-facing
1481
+ # error message should be localized and sent in the google.rpc.Status.details
1482
+ # field, or localized by the client.
1483
+ # Corresponds to the JSON property `message`
1484
+ # @return [String]
1485
+ attr_accessor :message
1486
+
1487
+ def initialize(**args)
1488
+ update!(**args)
1489
+ end
1490
+
1491
+ # Update properties of this object
1492
+ def update!(**args)
1493
+ @code = args[:code] if args.key?(:code)
1494
+ @details = args[:details] if args.key?(:details)
1495
+ @message = args[:message] if args.key?(:message)
1496
+ end
1497
+ end
1498
+
1499
+ # Request message for `TestIamPermissions` method.
1500
+ class TestIamPermissionsRequest
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ # The set of permissions to check for the `resource`. Permissions with wildcards
1504
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1505
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1506
+ # Corresponds to the JSON property `permissions`
1507
+ # @return [Array<String>]
1508
+ attr_accessor :permissions
1509
+
1510
+ def initialize(**args)
1511
+ update!(**args)
1512
+ end
1513
+
1514
+ # Update properties of this object
1515
+ def update!(**args)
1516
+ @permissions = args[:permissions] if args.key?(:permissions)
1517
+ end
1518
+ end
1519
+
1520
+ # Response message for `TestIamPermissions` method.
1521
+ class TestIamPermissionsResponse
1522
+ include Google::Apis::Core::Hashable
1523
+
1524
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1525
+ # Corresponds to the JSON property `permissions`
1526
+ # @return [Array<String>]
1527
+ attr_accessor :permissions
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @permissions = args[:permissions] if args.key?(:permissions)
1536
+ end
1537
+ end
1538
+ end
1539
+ end
1540
+ end