google-cloud-container-v1beta1 0.43.0 → 0.45.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83141d73b06df255776579924dd58fcfc9568454f19db67f491d75e9207cc65c
4
- data.tar.gz: 8cda6631e29e4ecb37a4f069989635c6a3afb161fa27c593d1882025a5b24733
3
+ metadata.gz: 36cefa461ecebbe52aa35c99c9faa02b1a8f345146f4b28490eb784e7a6ea427
4
+ data.tar.gz: a3e3d1705306825b10a76310f2abff3de881418447409eaab36a29c4ae55b50e
5
5
  SHA512:
6
- metadata.gz: 8dd663dce80eb791eeda7a931aa27eaf09a33fe6440b0dbc05dc5c72e9c2eb0ecd5fe91985425c373efff4172309c7c78201c7f83a4842def936605fa0bdc3d4
7
- data.tar.gz: e81d269df9398aaba8f0d342b811ab1d5bd3cfae47eda1f84bcb467a0373186a31ab74199d77441bed222f11427dafbfd4c40319bb1ba98574d0fde5c8e8ce97
6
+ metadata.gz: 1879bd8c9d563c4984ca0baee5c24af1c1832d4dce461fe1fae5ef51cfdd35ed1fca910fb952efe2ce91f6074a83467f85242b1da4441685b1d5b5587e31c627
7
+ data.tar.gz: 34b6d46cea4a0e0e0045d5f735416f0e4cb4c4528c03ea28a380f4596ad23b46964d5c215625d3c8b2fad07cb7c208157d29c32301e0cce4750efc0d41ac3ed8
data/README.md CHANGED
@@ -42,40 +42,50 @@ for class and method documentation.
42
42
  See also the [Product Documentation](https://cloud.google.com/kubernetes-engine)
43
43
  for general usage information.
44
44
 
45
- ## Enabling Logging
46
-
47
- To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
48
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
49
- or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
50
- that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
51
- and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
52
-
53
- Configuring a Ruby stdlib logger:
45
+ ## Debug Logging
46
+
47
+ This library comes with opt-in Debug Logging that can help you troubleshoot
48
+ your application's integration with the API. When logging is activated, key
49
+ events such as requests and responses, along with data payloads and metadata
50
+ such as headers and client configuration, are logged to the standard error
51
+ stream.
52
+
53
+ **WARNING:** Client Library Debug Logging includes your data payloads in
54
+ plaintext, which could include sensitive data such as PII for yourself or your
55
+ customers, private keys, or other security data that could be compromising if
56
+ leaked. Always practice good data hygiene with your application logs, and follow
57
+ the principle of least access. Google also recommends that Client Library Debug
58
+ Logging be enabled only temporarily during active debugging, and not used
59
+ permanently in production.
60
+
61
+ To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
62
+ to the value `all`. Alternatively, you can set the value to a comma-delimited
63
+ list of client library gem names. This will select the default logging behavior,
64
+ which writes logs to the standard error stream. On a local workstation, this may
65
+ result in logs appearing on the console. When running on a Google Cloud hosting
66
+ service such as [Google Cloud Run](https://cloud.google.com/run), this generally
67
+ results in logs appearing alongside your application logs in the
68
+ [Google Cloud Logging](https://cloud.google.com/logging/) service.
69
+
70
+ You can customize logging by modifying the `logger` configuration when
71
+ constructing a client object. For example:
54
72
 
55
73
  ```ruby
74
+ require "google/cloud/container/v1beta1"
56
75
  require "logger"
57
76
 
58
- module MyLogger
59
- LOGGER = Logger.new $stderr, level: Logger::WARN
60
- def logger
61
- LOGGER
62
- end
63
- end
64
-
65
- # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
66
- module GRPC
67
- extend MyLogger
77
+ client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |config|
78
+ config.logger = Logger.new "my-app.log"
68
79
  end
69
80
  ```
70
81
 
71
-
72
82
  ## Google Cloud Samples
73
83
 
74
84
  To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
75
85
 
76
86
  ## Supported Ruby Versions
77
87
 
78
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
79
89
 
80
90
  Google provides official support for Ruby versions that are actively supported
81
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -254,8 +254,28 @@ module Google
254
254
  universe_domain: @config.universe_domain,
255
255
  channel_args: @config.channel_args,
256
256
  interceptors: @config.interceptors,
257
- channel_pool_config: @config.channel_pool
257
+ channel_pool_config: @config.channel_pool,
258
+ logger: @config.logger
258
259
  )
260
+
261
+ @cluster_manager_stub.stub_logger&.info do |entry|
262
+ entry.set_system_name
263
+ entry.set_service
264
+ entry.message = "Created client for #{entry.service}"
265
+ entry.set_credentials_fields credentials
266
+ entry.set "customEndpoint", @config.endpoint if @config.endpoint
267
+ entry.set "defaultTimeout", @config.timeout if @config.timeout
268
+ entry.set "quotaProject", @quota_project_id if @quota_project_id
269
+ end
270
+ end
271
+
272
+ ##
273
+ # The logger used for request/response debug logging.
274
+ #
275
+ # @return [Logger]
276
+ #
277
+ def logger
278
+ @cluster_manager_stub.logger
259
279
  end
260
280
 
261
281
  # Service calls
@@ -352,7 +372,6 @@ module Google
352
372
 
353
373
  @cluster_manager_stub.call_rpc :list_clusters, request, options: options do |response, operation|
354
374
  yield response, operation if block_given?
355
- return response
356
375
  end
357
376
  rescue ::GRPC::BadStatus => e
358
377
  raise ::Google::Cloud::Error.from_error(e)
@@ -451,7 +470,6 @@ module Google
451
470
 
452
471
  @cluster_manager_stub.call_rpc :get_cluster, request, options: options do |response, operation|
453
472
  yield response, operation if block_given?
454
- return response
455
473
  end
456
474
  rescue ::GRPC::BadStatus => e
457
475
  raise ::Google::Cloud::Error.from_error(e)
@@ -563,7 +581,6 @@ module Google
563
581
 
564
582
  @cluster_manager_stub.call_rpc :create_cluster, request, options: options do |response, operation|
565
583
  yield response, operation if block_given?
566
- return response
567
584
  end
568
585
  rescue ::GRPC::BadStatus => e
569
586
  raise ::Google::Cloud::Error.from_error(e)
@@ -664,7 +681,6 @@ module Google
664
681
 
665
682
  @cluster_manager_stub.call_rpc :update_cluster, request, options: options do |response, operation|
666
683
  yield response, operation if block_given?
667
- return response
668
684
  end
669
685
  rescue ::GRPC::BadStatus => e
670
686
  raise ::Google::Cloud::Error.from_error(e)
@@ -857,7 +873,6 @@ module Google
857
873
 
858
874
  @cluster_manager_stub.call_rpc :update_node_pool, request, options: options do |response, operation|
859
875
  yield response, operation if block_given?
860
- return response
861
876
  end
862
877
  rescue ::GRPC::BadStatus => e
863
878
  raise ::Google::Cloud::Error.from_error(e)
@@ -962,7 +977,6 @@ module Google
962
977
 
963
978
  @cluster_manager_stub.call_rpc :set_node_pool_autoscaling, request, options: options do |response, operation|
964
979
  yield response, operation if block_given?
965
- return response
966
980
  end
967
981
  rescue ::GRPC::BadStatus => e
968
982
  raise ::Google::Cloud::Error.from_error(e)
@@ -1073,7 +1087,6 @@ module Google
1073
1087
 
1074
1088
  @cluster_manager_stub.call_rpc :set_logging_service, request, options: options do |response, operation|
1075
1089
  yield response, operation if block_given?
1076
- return response
1077
1090
  end
1078
1091
  rescue ::GRPC::BadStatus => e
1079
1092
  raise ::Google::Cloud::Error.from_error(e)
@@ -1184,7 +1197,6 @@ module Google
1184
1197
 
1185
1198
  @cluster_manager_stub.call_rpc :set_monitoring_service, request, options: options do |response, operation|
1186
1199
  yield response, operation if block_given?
1187
- return response
1188
1200
  end
1189
1201
  rescue ::GRPC::BadStatus => e
1190
1202
  raise ::Google::Cloud::Error.from_error(e)
@@ -1286,7 +1298,6 @@ module Google
1286
1298
 
1287
1299
  @cluster_manager_stub.call_rpc :set_addons_config, request, options: options do |response, operation|
1288
1300
  yield response, operation if block_given?
1289
- return response
1290
1301
  end
1291
1302
  rescue ::GRPC::BadStatus => e
1292
1303
  raise ::Google::Cloud::Error.from_error(e)
@@ -1398,7 +1409,6 @@ module Google
1398
1409
 
1399
1410
  @cluster_manager_stub.call_rpc :set_locations, request, options: options do |response, operation|
1400
1411
  yield response, operation if block_given?
1401
- return response
1402
1412
  end
1403
1413
  rescue ::GRPC::BadStatus => e
1404
1414
  raise ::Google::Cloud::Error.from_error(e)
@@ -1508,7 +1518,6 @@ module Google
1508
1518
 
1509
1519
  @cluster_manager_stub.call_rpc :update_master, request, options: options do |response, operation|
1510
1520
  yield response, operation if block_given?
1511
- return response
1512
1521
  end
1513
1522
  rescue ::GRPC::BadStatus => e
1514
1523
  raise ::Google::Cloud::Error.from_error(e)
@@ -1613,7 +1622,6 @@ module Google
1613
1622
 
1614
1623
  @cluster_manager_stub.call_rpc :set_master_auth, request, options: options do |response, operation|
1615
1624
  yield response, operation if block_given?
1616
- return response
1617
1625
  end
1618
1626
  rescue ::GRPC::BadStatus => e
1619
1627
  raise ::Google::Cloud::Error.from_error(e)
@@ -1720,7 +1728,6 @@ module Google
1720
1728
 
1721
1729
  @cluster_manager_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
1722
1730
  yield response, operation if block_given?
1723
- return response
1724
1731
  end
1725
1732
  rescue ::GRPC::BadStatus => e
1726
1733
  raise ::Google::Cloud::Error.from_error(e)
@@ -1817,7 +1824,6 @@ module Google
1817
1824
 
1818
1825
  @cluster_manager_stub.call_rpc :list_operations, request, options: options do |response, operation|
1819
1826
  yield response, operation if block_given?
1820
- return response
1821
1827
  end
1822
1828
  rescue ::GRPC::BadStatus => e
1823
1829
  raise ::Google::Cloud::Error.from_error(e)
@@ -1916,7 +1922,6 @@ module Google
1916
1922
 
1917
1923
  @cluster_manager_stub.call_rpc :get_operation, request, options: options do |response, operation|
1918
1924
  yield response, operation if block_given?
1919
- return response
1920
1925
  end
1921
1926
  rescue ::GRPC::BadStatus => e
1922
1927
  raise ::Google::Cloud::Error.from_error(e)
@@ -2015,7 +2020,6 @@ module Google
2015
2020
 
2016
2021
  @cluster_manager_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
2017
2022
  yield response, operation if block_given?
2018
- return response
2019
2023
  end
2020
2024
  rescue ::GRPC::BadStatus => e
2021
2025
  raise ::Google::Cloud::Error.from_error(e)
@@ -2111,7 +2115,6 @@ module Google
2111
2115
 
2112
2116
  @cluster_manager_stub.call_rpc :get_server_config, request, options: options do |response, operation|
2113
2117
  yield response, operation if block_given?
2114
- return response
2115
2118
  end
2116
2119
  rescue ::GRPC::BadStatus => e
2117
2120
  raise ::Google::Cloud::Error.from_error(e)
@@ -2199,7 +2202,6 @@ module Google
2199
2202
 
2200
2203
  @cluster_manager_stub.call_rpc :get_json_web_keys, request, options: options do |response, operation|
2201
2204
  yield response, operation if block_given?
2202
- return response
2203
2205
  end
2204
2206
  rescue ::GRPC::BadStatus => e
2205
2207
  raise ::Google::Cloud::Error.from_error(e)
@@ -2298,7 +2300,6 @@ module Google
2298
2300
 
2299
2301
  @cluster_manager_stub.call_rpc :list_node_pools, request, options: options do |response, operation|
2300
2302
  yield response, operation if block_given?
2301
- return response
2302
2303
  end
2303
2304
  rescue ::GRPC::BadStatus => e
2304
2305
  raise ::Google::Cloud::Error.from_error(e)
@@ -2401,7 +2402,6 @@ module Google
2401
2402
 
2402
2403
  @cluster_manager_stub.call_rpc :get_node_pool, request, options: options do |response, operation|
2403
2404
  yield response, operation if block_given?
2404
- return response
2405
2405
  end
2406
2406
  rescue ::GRPC::BadStatus => e
2407
2407
  raise ::Google::Cloud::Error.from_error(e)
@@ -2503,7 +2503,6 @@ module Google
2503
2503
 
2504
2504
  @cluster_manager_stub.call_rpc :create_node_pool, request, options: options do |response, operation|
2505
2505
  yield response, operation if block_given?
2506
- return response
2507
2506
  end
2508
2507
  rescue ::GRPC::BadStatus => e
2509
2508
  raise ::Google::Cloud::Error.from_error(e)
@@ -2606,7 +2605,6 @@ module Google
2606
2605
 
2607
2606
  @cluster_manager_stub.call_rpc :delete_node_pool, request, options: options do |response, operation|
2608
2607
  yield response, operation if block_given?
2609
- return response
2610
2608
  end
2611
2609
  rescue ::GRPC::BadStatus => e
2612
2610
  raise ::Google::Cloud::Error.from_error(e)
@@ -2695,7 +2693,6 @@ module Google
2695
2693
 
2696
2694
  @cluster_manager_stub.call_rpc :complete_node_pool_upgrade, request, options: options do |response, operation|
2697
2695
  yield response, operation if block_given?
2698
- return response
2699
2696
  end
2700
2697
  rescue ::GRPC::BadStatus => e
2701
2698
  raise ::Google::Cloud::Error.from_error(e)
@@ -2802,7 +2799,6 @@ module Google
2802
2799
 
2803
2800
  @cluster_manager_stub.call_rpc :rollback_node_pool_upgrade, request, options: options do |response, operation|
2804
2801
  yield response, operation if block_given?
2805
- return response
2806
2802
  end
2807
2803
  rescue ::GRPC::BadStatus => e
2808
2804
  raise ::Google::Cloud::Error.from_error(e)
@@ -2907,7 +2903,6 @@ module Google
2907
2903
 
2908
2904
  @cluster_manager_stub.call_rpc :set_node_pool_management, request, options: options do |response, operation|
2909
2905
  yield response, operation if block_given?
2910
- return response
2911
2906
  end
2912
2907
  rescue ::GRPC::BadStatus => e
2913
2908
  raise ::Google::Cloud::Error.from_error(e)
@@ -3015,7 +3010,6 @@ module Google
3015
3010
 
3016
3011
  @cluster_manager_stub.call_rpc :set_labels, request, options: options do |response, operation|
3017
3012
  yield response, operation if block_given?
3018
- return response
3019
3013
  end
3020
3014
  rescue ::GRPC::BadStatus => e
3021
3015
  raise ::Google::Cloud::Error.from_error(e)
@@ -3116,7 +3110,6 @@ module Google
3116
3110
 
3117
3111
  @cluster_manager_stub.call_rpc :set_legacy_abac, request, options: options do |response, operation|
3118
3112
  yield response, operation if block_given?
3119
- return response
3120
3113
  end
3121
3114
  rescue ::GRPC::BadStatus => e
3122
3115
  raise ::Google::Cloud::Error.from_error(e)
@@ -3217,7 +3210,6 @@ module Google
3217
3210
 
3218
3211
  @cluster_manager_stub.call_rpc :start_ip_rotation, request, options: options do |response, operation|
3219
3212
  yield response, operation if block_given?
3220
- return response
3221
3213
  end
3222
3214
  rescue ::GRPC::BadStatus => e
3223
3215
  raise ::Google::Cloud::Error.from_error(e)
@@ -3316,7 +3308,6 @@ module Google
3316
3308
 
3317
3309
  @cluster_manager_stub.call_rpc :complete_ip_rotation, request, options: options do |response, operation|
3318
3310
  yield response, operation if block_given?
3319
- return response
3320
3311
  end
3321
3312
  rescue ::GRPC::BadStatus => e
3322
3313
  raise ::Google::Cloud::Error.from_error(e)
@@ -3423,7 +3414,6 @@ module Google
3423
3414
 
3424
3415
  @cluster_manager_stub.call_rpc :set_node_pool_size, request, options: options do |response, operation|
3425
3416
  yield response, operation if block_given?
3426
- return response
3427
3417
  end
3428
3418
  rescue ::GRPC::BadStatus => e
3429
3419
  raise ::Google::Cloud::Error.from_error(e)
@@ -3524,7 +3514,6 @@ module Google
3524
3514
 
3525
3515
  @cluster_manager_stub.call_rpc :set_network_policy, request, options: options do |response, operation|
3526
3516
  yield response, operation if block_given?
3527
- return response
3528
3517
  end
3529
3518
  rescue ::GRPC::BadStatus => e
3530
3519
  raise ::Google::Cloud::Error.from_error(e)
@@ -3624,7 +3613,6 @@ module Google
3624
3613
 
3625
3614
  @cluster_manager_stub.call_rpc :set_maintenance_policy, request, options: options do |response, operation|
3626
3615
  yield response, operation if block_given?
3627
- return response
3628
3616
  end
3629
3617
  rescue ::GRPC::BadStatus => e
3630
3618
  raise ::Google::Cloud::Error.from_error(e)
@@ -3729,7 +3717,7 @@ module Google
3729
3717
  @cluster_manager_stub.call_rpc :list_usable_subnetworks, request, options: options do |response, operation|
3730
3718
  response = ::Gapic::PagedEnumerable.new @cluster_manager_stub, :list_usable_subnetworks, request, response, operation, options
3731
3719
  yield response, operation if block_given?
3732
- return response
3720
+ throw :response, response
3733
3721
  end
3734
3722
  rescue ::GRPC::BadStatus => e
3735
3723
  raise ::Google::Cloud::Error.from_error(e)
@@ -3817,7 +3805,6 @@ module Google
3817
3805
 
3818
3806
  @cluster_manager_stub.call_rpc :check_autopilot_compatibility, request, options: options do |response, operation|
3819
3807
  yield response, operation if block_given?
3820
- return response
3821
3808
  end
3822
3809
  rescue ::GRPC::BadStatus => e
3823
3810
  raise ::Google::Cloud::Error.from_error(e)
@@ -3904,7 +3891,6 @@ module Google
3904
3891
 
3905
3892
  @cluster_manager_stub.call_rpc :list_locations, request, options: options do |response, operation|
3906
3893
  yield response, operation if block_given?
3907
- return response
3908
3894
  end
3909
3895
  rescue ::GRPC::BadStatus => e
3910
3896
  raise ::Google::Cloud::Error.from_error(e)
@@ -3954,6 +3940,13 @@ module Google
3954
3940
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3955
3941
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3956
3942
  # * (`nil`) indicating no credentials
3943
+ #
3944
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3945
+ # external source for authentication to Google Cloud, you must validate it before
3946
+ # providing it to a Google API client library. Providing an unvalidated credential
3947
+ # configuration to Google APIs can compromise the security of your systems and data.
3948
+ # For more information, refer to [Validate credential configurations from external
3949
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3957
3950
  # @return [::Object]
3958
3951
  # @!attribute [rw] scope
3959
3952
  # The OAuth scopes
@@ -3993,6 +3986,11 @@ module Google
3993
3986
  # default endpoint URL. The default value of nil uses the environment
3994
3987
  # universe (usually the default "googleapis.com" universe).
3995
3988
  # @return [::String,nil]
3989
+ # @!attribute [rw] logger
3990
+ # A custom logger to use for request/response debug logging, or the value
3991
+ # `:default` (the default) to construct a default logger, or `nil` to
3992
+ # explicitly disable logging.
3993
+ # @return [::Logger,:default,nil]
3996
3994
  #
3997
3995
  class Configuration
3998
3996
  extend ::Gapic::Config
@@ -4017,6 +4015,7 @@ module Google
4017
4015
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
4018
4016
  config_attr :quota_project, nil, ::String, nil
4019
4017
  config_attr :universe_domain, nil, ::String, nil
4018
+ config_attr :logger, :default, ::Logger, nil, :default
4020
4019
 
4021
4020
  # @private
4022
4021
  def initialize parent_config = nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.43.0"
24
+ VERSION = "0.45.0"
25
25
  end
26
26
  end
27
27
  end
@@ -28,6 +28,9 @@ module Google
28
28
  # @!attribute [rw] destinations
29
29
  # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
30
  # The destination where API teams want this client library to be published.
31
+ # @!attribute [rw] selective_gapic_generation
32
+ # @return [::Google::Api::SelectiveGapicGeneration]
33
+ # Configuration for which RPCs should be generated in the GAPIC client.
31
34
  class CommonLanguageSettings
32
35
  include ::Google::Protobuf::MessageExts
33
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,12 @@ module Google
212
215
  # enabled. By default, asynchronous REST clients will not be generated.
213
216
  # This feature will be enabled by default 1 month after launching the
214
217
  # feature in preview packages.
218
+ # @!attribute [rw] protobuf_pythonic_types_enabled
219
+ # @return [::Boolean]
220
+ # Enables generation of protobuf code using new types that are more
221
+ # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
+ # enabled by default 1 month after launching the feature in preview
223
+ # packages.
215
224
  class ExperimentalFeatures
216
225
  include ::Google::Protobuf::MessageExts
217
226
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -297,9 +306,28 @@ module Google
297
306
  # @!attribute [rw] common
298
307
  # @return [::Google::Api::CommonLanguageSettings]
299
308
  # Some settings.
309
+ # @!attribute [rw] renamed_services
310
+ # @return [::Google::Protobuf::Map{::String => ::String}]
311
+ # Map of service names to renamed services. Keys are the package relative
312
+ # service names and values are the name to be used for the service client
313
+ # and call options.
314
+ #
315
+ # publishing:
316
+ # go_settings:
317
+ # renamed_services:
318
+ # Publisher: TopicAdmin
300
319
  class GoSettings
301
320
  include ::Google::Protobuf::MessageExts
302
321
  extend ::Google::Protobuf::MessageExts::ClassMethods
322
+
323
+ # @!attribute [rw] key
324
+ # @return [::String]
325
+ # @!attribute [rw] value
326
+ # @return [::String]
327
+ class RenamedServicesEntry
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
303
331
  end
304
332
 
305
333
  # Describes the generator configuration for a method.
@@ -375,6 +403,17 @@ module Google
375
403
  end
376
404
  end
377
405
 
406
+ # This message is used to configure the generation of a subset of the RPCs in
407
+ # a service for client libraries.
408
+ # @!attribute [rw] methods
409
+ # @return [::Array<::String>]
410
+ # An allowlist of the fully qualified names of RPCs that should be included
411
+ # on public client surfaces.
412
+ class SelectiveGapicGeneration
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
+ end
416
+
378
417
  # The organization for which the client libraries are being published.
379
418
  # Affects the url where generated docs are published, etc.
380
419
  module ClientLibraryOrganization
@@ -2916,12 +2916,18 @@ module Google
2916
2916
  # @!attribute [rw] int_value
2917
2917
  # @return [::Integer]
2918
2918
  # For metrics with integer value.
2919
+ #
2920
+ # Note: The following fields are mutually exclusive: `int_value`, `double_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2919
2921
  # @!attribute [rw] double_value
2920
2922
  # @return [::Float]
2921
2923
  # For metrics with floating point value.
2924
+ #
2925
+ # Note: The following fields are mutually exclusive: `double_value`, `int_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2922
2926
  # @!attribute [rw] string_value
2923
2927
  # @return [::String]
2924
2928
  # For metrics with custom values (ratios, visual progress, etc.).
2929
+ #
2930
+ # Note: The following fields are mutually exclusive: `string_value`, `int_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2925
2931
  class Metric
2926
2932
  include ::Google::Protobuf::MessageExts
2927
2933
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3868,9 +3874,13 @@ module Google
3868
3874
  # @!attribute [rw] standard_rollout_policy
3869
3875
  # @return [::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy]
3870
3876
  # Standard policy for the blue-green upgrade.
3877
+ #
3878
+ # Note: The following fields are mutually exclusive: `standard_rollout_policy`, `autoscaled_rollout_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3871
3879
  # @!attribute [rw] autoscaled_rollout_policy
3872
3880
  # @return [::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy]
3873
3881
  # Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
3882
+ #
3883
+ # Note: The following fields are mutually exclusive: `autoscaled_rollout_policy`, `standard_rollout_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3874
3884
  # @!attribute [rw] node_pool_soak_duration
3875
3885
  # @return [::Google::Protobuf::Duration]
3876
3886
  # Time needed after draining entire blue pool. After this period, blue pool
@@ -3884,9 +3894,13 @@ module Google
3884
3894
  # @return [::Float]
3885
3895
  # Percentage of the blue pool nodes to drain in a batch.
3886
3896
  # The range of this field should be (0.0, 1.0].
3897
+ #
3898
+ # Note: The following fields are mutually exclusive: `batch_percentage`, `batch_node_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3887
3899
  # @!attribute [rw] batch_node_count
3888
3900
  # @return [::Integer]
3889
3901
  # Number of blue nodes to drain in a batch.
3902
+ #
3903
+ # Note: The following fields are mutually exclusive: `batch_node_count`, `batch_percentage`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3890
3904
  # @!attribute [rw] batch_soak_duration
3891
3905
  # @return [::Google::Protobuf::Duration]
3892
3906
  # Soak time after each batch gets drained. Default to zero.
@@ -4259,11 +4273,15 @@ module Google
4259
4273
  # @!attribute [rw] daily_maintenance_window
4260
4274
  # @return [::Google::Cloud::Container::V1beta1::DailyMaintenanceWindow]
4261
4275
  # DailyMaintenanceWindow specifies a daily maintenance operation window.
4276
+ #
4277
+ # Note: The following fields are mutually exclusive: `daily_maintenance_window`, `recurring_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4262
4278
  # @!attribute [rw] recurring_window
4263
4279
  # @return [::Google::Cloud::Container::V1beta1::RecurringTimeWindow]
4264
4280
  # RecurringWindow specifies some number of recurring time periods for
4265
4281
  # maintenance to occur. The time windows may be overlapping. If no
4266
4282
  # maintenance windows are set, maintenance can occur at any time.
4283
+ #
4284
+ # Note: The following fields are mutually exclusive: `recurring_window`, `daily_maintenance_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4267
4285
  # @!attribute [rw] maintenance_exclusions
4268
4286
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Container::V1beta1::TimeWindow}]
4269
4287
  # Exceptions to maintenance window. Non-emergency maintenance should not
@@ -5160,7 +5178,7 @@ module Google
5160
5178
  # @!attribute [r] network
5161
5179
  # @return [::String]
5162
5180
  # Output only. The relative name of the Google Compute Engine
5163
- # {::Google::Cloud::Container::V1beta1::NetworkConfig#network network}(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
5181
+ # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
5164
5182
  # to which the cluster is connected. Example:
5165
5183
  # projects/my-project/global/networks/my-network
5166
5184
  # @!attribute [r] subnetwork
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.21.1
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.21.1
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -84,7 +83,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
84
83
  licenses:
85
84
  - Apache-2.0
86
85
  metadata: {}
87
- post_install_message:
88
86
  rdoc_options: []
89
87
  require_paths:
90
88
  - lib
@@ -92,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
90
  requirements:
93
91
  - - ">="
94
92
  - !ruby/object:Gem::Version
95
- version: '2.7'
93
+ version: '3.0'
96
94
  required_rubygems_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
98
  version: '0'
101
99
  requirements: []
102
- rubygems_version: 3.5.6
103
- signing_key:
100
+ rubygems_version: 3.6.2
104
101
  specification_version: 4
105
102
  summary: Builds and manages container-based applications, powered by the open source
106
103
  Kubernetes technology.