google-cloud-container-v1 1.5.0 → 1.6.1

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: 107dd801240873dc8fad1ea7728399ad37473c98c6d748d68f90d831346204bd
4
- data.tar.gz: a6971cd24fdf306c6ac3b53a03856ca6bb6bede1b29e13ef6fbdc36e1bd833de
3
+ metadata.gz: 74b6296df475772b2afadfaf2e52dfa6ed99f11318babff8adde79ec09981145
4
+ data.tar.gz: 4dc0472119a62d1e4792e8ddfe6f207a52ad7bea9b95cef7b6b3e221446bd0e1
5
5
  SHA512:
6
- metadata.gz: 3fcc52bc14b0a6035b304d2bbfcb1d01cd3807d68f054061ee0094a4d3bc1a43298c98abb13266569fb81f90a7f7634c94d2ce54dc9f3e71c2ed257427a75ef2
7
- data.tar.gz: 196d24d46b6b0065e978a072144295754ad2c2de746cd11ae61b678f182cbdd914baaf20faeeef0848ac5181cf724ea545256ef51577f2ffdc613a19be93aa74
6
+ metadata.gz: 258d45982cb922d03c5f3acd608ab4c34e52af1b5889912290570dfcd64d883fa30f4bf3dfb0de94dc128f49775caa2758aed891528e4234c04ed0c67226c6ba
7
+ data.tar.gz: 3832f6f26dc18107cc4fa9558ffa32bf7ad61f18007cf3c340467064e7b5bba3f74ba7079bbd7e7a21cc134ad735f9443b9a1aca5f75b7017e39e178b24278e2
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -3850,6 +3850,13 @@ module Google
3850
3850
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3851
3851
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3852
3852
  # * (`nil`) indicating no credentials
3853
+ #
3854
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3855
+ # external source for authentication to Google Cloud, you must validate it before
3856
+ # providing it to a Google API client library. Providing an unvalidated credential
3857
+ # configuration to Google APIs can compromise the security of your systems and data.
3858
+ # For more information, refer to [Validate credential configurations from external
3859
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3853
3860
  # @return [::Object]
3854
3861
  # @!attribute [rw] scope
3855
3862
  # The OAuth scopes
@@ -3904,8 +3911,8 @@ module Google
3904
3911
 
3905
3912
  config_attr :endpoint, nil, ::String, nil
3906
3913
  config_attr :credentials, nil do |value|
3907
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3908
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3914
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3915
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
3909
3916
  allowed.any? { |klass| klass === value }
3910
3917
  end
3911
3918
  config_attr :scope, nil, ::String, ::Array, nil
@@ -3601,6 +3601,13 @@ module Google
3601
3601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3602
3602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3603
3603
  # * (`nil`) indicating no credentials
3604
+ #
3605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3606
+ # external source for authentication to Google Cloud, you must validate it before
3607
+ # providing it to a Google API client library. Providing an unvalidated credential
3608
+ # configuration to Google APIs can compromise the security of your systems and data.
3609
+ # For more information, refer to [Validate credential configurations from external
3610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3604
3611
  # @return [::Object]
3605
3612
  # @!attribute [rw] scope
3606
3613
  # The OAuth scopes
@@ -3648,7 +3655,7 @@ module Google
3648
3655
 
3649
3656
  config_attr :endpoint, nil, ::String, nil
3650
3657
  config_attr :credentials, nil do |value|
3651
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3658
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3652
3659
  allowed.any? { |klass| klass === value }
3653
3660
  end
3654
3661
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.6.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2714,12 +2714,18 @@ module Google
2714
2714
  # @!attribute [rw] int_value
2715
2715
  # @return [::Integer]
2716
2716
  # For metrics with integer value.
2717
+ #
2718
+ # 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.
2717
2719
  # @!attribute [rw] double_value
2718
2720
  # @return [::Float]
2719
2721
  # For metrics with floating point value.
2722
+ #
2723
+ # 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.
2720
2724
  # @!attribute [rw] string_value
2721
2725
  # @return [::String]
2722
2726
  # For metrics with custom values (ratios, visual progress, etc.).
2727
+ #
2728
+ # 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.
2723
2729
  class Metric
2724
2730
  include ::Google::Protobuf::MessageExts
2725
2731
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3618,9 +3624,13 @@ module Google
3618
3624
  # @return [::Float]
3619
3625
  # Percentage of the blue pool nodes to drain in a batch.
3620
3626
  # The range of this field should be (0.0, 1.0].
3627
+ #
3628
+ # 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.
3621
3629
  # @!attribute [rw] batch_node_count
3622
3630
  # @return [::Integer]
3623
3631
  # Number of blue nodes to drain in a batch.
3632
+ #
3633
+ # 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.
3624
3634
  # @!attribute [rw] batch_soak_duration
3625
3635
  # @return [::Google::Protobuf::Duration]
3626
3636
  # Soak time after each batch gets drained. Default to zero.
@@ -4004,11 +4014,15 @@ module Google
4004
4014
  # @!attribute [rw] daily_maintenance_window
4005
4015
  # @return [::Google::Cloud::Container::V1::DailyMaintenanceWindow]
4006
4016
  # DailyMaintenanceWindow specifies a daily maintenance operation window.
4017
+ #
4018
+ # 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.
4007
4019
  # @!attribute [rw] recurring_window
4008
4020
  # @return [::Google::Cloud::Container::V1::RecurringTimeWindow]
4009
4021
  # RecurringWindow specifies some number of recurring time periods for
4010
4022
  # maintenance to occur. The time windows may be overlapping. If no
4011
4023
  # maintenance windows are set, maintenance can occur at any time.
4024
+ #
4025
+ # 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.
4012
4026
  # @!attribute [rw] maintenance_exclusions
4013
4027
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Container::V1::TimeWindow}]
4014
4028
  # Exceptions to maintenance window. Non-emergency maintenance should not
@@ -4788,7 +4802,7 @@ module Google
4788
4802
  # @!attribute [r] network
4789
4803
  # @return [::String]
4790
4804
  # Output only. The relative name of the Google Compute Engine
4791
- # {::Google::Cloud::Container::V1::NetworkConfig#network network}(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
4805
+ # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
4792
4806
  # to which the cluster is connected. Example:
4793
4807
  # projects/my-project/global/networks/my-network
4794
4808
  # @!attribute [r] subnetwork
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.24.0
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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -87,7 +86,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
87
86
  licenses:
88
87
  - Apache-2.0
89
88
  metadata: {}
90
- post_install_message:
91
89
  rdoc_options: []
92
90
  require_paths:
93
91
  - lib
@@ -95,15 +93,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
93
  requirements:
96
94
  - - ">="
97
95
  - !ruby/object:Gem::Version
98
- version: '2.7'
96
+ version: '3.0'
99
97
  required_rubygems_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
101
  version: '0'
104
102
  requirements: []
105
- rubygems_version: 3.5.23
106
- signing_key:
103
+ rubygems_version: 3.6.8
107
104
  specification_version: 4
108
105
  summary: Builds and manages container-based applications, powered by the open source
109
106
  Kubernetes technology.