google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -1996,6 +1996,12 @@ module Google
1996
1996
  include Google::Apis::Core::JsonObjectSupport
1997
1997
  end
1998
1998
 
1999
+ class LocalDisk
2000
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2001
+
2002
+ include Google::Apis::Core::JsonObjectSupport
2003
+ end
2004
+
1999
2005
  class LogConfig
2000
2006
  class Representation < Google::Apis::Core::JsonRepresentation; end
2001
2007
 
@@ -2398,6 +2404,12 @@ module Google
2398
2404
  include Google::Apis::Core::JsonObjectSupport
2399
2405
  end
2400
2406
 
2407
+ class NodeGroupMaintenanceWindow
2408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2409
+
2410
+ include Google::Apis::Core::JsonObjectSupport
2411
+ end
2412
+
2401
2413
  class NodeGroupNode
2402
2414
  class Representation < Google::Apis::Core::JsonRepresentation; end
2403
2415
 
@@ -5333,6 +5345,7 @@ module Google
5333
5345
  property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicy::Representation
5334
5346
 
5335
5347
  property :creation_timestamp, as: 'creationTimestamp'
5348
+ collection :custom_response_headers, as: 'customResponseHeaders'
5336
5349
  property :description, as: 'description'
5337
5350
  property :enable_cdn, as: 'enableCdn'
5338
5351
  property :id, :numeric_string => true, as: 'id'
@@ -5345,6 +5358,10 @@ module Google
5345
5358
  class BackendBucketCdnPolicy
5346
5359
  # @private
5347
5360
  class Representation < Google::Apis::Core::JsonRepresentation
5361
+ property :cache_mode, as: 'cacheMode'
5362
+ property :client_ttl, as: 'clientTtl'
5363
+ property :default_ttl, as: 'defaultTtl'
5364
+ property :max_ttl, as: 'maxTtl'
5348
5365
  property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
5349
5366
  collection :signed_url_key_names, as: 'signedUrlKeyNames'
5350
5367
  end
@@ -5398,6 +5415,7 @@ module Google
5398
5415
 
5399
5416
  property :creation_timestamp, as: 'creationTimestamp'
5400
5417
  collection :custom_request_headers, as: 'customRequestHeaders'
5418
+ collection :custom_response_headers, as: 'customResponseHeaders'
5401
5419
  property :description, as: 'description'
5402
5420
  property :enable_cdn, as: 'enableCDN'
5403
5421
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeV1::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeV1::BackendServiceFailoverPolicy::Representation
@@ -5467,6 +5485,10 @@ module Google
5467
5485
  class Representation < Google::Apis::Core::JsonRepresentation
5468
5486
  property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeV1::CacheKeyPolicy, decorator: Google::Apis::ComputeV1::CacheKeyPolicy::Representation
5469
5487
 
5488
+ property :cache_mode, as: 'cacheMode'
5489
+ property :client_ttl, as: 'clientTtl'
5490
+ property :default_ttl, as: 'defaultTtl'
5491
+ property :max_ttl, as: 'maxTtl'
5470
5492
  property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
5471
5493
  collection :signed_url_key_names, as: 'signedUrlKeyNames'
5472
5494
  end
@@ -6808,6 +6830,8 @@ module Google
6808
6830
  property :instance, as: 'instance'
6809
6831
  property :ip_address, as: 'ipAddress'
6810
6832
  property :port, as: 'port'
6833
+ property :weight, as: 'weight'
6834
+ property :weight_error, as: 'weightError'
6811
6835
  end
6812
6836
  end
6813
6837
 
@@ -8125,6 +8149,7 @@ module Google
8125
8149
  property :id, :numeric_string => true, as: 'id'
8126
8150
  property :interconnect, as: 'interconnect'
8127
8151
  property :kind, as: 'kind'
8152
+ property :mtu, as: 'mtu'
8128
8153
  property :name, as: 'name'
8129
8154
  property :operational_status, as: 'operationalStatus'
8130
8155
  property :pairing_key, as: 'pairingKey'
@@ -8518,6 +8543,15 @@ module Google
8518
8543
  end
8519
8544
  end
8520
8545
 
8546
+ class LocalDisk
8547
+ # @private
8548
+ class Representation < Google::Apis::Core::JsonRepresentation
8549
+ property :disk_count, as: 'diskCount'
8550
+ property :disk_size_gb, as: 'diskSizeGb'
8551
+ property :disk_type, as: 'diskType'
8552
+ end
8553
+ end
8554
+
8521
8555
  class LogConfig
8522
8556
  # @private
