google-api-client 0.32.1 → 0.34.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 (292) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +159 -0
  3. data/README.md +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  12. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
  15. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
  17. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  18. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  20. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  22. data/generated/google/apis/admin_directory_v1.rb +4 -1
  23. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  24. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  25. data/generated/google/apis/admin_reports_v1.rb +2 -2
  26. data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
  27. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/appengine_v1/service.rb +10 -6
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +25 -19
  34. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  35. data/generated/google/apis/bigquery_v2.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
  39. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  41. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  43. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  44. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  45. data/generated/google/apis/civicinfo_v2.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
  47. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  48. data/generated/google/apis/cloudasset_v1.rb +1 -1
  49. data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
  50. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  51. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  52. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  53. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  59. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  60. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  61. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  62. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  63. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  64. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  65. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  68. data/generated/google/apis/cloudkms_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
  70. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  71. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
  72. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
  75. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  77. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
  78. data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
  79. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  80. data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
  81. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  82. data/generated/google/apis/cloudshell_v1.rb +1 -1
  83. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
  84. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/compute_alpha/classes.rb +519 -152
  87. data/generated/google/apis/compute_alpha/representations.rb +108 -2
  88. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  89. data/generated/google/apis/compute_alpha.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +1016 -266
  91. data/generated/google/apis/compute_beta/representations.rb +284 -0
  92. data/generated/google/apis/compute_beta/service.rb +1242 -532
  93. data/generated/google/apis/compute_beta.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +283 -125
  95. data/generated/google/apis/compute_v1/representations.rb +24 -0
  96. data/generated/google/apis/compute_v1/service.rb +759 -473
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/container_v1/classes.rb +207 -5
  99. data/generated/google/apis/container_v1/representations.rb +85 -0
  100. data/generated/google/apis/container_v1.rb +1 -1
  101. data/generated/google/apis/container_v1beta1/classes.rb +125 -3
  102. data/generated/google/apis/container_v1beta1/representations.rb +22 -0
  103. data/generated/google/apis/container_v1beta1.rb +1 -1
  104. data/generated/google/apis/content_v2/classes.rb +23 -220
  105. data/generated/google/apis/content_v2/representations.rb +0 -115
  106. data/generated/google/apis/content_v2/service.rb +0 -160
  107. data/generated/google/apis/content_v2.rb +1 -1
  108. data/generated/google/apis/content_v2_1/classes.rb +57 -18
  109. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  110. data/generated/google/apis/content_v2_1.rb +1 -1
  111. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  112. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  113. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  114. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  115. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  116. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  117. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  118. data/generated/google/apis/datastore_v1/service.rb +85 -1
  119. data/generated/google/apis/datastore_v1.rb +1 -1
  120. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  121. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  122. data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
  123. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  124. data/generated/google/apis/dialogflow_v2.rb +1 -1
  125. data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
  126. data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/dlp_v2/classes.rb +19 -11
  129. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  130. data/generated/google/apis/dlp_v2/service.rb +43 -0
  131. data/generated/google/apis/dlp_v2.rb +1 -1
  132. data/generated/google/apis/docs_v1/classes.rb +175 -0
  133. data/generated/google/apis/docs_v1/representations.rb +77 -0
  134. data/generated/google/apis/docs_v1.rb +1 -1
  135. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  136. data/generated/google/apis/drive_v2/classes.rb +2 -1
  137. data/generated/google/apis/drive_v2/service.rb +3 -3
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v3.rb +1 -1
  140. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
  141. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  142. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  143. data/generated/google/apis/firestore_v1.rb +1 -1
  144. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  145. data/generated/google/apis/fitness_v1/service.rb +1 -1
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  148. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  149. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  150. data/generated/google/apis/games_management_v1management.rb +1 -1
  151. data/generated/google/apis/games_v1/classes.rb +6 -292
  152. data/generated/google/apis/games_v1/representations.rb +1 -98
  153. data/generated/google/apis/games_v1/service.rb +0 -123
  154. data/generated/google/apis/games_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
  156. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  157. data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
  158. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +9 -2
  160. data/generated/google/apis/iam_v1/representations.rb +1 -0
  161. data/generated/google/apis/iam_v1.rb +1 -1
  162. data/generated/google/apis/iap_v1/classes.rb +187 -2
  163. data/generated/google/apis/iap_v1/representations.rb +102 -0
  164. data/generated/google/apis/iap_v1/service.rb +72 -0
  165. data/generated/google/apis/iap_v1.rb +1 -1
  166. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  167. data/generated/google/apis/iap_v1beta1.rb +1 -1
  168. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  169. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  170. data/generated/google/apis/jobs_v2.rb +1 -1
  171. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  172. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  173. data/generated/google/apis/jobs_v3.rb +1 -1
  174. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  175. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  176. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  178. data/generated/google/apis/licensing_v1/service.rb +81 -37
  179. data/generated/google/apis/licensing_v1.rb +4 -4
  180. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  181. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  182. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  183. data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
  184. data/generated/google/apis/logging_v2/classes.rb +12 -0
  185. data/generated/google/apis/logging_v2/representations.rb +2 -0
  186. data/generated/google/apis/logging_v2/service.rb +10 -5
  187. data/generated/google/apis/logging_v2.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +66 -23
  189. data/generated/google/apis/ml_v1/representations.rb +1 -0
  190. data/generated/google/apis/ml_v1/service.rb +7 -3
  191. data/generated/google/apis/ml_v1.rb +2 -2
  192. data/generated/google/apis/monitoring_v1/classes.rb +260 -0
  193. data/generated/google/apis/monitoring_v1/representations.rb +123 -0
  194. data/generated/google/apis/monitoring_v1/service.rb +64 -0
  195. data/generated/google/apis/monitoring_v1.rb +36 -0
  196. data/generated/google/apis/monitoring_v3/classes.rb +27 -13
  197. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  198. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  199. data/generated/google/apis/monitoring_v3.rb +1 -1
  200. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  201. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  202. data/generated/google/apis/oslogin_v1.rb +1 -1
  203. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  204. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  205. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  206. data/generated/google/apis/people_v1/classes.rb +67 -63
  207. data/generated/google/apis/people_v1/service.rb +53 -44
  208. data/generated/google/apis/people_v1.rb +1 -1
  209. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
  210. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  211. data/generated/google/apis/pubsub_v1/service.rb +3 -0
  212. data/generated/google/apis/pubsub_v1.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  214. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  215. data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
  216. data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
  217. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  218. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
  219. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
  220. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  221. data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
  222. data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
  223. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  224. data/generated/google/apis/reseller_v1/service.rb +1 -1
  225. data/generated/google/apis/reseller_v1.rb +1 -1
  226. data/generated/google/apis/run_v1/classes.rb +0 -7
  227. data/generated/google/apis/run_v1/service.rb +156 -94
  228. data/generated/google/apis/run_v1.rb +1 -1
  229. data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
  230. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  231. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
  236. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  237. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
  238. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  239. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  240. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
  241. data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
  244. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  245. data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
  248. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  249. data/generated/google/apis/serviceusage_v1.rb +1 -1
  250. data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
  251. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  252. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  253. data/generated/google/apis/sheets_v4/classes.rb +389 -0
  254. data/generated/google/apis/sheets_v4/representations.rb +79 -0
  255. data/generated/google/apis/sheets_v4.rb +1 -1
  256. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  257. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  258. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  259. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  260. data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
  261. data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
  262. data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
  263. data/generated/google/apis/sql_v1beta4.rb +37 -0
  264. data/generated/google/apis/storage_v1.rb +1 -1
  265. data/generated/google/apis/testing_v1/classes.rb +142 -1
  266. data/generated/google/apis/testing_v1/representations.rb +76 -0
  267. data/generated/google/apis/testing_v1.rb +1 -1
  268. data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
  269. data/generated/google/apis/videointelligence_v1.rb +1 -1
  270. data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
  271. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  272. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
  273. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
  275. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  276. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
  277. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  278. data/generated/google/apis/vision_v1.rb +1 -1
  279. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  281. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  282. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  283. data/google-api-client.gemspec +6 -3
  284. data/lib/google/apis/version.rb +1 -1
  285. metadata +28 -30
  286. data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
  287. data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
  288. data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
  289. data/generated/google/apis/dfareporting_v3_2.rb +0 -40
  290. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  291. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  292. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -2836,16 +2836,10 @@ module Google
