google-api-client 0.42.2 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +129 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -270
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +733 -1180
  35. data/generated/google/apis/apigee_v1/service.rb +879 -1133
  36. data/generated/google/apis/appsmarket_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  41. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  42. data/generated/google/apis/blogger_v2.rb +2 -3
  43. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  44. data/generated/google/apis/blogger_v2/service.rb +1 -2
  45. data/generated/google/apis/blogger_v3.rb +2 -3
  46. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  47. data/generated/google/apis/blogger_v3/service.rb +1 -2
  48. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  49. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  52. data/generated/google/apis/classroom_v1/service.rb +643 -902
  53. data/generated/google/apis/cloudasset_v1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  55. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  56. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  58. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  60. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
  61. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  62. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  63. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  66. data/generated/google/apis/compute_alpha.rb +1 -1
  67. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  68. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  69. data/generated/google/apis/compute_alpha/service.rb +15 -7
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +39 -14
  72. data/generated/google/apis/compute_beta/representations.rb +2 -0
  73. data/generated/google/apis/compute_beta/service.rb +15 -7
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +65 -42
  76. data/generated/google/apis/compute_v1/representations.rb +18 -15
  77. data/generated/google/apis/compute_v1/service.rb +63 -19
  78. data/generated/google/apis/container_v1.rb +1 -1
  79. data/generated/google/apis/container_v1/classes.rb +26 -0
  80. data/generated/google/apis/container_v1/representations.rb +15 -0
  81. data/generated/google/apis/content_v2.rb +1 -1
  82. data/generated/google/apis/content_v2/classes.rb +9 -0
  83. data/generated/google/apis/content_v2_1.rb +1 -1
  84. data/generated/google/apis/content_v2_1/classes.rb +9 -0
  85. data/generated/google/apis/customsearch_v1.rb +1 -1
  86. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  87. data/generated/google/apis/customsearch_v1/service.rb +184 -341
  88. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  89. data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
  90. data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
  91. data/generated/google/apis/datafusion_v1.rb +43 -0
  92. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  93. data/generated/google/apis/datafusion_v1/representations.rb +390 -0
  94. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  95. data/generated/google/apis/dataproc_v1.rb +1 -1
  96. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  97. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  98. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  99. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  100. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
  105. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
  108. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
  109. data/generated/google/apis/displayvideo_v1.rb +1 -1
  110. data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
  111. data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
  112. data/generated/google/apis/displayvideo_v1/service.rb +104 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  115. data/generated/google/apis/dns_v1.rb +1 -1
  116. data/generated/google/apis/dns_v1/classes.rb +7 -7
  117. data/generated/google/apis/dns_v1beta2.rb +1 -1
  118. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  119. data/generated/google/apis/dns_v2beta1.rb +1 -1
  120. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  121. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  122. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  123. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  124. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  126. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  127. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  129. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  130. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +3 -1
  133. data/generated/google/apis/drive_v3.rb +1 -1
  134. data/generated/google/apis/drive_v3/classes.rb +9 -1
  135. data/generated/google/apis/drive_v3/representations.rb +1 -0
  136. data/generated/google/apis/driveactivity_v2.rb +1 -1
  137. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  138. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  139. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  140. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  141. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  142. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
  143. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  144. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  145. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  146. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  147. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  148. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  149. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  150. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  151. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  152. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  153. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  154. data/generated/google/apis/firebaseml_v1.rb +1 -1
  155. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  156. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  157. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  158. data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
  159. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  160. data/generated/google/apis/gameservices_v1.rb +1 -1
  161. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  162. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  163. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  164. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  165. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  166. data/generated/google/apis/genomics_v1.rb +1 -1
  167. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  168. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  169. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  170. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  171. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  172. data/generated/google/apis/gmail_v1.rb +3 -3
  173. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  174. data/generated/google/apis/gmail_v1/service.rb +257 -286
  175. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  176. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  177. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  178. data/generated/google/apis/healthcare_v1.rb +1 -1
  179. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  180. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  181. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  182. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  183. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  184. data/generated/google/apis/language_v1.rb +1 -1
  185. data/generated/google/apis/language_v1/classes.rb +93 -111
  186. data/generated/google/apis/language_v1/service.rb +4 -4
  187. data/generated/google/apis/language_v1beta1.rb +1 -1
  188. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  189. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  190. data/generated/google/apis/language_v1beta2.rb +1 -1
  191. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  192. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  193. data/generated/google/apis/libraryagent_v1.rb +1 -1
  194. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  195. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  196. data/generated/google/apis/logging_v2.rb +1 -1
  197. data/generated/google/apis/logging_v2/classes.rb +6 -6
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  200. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  201. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  202. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  203. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  204. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  205. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  206. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  207. data/generated/google/apis/memcache_v1.rb +35 -0
  208. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  209. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  210. data/generated/google/apis/memcache_v1/service.rb +558 -0
  211. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  212. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  213. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  214. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  215. data/generated/google/apis/monitoring_v1.rb +1 -1
  216. data/generated/google/apis/monitoring_v1/classes.rb +12 -11
  217. data/generated/google/apis/monitoring_v3.rb +1 -1
  218. data/generated/google/apis/monitoring_v3/classes.rb +31 -14
  219. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  220. data/generated/google/apis/osconfig_v1.rb +1 -1
  221. data/generated/google/apis/osconfig_v1/classes.rb +721 -0
  222. data/generated/google/apis/osconfig_v1/representations.rb +337 -0
  223. data/generated/google/apis/people_v1.rb +1 -1
  224. data/generated/google/apis/people_v1/classes.rb +148 -13
  225. data/generated/google/apis/people_v1/representations.rb +57 -0
  226. data/generated/google/apis/people_v1/service.rb +60 -48
  227. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  228. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  229. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  230. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  231. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  232. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  233. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  234. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  235. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  236. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  237. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  238. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  239. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  240. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  241. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  242. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  243. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  244. data/generated/google/apis/recommender_v1.rb +1 -1
  245. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  246. data/generated/google/apis/recommender_v1/service.rb +43 -58
  247. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  248. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  249. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  250. data/generated/google/apis/run_v1.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +2 -2
  252. data/generated/google/apis/run_v1/service.rb +38 -2
  253. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  254. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  255. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  256. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  257. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  258. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  259. data/generated/google/apis/searchconsole_v1.rb +1 -1
  260. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  261. data/generated/google/apis/securitycenter_v1.rb +1 -1
  262. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  263. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  264. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  265. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  266. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  267. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  268. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  269. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  270. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  272. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
  275. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
  276. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  278. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  279. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  280. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  281. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  282. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  283. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  284. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  285. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  286. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  287. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  288. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  289. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  290. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  291. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  292. data/generated/google/apis/serviceusage_v1.rb +1 -1
  293. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  294. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  295. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  296. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  297. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  298. data/generated/google/apis/spanner_v1.rb +1 -1
  299. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  300. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  301. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  302. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  303. data/generated/google/apis/tagmanager_v1.rb +2 -3
  304. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  305. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  306. data/generated/google/apis/tagmanager_v2.rb +2 -3
  307. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  308. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  309. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  310. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  311. data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
  312. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  313. data/generated/google/apis/tpu_v1.rb +1 -1
  314. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  315. data/generated/google/apis/tpu_v1/service.rb +21 -25
  316. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  317. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  318. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/translate_v3/service.rb +14 -1
  321. data/generated/google/apis/translate_v3beta1.rb +1 -1
  322. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  323. data/generated/google/apis/vision_v1.rb +1 -1
  324. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  325. data/generated/google/apis/vision_v1/service.rb +254 -340
  326. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  327. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  328. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  329. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  330. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  331. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  332. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  333. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  334. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  335. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  336. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  337. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  338. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  339. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  340. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  341. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  342. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  343. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  346. data/generated/google/apis/youtube_v3.rb +1 -1
  347. data/generated/google/apis/youtube_v3/classes.rb +937 -1175
  348. data/generated/google/apis/youtube_v3/service.rb +975 -1284
  349. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  350. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  351. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  352. data/lib/google/apis/core/base_service.rb +7 -1
  353. data/lib/google/apis/version.rb +1 -1
  354. metadata +15 -7
  355. data/generated/google/apis/fitness_v1.rb +0 -85
  356. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  357. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  358. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -84,8 +84,7 @@ module Google