8523
8557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9055,6 +9089,7 @@ module Google
9055
9089
  property :name, as: 'name'
9056
9090
  property :network, as: 'network'
9057
9091
  property :network_ip, as: 'networkIP'
9092
+ property :nic_type, as: 'nicType'
9058
9093
  property :subnetwork, as: 'subnetwork'
9059
9094
  end
9060
9095
  end
@@ -9152,6 +9187,8 @@ module Google
9152
9187
  property :id, :numeric_string => true, as: 'id'
9153
9188
  property :kind, as: 'kind'
9154
9189
  property :maintenance_policy, as: 'maintenancePolicy'
9190
+ property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow, decorator: Google::Apis::ComputeV1::NodeGroupMaintenanceWindow::Representation
9191
+
9155
9192
  property :name, as: 'name'
9156
9193
  property :node_template, as: 'nodeTemplate'
9157
9194
  property :self_link, as: 'selfLink'
@@ -9235,10 +9272,23 @@ module Google
9235
9272
  end
9236
9273
  end
9237
9274
 
9275
+ class NodeGroupMaintenanceWindow
9276
+ # @private
9277
+ class Representation < Google::Apis::Core::JsonRepresentation
9278
+ property :maintenance_duration, as: 'maintenanceDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
9279
+
9280
+ property :start_time, as: 'startTime'
9281
+ end
9282
+ end
9283
+
9238
9284
  class NodeGroupNode
9239
9285
  # @private
9240
9286
  class Representation < Google::Apis::Core::JsonRepresentation
9287
+ collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
9288
+
9241
9289
  property :cpu_overcommit_type, as: 'cpuOvercommitType'
9290
+ collection :disks, as: 'disks', class: Google::Apis::ComputeV1::LocalDisk, decorator: Google::Apis::ComputeV1::LocalDisk::Representation
9291
+
9242
9292
  collection :instances, as: 'instances'
9243
9293
  property :name, as: 'name'
9244
9294
  property :node_type, as: 'nodeType'
@@ -9333,9 +9383,13 @@ module Google
9333
9383
  class NodeTemplate
9334
9384
  # @private
9335
9385
  class Representation < Google::Apis::Core::JsonRepresentation
9386
+ collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
9387
+
9336
9388
  property :cpu_overcommit_type, as: 'cpuOvercommitType'
9337
9389
  property :creation_timestamp, as: 'creationTimestamp'
9338
9390
  property :description, as: 'description'
9391
+ collection :disks, as: 'disks', class: Google::Apis::ComputeV1::LocalDisk, decorator: Google::Apis::ComputeV1::LocalDisk::Representation
9392
+
9339
9393
  property :id, :numeric_string => true, as: 'id'
9340
9394
  property :kind, as: 'kind'
9341
9395
  property :name, as: 'name'
@@ -11260,6 +11314,7 @@ module Google
11260
11314
  # @private
11261
11315
  class Representation < Google::Apis::Core::JsonRepresentation
11262
11316
  property :automatic_restart, as: 'automaticRestart'
11317
+ property :location_hint, as: 'locationHint'
11263
11318
  property :min_node_cpus, as: 'minNodeCpus'
11264
11319
  collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
11265
11320
 
@@ -19220,9 +19220,9 @@ module Google
19220
19220
  execute_or_queue_command(command, &block)
19221
19221
  end
19222
19222
 
19223
- # Insert or patch (for the ones that already exist) per-instance configs for the
19224
- # managed instance group. perInstanceConfig.instance serves as a key used to
19225
- # distinguish whether to perform insert or patch.
19223
+ # Inserts or patches per-instance configs for the managed instance group.
19224
+ # perInstanceConfig.name serves as a key used to distinguish whether to perform
19225
+ # insert or patch.
19226
19226
  # @param [String] project
19227
19227
  # Project ID for this request.
19228
19228
  # @param [String] region
@@ -19511,9 +19511,9 @@ module Google
19511
19511
  execute_or_queue_command(command, &block)
19512
19512
  end
19513
19513
 
19514
- # Insert or update (for the ones that already exist) per-instance configs for
19515
- # the managed instance group. perInstanceConfig.instance serves as a key used to
19516
- # distinguish whether to perform insert or patch.
19514
+ # Inserts or updates per-instance configs for the managed instance group.
19515
+ # perInstanceConfig.name serves as a key used to distinguish whether to perform
19516
+ # insert or patch.
19517
19517
  # @param [String] project
19518
19518
  # Project ID for this request.
19519
19519
  # @param [String] region
@@ -23826,7 +23826,9 @@ module Google
23826
23826
  execute_or_queue_command(command, &block)