2836
2836
  end
2837
2837
 
2838
2838
  # Represents a Backend Service resource.
2839
- # Backend services must have an associated health check. Backend services also
2840
- # store information about session affinity. For more information, read Backend
2841
- # Services.
2842
- # A backendServices resource represents a global backend service. Global backend
2843
- # services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
2844
- # Director.
2845
- # A regionBackendServices resource represents a regional backend service.
2846
- # Regional backend services are used for internal TCP/UDP load balancing. For
2847
- # more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
2848
- # backendService ==) (== resource_for beta.backendService ==)
2839
+ # A backend service contains configuration values for Google Cloud Platform load
2840
+ # balancing services.
2841
+ # For more information, read Backend Services.
2842
+ # (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)
2849
2843
  class BackendService
2850
2844
  include Google::Apis::Core::Hashable
2851
2845
 
@@ -2949,9 +2943,12 @@ module Google
2949
2943
  # @return [String]
2950
2944
  attr_accessor :kind
2951
2945
 
2952
- # Indicates whether the backend service will be used with internal or external
2953
- # load balancing. A backend service created for one type of load balancing
2954
- # cannot be used with the other. Possible values are INTERNAL and EXTERNAL.
2946
+ # Specifies the load balancer type. Choose EXTERNAL for load balancers that
2947
+ # receive traffic from external clients. Choose INTERNAL for Internal TCP/UDP
2948
+ # Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing.
2949
+ # Choose INTERNAL_SELF_MANAGED for Traffic Director. A backend service created
2950
+ # for one type of load balancing cannot be used with another. For more
2951
+ # information, refer to Choosing a load balancer.
2955
2952
  # Corresponds to the JSON property `loadBalancingScheme`
2956
2953
  # @return [String]
2957
2954
  attr_accessor :load_balancing_scheme
@@ -3005,7 +3002,8 @@ module Google
3005
3002
  # @return [String]
3006
3003
  attr_accessor :network
3007
3004
 
3008
- # Settings controlling eviction of unhealthy hosts from the load balancing pool.
3005
+ # Settings controlling the eviction of unhealthy hosts from the load balancing
3006
+ # pool for the backend service.
3009
3007
  # Corresponds to the JSON property `outlierDetection`
3010
3008
  # @return [Google::Apis::ComputeAlpha::OutlierDetection]
3011
3009
  attr_accessor :outlier_detection
@@ -3030,9 +3028,10 @@ module Google
3030
3028
  attr_accessor :port_name
3031
3029
 
3032
3030
  # The protocol this BackendService uses to communicate with backends.
3033
- # Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
3034
- # load balancer or Traffic Director configuration. Refer to the documentation
3035
- # for the load balancer or for Traffic director for more information.
3031
+ # Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, or UDP, depending on the
3032
+ # chosen load balancer or Traffic Director configuration. Refer to the
3033
+ # documentation for the load balancer or for Traffic Director for more
3034
+ # information.
3036
3035
  # Corresponds to the JSON property `protocol`
3037
3036
  # @return [String]
3038
3037
  attr_accessor :protocol
@@ -4103,11 +4102,10 @@ module Google
4103
4102
  include Google::Apis::Core::Hashable
4104
4103
 
4105
4104
  # The type of call credentials to use for GRPC requests to the SDS server. This
4106
- # field can be set to one of the following: ACCESS_TOKEN: An access token is
4107
- # used as call credentials for the SDS server. GCE_VM: The local GCE VM service
4108
- # account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The
4109
- # user provisioned service account credentials are used to access the SDS server.
4110
- # FROM_PLUGIN: Custom authenticator credentials are used to access the SDS
4105
+ # field can be set to one of the following:
4106
+ # - GCE_VM: The local GCE VM service account credentials are used to access the
4107
+ # SDS server.
4108
+ # - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS
4111
4109
  # server.
4112
4110
  # Corresponds to the JSON property `callCredentialType`
4113
4111
  # @return [String]
@@ -4168,33 +4166,34 @@ module Google
4168
4166
  # @return [Google::Apis::ComputeAlpha::Duration]
4169
4167
  attr_accessor :connect_timeout
4170
4168
 
4171
- # The maximum number of connections to the backend cluster. If not specified,
4172
- # the default is 1024.
4169
+ # The maximum number of connections to the backend service. If not specified,
4170
+ # there is no limit.
4173
4171
  # Corresponds to the JSON property `maxConnections`
4174
4172
  # @return [Fixnum]
4175
4173
  attr_accessor :max_connections
4176
4174
 
4177
- # The maximum number of pending requests allowed to the backend cluster. If not
4178
- # specified, the default is 1024.
4175
+ # The maximum number of pending requests allowed to the backend service. If not
4176
+ # specified, there is no limit.
4179
4177
  # Corresponds to the JSON property `maxPendingRequests`
4180
4178
  # @return [Fixnum]
4181
4179
  attr_accessor :max_pending_requests
4182
4180
 
4183
- # The maximum number of parallel requests that allowed to the backend cluster.
4184
- # If not specified, the default is 1024.
4181
+ # The maximum number of parallel requests that allowed to the backend service.
4182
+ # If not specified, there is no limit.
4185
4183
  # Corresponds to the JSON property `maxRequests`
4186
4184
  # @return [Fixnum]
4187
4185
  attr_accessor :max_requests
4188
4186
 
4189
- # Maximum requests for a single backend connection. This parameter is respected
4190
- # by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no
4191
- # limit. Setting this parameter to 1 will effectively disable keep alive.
4187
+ # Maximum requests for a single connection to the backend service. This
4188
+ # parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not
4189
+ # specified, there is no limit. Setting this parameter to 1 will effectively
4190
+ # disable keep alive.
4192
4191
  # Corresponds to the JSON property `maxRequestsPerConnection`
4193
4192
  # @return [Fixnum]
4194
4193
  attr_accessor :max_requests_per_connection
4195
4194
 
4196
4195
  # The maximum number of parallel retries allowed to the backend cluster. If not
4197
- # specified, the default is 3.
4196
+ # specified, the default is 1.
4198
4197
  # Corresponds to the JSON property `maxRetries`
4199
4198
  # @return [Fixnum]
4200
4199
  attr_accessor :max_retries
@@ -4270,6 +4269,15 @@ module Google
4270
4269
  class Commitment
4271
4270
  include Google::Apis::Core::Hashable
4272
4271
 
4272
+ # The category of the commitment. Category MACHINE specifies commitments
4273
+ # composed of machine resources such as VCPU or MEMORY, listed in resources.
4274
+ # Category LICENSE specifies commitments composed of software licenses, listed
4275
+ # in licenseResources. Note that only MACHINE commitments should have a Type
4276
+ # specified.
4277
+ # Corresponds to the JSON property `category`
4278
+ # @return [String]
4279
+ attr_accessor :category
4280
+
4273
4281
  # [Output Only] Creation timestamp in RFC3339 text format.
4274
4282
  # Corresponds to the JSON property `creationTimestamp`
4275
4283
  # @return [String]
@@ -4297,6 +4305,11 @@ module Google
4297
4305
  # @return [String]
4298
4306
  attr_accessor :kind