84
84
  # @param [String] filter
85
85
  # The standard list filter.
86
86
  # @param [Boolean] include_unrevealed_locations
87
- # If true, the returned list will include locations which are not yet
88
- # revealed.
87
+ # If true, the returned list will include locations which are not yet revealed.
89
88
  # @param [Fixnum] page_size
90
89
  # The standard list page size.
91
90
  # @param [String] page_token
@@ -123,8 +122,8 @@ module Google
123
122
 
124
123
  # Adds an AD trust to a domain.
125
124
  # @param [String] name
126
- # Required. The resource domain name, project name and location using the form:
127
- # `projects/`project_id`/locations/global/domains/`domain_name``
125
+ # Required. The resource domain name, project name and location using the form: `
126
+ # projects/`project_id`/locations/global/domains/`domain_name``
128
127
  # @param [Google::Apis::ManagedidentitiesV1beta1::AttachTrustRequest] attach_trust_request_object
129
128
  # @param [String] fields
130
129
  # Selector specifying which fields to include in a partial response.
@@ -157,21 +156,17 @@ module Google
157
156
 
158
157
  # Creates a Microsoft AD domain.
159
158
  # @param [String] parent
160
- # Required. The resource project name and location using the form:
161
- # `projects/`project_id`/locations/global`
159
+ # Required. The resource project name and location using the form: `projects/`
160
+ # project_id`/locations/global`
162
161
  # @param [Google::Apis::ManagedidentitiesV1beta1::Domain] domain_object
163
162
  # @param [String] domain_name
164
163
  # Required. A domain name, e.g. mydomain.myorg.com, with the following
165
- # restrictions:
166
- # * Must contain only lowercase letters, numbers, periods and hyphens.
167
- # * Must start with a letter.
168
- # * Must contain between 2-64 characters.
169
- # * Must end with a number or a letter.
170
- # * Must not start with period.
171
- # * First segement length (mydomain form example above) shouldn't exceed
172
- # 15 chars.
173
- # * The last segment cannot be fully numeric.
174
- # * Must be unique within the customer project.
164
+ # restrictions: * Must contain only lowercase letters, numbers, periods and
165
+ # hyphens. * Must start with a letter. * Must contain between 2-64 characters. *
166
+ # Must end with a number or a letter. * Must not start with period. * First
167
+ # segement length (mydomain form example above) shouldn't exceed 15 chars. * The
168
+ # last segment cannot be fully numeric. * Must be unique within the customer
169
+ # project.
175
170
  # @param [String] fields
176
171
  # Selector specifying which fields to include in a partial response.
177
172
  # @param [String] quota_user
@@ -204,8 +199,8 @@ module Google
204
199
 
205
200
  # Deletes a domain.
206
201
  # @param [String] name
207
- # Required. The domain resource name using the form:
208
- # `projects/`project_id`/locations/global/domains/`domain_name``
202
+ # Required. The domain resource name using the form: `projects/`project_id`/
203
+ # locations/global/domains/`domain_name``
209
204
  # @param [String] fields
210
205
  # Selector specifying which fields to include in a partial response.
211
206
  # @param [String] quota_user
@@ -269,8 +264,8 @@ module Google
269
264
 
270
265
  # Gets information about a domain.
271
266
  # @param [String] name
272
- # Required. The domain resource name using the form:
273
- # `projects/`project_id`/locations/global/domains/`domain_name``
267
+ # Required. The domain resource name using the form: `projects/`project_id`/
268
+ # locations/global/domains/`domain_name``
274
269
  # @param [String] fields
275
270
  # Selector specifying which fields to include in a partial response.
276
271
  # @param [String] quota_user
@@ -298,22 +293,19 @@ module Google
298
293
  execute_or_queue_command(command, &block)
299
294
  end
300
295
 
301
- # Gets the access control policy for a resource.
302
- # Returns an empty policy if the resource exists and does not have a policy
303
- # set.
296
+ # Gets the access control policy for a resource. Returns an empty policy if the
297
+ # resource exists and does not have a policy set.
304
298
  # @param [String] resource
305
- # REQUIRED: The resource for which the policy is being requested.
306
- # See the operation documentation for the appropriate value for this field.
299
+ # REQUIRED: The resource for which the policy is being requested. See the
300
+ # operation documentation for the appropriate value for this field.
307
301
  # @param [Fixnum] options_requested_policy_version
308
- # Optional. The policy format version to be returned.
309
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
310
- # rejected.
311
- # Requests for policies with any conditional bindings must specify version 3.
312
- # Policies without any conditional bindings may specify any valid value or
313
- # leave the field unset.
314
- # To learn which resources support conditions in their IAM policies, see the
315
- # [IAM
316
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
302
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
303
+ # 3. Requests specifying an invalid value will be rejected. Requests for
304
+ # policies with any conditional bindings must specify version 3. Policies
305
+ # without any conditional bindings may specify any valid value or leave the
306
+ # field unset. To learn which resources support conditions in their IAM policies,
307
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
308
+ # resource-policies).
317
309
  # @param [String] fields
318
310
  # Selector specifying which fields to include in a partial response.
319
311
  # @param [String] quota_user
@@ -344,23 +336,19 @@ module Google
344
336
 
345
337
  # Lists domains in a project.
346
338
  # @param [String] parent
347
- # Required. The resource name of the domain location using the form:
348
- # `projects/`project_id`/locations/global`
339
+ # Required. The resource name of the domain location using the form: `projects/`
340
+ # project_id`/locations/global`
349
341
  # @param [String] filter
350
- # Optional. A filter specifying constraints of a list operation.
351
- # For example, `Domain.fqdn="mydomain.myorginization"`.
342
+ # Optional. A filter specifying constraints of a list operation. For example, `
343
+ # Domain.fqdn="mydomain.myorginization"`.
352
344
  # @param [String] order_by
353
- # Optional. Specifies the ordering of results. See
354
- # [Sorting
355
- # order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
356
- # for more information.
345
+ # Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
346
+ # google.com/apis/design/design_patterns#sorting_order) for more information.
357
347
  # @param [Fixnum] page_size
358
- # Optional. The maximum number of items to return.
359
- # If not specified, a default value of 1000 will be used.
360
- # Regardless of the page_size value, the response may include a partial list.
361
- # Callers should rely on a response's
362
- # next_page_token
363
- # to determine if there are additional results to list.
348
+ # Optional. The maximum number of items to return. If not specified, a default
349
+ # value of 1000 will be used. Regardless of the page_size value, the response
350
+ # may include a partial list. Callers should rely on a response's
351
+ # next_page_token to determine if there are additional results to list.
364
352
  # @param [String] page_token
365
353
  # The `next_page_token` value returned from a previous ListDomainsRequest
366
354
  # request, if any.
@@ -397,16 +385,13 @@ module Google
397
385
 
398
386
  # Updates the metadata and configuration of a domain.
399
387
  # @param [String] name
400
- # Output only. The unique name of the domain using the form:
401
- # `projects/`project_id`/locations/global/domains/`domain_name``.
388
+ # Output only. The unique name of the domain using the form: `projects/`
389
+ # project_id`/locations/global/domains/`domain_name``.
402
390
  # @param [Google::Apis::ManagedidentitiesV1beta1::Domain] domain_object
403
391
  # @param [String] update_mask
404
392
  # Required. Mask of fields to update. At least one path must be supplied in this
405
- # field. The elements of the repeated paths field may only include
406
- # fields from Domain:
407
- # * `labels`
408
- # * `locations`
409
- # * `authorized_networks`
393
+ # field. The elements of the repeated paths field may only include fields from
394
+ # Domain: * `labels` * `locations` * `authorized_networks`
410
395
  # @param [String] fields
411
396
  # Selector specifying which fields to include in a partial response.
412
397
  # @param [String] quota_user
@@ -439,8 +424,8 @@ module Google
439
424
 
440
425
  # Updates the DNS conditional forwarder.
441
426
  # @param [String] name