23827
23827
  end
23828
23828
 
23829
- # Patches the specified policy with the data included in the request.
23829
+ # Patches the specified policy with the data included in the request. This
23830
+ # cannot be used to be update the rules in the policy. Please use the per rule
23831
+ # methods like addRule, patchRule, and removeRule instead.
23830
23832
  # @param [String] project
23831
23833
  # Project ID for this request.
23832
23834
  # @param [String] security_policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201007'
29
+ REVISION = '20201127'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -68,6 +68,11 @@ module Google
68
68
  # @return [Google::Apis::ContainerV1::DnsCacheConfig]
69
69
  attr_accessor :dns_cache_config
70
70
 
71
+ # Configuration for the Compute Engine PD CSI driver.
72
+ # Corresponds to the JSON property `gcePersistentDiskCsiDriverConfig`
73
+ # @return [Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig]
74
+ attr_accessor :gce_persistent_disk_csi_driver_config
75
+
71
76
  # Configuration options for the horizontal pod autoscaling feature, which
72
77
  # increases or decreases the number of replica pods a replication controller has
73
78
  # based on the resource usage of the existing pods.
@@ -102,6 +107,7 @@ module Google
102
107
  @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
103
108
  @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
104
109
  @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
110
+ @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
105
111
  @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
106
112
  @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
107
113
  @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@@ -186,8 +192,8 @@ module Google
186
192
  # @return [Fixnum]
187
193
  attr_accessor :disk_size_gb
188
194
 
189
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
190
- # unspecified, the default disk type is 'pd-standard'
195
+ # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-
196
+ # balanced') If unspecified, the default disk type is 'pd-standard'
191
197
  # Corresponds to the JSON property `diskType`
192
198
  # @return [String]
193
199
  attr_accessor :disk_type
@@ -723,8 +729,8 @@ module Google
723
729
  # @return [String]
724
730
  attr_accessor :status
725
731
 
726
- # [Output only] Additional information about the current status of this cluster,
727
- # if available.
732
+ # [Output only] Deprecated. Use conditions instead. Additional information about
733
+ # the current status of this cluster, if available.
728
734
  # Corresponds to the JSON property `statusMessage`
729
735
  # @return [String]
730
736
  attr_accessor :status_message
@@ -989,6 +995,11 @@ module Google
989
995
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
990
996
  attr_accessor :desired_private_cluster_config
991
997
 
998
+ # The desired state of IPv6 connectivity to Google Services.
999
+ # Corresponds to the JSON property `desiredPrivateIpv6GoogleAccess`
1000
+ # @return [String]
1001
+ attr_accessor :desired_private_ipv6_google_access
1002
+
992
1003
  # ReleaseChannel indicates which release channel a cluster is subscribed to.
993
1004
  # Release channels are arranged in order of risk. When a cluster is subscribed
994
1005
  # to a release channel, Google maintains both the master version and the node
@@ -1041,6 +1052,7 @@ module Google
1041
1052
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1042
1053
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1043
1054
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1055
+ @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1044
1056
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1045
1057
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1046
1058
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1342,6 +1354,26 @@ module Google
1342
1354
  end
1343
1355
  end
1344
1356
 
1357
+ # Configuration for the Compute Engine PD CSI driver.
1358
+ class GcePersistentDiskCsiDriverConfig
1359
+ include Google::Apis::Core::Hashable
1360
+
1361
+ # Whether the Compute Engine PD CSI driver is enabled for this cluster.
1362
+ # Corresponds to the JSON property `enabled`
1363
+ # @return [Boolean]
1364
+ attr_accessor :enabled
1365
+ alias_method :enabled?, :enabled
1366
+
1367
+ def initialize(**args)
1368
+ update!(**args)
1369
+ end
1370
+
1371
+ # Update properties of this object
1372
+ def update!(**args)
1373
+ @enabled = args[:enabled] if args.key?(:enabled)
1374
+ end
1375
+ end
1376
+
1345
1377
  # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
1346
1378
  class GetJsonWebKeysResponse
1347
1379
  include Google::Apis::Core::Hashable
@@ -2106,6 +2138,12 @@ module Google
2106
2138
  # @return [String]
2107
2139
  attr_accessor :network
2108
2140
 
2141
+ # The desired state of IPv6 connectivity to Google Services. By default, no
2142
+ # private IPv6 access to or from Google Services (all access will be via IPv4)
2143
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
2144
+ # @return [String]
2145
+ attr_accessor :private_ipv6_google_access
2146
+
2109
2147
  # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2110
2148
  # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2111