4299
4307
 
4308
+ # A list of commitment amounts for particular licenses.
4309
+ # Corresponds to the JSON property `licenseResources`
4310
+ # @return [Array<Google::Apis::ComputeAlpha::LicenseResourceCommitment>]
4311
+ attr_accessor :license_resources
4312
+
4300
4313
  # Name of the resource. Provided by the client when the resource is created. The
4301
4314
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
4302
4315
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -4370,11 +4383,13 @@ module Google
4370
4383
 
4371
4384
  # Update properties of this object
4372
4385
  def update!(**args)
4386
+ @category = args[:category] if args.key?(:category)
4373
4387
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
4374
4388
  @description = args[:description] if args.key?(:description)
4375
4389
  @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
4376
4390
  @id = args[:id] if args.key?(:id)
4377
4391
  @kind = args[:kind] if args.key?(:kind)
4392
+ @license_resources = args[:license_resources] if args.key?(:license_resources)
4378
4393
  @name = args[:name] if args.key?(:name)
4379
4394
  @plan = args[:plan] if args.key?(:plan)
4380
4395
  @region = args[:region] if args.key?(:region)
@@ -4760,6 +4775,26 @@ module Google
4760
4775
  end
4761
4776
  end
4762
4777
 
4778
+ # A set of Confidential Instance options.
4779
+ class ConfidentialInstanceConfig
4780
+ include Google::Apis::Core::Hashable
4781
+
4782
+ # Defines whether the instance should have confidential compute enabled.
4783
+ # Corresponds to the JSON property `enableConfidentialCompute`
4784
+ # @return [Boolean]
4785
+ attr_accessor :enable_confidential_compute
4786
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
4787
+
4788
+ def initialize(**args)
4789
+ update!(**args)
4790
+ end
4791
+
4792
+ # Update properties of this object
4793
+ def update!(**args)
4794
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
4795
+ end
4796
+ end
4797
+
4763
4798
  # Message containing connection draining configuration.
4764
4799
  class ConnectionDraining
4765
4800
  include Google::Apis::Core::Hashable
@@ -4934,7 +4969,8 @@ module Google
4934
4969
  # @return [String]
4935
4970
  attr_accessor :kms_key_name
4936
4971
 
4937
- #
4972
+ # The service account being used for the encryption request for the given KMS
4973
+ # key. If absent, default GCE compute robot account will be used
4938
4974
  # Corresponds to the JSON property `kmsKeyServiceAccount`
4939
4975
  # @return [String]
4940
4976
  attr_accessor :kms_key_service_account
@@ -6121,7 +6157,8 @@ module Google
6121
6157
  class DisksAddResourcePoliciesRequest
6122
6158
  include Google::Apis::Core::Hashable
6123
6159
 
6124
- # Resource policies to be added to this disk.
6160
+ # Resource policies to be added to this disk. Currently you can only specify one
6161
+ # policy here.
6125
6162
  # Corresponds to the JSON property `resourcePolicies`
6126
6163
  # @return [Array<String>]
6127
6164
  attr_accessor :resource_policies
@@ -7302,27 +7339,12 @@ module Google
7302
7339
  end
7303
7340
 
7304
7341
  # Represents a Forwarding Rule resource.
7305
- # A forwardingRules resource represents a regional forwarding rule.
7306
- # Regional external forwarding rules can reference any of the following
7307
- # resources:
7308
- #
7309
- # - A target instance
7310
- # - A Cloud VPN Classic gateway (targetVpnGateway),
7311
- # - A target pool for a Network Load Balancer
7312
- # - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
7313
- # Tier
7314
- # - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
7315
- # - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
7316
- # Regional internal forwarding rules can reference the backend service of an
7317
- # internal TCP/UDP load balancer.
7318
- # For regional internal forwarding rules, the following applies:
7319
- # - If the loadBalancingScheme for the load balancer is INTERNAL, then the
7320
- # forwarding rule references a regional internal backend service.
7321
- # - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
7322
- # the forwarding rule must reference a regional target HTTP(S) proxy.
7323
- # For more information, read Using Forwarding rules.
7324
- # A globalForwardingRules resource represents a global forwarding rule.
7325
- # Global forwarding rules are only used by load balancers that use Premium Tier.
7342
+ # A forwarding rule and its corresponding IP address represent the frontend
7343
+ # configuration of a Google Cloud Platform load balancer. Forwarding rules can
7344
+ # also reference target instances and Cloud VPN Classic gateways (
7345
+ # targetVpnGateway).
7346
+ # For more information, read Forwarding rule concepts and Using protocol
7347
+ # forwarding.
7326
7348
  # (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
7327
7349
  # =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
7328
7350
  # globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
@@ -7350,8 +7372,14 @@ module Google
7350
7372
 
7351
7373
  # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
7352
7374
  # AH, SCTP or ICMP.
7353
- # When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When
7354
- # the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid.
7375
+ # For Internal TCP/UDP Load Balancing, the load balancing scheme is INTERNAL,
7376
+ # and one of TCP or UDP are valid. For Traffic Director, the load balancing
7377
+ # scheme is INTERNAL_SELF_MANAGED, and only TCPis valid. For Internal HTTP(S)
7378
+ # Load Balancing, the load balancing scheme is INTERNAL_MANAGED, and only TCP is
7379
+ # valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing, the load
7380
+ # balancing scheme is EXTERNAL and only TCP is valid. For Network TCP/UDP Load
7381
+ # Balancing, the load balancing scheme is EXTERNAL, and one of TCP or UDP is
7382
+ # valid.
7355
7383
  # Corresponds to the JSON property `IPProtocol`
7356
7384
  # @return [String]
7357
7385
  attr_accessor :ip_protocol
@@ -7455,12 +7483,14 @@ module Google
7455
7483
  # @return [Hash<String,String>]
7456
7484
  attr_accessor :labels
7457
7485
 
7458
- # This signifies what the ForwardingRule will be used for and can only take the
7459
- # following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of
7460
- # INTERNAL means that this will be used for Internal Network Load Balancing (TCP,
7461
- # UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for
7462
- # Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used
7463
- # for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)
7486
+ # Specifies the forwarding rule type. EXTERNAL is used for: - Classic Cloud VPN
7487
+ # gateways - Protocol forwarding to VMs from an external IP address - The
7488
+ # following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP.
7489
+ # INTERNAL is used for: - Protocol forwarding to VMs from an internal IP address
7490
+ # - Internal TCP/UDP load balancers
7491
+ # INTERNAL_MANAGED is used for: - Internal HTTP(S) load balancers
7492
+ # INTERNAL_SELF_MANAGED is used for: - Traffic Director
7493
+ # For more information about forwarding rules, refer to Forwarding rule concepts.
7464
7494
  # Corresponds to the JSON property `loadBalancingScheme`
7465
7495
  # @return [String]
7466
7496
  attr_accessor :load_balancing_scheme
@@ -8081,19 +8111,28 @@ module Google
8081
8111
 
8082
8112
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
8083
8113
  # access control policies for Cloud Platform resources.
8084
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
8085
- # members` to a `role`, where the members can be user accounts, Google groups,
8086
- # Google domains, and service accounts. A `role` is a named list of permissions
8087
- # defined by IAM.
8114
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
8115
+ # members` to a single `role`. Members can be user accounts, service accounts,
8116
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
8117
+ # permissions (defined by IAM or configured by users). A `binding` can
8118
+ # optionally specify a `condition`, which is a logic expression that further
8119
+ # constrains the role binding based on attributes about the request and/or
8120
+ # target resource.
8088
8121
  # **JSON Example**
8089
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
8090
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
8091
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
8092
- # sean@example.com"] ` ] `
8122
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
8123
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
8124
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
8125
+ # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
8126
+ # "condition": ` "title": "expirable access", "description": "Does not grant
8127
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
8128
+ # 00:00.000Z')", ` ` ] `
8093
8129
  # **YAML Example**