442
- # Required. The resource domain name, project name and location using the form:
443
- # `projects/`project_id`/locations/global/domains/`domain_name``
427
+ # Required. The resource domain name, project name and location using the form: `
428
+ # projects/`project_id`/locations/global/domains/`domain_name``
444
429
  # @param [Google::Apis::ManagedidentitiesV1beta1::ReconfigureTrustRequest] reconfigure_trust_request_object
445
430
  # @param [String] fields
446
431
  # Selector specifying which fields to include in a partial response.
@@ -473,8 +458,8 @@ module Google
473
458
 
474
459
  # Resets a domain's administrator password.
475
460
  # @param [String] name
476
- # Required. The domain resource name using the form:
477
- # `projects/`project_id`/locations/global/domains/`domain_name``
461
+ # Required. The domain resource name using the form: `projects/`project_id`/
462
+ # locations/global/domains/`domain_name``
478
463
  # @param [Google::Apis::ManagedidentitiesV1beta1::ResetAdminPasswordRequest] reset_admin_password_request_object
479
464
  # @param [String] fields
480
465
  # Selector specifying which fields to include in a partial response.
@@ -506,11 +491,11 @@ module Google
506
491
  end
507
492
 
508
493
  # Sets the access control policy on the specified resource. Replaces any
509
- # existing policy.
510
- # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
494
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
495
+ # PERMISSION_DENIED` errors.
511
496
  # @param [String] resource
512
- # REQUIRED: The resource for which the policy is being specified.
513
- # See the operation documentation for the appropriate value for this field.
497
+ # REQUIRED: The resource for which the policy is being specified. See the
498
+ # operation documentation for the appropriate value for this field.
514
499
  # @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
515
500
  # @param [String] fields
516
501
  # Selector specifying which fields to include in a partial response.
@@ -541,15 +526,14 @@ module Google
541
526
  execute_or_queue_command(command, &block)
542
527
  end
543
528
 
544
- # Returns permissions that a caller has on the specified resource.
545
- # If the resource does not exist, this will return an empty set of
546
- # permissions, not a `NOT_FOUND` error.
547
- # Note: This operation is designed to be used for building permission-aware
548
- # UIs and command-line tools, not for authorization checking. This operation
549
- # may "fail open" without warning.
529
+ # Returns permissions that a caller has on the specified resource. If the
530
+ # resource does not exist, this will return an empty set of permissions, not a `
531
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
532
+ # permission-aware UIs and command-line tools, not for authorization checking.
533
+ # This operation may "fail open" without warning.
550
534
  # @param [String] resource
551
- # REQUIRED: The resource for which the policy detail is being requested.
552
- # See the operation documentation for the appropriate value for this field.
535
+ # REQUIRED: The resource for which the policy detail is being requested. See the
536
+ # operation documentation for the appropriate value for this field.
553
537
  # @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
554
538
  # @param [String] fields
555
539
  # Selector specifying which fields to include in a partial response.
@@ -615,15 +599,13 @@ module Google
615
599
  execute_or_queue_command(command, &block)
616
600
  end
617
601
 
618
- # Starts asynchronous cancellation on a long-running operation. The server
619
- # makes a best effort to cancel the operation, but success is not
620
- # guaranteed. If the server doesn't support this method, it returns
621
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
622
- # Operations.GetOperation or
623
- # other methods to check whether the cancellation succeeded or whether the
624
- # operation completed despite cancellation. On successful cancellation,
625
- # the operation is not deleted; instead, it becomes an operation with
626
- # an Operation.error value with a google.rpc.Status.code of 1,
602
+ # Starts asynchronous cancellation on a long-running operation. The server makes
603
+ # a best effort to cancel the operation, but success is not guaranteed. If the
604
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
605
+ # Clients can use Operations.GetOperation or other methods to check whether the
606
+ # cancellation succeeded or whether the operation completed despite cancellation.
607
+ # On successful cancellation, the operation is not deleted; instead, it becomes
608
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
627
609
  # corresponding to `Code.CANCELLED`.
628
610
  # @param [String] name
629
611
  # The name of the operation resource to be cancelled.
@@ -657,10 +639,10 @@ module Google
657
639
  execute_or_queue_command(command, &block)
658
640
  end
659
641
 
660
- # Deletes a long-running operation. This method indicates that the client is
661
- # no longer interested in the operation result. It does not cancel the
662
- # operation. If the server doesn't support this method, it returns
663
- # `google.rpc.Code.UNIMPLEMENTED`.
642
+ # Deletes a long-running operation. This method indicates that the client is no
643
+ # longer interested in the operation result. It does not cancel the operation.
644
+ # If the server doesn't support this method, it returns `google.rpc.Code.
645
+ # UNIMPLEMENTED`.
664
646
  # @param [String] name
665
647
  # The name of the operation resource to be deleted.
666
648
  # @param [String] fields
@@ -690,9 +672,8 @@ module Google
690
672
  execute_or_queue_command(command, &block)
691
673
  end
692
674
 
693
- # Gets the latest state of a long-running operation. Clients can use this
694
- # method to poll the operation result at intervals as recommended by the API
695
- # service.
675
+ # Gets the latest state of a long-running operation. Clients can use this method
676
+ # to poll the operation result at intervals as recommended by the API service.
696
677
  # @param [String] name
697
678
  # The name of the operation resource.
698
679
  # @param [String] fields
@@ -722,15 +703,14 @@ module Google
722
703
  execute_or_queue_command(command, &block)
723
704
  end
724
705
 
725
- # Lists operations that match the specified filter in the request. If the
726
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
727
- # NOTE: the `name` binding allows API services to override the binding
728
- # to use different resource name schemes, such as `users/*/operations`. To
729
- # override the binding, API services can add a binding such as
730
- # `"/v1/`name=users/*`/operations"` to their service configuration.
731
- # For backwards compatibility, the default name includes the operations
732
- # collection id, however overriding users must ensure the name binding
733
- # is the parent resource, without the operations collection id.
706
+ # Lists operations that match the specified filter in the request. If the server
707
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
708
+ # binding allows API services to override the binding to use different resource
709
+ # name schemes, such as `users/*/operations`. To override the binding, API
710
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
711
+ # service configuration. For backwards compatibility, the default name includes
712
+ # the operations collection id, however overriding users must ensure the name
713
+ # binding is the parent resource, without the operations collection id.
734
714
  # @param [String] name
735
715
  # The name of the operation's parent resource.
736
716
  # @param [String] filter