2149
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
@@ -2122,6 +2160,7 @@ module Google
2122
2160
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2123
2161
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2124
2162
  @network = args[:network] if args.key?(:network)
2163
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
2125
2164
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2126
2165
  end
2127
2166
  end
@@ -2200,8 +2239,8 @@ module Google
2200
2239
  # @return [Fixnum]
2201
2240
  attr_accessor :disk_size_gb
2202
2241
 
2203
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2204
- # unspecified, the default disk type is 'pd-standard'
2242
+ # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-
2243
+ # balanced') If unspecified, the default disk type is 'pd-standard'
2205
2244
  # Corresponds to the JSON property `diskType`
2206
2245
  # @return [String]
2207
2246
  attr_accessor :disk_type
@@ -2490,8 +2529,8 @@ module Google
2490
2529
  # @return [String]
2491
2530
  attr_accessor :status
2492
2531
 
2493
- # [Output only] Additional information about the current status of this node
2494
- # pool instance, if available.
2532
+ # [Output only] Deprecated. Use conditions instead. Additional information about
2533
+ # the current status of this node pool instance, if available.
2495
2534
  # Corresponds to the JSON property `statusMessage`
2496
2535
  # @return [String]
2497
2536
  attr_accessor :status_message
@@ -3753,7 +3792,7 @@ module Google
3753
3792
  end
3754
3793
  end
3755
3794
 
3756
- # SetNodePoolSizeRequest sets the size a node pool.
3795
+ # SetNodePoolSizeRequest sets the size of a node pool.
3757
3796
  class SetNodePoolSizeRequest
3758
3797
  include Google::Apis::Core::Hashable
3759
3798
 
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class GcePersistentDiskCsiDriverConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class GetJsonWebKeysResponse
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -591,6 +597,8 @@ module Google
591
597
 
592
598
  property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1::DnsCacheConfig, decorator: Google::Apis::ContainerV1::DnsCacheConfig::Representation
593
599
 
600
+ property :gce_persistent_disk_csi_driver_config, as: 'gcePersistentDiskCsiDriverConfig', class: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig::Representation
601
+
594
602
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
595
603
 
596
604
  property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
@@ -802,6 +810,7 @@ module Google
802
810
  property :desired_node_version, as: 'desiredNodeVersion'
803
811
  property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
804
812
 
813
+ property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
805
814
  property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
806
815
 
807
816
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
@@ -898,6 +907,13 @@ module Google
898
907
  end
899
908
  end
900
909
 
910
+ class GcePersistentDiskCsiDriverConfig
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :enabled, as: 'enabled'
914
+ end
915
+ end
916
+
901
917
  class GetJsonWebKeysResponse
902
918
  # @private
903
919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1103,6 +1119,7 @@ module Google
1103
1119
 
1104
1120
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1105
1121
  property :network, as: 'network'
1122
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1106
1123
  property :subnetwork, as: 'subnetwork'
1107
1124
  end
1108
1125
  end
@@ -1076,7 +1076,8 @@ module Google
1076
1076
  execute_or_queue_command(command, &block)
1077
1077
  end
1078
1078
 
1079
- # Sets the size for a specific node pool.
1079
+ # Sets the size for a specific node pool. The new size will be used for all
1080
+ # replicas, including future replicas created by modifying NodePool.locations.
1080
1081
  # @param [String] name
1081
1082
  # The name (project, location, cluster, node pool id) of the node pool to set
1082
1083
  # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
@@ -2429,7 +2430,8 @@ module Google
2429
2430
  execute_or_queue_command(command, &block)
2430
2431
  end
2431
2432
 
2432
- # Sets the size for a specific node pool.
2433
+ # Sets the size for a specific node pool. The new size will be used for all
2434
+ # replicas, including future replicas created by modifying NodePool.locations.
2433
2435
  # @param [String] project_id
2434
2436
  # Deprecated. The Google Developers Console [project ID or project number](https:
2435
2437
  # //support.google.com/cloud/answer/6158840). This field has been deprecated and
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201029'
29
+ REVISION = '20201127'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -68,8 +68,7 @@ module Google
68
68
  # @return [Google::Apis::ContainerV1beta1::DnsCacheConfig]
69
69
  attr_accessor :dns_cache_config
70
70
 
71
- # Configuration for the Compute Engine PD CSI driver. This option can only be
72
- # enabled at cluster creation time.
71
+ # Configuration for the Compute Engine PD CSI driver.
73
72
  # Corresponds to the JSON property `gcePersistentDiskCsiDriverConfig`
74
73
  # @return [Google::Apis::ContainerV1beta1::GcePersistentDiskCsiDriverConfig]