8094
8130
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
8095
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
8096
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
8131
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
8132
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
8133
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
8134
+ # access description: Does not grant access after Sep 2020 expression: request.
8135
+ # time < timestamp('2020-10-01T00:00:00.000Z')
8097
8136
  # For a description of IAM and its features, see the [IAM developer's guide](
8098
8137
  # https://cloud.google.com/iam/docs).
8099
8138
  # Corresponds to the JSON property `policy`
@@ -10032,7 +10071,8 @@ module Google
10032
10071
  class HttpRetryPolicy
10033
10072
  include Google::Apis::Core::Hashable
10034
10073
 
10035
- # Specifies the allowed number retries. This number must be > 0.
10074
+ # Specifies the allowed number retries. This number must be > 0. If not
10075
+ # specified, defaults to 1.
10036
10076
  # Corresponds to the JSON property `numRetries`
10037
10077
  # @return [Fixnum]
10038
10078
  attr_accessor :num_retries
@@ -10166,6 +10206,12 @@ module Google
10166
10206
  class HttpRouteRule
10167
10207
  include Google::Apis::Core::Hashable
10168
10208
 
10209
+ # The short description conveying the intent of this routeRule.
10210
+ # The description can have a maximum length of 1024 characters.
10211
+ # Corresponds to the JSON property `description`
10212
+ # @return [String]
10213
+ attr_accessor :description
10214
+
10169
10215
  # The request and response header transformations that take effect before the
10170
10216
  # request is passed along to the selected backendService.
10171
10217
  # Corresponds to the JSON property `headerAction`
@@ -10177,6 +10223,22 @@ module Google
10177
10223
  # @return [Array<Google::Apis::ComputeAlpha::HttpRouteRuleMatch>]
10178
10224
  attr_accessor :match_rules
10179
10225
 
10226
+ # For routeRules within a given pathMatcher, priority determines the order in
10227
+ # which load balancer will interpret routeRules. RouteRules are evaluated in
10228
+ # order of priority, from the lowest to highest number. The priority of a rule
10229
+ # decreases as its number increases (1, 2, 3, N+1). The first rule that matches
10230
+ # the request is applied.
10231
+ # You cannot configure two or more routeRules with the same priority. Priority
10232
+ # for each rule must be set to a number between 0 and 2147483647 inclusive.
10233
+ # Priority numbers can have gaps, which enable you to add or remove rules in the
10234
+ # future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9,
10235
+ # 12, 16 is a valid series of priority numbers to which you could add rules
10236
+ # numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact
10237
+ # on existing rules.
10238
+ # Corresponds to the JSON property `priority`
10239
+ # @return [Fixnum]
10240
+ attr_accessor :priority
10241
+
10180
10242
  # In response to a matching matchRule, the load balancer performs advanced
10181
10243
  # routing actions like URL rewrites, header transformations, etc. prior to
10182
10244
  # forwarding the request to the selected backend. If routeAction specifies any
@@ -10210,8 +10272,10 @@ module Google
10210
10272
 
10211
10273
  # Update properties of this object
10212
10274
  def update!(**args)
10275
+ @description = args[:description] if args.key?(:description)
10213
10276
  @header_action = args[:header_action] if args.key?(:header_action)
10214
10277
  @match_rules = args[:match_rules] if args.key?(:match_rules)
10278
+ @priority = args[:priority] if args.key?(:priority)
10215
10279
  @route_action = args[:route_action] if args.key?(:route_action)
10216
10280
  @service = args[:service] if args.key?(:service)
10217
10281
  @url_redirect = args[:url_redirect] if args.key?(:url_redirect)
@@ -10986,6 +11050,11 @@ module Google
10986
11050
  attr_accessor :can_ip_forward
10987
11051
  alias_method :can_ip_forward?, :can_ip_forward
10988
11052
 
11053
+ # A set of Confidential Instance options.
11054
+ # Corresponds to the JSON property `confidentialInstanceConfig`
11055
+ # @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
11056
+ attr_accessor :confidential_instance_config
11057
+
10989
11058
  # [Output Only] The CPU platform used by this instance.
10990
11059
  # Corresponds to the JSON property `cpuPlatform`
10991
11060
  # @return [String]
@@ -11233,6 +11302,7 @@ module Google
11233
11302
  # Update properties of this object
11234
11303
  def update!(**args)
11235
11304
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
11305
+ @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
11236
11306
  @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
11237
11307
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
11238
11308
  @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
@@ -12379,6 +12449,12 @@ module Google
12379
12449
  class InstanceGroupManagerStatus
12380
12450
  include Google::Apis::Core::Hashable
12381
12451
 
12452
+ # [Output Only] The URL of the Autoscaler that targets this instance group
12453
+ # manager.
12454
+ # Corresponds to the JSON property `autoscaler`
12455
+ # @return [String]
12456
+ attr_accessor :autoscaler
12457
+
12382
12458
  # [Output Only] A bit indicating whether the managed instance group is in a
12383
12459
  # stable state. A stable state means that: none of the instances in the managed
12384
12460
  # instance group is currently undergoing any type of change (for example,
@@ -12407,6 +12483,7 @@ module Google
12407
12483
 
12408
12484
  # Update properties of this object
12409
12485
  def update!(**args)
12486
+ @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
12410
12487
  @is_stable = args[:is_stable] if args.key?(:is_stable)
12411
12488
  @stateful = args[:stateful] if args.key?(:stateful)
12412
12489
  @version_target = args[:version_target] if args.key?(:version_target)
@@ -12686,12 +12763,6 @@ module Google
12686
12763
  class InstanceGroupManagersDeletePerInstanceConfigsReq
12687
12764
  include Google::Apis::Core::Hashable
12688
12765
 
12689
- # The list of instances for which we want to delete per-instance configs on this
12690
- # managed instance group.
12691
- # Corresponds to the JSON property `instances`
12692
- # @return [Array<String>]
12693
- attr_accessor :instances
12694
-
12695
12766
  # The list of instance names for which we want to delete per-instance configs on
12696
12767
  # this managed instance group.
12697
12768
  # Corresponds to the JSON property `names`
@@ -12704,7 +12775,6 @@ module Google
12704
12775
 
12705
12776
  # Update properties of this object
12706
12777
  def update!(**args)
12707
- @instances = args[:instances] if args.key?(:instances)
12708
12778
  @names = args[:names] if args.key?(:names)
12709
12779
  end
12710
12780
  end
@@ -13815,6 +13885,11 @@ module Google
13815
13885
  attr_accessor :can_ip_forward
13816
13886
  alias_method :can_ip_forward?, :can_ip_forward
13817
13887
 
13888
+ # A set of Confidential Instance options.
13889
+ # Corresponds to the JSON property `confidentialInstanceConfig`
13890
+ # @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
13891
+ attr_accessor :confidential_instance_config
13892
+
13818
13893
  # An optional text description for the instances that are created from this
13819
13894
  # instance template.
13820
13895
  # Corresponds to the JSON property `description`
@@ -13911,6 +13986,7 @@ module Google
13911
13986
  # Update properties of this object
13912
13987
  def update!(**args)
13913
13988
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
13989
+ @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
13914
13990
  @description = args[:description] if args.key?(:description)
13915
13991
  @disks = args[:disks] if args.key?(:disks)
13916
13992
  @display_device = args[:display_device] if args.key?(:display_device)
@@ -16777,6 +16853,38 @@ module Google
16777
16853
  end
16778
16854
  end
16779
16855
 