@@ -0,0 +1,35 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/memcache_v1/service.rb'
16
+ require 'google/apis/memcache_v1/classes.rb'
17
+ require 'google/apis/memcache_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Cloud Memorystore for Memcached API
22
+ #
23
+ # Google Cloud Memorystore for Memcached API is used for creating and managing
24
+ # Memcached instances in GCP.
25
+ #
26
+ # @see https://cloud.google.com/memorystore/
27
+ module MemcacheV1
28
+ VERSION = 'V1'
29
+ REVISION = '20200729'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,1157 @@
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 MemcacheV1
24
+
25
+ # Request for ApplyParameters.
26
+ class ApplyParametersRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Whether to apply instance-level parameter group to all nodes. If set to
30
+ # true, will explicitly restrict users from specifying any nodes, and apply
31
+ # parameter group updates to all nodes within the instance.
32
+ # Corresponds to the JSON property `applyAll`
33
+ # @return [Boolean]
34
+ attr_accessor :apply_all
35
+ alias_method :apply_all?, :apply_all
36
+
37
+ # Nodes to which we should apply the instance-level parameter group.
38
+ # Corresponds to the JSON property `nodeIds`
39
+ # @return [Array<String>]
40
+ attr_accessor :node_ids
41
+
42
+ def initialize(**args)
43
+ update!(**args)
44
+ end
45
+
46
+ # Update properties of this object
47
+ def update!(**args)
48
+ @apply_all = args[:apply_all] if args.key?(:apply_all)
49
+ @node_ids = args[:node_ids] if args.key?(:node_ids)
50
+ end
51
+ end
52
+
53
+ # The request message for Operations.CancelOperation.
54
+ class CancelOperationRequest
55
+ include Google::Apis::Core::Hashable
56
+
57
+ def initialize(**args)
58
+ update!(**args)
59
+ end
60
+
61
+ # Update properties of this object
62
+ def update!(**args)
63
+ end
64
+ end
65
+
66
+ # A generic empty message that you can re-use to avoid defining duplicated
67
+ # empty messages in your APIs. A typical example is to use it as the request
68
+ # or the response type of an API method. For instance:
69
+ # service Foo `
70
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
71
+ # `
72
+ # The JSON representation for `Empty` is empty JSON object ````.
73
+ class Empty
74
+ include Google::Apis::Core::Hashable
75
+
76
+ def initialize(**args)
77
+ update!(**args)
78
+ end
79
+
80
+ # Update properties of this object
81
+ def update!(**args)
82
+ end
83
+ end
84
+
85
+ # Represents the metadata of a long-running operation.
86
+ class GoogleCloudMemcacheV1OperationMetadata
87
+ include Google::Apis::Core::Hashable
88
+
89
+ # Output only. API version used to start the operation.
90
+ # Corresponds to the JSON property `apiVersion`
91
+ # @return [String]
92
+ attr_accessor :api_version
93
+
94
+ # Output only. Identifies whether the user has requested cancellation
95
+ # of the operation. Operations that have successfully been cancelled
96
+ # have Operation.error value with a google.rpc.Status.code of 1,
97
+ # corresponding to `Code.CANCELLED`.
98
+ # Corresponds to the JSON property `cancelRequested`
99
+ # @return [Boolean]
100
+ attr_accessor :cancel_requested
101
+ alias_method :cancel_requested?, :cancel_requested
102
+
103
+ # Output only. Time when the operation was created.
104
+ # Corresponds to the JSON property `createTime`
105
+ # @return [String]
106
+ attr_accessor :create_time
107
+
108
+ # Output only. Time when the operation finished running.
109
+ # Corresponds to the JSON property `endTime`
110
+ # @return [String]
111
+ attr_accessor :end_time
112
+
113
+ # Output only. Human-readable status of the operation, if any.
114
+ # Corresponds to the JSON property `statusDetail`
115
+ # @return [String]
116
+ attr_accessor :status_detail
117
+
118
+ # Output only. Server-defined resource path for the target of the operation.
119
+ # Corresponds to the JSON property `target`
120
+ # @return [String]
121
+ attr_accessor :target
122
+
123
+ # Output only. Name of the verb executed by the operation.
124
+ # Corresponds to the JSON property `verb`
125
+ # @return [String]
126
+ attr_accessor :verb
127
+
128
+ def initialize(**args)
129
+ update!(**args)
130
+ end
131
+
132
+ # Update properties of this object
133
+ def update!(**args)
134
+ @api_version = args[:api_version] if args.key?(:api_version)
135
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
136
+ @create_time = args[:create_time] if args.key?(:create_time)
137
+ @end_time = args[:end_time] if args.key?(:end_time)
138
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
139
+ @target = args[:target] if args.key?(:target)
140
+ @verb = args[:verb] if args.key?(:verb)
141
+ end
142
+ end
143
+
144
+ #
145
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
146
+ include Google::Apis::Core::Hashable
147
+
148
+ # consumer_defined_name is the name that is set by the consumer. On the other
149
+ # hand Name field represents system-assigned id of an instance so consumers
150
+ # are not necessarily aware of it.
151
+ # consumer_defined_name is used for notification/UI purposes for consumer to
152
+ # recognize their instances.
153
+ # Corresponds to the JSON property `consumerDefinedName`
154
+ # @return [String]
155
+ attr_accessor :consumer_defined_name
156
+
157
+ # Output only. Timestamp when the resource was created.
158
+ # Corresponds to the JSON property `createTime`
159
+ # @return [String]
160
+ attr_accessor :create_time
161
+
162
+ # Optional. Resource labels to represent user provided metadata. Each label
163
+ # is a key-value pair, where both the key and the value are arbitrary strings
164
+ # provided by the user.
165
+ # Corresponds to the JSON property `labels`
166
+ # @return [Hash<String,String>]
167
+ attr_accessor :labels
168
+
169
+ # The MaintenancePolicies that have been attached to the instance.
170
+ # The key must be of the type name of the oneof policy name defined in
171
+ # MaintenancePolicy, and the referenced policy must define the same policy
172
+ # type. For complete details of MaintenancePolicy, please refer to
173
+ # go/cloud-saas-mw-ug.
174
+ # Corresponds to the JSON property `maintenancePolicyNames`
175
+ # @return [Hash<String,String>]
176
+ attr_accessor :maintenance_policy_names
177
+
178
+ # The MaintenanceSchedule contains the scheduling information of published
179
+ # maintenance schedule.
180
+ # Corresponds to the JSON property `maintenanceSchedules`
181
+ # @return [Hash<String,Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
182
+ attr_accessor :maintenance_schedules
183
+
184
+ # Maintenance settings associated with instance. Allows service producers and
185
+ # end users to assign settings that controls maintenance on this instance.
186
+ # Corresponds to the JSON property `maintenanceSettings`
187
+ # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
188
+ attr_accessor :maintenance_settings
189
+
190
+ # Unique name of the resource. It uses the form:
191
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
192
+ # Corresponds to the JSON property `name`
193
+ # @return [String]
194
+ attr_accessor :name
195
+
196
+ # Output only. Custom string attributes used primarily to expose
197
+ # producer-specific information in monitoring dashboards.
198
+ # See go/get-instance-metadata.
199
+ # Corresponds to the JSON property `producerMetadata`
200
+ # @return [Hash<String,String>]
201
+ attr_accessor :producer_metadata
202
+
203
+ # Output only. The list of data plane resources provisioned for this
204
+ # instance, e.g. compute VMs. See go/get-instance-metadata.
205
+ # Corresponds to the JSON property `provisionedResources`
206
+ # @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
207
+ attr_accessor :provisioned_resources
208
+
209
+ # Link to the SLM instance template. Only populated when updating SLM
210
+ # instances via SSA's Actuation service adaptor.
211
+ # Service producers with custom control plane (e.g. Cloud SQL) doesn't
212
+ # need to populate this field. Instead they should use software_versions.
213
+ # Corresponds to the JSON property `slmInstanceTemplate`
214
+ # @return [String]
215
+ attr_accessor :slm_instance_template
216
+
217
+ # SloMetadata contains resources required for proper SLO classification of the
218
+ # instance.
219
+ # Corresponds to the JSON property `sloMetadata`
220
+ # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
221
+ attr_accessor :slo_metadata
222
+
223
+ # Software versions that are used to deploy this instance. This can be
224
+ # mutated by rollout services.
225
+ # Corresponds to the JSON property `softwareVersions`
226
+ # @return [Hash<String,String>]
227
+ attr_accessor :software_versions
228
+
229
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
230
+ # created or ready to use).
231
+ # Corresponds to the JSON property `state`
232
+ # @return [String]
233
+ attr_accessor :state
234
+
235
+ # Output only. ID of the associated GCP tenant project.
236
+ # See go/get-instance-metadata.
237
+ # Corresponds to the JSON property `tenantProjectId`
238
+ # @return [String]
239
+ attr_accessor :tenant_project_id
240
+
241
+ # Output only. Timestamp when the resource was last modified.
242
+ # Corresponds to the JSON property `updateTime`
243
+ # @return [String]
244
+ attr_accessor :update_time
245
+
246
+ def initialize(**args)
247
+ update!(**args)
248
+ end
249
+
250
+ # Update properties of this object
251
+ def update!(**args)
252
+ @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
253
+ @create_time = args[:create_time] if args.key?(:create_time)
254
+ @labels = args[:labels] if args.key?(:labels)
255
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
256
+ @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
257
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
258
+ @name = args[:name] if args.key?(:name)
259
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
260
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
261
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
262
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
263
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
264
+ @state = args[:state] if args.key?(:state)
265
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
266
+ @update_time = args[:update_time] if args.key?(:update_time)
267
+ end
268
+ end
269
+
270
+ # Maintenance schedule which is exposed to customer and potentially end user,
271
+ # indicating published upcoming future maintenance schedule
272
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # Can this scheduled update be rescheduled?
276
+ # By default, it's true and API needs to do explicitly check whether it's
277
+ # set, if it's set as false explicitly, it's false
278
+ # Corresponds to the JSON property `canReschedule`
279
+ # @return [Boolean]
280
+ attr_accessor :can_reschedule
281
+ alias_method :can_reschedule?, :can_reschedule
282
+
283
+ # The scheduled end time for the maintenance.
284
+ # Corresponds to the JSON property `endTime`
285
+ # @return [String]
286
+ attr_accessor :end_time
287
+
288
+ # The rollout management policy this maintenance schedule is associated
289
+ # with. When doing reschedule update request, the reschedule should be
290
+ # against this given policy.
291
+ # Corresponds to the JSON property `rolloutManagementPolicy`
292
+ # @return [String]
293
+ attr_accessor :rollout_management_policy
294
+
295
+ # The scheduled start time for the maintenance.
296
+ # Corresponds to the JSON property `startTime`
297
+ # @return [String]
298
+ attr_accessor :start_time
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
307
+ @end_time = args[:end_time] if args.key?(:end_time)
308
+ @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
309
+ @start_time = args[:start_time] if args.key?(:start_time)
310
+ end
311
+ end
312
+
313
+ # Maintenance settings associated with instance. Allows service producers and
314
+ # end users to assign settings that controls maintenance on this instance.
315
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
316
+ include Google::Apis::Core::Hashable
317
+
318
+ # Optional. Exclude instance from maintenance. When true, rollout service will
319
+ # not
320
+ # attempt maintenance on the instance. Rollout service will include the
321
+ # instance in reported rollout progress as not attempted.
322
+ # Corresponds to the JSON property `exclude`
323
+ # @return [Boolean]
324
+ attr_accessor :exclude
325
+ alias_method :exclude?, :exclude
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @exclude = args[:exclude] if args.key?(:exclude)
334
+ end
335
+ end
336
+
337
+ # Node information for custom per-node SLO implementations.
338
+ # SSA does not support per-node SLO, but producers can populate per-node
339
+ # information in SloMetadata for custom precomputations.
340
+ # SSA Eligibility Exporter will emit per-node metric based on this information.
341
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
342
+ include Google::Apis::Core::Hashable
343
+
344
+ # By default node is eligible if instance is eligible.
345
+ # But individual node might be excluded from SLO by adding entry here.
346
+ # For semantic see SloMetadata.exclusions.
347
+ # If both instance and node level exclusions are present for time period,
348
+ # the node level's reason will be reported by Eligibility Exporter.
349
+ # Corresponds to the JSON property `exclusions`
350
+ # @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
351
+ attr_accessor :exclusions
352
+
353
+ # The location of the node, if different from instance location.
354
+ # Corresponds to the JSON property `location`
355
+ # @return [String]
356
+ attr_accessor :location
357
+
358
+ # The id of the node.
359
+ # This should be equal to SaasInstanceNode.node_id.
360
+ # Corresponds to the JSON property `nodeId`
361
+ # @return [String]
362
+ attr_accessor :node_id
363
+
364
+ def initialize(**args)
365
+ update!(**args)
366
+ end
367
+
368
+ # Update properties of this object
369
+ def update!(**args)
370
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
371
+ @location = args[:location] if args.key?(:location)
372
+ @node_id = args[:node_id] if args.key?(:node_id)
373
+ end
374
+ end
375
+
376
+ # Describes provisioned dataplane resources.
377
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # Type of the resource. This can be either a GCP resource or a custom one
381
+ # (e.g. another cloud provider's VM). For GCP compute resources use singular
382
+ # form of the names listed in GCP compute API documentation
383
+ # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
384
+ # 'compute-', for example: 'compute-instance', 'compute-disk',
385
+ # 'compute-autoscaler'.
386
+ # Corresponds to the JSON property `resourceType`
387
+ # @return [String]
388
+ attr_accessor :resource_type
389
+
390
+ # URL identifying the resource, e.g.
391
+ # "https://www.googleapis.com/compute/v1/projects/...)".
392
+ # Corresponds to the JSON property `resourceUrl`
393
+ # @return [String]
394
+ attr_accessor :resource_url
395
+
396
+ def initialize(**args)
397
+ update!(**args)
398
+ end
399
+
400
+ # Update properties of this object
401
+ def update!(**args)
402
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
403
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
404
+ end
405
+ end
406
+
407
+ # SloEligibility is a tuple containing eligibility value: true if an instance
408
+ # is eligible for SLO calculation or false if it should be excluded from all
409
+ # SLO-related calculations along with a user-defined reason.
410
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
411
+ include Google::Apis::Core::Hashable
412
+
413
+ # Whether an instance is eligible or ineligible.
414
+ # Corresponds to the JSON property `eligible`
415
+ # @return [Boolean]
416
+ attr_accessor :eligible
417
+ alias_method :eligible?, :eligible
418
+
419
+ # User-defined reason for the current value of instance eligibility. Usually,
420
+ # this can be directly mapped to the internal state. An empty reason is
421
+ # allowed.
422
+ # Corresponds to the JSON property `reason`
423
+ # @return [String]
424
+ attr_accessor :reason
425
+
426
+ def initialize(**args)
427
+ update!(**args)
428
+ end
429
+
430
+ # Update properties of this object
431
+ def update!(**args)
432
+ @eligible = args[:eligible] if args.key?(:eligible)
433
+ @reason = args[:reason] if args.key?(:reason)
434
+ end
435
+ end
436
+
437
+ # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
438
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
439
+ include Google::Apis::Core::Hashable
440
+
441
+ # Exclusion duration. No restrictions on the possible values.
442
+ # When an ongoing operation is taking longer than initially expected,
443
+ # an existing entry in the exclusion list can be updated by extending the
444
+ # duration. This is supported by the subsystem exporting eligibility data
445
+ # as long as such extension is committed at least 10 minutes before the
446
+ # original exclusion expiration - otherwise it is possible that there will
447
+ # be "gaps" in the exclusion application in the exported timeseries.
448
+ # Corresponds to the JSON property `duration`
449
+ # @return [String]
450
+ attr_accessor :duration
451
+
452
+ # Human-readable reason for the exclusion.
453
+ # This should be a static string (e.g. "Disruptive update in progress")
454
+ # and should not contain dynamically generated data (e.g. instance name).
455
+ # Can be left empty.
456
+ # Corresponds to the JSON property `reason`
457
+ # @return [String]
458
+ attr_accessor :reason
459
+
460
+ # Name of an SLI that this exclusion applies to. Can be left empty,
461
+ # signaling that the instance should be excluded from all SLIs defined
462
+ # in the service SLO configuration.
463
+ # Corresponds to the JSON property `sliName`
464
+ # @return [String]
465
+ attr_accessor :sli_name
466
+
467
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
468
+ # Corresponds to the JSON property `startTime`
469
+ # @return [String]
470
+ attr_accessor :start_time
471
+
472
+ def initialize(**args)
473
+ update!(**args)
474
+ end
475
+
476
+ # Update properties of this object
477
+ def update!(**args)
478
+ @duration = args[:duration] if args.key?(:duration)
479
+ @reason = args[:reason] if args.key?(:reason)
480
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
481
+ @start_time = args[:start_time] if args.key?(:start_time)
482
+ end
483
+ end
484
+
485
+ # SloMetadata contains resources required for proper SLO classification of the
486
+ # instance.
487
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
488
+ include Google::Apis::Core::Hashable
489
+
490
+ # SloEligibility is a tuple containing eligibility value: true if an instance
491
+ # is eligible for SLO calculation or false if it should be excluded from all
492
+ # SLO-related calculations along with a user-defined reason.
493
+ # Corresponds to the JSON property `eligibility`
494
+ # @return [Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
495
+ attr_accessor :eligibility
496
+
497
+ # List of SLO exclusion windows. When multiple entries in the list match
498
+ # (matching the exclusion time-window against current time point)
499
+ # the exclusion reason used in the first matching entry will be published.
500
+ # It is not needed to include expired exclusion in this list, as only the
501
+ # currently applicable exclusions are taken into account by the eligibility
502
+ # exporting subsystem (the historical state of exclusions will be reflected
503
+ # in the historically produced timeseries regardless of the current state).
504
+ # This field can be used to mark the instance as temporary ineligible
505
+ # for the purpose of SLO calculation. For permanent instance SLO exclusion,
506
+ # use of custom instance eligibility is recommended. See 'eligibility' field
507
+ # below.
508
+ # Corresponds to the JSON property `exclusions`
509
+ # @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
510
+ attr_accessor :exclusions
511
+
512
+ # Optional. List of nodes.
513
+ # Some producers need to use per-node metadata to calculate SLO.
514
+ # This field allows such producers to publish per-node SLO meta data,
515
+ # which will be consumed by SSA Eligibility Exporter and published in the
516
+ # form of per node metric to Monarch.
517
+ # Corresponds to the JSON property `nodes`
518
+ # @return [Array<Google::Apis::MemcacheV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
519
+ attr_accessor :nodes
520
+
521
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
522
+ # match the tiers specified in the service SLO configuration.
523
+ # Field is mandatory and must not be empty.
524
+ # Corresponds to the JSON property `tier`
525
+ # @return [String]
526
+ attr_accessor :tier
527
+
528
+ def initialize(**args)
529
+ update!(**args)
530
+ end
531
+
532
+ # Update properties of this object
533
+ def update!(**args)
534
+ @eligibility = args[:eligibility] if args.key?(:eligibility)
535
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
536
+ @nodes = args[:nodes] if args.key?(:nodes)
537
+ @tier = args[:tier] if args.key?(:tier)
538
+ end
539
+ end
540
+
541
+ #
542
+ class Instance
543
+ include Google::Apis::Core::Hashable
544
+
545
+ # The full name of the Google Compute Engine
546
+ # [network](/compute/docs/networks-and-firewalls#networks) to which the
547
+ # instance is connected. If left unspecified, the `default` network
548
+ # will be used.
549
+ # Corresponds to the JSON property `authorizedNetwork`
550
+ # @return [String]
551
+ attr_accessor :authorized_network
552
+
553
+ # Output only. The time the instance was created.
554
+ # Corresponds to the JSON property `createTime`
555
+ # @return [String]
556
+ attr_accessor :create_time
557
+
558
+ # Output only. Endpoint for Discovery API
559
+ # Corresponds to the JSON property `discoveryEndpoint`
560
+ # @return [String]
561
+ attr_accessor :discovery_endpoint
562
+
563
+ # User provided name for the instance only used for display
564
+ # purposes. Cannot be more than 80 characters.
565
+ # Corresponds to the JSON property `displayName`
566
+ # @return [String]
567
+ attr_accessor :display_name
568
+
569
+ # List of messages that describe current statuses of memcached instance.
570
+ # Corresponds to the JSON property `instanceMessages`
571
+ # @return [Array<Google::Apis::MemcacheV1::InstanceMessage>]
572
+ attr_accessor :instance_messages
573
+
574
+ # Resource labels to represent user-provided metadata.
575
+ # Refer to cloud documentation on labels for more details.
576
+ # https://cloud.google.com/compute/docs/labeling-resources
577
+ # Corresponds to the JSON property `labels`
578
+ # @return [Hash<String,String>]
579
+ attr_accessor :labels
580
+
581
+ # Output only. The full version of memcached server running on this instance.
582
+ # System automatically determines the full memcached version for an instance
583
+ # based on the input MemcacheVersion.
584
+ # The full version format will be "memcached-1.5.16".
585
+ # Corresponds to the JSON property `memcacheFullVersion`
586
+ # @return [String]
587
+ attr_accessor :memcache_full_version
588
+
589
+ # Output only. List of Memcached nodes.
590
+ # Refer to [Node] message for more details.
591
+ # Corresponds to the JSON property `memcacheNodes`
592
+ # @return [Array<Google::Apis::MemcacheV1::Node>]
593
+ attr_accessor :memcache_nodes
594
+
595
+ # The major version of Memcached software.
596
+ # If not provided, latest supported version will be used. Currently the
597
+ # latest supported major version is MEMCACHE_1_5.
598
+ # The minor version will be automatically determined by our system based on
599
+ # the latest supported minor version.
600
+ # Corresponds to the JSON property `memcacheVersion`
601
+ # @return [String]
602
+ attr_accessor :memcache_version
603
+
604
+ # Required. Unique name of the resource in this scope including project and
605
+ # location using the form:
606
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
607
+ # Note: Memcached instances are managed and addressed at regional level so
608
+ # location_id here refers to a GCP region; however, users may choose which
609
+ # zones Memcached nodes within an instances should be provisioned in.
610
+ # Refer to [zones] field for more details.
611
+ # Corresponds to the JSON property `name`
612
+ # @return [String]
613
+ attr_accessor :name
614
+
615
+ # Configuration for a Memcached Node.
616
+ # Corresponds to the JSON property `nodeConfig`
617
+ # @return [Google::Apis::MemcacheV1::NodeConfig]
618
+ attr_accessor :node_config
619
+
620
+ # Required. Number of nodes in the Memcached instance.
621
+ # Corresponds to the JSON property `nodeCount`
622
+ # @return [Fixnum]
623
+ attr_accessor :node_count
624
+
625
+ # Optional: User defined parameters to apply to the memcached process
626
+ # on each node.
627
+ # Corresponds to the JSON property `parameters`
628
+ # @return [Google::Apis::MemcacheV1::MemcacheParameters]
629
+ attr_accessor :parameters
630
+
631
+ # Output only. The state of this Memcached instance.
632
+ # Corresponds to the JSON property `state`
633
+ # @return [String]
634
+ attr_accessor :state
635
+
636
+ # Output only. The time the instance was updated.
637
+ # Corresponds to the JSON property `updateTime`
638
+ # @return [String]
639
+ attr_accessor :update_time
640
+
641
+ # Zones where Memcached nodes should be provisioned in.
642
+ # Memcached nodes will be equally distributed across these zones. If not
643
+ # provided, the service will by default create nodes in all zones in the
644
+ # region for the instance.
645
+ # Corresponds to the JSON property `zones`
646
+ # @return [Array<String>]
647
+ attr_accessor :zones
648
+
649
+ def initialize(**args)
650
+ update!(**args)
651
+ end
652
+
653
+ # Update properties of this object
654
+ def update!(**args)
655
+ @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
656
+ @create_time = args[:create_time] if args.key?(:create_time)
657
+ @discovery_endpoint = args[:discovery_endpoint] if args.key?(:discovery_endpoint)
658
+ @display_name = args[:display_name] if args.key?(:display_name)
659
+ @instance_messages = args[:instance_messages] if args.key?(:instance_messages)
660
+ @labels = args[:labels] if args.key?(:labels)
661
+ @memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
662
+ @memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
663
+ @memcache_version = args[:memcache_version] if args.key?(:memcache_version)
664
+ @name = args[:name] if args.key?(:name)
665
+ @node_config = args[:node_config] if args.key?(:node_config)
666
+ @node_count = args[:node_count] if args.key?(:node_count)
667
+ @parameters = args[:parameters] if args.key?(:parameters)
668
+ @state = args[:state] if args.key?(:state)
669
+ @update_time = args[:update_time] if args.key?(:update_time)
670
+ @zones = args[:zones] if args.key?(:zones)
671
+ end
672
+ end
673
+
674
+ #
675
+ class InstanceMessage
676
+ include Google::Apis::Core::Hashable
677
+
678
+ # A code that correspond to one type of user-facing message.
679
+ # Corresponds to the JSON property `code`
680
+ # @return [String]
681
+ attr_accessor :code
682
+
683
+ # Message on memcached instance which will be exposed to users.
684
+ # Corresponds to the JSON property `message`
685
+ # @return [String]
686
+ attr_accessor :message
687
+
688
+ def initialize(**args)
689
+ update!(**args)
690
+ end
691
+
692
+ # Update properties of this object
693
+ def update!(**args)
694
+ @code = args[:code] if args.key?(:code)
695
+ @message = args[:message] if args.key?(:message)
696
+ end
697
+ end
698
+
699
+ # Response for ListInstances.
700
+ class ListInstancesResponse
701
+ include Google::Apis::Core::Hashable
702
+
703
+ # Token to retrieve the next page of results, or empty if there are no more
704
+ # results in the list.
705
+ # Corresponds to the JSON property `nextPageToken`
706
+ # @return [String]
707
+ attr_accessor :next_page_token
708
+
709
+ # A list of Memcached instances in the project in the specified location,
710
+ # or across all locations.
711
+ # If the `location_id` in the parent field of the request is "-", all regions
712
+ # available to the project are queried, and the results aggregated.
713
+ # Corresponds to the JSON property `resources`
714
+ # @return [Array<Google::Apis::MemcacheV1::Instance>]
715
+ attr_accessor :resources
716
+
717
+ # Locations that could not be reached.
718
+ # Corresponds to the JSON property `unreachable`
719
+ # @return [Array<String>]
720
+ attr_accessor :unreachable
721
+
722
+ def initialize(**args)
723
+ update!(**args)
724
+ end
725
+
726
+ # Update properties of this object
727
+ def update!(**args)
728
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
729
+ @resources = args[:resources] if args.key?(:resources)
730
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
731
+ end
732
+ end
733
+
734
+ # The response message for Locations.ListLocations.
735
+ class ListLocationsResponse
736
+ include Google::Apis::Core::Hashable
737
+
738
+ # A list of locations that matches the specified filter in the request.
739
+ # Corresponds to the JSON property `locations`
740
+ # @return [Array<Google::Apis::MemcacheV1::Location>]
741
+ attr_accessor :locations
742
+
743
+ # The standard List next-page token.
744
+ # Corresponds to the JSON property `nextPageToken`
745
+ # @return [String]
746
+ attr_accessor :next_page_token
747
+
748
+ def initialize(**args)
749
+ update!(**args)
750
+ end
751
+
752
+ # Update properties of this object
753
+ def update!(**args)
754
+ @locations = args[:locations] if args.key?(:locations)
755
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
756
+ end
757
+ end
758
+
759
+ # The response message for Operations.ListOperations.
760
+ class ListOperationsResponse
761
+ include Google::Apis::Core::Hashable
762
+
763
+ # The standard List next-page token.
764
+ # Corresponds to the JSON property `nextPageToken`
765
+ # @return [String]
766
+ attr_accessor :next_page_token
767
+
768
+ # A list of operations that matches the specified filter in the request.
769
+ # Corresponds to the JSON property `operations`
770
+ # @return [Array<Google::Apis::MemcacheV1::Operation>]
771
+ attr_accessor :operations
772
+
773
+ def initialize(**args)
774
+ update!(**args)
775
+ end
776
+
777
+ # Update properties of this object
778
+ def update!(**args)
779
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
780
+ @operations = args[:operations] if args.key?(:operations)
781
+ end
782
+ end
783
+
784
+ # A resource that represents Google Cloud Platform location.
785
+ class Location
786
+ include Google::Apis::Core::Hashable
787
+
788
+ # The friendly name for this location, typically a nearby city name.
789
+ # For example, "Tokyo".
790
+ # Corresponds to the JSON property `displayName`
791
+ # @return [String]
792
+ attr_accessor :display_name
793
+
794
+ # Cross-service attributes for the location. For example
795
+ # `"cloud.googleapis.com/region": "us-east1"`
796
+ # Corresponds to the JSON property `labels`
797
+ # @return [Hash<String,String>]
798
+ attr_accessor :labels
799
+
800
+ # The canonical id for this location. For example: `"us-east1"`.
801
+ # Corresponds to the JSON property `locationId`
802
+ # @return [String]
803
+ attr_accessor :location_id
804
+
805
+ # Service-specific metadata. For example the available capacity at the given
806
+ # location.
807
+ # Corresponds to the JSON property `metadata`
808
+ # @return [Hash<String,Object>]
809
+ attr_accessor :metadata
810
+
811
+ # Resource name for the location, which may vary between implementations.
812
+ # For example: `"projects/example-project/locations/us-east1"`
813
+ # Corresponds to the JSON property `name`
814
+ # @return [String]
815
+ attr_accessor :name
816
+
817
+ def initialize(**args)
818
+ update!(**args)
819
+ end
820
+
821
+ # Update properties of this object
822
+ def update!(**args)
823
+ @display_name = args[:display_name] if args.key?(:display_name)
824
+ @labels = args[:labels] if args.key?(:labels)
825
+ @location_id = args[:location_id] if args.key?(:location_id)
826
+ @metadata = args[:metadata] if args.key?(:metadata)
827
+ @name = args[:name] if args.key?(:name)
828
+ end
829
+ end
830
+
831
+ # Metadata for the given google.cloud.location.Location.
832
+ class LocationMetadata
833
+ include Google::Apis::Core::Hashable
834
+
835
+ # Output only. The set of available zones in the location. The map is keyed
836
+ # by the lowercase ID of each zone, as defined by GCE. These keys can be
837
+ # specified in the `zones` field when creating a Memcached instance.
838
+ # Corresponds to the JSON property `availableZones`
839
+ # @return [Hash<String,Google::Apis::MemcacheV1::ZoneMetadata>]
840
+ attr_accessor :available_zones
841
+
842
+ def initialize(**args)
843
+ update!(**args)
844
+ end
845
+
846
+ # Update properties of this object
847
+ def update!(**args)
848
+ @available_zones = args[:available_zones] if args.key?(:available_zones)
849
+ end
850
+ end
851
+
852
+ #
853
+ class MemcacheParameters
854
+ include Google::Apis::Core::Hashable
855
+
856
+ # Output only. The unique ID associated with this set of parameters. Users
857
+ # can use this id to determine if the parameters associated with the instance
858
+ # differ from the parameters associated with the nodes and any action needs
859
+ # to be taken to apply parameters on nodes.
860
+ # Corresponds to the JSON property `id`
861
+ # @return [String]
862
+ attr_accessor :id
863
+
864
+ # User defined set of parameters to use in the memcached process.
865
+ # Corresponds to the JSON property `params`
866
+ # @return [Hash<String,String>]
867
+ attr_accessor :params
868
+
869
+ def initialize(**args)
870
+ update!(**args)
871
+ end
872
+
873
+ # Update properties of this object
874
+ def update!(**args)
875
+ @id = args[:id] if args.key?(:id)
876
+ @params = args[:params] if args.key?(:params)
877
+ end
878
+ end
879
+
880
+ #
881
+ class Node
882
+ include Google::Apis::Core::Hashable
883
+
884
+ # Output only. Hostname or IP address of the Memcached node used by the
885
+ # clients to connect to the Memcached server on this node.
886
+ # Corresponds to the JSON property `host`
887
+ # @return [String]
888
+ attr_accessor :host
889
+
890
+ # Output only. Identifier of the Memcached node. The node id does not
891
+ # include project or location like the Memcached instance name.
892
+ # Corresponds to the JSON property `nodeId`
893
+ # @return [String]
894
+ attr_accessor :node_id
895
+
896
+ # User defined parameters currently applied to the node.
897
+ # Corresponds to the JSON property `parameters`
898
+ # @return [Google::Apis::MemcacheV1::MemcacheParameters]
899
+ attr_accessor :parameters
900
+
901
+ # Output only. The port number of the Memcached server on this node.
902
+ # Corresponds to the JSON property `port`
903
+ # @return [Fixnum]
904
+ attr_accessor :port
905
+
906
+ # Output only. Current state of the Memcached node.
907
+ # Corresponds to the JSON property `state`
908
+ # @return [String]
909
+ attr_accessor :state
910
+
911
+ # Output only. Location (GCP Zone) for the Memcached node.
912
+ # Corresponds to the JSON property `zone`
913
+ # @return [String]
914
+ attr_accessor :zone
915
+
916
+ def initialize(**args)
917
+ update!(**args)
918
+ end
919
+
920
+ # Update properties of this object
921
+ def update!(**args)
922
+ @host = args[:host] if args.key?(:host)
923
+ @node_id = args[:node_id] if args.key?(:node_id)
924
+ @parameters = args[:parameters] if args.key?(:parameters)
925
+ @port = args[:port] if args.key?(:port)
926
+ @state = args[:state] if args.key?(:state)
927
+ @zone = args[:zone] if args.key?(:zone)
928
+ end
929
+ end
930
+
931
+ # Configuration for a Memcached Node.
932
+ class NodeConfig
933
+ include Google::Apis::Core::Hashable
934
+
935
+ # Required. Number of cpus per Memcached node.
936
+ # Corresponds to the JSON property `cpuCount`
937
+ # @return [Fixnum]
938
+ attr_accessor :cpu_count
939
+
940
+ # Required. Memory size in MiB for each Memcached node.
941
+ # Corresponds to the JSON property `memorySizeMb`
942
+ # @return [Fixnum]
943
+ attr_accessor :memory_size_mb
944
+
945
+ def initialize(**args)
946
+ update!(**args)
947
+ end
948
+
949
+ # Update properties of this object
950
+ def update!(**args)
951
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
952
+ @memory_size_mb = args[:memory_size_mb] if args.key?(:memory_size_mb)
953
+ end
954
+ end
955
+
956
+ # This resource represents a long-running operation that is the result of a
957
+ # network API call.
958
+ class Operation
959
+ include Google::Apis::Core::Hashable
960
+
961
+ # If the value is `false`, it means the operation is still in progress.
962
+ # If `true`, the operation is completed, and either `error` or `response` is
963
+ # available.
964
+ # Corresponds to the JSON property `done`
965
+ # @return [Boolean]
966
+ attr_accessor :done
967
+ alias_method :done?, :done
968
+
969
+ # The `Status` type defines a logical error model that is suitable for
970
+ # different programming environments, including REST APIs and RPC APIs. It is
971
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
972
+ # three pieces of data: error code, error message, and error details.
973
+ # You can find out more about this error model and how to work with it in the
974
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
975
+ # Corresponds to the JSON property `error`
976
+ # @return [Google::Apis::MemcacheV1::Status]
977
+ attr_accessor :error
978
+
979
+ # Service-specific metadata associated with the operation. It typically
980
+ # contains progress information and common metadata such as create time.
981
+ # Some services might not provide such metadata. Any method that returns a
982
+ # long-running operation should document the metadata type, if any.
983
+ # Corresponds to the JSON property `metadata`
984
+ # @return [Hash<String,Object>]
985
+ attr_accessor :metadata
986
+
987
+ # The server-assigned name, which is only unique within the same service that
988
+ # originally returns it. If you use the default HTTP mapping, the
989
+ # `name` should be a resource name ending with `operations/`unique_id``.
990
+ # Corresponds to the JSON property `name`
991
+ # @return [String]
992
+ attr_accessor :name
993
+
994
+ # The normal response of the operation in case of success. If the original
995
+ # method returns no data on success, such as `Delete`, the response is
996
+ # `google.protobuf.Empty`. If the original method is standard
997
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
998
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
999
+ # is the original method name. For example, if the original method name
1000
+ # is `TakeSnapshot()`, the inferred response type is
1001
+ # `TakeSnapshotResponse`.
1002
+ # Corresponds to the JSON property `response`
1003
+ # @return [Hash<String,Object>]
1004
+ attr_accessor :response
1005
+
1006
+ def initialize(**args)
1007
+ update!(**args)
1008
+ end
1009
+
1010
+ # Update properties of this object
1011
+ def update!(**args)
1012
+ @done = args[:done] if args.key?(:done)
1013
+ @error = args[:error] if args.key?(:error)
1014
+ @metadata = args[:metadata] if args.key?(:metadata)
1015
+ @name = args[:name] if args.key?(:name)
1016
+ @response = args[:response] if args.key?(:response)
1017
+ end
1018
+ end
1019
+
1020
+ # Represents the metadata of a long-running operation.
1021
+ class OperationMetadata
1022
+ include Google::Apis::Core::Hashable
1023
+
1024
+ # Output only. API version used to start the operation.
1025
+ # Corresponds to the JSON property `apiVersion`
1026
+ # @return [String]
1027
+ attr_accessor :api_version
1028
+
1029
+ # Output only. Identifies whether the user has requested cancellation
1030
+ # of the operation. Operations that have successfully been cancelled
1031
+ # have Operation.error value with a google.rpc.Status.code of 1,
1032
+ # corresponding to `Code.CANCELLED`.
1033
+ # Corresponds to the JSON property `cancelRequested`
1034
+ # @return [Boolean]
1035
+ attr_accessor :cancel_requested
1036
+ alias_method :cancel_requested?, :cancel_requested
1037
+
1038
+ # Output only. Time when the operation was created.
1039
+ # Corresponds to the JSON property `createTime`
1040
+ # @return [String]
1041
+ attr_accessor :create_time
1042
+
1043
+ # Output only. Time when the operation finished running.
1044
+ # Corresponds to the JSON property `endTime`
1045
+ # @return [String]
1046
+ attr_accessor :end_time
1047
+
1048
+ # Output only. Human-readable status of the operation, if any.
1049
+ # Corresponds to the JSON property `statusDetail`
1050
+ # @return [String]
1051
+ attr_accessor :status_detail
1052
+
1053
+ # Output only. Server-defined resource path for the target of the operation.
1054
+ # Corresponds to the JSON property `target`
1055
+ # @return [String]
1056
+ attr_accessor :target
1057
+
1058
+ # Output only. Name of the verb executed by the operation.
1059
+ # Corresponds to the JSON property `verb`
1060
+ # @return [String]
1061
+ attr_accessor :verb
1062
+
1063
+ def initialize(**args)
1064
+ update!(**args)
1065
+ end
1066
+
1067
+ # Update properties of this object
1068
+ def update!(**args)
1069
+ @api_version = args[:api_version] if args.key?(:api_version)
1070
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1071
+ @create_time = args[:create_time] if args.key?(:create_time)
1072
+ @end_time = args[:end_time] if args.key?(:end_time)
1073
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1074
+ @target = args[:target] if args.key?(:target)
1075
+ @verb = args[:verb] if args.key?(:verb)
1076
+ end
1077
+ end
1078
+
1079
+ # The `Status` type defines a logical error model that is suitable for
1080
+ # different programming environments, including REST APIs and RPC APIs. It is
1081
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1082
+ # three pieces of data: error code, error message, and error details.
1083
+ # You can find out more about this error model and how to work with it in the
1084
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1085
+ class Status
1086
+ include Google::Apis::Core::Hashable
1087
+
1088
+ # The status code, which should be an enum value of google.rpc.Code.
1089
+ # Corresponds to the JSON property `code`
1090
+ # @return [Fixnum]
1091
+ attr_accessor :code
1092
+
1093
+ # A list of messages that carry the error details. There is a common set of
1094
+ # message types for APIs to use.
1095
+ # Corresponds to the JSON property `details`
1096
+ # @return [Array<Hash<String,Object>>]
1097
+ attr_accessor :details
1098
+
1099
+ # A developer-facing error message, which should be in English. Any
1100
+ # user-facing error message should be localized and sent in the
1101
+ # google.rpc.Status.details field, or localized by the client.
1102
+ # Corresponds to the JSON property `message`
1103
+ # @return [String]
1104
+ attr_accessor :message
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ @code = args[:code] if args.key?(:code)
1113
+ @details = args[:details] if args.key?(:details)
1114
+ @message = args[:message] if args.key?(:message)
1115
+ end
1116
+ end
1117
+
1118
+ # Request for UpdateParameters.
1119
+ class UpdateParametersRequest
1120
+ include Google::Apis::Core::Hashable
1121
+
1122
+ # The parameters to apply to the instance.
1123
+ # Corresponds to the JSON property `parameters`
1124
+ # @return [Google::Apis::MemcacheV1::MemcacheParameters]
1125
+ attr_accessor :parameters
1126
+
1127
+ # Required. Mask of fields to update.
1128
+ # Corresponds to the JSON property `updateMask`
1129
+ # @return [String]
1130
+ attr_accessor :update_mask
1131
+
1132
+ def initialize(**args)
1133
+ update!(**args)
1134
+ end
1135
+
1136
+ # Update properties of this object
1137
+ def update!(**args)
1138
+ @parameters = args[:parameters] if args.key?(:parameters)
1139
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1140
+ end
1141
+ end
1142
+
1143
+ #
1144
+ class ZoneMetadata
1145
+ include Google::Apis::Core::Hashable
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ end
1154
+ end
1155
+ end
1156
+ end
1157
+ end