75
74
  attr_accessor :gce_persistent_disk_csi_driver_config
@@ -205,8 +204,8 @@ module Google
205
204
  # @return [Fixnum]
206
205
  attr_accessor :disk_size_gb
207
206
 
208
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
209
- # unspecified, the default disk type is 'pd-standard'
207
+ # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-
208
+ # balanced') If unspecified, the default disk type is 'pd-standard'
210
209
  # Corresponds to the JSON property `diskType`
211
210
  # @return [String]
212
211
  attr_accessor :disk_type
@@ -822,8 +821,8 @@ module Google
822
821
  # @return [String]
823
822
  attr_accessor :status
824
823
 
825
- # [Output only] Additional information about the current status of this cluster,
826
- # if available.
824
+ # [Output only] Deprecated. Use conditions instead. Additional information about
825
+ # the current status of this cluster, if available.
827
826
  # Corresponds to the JSON property `statusMessage`
828
827
  # @return [String]
829
828
  attr_accessor :status_message
@@ -1153,6 +1152,11 @@ module Google
1153
1152
  # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
1154
1153
  attr_accessor :desired_private_cluster_config
1155
1154
 
1155
+ # The desired state of IPv6 connectivity to Google Services.
1156
+ # Corresponds to the JSON property `desiredPrivateIpv6GoogleAccess`
1157
+ # @return [String]
1158
+ attr_accessor :desired_private_ipv6_google_access
1159
+
1156
1160
  # ReleaseChannel indicates which release channel a cluster is subscribed to.
1157
1161
  # Release channels are arranged in order of risk. When a cluster is subscribed
1158
1162
  # to a release channel, Google maintains both the master version and the node
@@ -1215,6 +1219,7 @@ module Google
1215
1219
  @desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
1216
1220
  @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
1217
1221
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1222
+ @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1218
1223
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
1219
1224
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
1220
1225
  @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@@ -1558,8 +1563,7 @@ module Google
1558
1563
  end
1559
1564
  end
1560
1565
 
1561
- # Configuration for the Compute Engine PD CSI driver. This option can only be
1562
- # enabled at cluster creation time.
1566
+ # Configuration for the Compute Engine PD CSI driver.
1563
1567
  class GcePersistentDiskCsiDriverConfig
1564
1568
  include Google::Apis::Core::Hashable
1565
1569
 
@@ -2508,6 +2512,12 @@ module Google
2508
2512
  # @return [String]
2509
2513
  attr_accessor :network
2510
2514
 
2515
+ # The desired state of IPv6 connectivity to Google Services. By default, no
2516
+ # private IPv6 access to or from Google Services (all access will be via IPv4)
2517
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
2518
+ # @return [String]
2519
+ attr_accessor :private_ipv6_google_access
2520
+
2511
2521
  # Output only. The relative name of the Google Compute Engine [subnetwork](https:
2512
2522
  # //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
2513
2523
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
@@ -2525,6 +2535,7 @@ module Google
2525
2535
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2526
2536
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2527
2537
  @network = args[:network] if args.key?(:network)
2538
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
2528
2539
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2529
2540
  end
2530
2541
  end
@@ -2603,8 +2614,8 @@ module Google
2603
2614
  # @return [Fixnum]
2604
2615
  attr_accessor :disk_size_gb
2605
2616
 
2606
- # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If
2607
- # unspecified, the default disk type is 'pd-standard'
2617
+ # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-
2618
+ # balanced') If unspecified, the default disk type is 'pd-standard'
2608
2619
  # Corresponds to the JSON property `diskType`
2609
2620
  # @return [String]
2610
2621
  attr_accessor :disk_type
@@ -2953,8 +2964,8 @@ module Google
2953
2964
  # @return [String]
2954
2965
  attr_accessor :status
2955
2966
 
2956
- # [Output only] Additional information about the current status of this node
2957
- # pool instance, if available.
2967
+ # [Output only] Deprecated. Use conditions instead. Additional information about
2968
+ # the current status of this node pool instance, if available.
2958
2969
  # Corresponds to the JSON property `statusMessage`
2959
2970
  # @return [String]
2960
2971
  attr_accessor :status_message
@@ -4310,7 +4321,7 @@ module Google
4310
4321
  end
4311
4322
  end
4312
4323
 
4313
- # SetNodePoolSizeRequest sets the size a node pool.
4324
+ # SetNodePoolSizeRequest sets the size of a node pool.
4314
4325
  class SetNodePoolSizeRequest
4315
4326
  include Google::Apis::Core::Hashable
4316
4327