16856
+ # Commitment for a particular license resource (a License Commitment is composed
16857
+ # of one or more of these).
16858
+ class LicenseResourceCommitment
16859
+ include Google::Apis::Core::Hashable
16860
+
16861
+ # The number of licenses purchased.
16862
+ # Corresponds to the JSON property `amount`
16863
+ # @return [Fixnum]
16864
+ attr_accessor :amount
16865
+
16866
+ # Specifies the core range of the instance for which this license applies.
16867
+ # Corresponds to the JSON property `coresPerLicense`
16868
+ # @return [String]
16869
+ attr_accessor :cores_per_license
16870
+
16871
+ # Any applicable license URI.
16872
+ # Corresponds to the JSON property `license`
16873
+ # @return [String]
16874
+ attr_accessor :license
16875
+
16876
+ def initialize(**args)
16877
+ update!(**args)
16878
+ end
16879
+
16880
+ # Update properties of this object
16881
+ def update!(**args)
16882
+ @amount = args[:amount] if args.key?(:amount)
16883
+ @cores_per_license = args[:cores_per_license] if args.key?(:cores_per_license)
16884
+ @license = args[:license] if args.key?(:license)
16885
+ end
16886
+ end
16887
+
16780
16888
  #
16781
16889
  class LicenseResourceRequirements
16782
16890
  include Google::Apis::Core::Hashable
@@ -16969,10 +17077,10 @@ module Google
16969
17077
  # a representation of IAMContext.principal even if a token or authority selector
16970
17078
  # is present; or - "" (empty string), resulting in a counter with no fields.
16971
17079
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
16972
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
16973
- # of IAMContext.principal]`
16974
- # At this time we do not support multiple field names (though this may be
16975
- # supported in the future).
17080
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
17081
+ # IAMContext.principal]`
17082
+ # TODO(b/141846426): Consider supporting "authority" and "iam_principal" fields
17083
+ # in the same counter.
16976
17084
  # Corresponds to the JSON property `counter`
16977
17085
  # @return [Google::Apis::ComputeAlpha::LogConfigCounterOptions]
16978
17086
  attr_accessor :counter
@@ -17031,13 +17139,18 @@ module Google
17031
17139
  # a representation of IAMContext.principal even if a token or authority selector
17032
17140
  # is present; or - "" (empty string), resulting in a counter with no fields.
17033
17141
  # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
17034
- # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
17035
- # of IAMContext.principal]`
17036
- # At this time we do not support multiple field names (though this may be
17037
- # supported in the future).
17142
+ # increment counter /iam/policy/debug_access_count `iam_principal=[value of
17143
+ # IAMContext.principal]`
17144
+ # TODO(b/141846426): Consider supporting "authority" and "iam_principal" fields
17145
+ # in the same counter.
17038
17146
  class LogConfigCounterOptions
17039
17147
  include Google::Apis::Core::Hashable
17040
17148
 
17149
+ # Custom fields.
17150
+ # Corresponds to the JSON property `customFields`
17151
+ # @return [Array<Google::Apis::ComputeAlpha::LogConfigCounterOptionsCustomField>]
17152
+ attr_accessor :custom_fields
17153
+
17041
17154
  # The field value to attribute.
17042
17155
  # Corresponds to the JSON property `field`
17043
17156
  # @return [String]
@@ -17054,11 +17167,40 @@ module Google
17054
17167
 
17055
17168
  # Update properties of this object
17056
17169
  def update!(**args)
17170
+ @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
17057
17171
  @field = args[:field] if args.key?(:field)
17058
17172
  @metric = args[:metric] if args.key?(:metric)
17059
17173
  end
17060
17174
  end
17061
17175
 
17176
+ # Custom fields. These can be used to create a counter with arbitrary field/
17177
+ # value pairs. See: go/rpcsp-custom-fields.
17178
+ class LogConfigCounterOptionsCustomField
17179
+ include Google::Apis::Core::Hashable
17180
+
17181
+ # Name is the field name.
17182
+ # Corresponds to the JSON property `name`
17183
+ # @return [String]
17184
+ attr_accessor :name
17185
+
17186
+ # Value is the field value. It is important that in contrast to the
17187
+ # CounterOptions.field, the value here is a constant that is not derived from
17188
+ # the IAMContext.
17189
+ # Corresponds to the JSON property `value`
17190
+ # @return [String]
17191
+ attr_accessor :value
17192
+
17193
+ def initialize(**args)
17194
+ update!(**args)
17195
+ end
17196
+
17197
+ # Update properties of this object
17198
+ def update!(**args)
17199
+ @name = args[:name] if args.key?(:name)
17200
+ @value = args[:value] if args.key?(:value)
17201
+ end
17202
+ end
17203
+
17062
17204
  # Write a Data Access (Gin) log
17063
17205
  class LogConfigDataAccessOptions
17064
17206
  include Google::Apis::Core::Hashable
@@ -18414,6 +18556,33 @@ module Google
18414
18556
  # @return [Hash<String,String>]
18415
18557
  attr_accessor :annotations
18416
18558
 
18559
+ # Configuration for an App Engine network endpoint group (NEG). The service is
18560
+ # optional, may be provided explicitly or in the URL mask. The version is
18561
+ # optional and can only be provided explicitly or in the URL mask when service
18562
+ # is present.
18563
+ # Note: App Engine service must be in the same project and located in the same
18564
+ # region as the Serverless NEG.
18565
+ # Corresponds to the JSON property `appEngine`
18566
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
18567
+ attr_accessor :app_engine
18568
+
18569
+ # Configuration for a Cloud Function network endpoint group (NEG). The function
18570
+ # must be provided explicitly or in the URL mask.
18571
+ # Note: Cloud Function must be in the same project and located in the same
18572
+ # region as the Serverless NEG.
18573
+ # Corresponds to the JSON property `cloudFunction`
18574
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudFunction]
18575
+ attr_accessor :cloud_function
18576
+
18577
+ # Configuration for a Cloud Run network endpoint group (NEG). The service must
18578
+ # be provided explicitly or in the URL mask. The tag is optional, may be
18579
+ # provided explicitly or in the URL mask.
18580
+ # Note: Cloud Run service must be in the same project and located in the same
18581
+ # region as the Serverless NEG.
18582
+ # Corresponds to the JSON property `cloudRun`
18583
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupCloudRun]
18584
+ attr_accessor :cloud_run
18585
+
18417
18586
  # [Output Only] Creation timestamp in RFC3339 text format.
18418
18587
  # Corresponds to the JSON property `creationTimestamp`
18419
18588
  # @return [String]
@@ -18470,6 +18639,12 @@ module Google
18470
18639
  # @return [String]
18471
18640
  attr_accessor :network_endpoint_type
18472
18641
 
18642
+ # [Output Only] The URL of the region where the network endpoint group is
18643
+ # located.
18644
+ # Corresponds to the JSON property `region`
18645
+ # @return [String]
18646
+ attr_accessor :region
18647
+
18473
18648
  # [Output Only] Server-defined URL for the resource.
18474
18649
  # Corresponds to the JSON property `selfLink`
18475
18650
  # @return [String]
@@ -18509,6 +18684,9 @@ module Google
18509
18684
  # Update properties of this object
18510
18685
  def update!(**args)
18511
18686
  @annotations = args[:annotations] if args.key?(:annotations)
18687
+ @app_engine = args[:app_engine] if args.key?(:app_engine)
18688
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
18689
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
18512
18690
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
18513
18691
  @default_port = args[:default_port] if args.key?(:default_port)
18514
18692
  @description = args[:description] if args.key?(:description)
@@ -18518,6 +18696,7 @@ module Google
18518
18696
  @name = args[:name] if args.key?(:name)
18519
18697
  @network = args[:network] if args.key?(:network)
18520
18698
  @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
18699
+ @region = args[:region] if args.key?(:region)
18521
18700
  @self_link = args[:self_link] if args.key?(:self_link)
18522
18701
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
18523
18702
  @size = args[:size] if args.key?(:size)
@@ -18646,6 +18825,134 @@ module Google
18646
18825
  end
18647
18826
  end
18648
18827
 
18828
+ # Configuration for an App Engine network endpoint group (NEG). The service is
18829
+ # optional, may be provided explicitly or in the URL mask. The version is
18830
+ # optional and can only be provided explicitly or in the URL mask when service
18831
+ # is present.
18832
+ # Note: App Engine service must be in the same project and located in the same
18833
+ # region as the Serverless NEG.
18834
+ class NetworkEndpointGroupAppEngine
18835
+ include Google::Apis::Core::Hashable
18836
+
18837
+ # Optional serving service.
18838
+ # The service name must be 1-63 characters long, and comply with RFC1035.
18839
+ # Example value: "default", "my-service".
18840
+ # Corresponds to the JSON property `service`
18841
+ # @return [String]
18842
+ attr_accessor :service
18843
+
18844
+ # A template to parse service and version fields from a request URL. URL mask
18845
+ # allows for routing to multiple App Engine services without having to create
18846
+ # multiple Network Endpoint Groups and backend services.
18847
+ # For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-
18848
+ # appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask
18849
+ # "-dot-appname.appspot.com/". The URL mask will parse them to ` service = "foo1"
18850
+ # , version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
18851
+ # Corresponds to the JSON property `urlMask`
18852
+ # @return [String]
18853
+ attr_accessor :url_mask
18854
+
18855
+ # Optional serving version.
18856
+ # The version must be 1-63 characters long, and comply with RFC1035.
18857
+ # Example value: "v1", "v2".
18858
+ # Corresponds to the JSON property `version`
18859
+ # @return [String]
18860
+ attr_accessor :version
18861
+
18862
+ def initialize(**args)
18863
+ update!(**args)
18864
+ end
18865
+
18866
+ # Update properties of this object
18867
+ def update!(**args)
18868
+ @service = args[:service] if args.key?(:service)
18869
+ @url_mask = args[:url_mask] if args.key?(:url_mask)
18870
+ @version = args[:version] if args.key?(:version)
18871
+ end
18872
+ end
18873
+
18874
+ # Configuration for a Cloud Function network endpoint group (NEG). The function
18875
+ # must be provided explicitly or in the URL mask.
18876
+ # Note: Cloud Function must be in the same project and located in the same
18877
+ # region as the Serverless NEG.
18878
+ class NetworkEndpointGroupCloudFunction
18879
+ include Google::Apis::Core::Hashable
18880
+
18881
+ # A user-defined name of the Cloud Function.
18882
+ # The service name must be 1-63 characters long, and comply with RFC1035.
18883
+ # Example value: "func1".
18884
+ # Corresponds to the JSON property `function`
18885
+ # @return [String]
18886
+ attr_accessor :function
18887
+
18888
+ # A template to parse function field from a request URL. URL mask allows for
18889
+ # routing to multiple Cloud Functions without having to create multiple Network
18890
+ # Endpoint Groups and backend services.
18891
+ # For example, request URLs "mydomain.com/function1" and "mydomain.com/function2"
18892
+ # can be backed by the same Serverless NEG with URL mask "/". The URL mask will
18893
+ # parse them to ` function = "function1" ` and ` function = "function2" `
18894
+ # respectively.
18895
+ # Corresponds to the JSON property `urlMask`
18896
+ # @return [String]
18897
+ attr_accessor :url_mask
18898
+
18899
+ def initialize(**args)
18900
+ update!(**args)
18901
+ end
18902
+
18903
+ # Update properties of this object
18904
+ def update!(**args)
18905
+ @function = args[:function] if args.key?(:function)
18906
+ @url_mask = args[:url_mask] if args.key?(:url_mask)
18907
+ end
18908
+ end
18909
+
18910
+ # Configuration for a Cloud Run network endpoint group (NEG). The service must
18911
+ # be provided explicitly or in the URL mask. The tag is optional, may be
18912
+ # provided explicitly or in the URL mask.
18913
+ # Note: Cloud Run service must be in the same project and located in the same
18914
+ # region as the Serverless NEG.
18915
+ class NetworkEndpointGroupCloudRun
18916
+ include Google::Apis::Core::Hashable
18917
+
18918
+ # Cloud Run service is the main resource of Cloud Run.
18919
+ # The tag must be 1-63 characters long, and comply with RFC1035.
18920
+ # Example value: "run-service".
18921
+ # Corresponds to the JSON property `service`
18922
+ # @return [String]
18923
+ attr_accessor :service
18924
+
18925
+ # Optional Cloud Run tag represents the "named-revision" to provide additional
18926
+ # fine-grained traffic routing information.
18927
+ # The tag must be 1-63 characters long, and comply with RFC1035.
18928
+ # Example value: "revision-0010".
18929
+ # Corresponds to the JSON property `tag`
18930
+ # @return [String]
18931
+ attr_accessor :tag
18932
+
18933
+ # A template to parse service and tag fields from a request URL. URL mask allows
18934
+ # for routing to multiple Run services without having to create multiple network
18935
+ # endpoint groups and backend services.
18936
+ # For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2"
18937
+ # can be backed by the same Serverless Network Endpoint Group (NEG) with URL
18938
+ # mask ".domain.com/". The URL mask will parse them to ` service="bar1", tag="
18939
+ # foo1" ` and ` service="bar2", tag="foo2" ` respectively.
18940
+ # Corresponds to the JSON property `urlMask`
18941
+ # @return [String]
18942
+ attr_accessor :url_mask
18943
+
18944
+ def initialize(**args)
18945
+ update!(**args)
18946
+ end
18947
+
18948
+ # Update properties of this object
18949
+ def update!(**args)
18950
+ @service = args[:service] if args.key?(:service)
18951
+ @tag = args[:tag] if args.key?(:tag)
18952
+ @url_mask = args[:url_mask] if args.key?(:url_mask)
18953
+ end
18954
+ end
18955
+
18649
18956
  # Load balancing specific fields for network endpoint group.
18650
18957
  class NetworkEndpointGroupLbNetworkEndpointGroup
18651
18958
  include Google::Apis::Core::Hashable
@@ -20032,6 +20339,11 @@ module Google
20032
20339
  # @return [Google::Apis::ComputeAlpha::ServerBinding]
20033
20340
  attr_accessor :server_binding
20034
20341
 
20342
+ # Server ID associated with this node.
20343
+ # Corresponds to the JSON property `serverId`
20344
+ # @return [String]
20345
+ attr_accessor :server_id
20346
+
20035
20347
  #
20036
20348
  # Corresponds to the JSON property `status`
20037
20349
  # @return [String]
@@ -20048,6 +20360,7 @@ module Google
20048
20360
  @name = args[:name] if args.key?(:name)
20049
20361
  @node_type = args[:node_type] if args.key?(:node_type)
20050
20362
  @server_binding = args[:server_binding] if args.key?(:server_binding)
20363
+ @server_id = args[:server_id] if args.key?(:server_id)
20051
20364
  @status = args[:status] if args.key?(:status)
20052
20365
  end
20053
20366
  end
@@ -22174,7 +22487,8 @@ module Google
22174
22487
  end
22175
22488
  end
22176
22489
 
22177
- # Settings controlling eviction of unhealthy hosts from the load balancing pool.
22490
+ # Settings controlling the eviction of unhealthy hosts from the load balancing
22491
+ # pool for the backend service.
22178
22492
  class OutlierDetection
22179
22493
  include Google::Apis::Core::Hashable
22180
22494
 
@@ -22195,21 +22509,21 @@ module Google
22195
22509
 
22196
22510
  # The number of consecutive gateway failures (502, 503, 504 status or connection
22197
22511
  # errors that are mapped to one of those status codes) before a consecutive
22198
- # gateway failure ejection occurs. Defaults to 5.
22512
+ # gateway failure ejection occurs. Defaults to 3.
22199
22513
  # Corresponds to the JSON property `consecutiveGatewayFailure`
22200
22514
  # @return [Fixnum]
22201
22515
  attr_accessor :consecutive_gateway_failure
22202
22516
 
22203
22517
  # The percentage chance that a host will be actually ejected when an outlier
22204
22518
  # status is detected through consecutive 5xx. This setting can be used to
22205
- # disable ejection or to ramp it up slowly. Defaults to 100.
22519
+ # disable ejection or to ramp it up slowly. Defaults to 0.
22206
22520
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
22207
22521
  # @return [Fixnum]
22208
22522
  attr_accessor :enforcing_consecutive_errors
22209
22523
 
22210
22524
  # The percentage chance that a host will be actually ejected when an outlier
22211
22525
  # status is detected through consecutive gateway failures. This setting can be
22212
- # used to disable ejection or to ramp it up slowly. Defaults to 0.
22526
+ # used to disable ejection or to ramp it up slowly. Defaults to 100.
22213
22527
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
22214
22528
  # @return [Fixnum]
22215
22529
  attr_accessor :enforcing_consecutive_gateway_failure
@@ -22230,7 +22544,7 @@ module Google
22230
22544
  attr_accessor :interval
22231
22545
 
22232
22546
  # Maximum percentage of hosts in the load balancing pool for the backend service
22233
- # that can be ejected. Defaults to 10%.
22547
+ # that can be ejected. Defaults to 50%.
22234
22548
  # Corresponds to the JSON property `maxEjectionPercent`
22235
22549
  # @return [Fixnum]
22236
22550
  attr_accessor :max_ejection_percent
@@ -22382,9 +22696,9 @@ module Google
22382
22696
  # @return [String]
22383
22697
  attr_accessor :kind
22384
22698
 
22385
- # PacketMirroring mirroredResourceInfos. Each mirroredResourceInfo specifies a
22386
- # set of mirrored VM instances and/or a set of subnetworks for which traffic
22387
- # from/to all VM instances will be mirrored.
22699
+ # PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of
22700
+ # mirrored VM instances, subnetworks and/or tags for which traffic from/to all
22701
+ # VM instances will be mirrored.
22388
22702
  # Corresponds to the JSON property `mirroredResources`
22389
22703
  # @return [Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfo]
22390
22704
  attr_accessor :mirrored_resources
@@ -22807,8 +23121,7 @@ module Google
22807
23121
  attr_accessor :instances
22808
23122
 
22809
23123
  # A set of subnetworks for which traffic from/to all VM instances will be
22810
- # mirrored. They must live in zones contained in the same region as this
22811
- # packetMirroring.
23124
+ # mirrored. They must live in the same region as this packetMirroring.
22812
23125
  # You may specify a maximum of 5 subnetworks.
22813
23126
  # Corresponds to the JSON property `subnetworks`
22814
23127
  # @return [Array<Google::Apis::ComputeAlpha::PacketMirroringMirroredResourceInfoSubnetInfo>]
@@ -23327,19 +23640,28 @@ module Google
23327
23640
 
23328
23641
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
23329
23642
  # access control policies for Cloud Platform resources.
23330
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
23331
- # members` to a `role`, where the members can be user accounts, Google groups,
23332
- # Google domains, and service accounts. A `role` is a named list of permissions
23333
- # defined by IAM.
23643
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
23644
+ # members` to a single `role`. Members can be user accounts, service accounts,
23645
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
23646
+ # permissions (defined by IAM or configured by users). A `binding` can
23647
+ # optionally specify a `condition`, which is a logic expression that further
23648
+ # constrains the role binding based on attributes about the request and/or
23649
+ # target resource.
23334
23650
  # **JSON Example**
23335
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
23336
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
23337
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
23338
- # sean@example.com"] ` ] `
23651
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
23652
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
23653
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
23654
+ # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
23655
+ # "condition": ` "title": "expirable access", "description": "Does not grant
23656
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
23657
+ # 00:00.000Z')", ` ` ] `
23339
23658
  # **YAML Example**
23340
23659
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
23341
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
23342
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
23660
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
23661
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
23662
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
23663
+ # access description: Does not grant access after Sep 2020 expression: request.
23664
+ # time < timestamp('2020-10-01T00:00:00.000Z')
23343
23665
  # For a description of IAM and its features, see the [IAM developer's guide](
23344
23666
  # https://cloud.google.com/iam/docs).
23345
23667
  class Policy
@@ -23350,8 +23672,9 @@ module Google
23350
23672
  # @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
23351
23673
  attr_accessor :audit_configs
23352
23674
 
23353
- # Associates a list of `members` to a `role`. `bindings` with no members will
23354
- # result in an error.
23675
+ # Associates a list of `members` to a `role`. Optionally may specify a `
23676
+ # condition` that determines when binding is in effect. `bindings` with no
23677
+ # members will result in an error.
23355
23678
  # Corresponds to the JSON property `bindings`
23356
23679
  # @return [Array<Google::Apis::ComputeAlpha::Binding>]
23357
23680
  attr_accessor :bindings
@@ -23364,7 +23687,9 @@ module Google
23364
23687
  # that etag in the request to `setIamPolicy` to ensure that their change will be
23365
23688
  # applied to the same version of the policy.
23366
23689
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
23367
- # policy is overwritten.
23690
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy, '
23691
+ # setIamPolicy' will not fail even if either of incoming or stored policy does
23692
+ # not meet the version requirements.
23368
23693
  # Corresponds to the JSON property `etag`
23369
23694
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
23370
23695
  # @return [String]
@@ -23390,9 +23715,13 @@ module Google
23390
23715
  # Specifies the format of the policy.
23391
23716
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
23392
23717
  # rejected.
23393
- # Policies with any conditional bindings must specify version 3. Policies
23394
- # without any conditional bindings may specify any valid value or leave the
23395
- # field unset.
23718
+ # Operations affecting conditional bindings must specify version 3. This can be
23719
+ # either setting a conditional policy, modifying a conditional binding, or
23720
+ # removing a conditional binding from the stored conditional policy. Operations
23721
+ # on non-conditional policies may specify any valid value or leave the field
23722
+ # unset.
23723
+ # If no etag is provided in the call to `setIamPolicy`, any version compliance
23724
+ # checks on the incoming and/or stored policy is skipped.
23396
23725
  # Corresponds to the JSON property `version`
23397
23726
  # @return [Fixnum]
23398
23727
  attr_accessor :version
@@ -25196,12 +25525,6 @@ module Google
25196
25525
  class RegionInstanceGroupManagerDeleteInstanceConfigReq
25197
25526
  include Google::Apis::Core::Hashable
25198
25527
 
25199
- # The list of instances for which we want to delete per-instance configs on this
25200
- # managed instance group.
25201
- # Corresponds to the JSON property `instances`
25202
- # @return [Array<String>]
25203
- attr_accessor :instances
25204
-
25205
25528
  # The list of instance names for which we want to delete per-instance configs on
25206
25529
  # this managed instance group.
25207
25530
  # Corresponds to the JSON property `names`
@@ -25214,7 +25537,6 @@ module Google
25214
25537
 
25215
25538
  # Update properties of this object
25216
25539
  def update!(**args)
25217
- @instances = args[:instances] if args.key?(:instances)
25218
25540
  @names = args[:names] if args.key?(:names)
25219
25541
  end
25220
25542
  end
@@ -26079,19 +26401,28 @@ module Google
26079
26401
 
26080
26402
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
26081
26403
  # access control policies for Cloud Platform resources.
26082
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
26083
- # members` to a `role`, where the members can be user accounts, Google groups,
26084
- # Google domains, and service accounts. A `role` is a named list of permissions
26085
- # defined by IAM.
26404
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
26405
+ # members` to a single `role`. Members can be user accounts, service accounts,
26406
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
26407
+ # permissions (defined by IAM or configured by users). A `binding` can
26408
+ # optionally specify a `condition`, which is a logic expression that further
26409
+ # constrains the role binding based on attributes about the request and/or
26410
+ # target resource.
26086
26411
  # **JSON Example**
26087
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
26088
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
26089
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
26090
- # sean@example.com"] ` ] `
26412
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
26413
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
26414
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
26415
+ # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
26416
+ # "condition": ` "title": "expirable access", "description": "Does not grant
26417
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
26418
+ # 00:00.000Z')", ` ` ] `
26091
26419
  # **YAML Example**
26092
26420
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
26093
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
26094
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
26421
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
26422
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
26423
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
26424
+ # access description: Does not grant access after Sep 2020 expression: request.
26425
+ # time < timestamp('2020-10-01T00:00:00.000Z')
26095
26426
  # For a description of IAM and its features, see the [IAM developer's guide](
26096
26427
  # https://cloud.google.com/iam/docs).
26097
26428
  # Corresponds to the JSON property `policy`
@@ -27067,6 +27398,19 @@ module Google
27067
27398
  class ResourcePolicyGroupPlacementPolicy
27068
27399
  include Google::Apis::Core::Hashable
27069
27400
 
27401
+ # The number of availability domains instances will be spread across. If two
27402
+ # instances are in different availability domain, they will not be put in the
27403
+ # same low latency network
27404
+ # Corresponds to the JSON property `availabilityDomainCount`
27405
+ # @return [Fixnum]
27406
+ attr_accessor :availability_domain_count
27407
+
27408
+ # Distribution specifies how the instances are placed at host level. If set to
27409
+ # SPREAD, no two instances will be put on the same host
27410
+ # Corresponds to the JSON property `distribution`
27411
+ # @return [String]
27412
+ attr_accessor :distribution
27413
+
27070
27414
  # Specifies network locality
27071
27415
  # Corresponds to the JSON property `locality`
27072
27416
  # @return [String]
@@ -27088,6 +27432,8 @@ module Google
27088
27432
 
27089
27433
  # Update properties of this object
27090
27434
  def update!(**args)
27435
+ @availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
27436
+ @distribution = args[:distribution] if args.key?(:distribution)
27091
27437
  @locality = args[:locality] if args.key?(:locality)
27092
27438
  @style = args[:style] if args.key?(:style)
27093
27439
  @vm_count = args[:vm_count] if args.key?(:vm_count)
@@ -27571,8 +27917,7 @@ module Google
27571
27917
  # or full URL. For example, the following are all valid URLs:
27572
27918
  # - https://www.googleapis.com/compute/v1/projects/project/regions/region/
27573
27919
  # forwardingRules/forwardingRule
27574
- # - regions/region/forwardingRules/forwardingRule Note that this can only be
27575
- # used when the destination_range is a public (non-RFC 1918) IP CIDR range.
27920
+ # - regions/region/forwardingRules/forwardingRule
27576
27921
  # Corresponds to the JSON property `nextHopIlb`
27577
27922
  # @return [String]
27578
27923
  attr_accessor :next_hop_ilb
@@ -33256,12 +33601,14 @@ module Google
33256
33601
  alias_method :proxy_bind?, :proxy_bind
33257
33602
 
33258
33603
  # Specifies the QUIC override policy for this TargetHttpsProxy resource. This
33259
- # determines whether the load balancer will attempt to negotiate QUIC with
33260
- # clients or not. Can specify one of NONE, ENABLE, or DISABLE. Specify ENABLE to
33261
- # always enable QUIC, Enables QUIC when set to ENABLE, and disables QUIC when
33262
- # set to DISABLE. If NONE is specified, uses the QUIC policy with no user
33263
- # overrides, which is equivalent to DISABLE. Not specifying this field is
33264
- # equivalent to specifying NONE.
33604
+ # setting determines whether the load balancer attempts to negotiate QUIC with
33605
+ # clients. You can specify NONE, ENABLE, or DISABLE.
33606
+ # - When quic-override is set to NONE, Google manages whether QUIC is used.
33607
+ # - When quic-override is set to ENABLE, the load balancer uses QUIC when
33608
+ # possible.
33609
+ # - When quic-override is set to DISABLE, the load balancer doesn't use QUIC.
33610
+ # - If the quic-override flag is not specified, NONE is implied.
33611
+ # -
33265
33612
  # Corresponds to the JSON property `quicOverride`
33266
33613
  # @return [String]
33267
33614
  attr_accessor :quic_override
@@ -33290,8 +33637,8 @@ module Google
33290
33637
  attr_accessor :ssl_certificates
33291
33638
 
33292
33639
  # URL of SslPolicy resource that will be associated with the TargetHttpsProxy
33293
- # resource. If not set, the TargetHttpsProxy resource will not have any SSL
33294
- # policy configured.
33640
+ # resource. If not set, the TargetHttpsProxy resource has no SSL policy
33641
+ # configured.
33295
33642
  # Corresponds to the JSON property `sslPolicy`
33296
33643
  # @return [String]
33297
33644
  attr_accessor :ssl_policy
@@ -37559,6 +37906,17 @@ module Google
37559
37906
  # - NEGOTIATION_FAILURE: Handshake failed.
37560
37907
  # - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
37561
37908
  # - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
37909
+ # - NO_INCOMING_PACKETS: No incoming packets from peer.
37910
+ # - REJECTED: Tunnel configuration was rejected, can be result of being
37911
+ # blacklisted.
37912
+ # - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required
37913
+ # resources.
37914
+ # - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for
37915
+ # Classic VPN tunnels or the project is in frozen state.
37916
+ # - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably
37917
+ # behind NAT.
37918
+ # - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-
37919
+ # VPN tunnel.
37562
37920
  # Corresponds to the JSON property `status`
37563
37921
  # @return [String]
37564
37922
  attr_accessor :status
@@ -38428,19 +38786,28 @@ module Google
38428
38786
 
38429
38787
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
38430
38788
  # access control policies for Cloud Platform resources.
38431
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
38432
- # members` to a `role`, where the members can be user accounts, Google groups,
38433
- # Google domains, and service accounts. A `role` is a named list of permissions
38434
- # defined by IAM.
38789
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
38790
+ # members` to a single `role`. Members can be user accounts, service accounts,
38791
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
38792
+ # permissions (defined by IAM or configured by users). A `binding` can
38793
+ # optionally specify a `condition`, which is a logic expression that further
38794
+ # constrains the role binding based on attributes about the request and/or
38795
+ # target resource.
38435
38796
  # **JSON Example**
38436
- # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
38437
- # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
38438
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
38439
- # sean@example.com"] ` ] `
38797
+ # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
38798
+ # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
38799
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
38800
+ # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"],
38801
+ # "condition": ` "title": "expirable access", "description": "Does not grant
38802
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
38803
+ # 00:00.000Z')", ` ` ] `
38440
38804
  # **YAML Example**
38441
38805
  # bindings: - members: - user:mike@example.com - group:admins@example.com -
38442
- # domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
38443
- # role: roles/owner - members: - user:sean@example.com role: roles/viewer
38806
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
38807
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
38808
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
38809
+ # access description: Does not grant access after Sep 2020 expression: request.
38810
+ # time < timestamp('2020-10-01T00:00:00.000Z')
38444
38811
  # For a description of IAM and its features, see the [IAM developer's guide](
38445
38812
  # https://cloud.google.com/iam/docs).
38446
38813
  # Corresponds to the JSON property `policy`