google-cloud-network_security-v1beta1 0.9.0 → 0.10.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: d16637bff67e4cbd2d359dc9edac103aab5ecab7593ead546b0689590e138098
4
- data.tar.gz: 464f45cba0a25456b06a7a0dbd61234bf338e97963e8b95e6d4dc3a186894dcf
3
+ metadata.gz: 44a68821f8ba9cb54a0c0b403756ef8c1a52529a239e5a1f0ea3d3b43475cf1b
4
+ data.tar.gz: 92542eb698c0435818b004d9a09247d716e73e2d63c834063d52b8b99abd6781
5
5
  SHA512:
6
- metadata.gz: 79c6c36c276830f0771821f5376a137b074640d61aef2843f2274b9e8a4ed0cb54e68356f9f6efa78a1698d08918ad92d3c17f96e7f79da18a87212a6cb3c6f4
7
- data.tar.gz: b5e97d275c2ab6f82db7eb5820197c764d6bd2af63b43007e0aee24562670f5d615857945dd675c75feafd7d17b1485883138c0d81957188ef7cf04a900466ed
6
+ metadata.gz: 1bad995d4af0847d49565ae1948c9d311f4aa97ea06235bcb5d7810003fdc1a54d7137f34c780f5a722322c5a41a63c8a9edbda9dc5d7f499b1007bfd65a7fd3
7
+ data.tar.gz: b8745c2a2ebbae1136e5bcbe32d054432b4a331252a70bcd17bfa63e21a98f7493a4a2fdec8e90d6bc12c0d5011a4cd69f829e8ab18603b551f51b5eff449a4c
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1726,6 +1726,13 @@ module Google
1726
1726
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1727
1727
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1728
1728
  # * (`nil`) indicating no credentials
1729
+ #
1730
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1731
+ # external source for authentication to Google Cloud, you must validate it before
1732
+ # providing it to a Google API client library. Providing an unvalidated credential
1733
+ # configuration to Google APIs can compromise the security of your systems and data.
1734
+ # For more information, refer to [Validate credential configurations from external
1735
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1729
1736
  # @return [::Object]
1730
1737
  # @!attribute [rw] scope
1731
1738
  # The OAuth scopes
@@ -1780,8 +1787,8 @@ module Google
1780
1787
 
1781
1788
  config_attr :endpoint, nil, ::String, nil
1782
1789
  config_attr :credentials, nil do |value|
1783
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1784
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1790
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1791
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1785
1792
  allowed.any? { |klass| klass === value }
1786
1793
  end
1787
1794
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1614,6 +1614,13 @@ module Google
1614
1614
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1615
1615
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1616
1616
  # * (`nil`) indicating no credentials
1617
+ #
1618
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1619
+ # external source for authentication to Google Cloud, you must validate it before
1620
+ # providing it to a Google API client library. Providing an unvalidated credential
1621
+ # configuration to Google APIs can compromise the security of your systems and data.
1622
+ # For more information, refer to [Validate credential configurations from external
1623
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1617
1624
  # @return [::Object]
1618
1625
  # @!attribute [rw] scope
1619
1626
  # The OAuth scopes
@@ -1661,7 +1668,7 @@ module Google
1661
1668
 
1662
1669
  config_attr :endpoint, nil, ::String, nil
1663
1670
  config_attr :credentials, nil do |value|
1664
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1671
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1665
1672
  allowed.any? { |klass| klass === value }
1666
1673
  end
1667
1674
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.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
@@ -37,11 +37,15 @@ module Google
37
37
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::GrpcEndpoint]
38
38
  # gRPC specific configuration to access the gRPC server to
39
39
  # obtain the CA certificate.
40
+ #
41
+ # Note: The following fields are mutually exclusive: `grpc_endpoint`, `certificate_provider_instance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
42
  # @!attribute [rw] certificate_provider_instance
41
43
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::CertificateProviderInstance]
42
44
  # The certificate provider instance specification that will be passed to
43
45
  # the data plane, which will be used to load necessary credential
44
46
  # information.
47
+ #
48
+ # Note: The following fields are mutually exclusive: `certificate_provider_instance`, `grpc_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
45
49
  class ValidationCA
46
50
  include ::Google::Protobuf::MessageExts
47
51
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -67,11 +71,15 @@ module Google
67
71
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::GrpcEndpoint]
68
72
  # gRPC specific configuration to access the gRPC server to
69
73
  # obtain the cert and private key.
74
+ #
75
+ # Note: The following fields are mutually exclusive: `grpc_endpoint`, `certificate_provider_instance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
70
76
  # @!attribute [rw] certificate_provider_instance
71
77
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::CertificateProviderInstance]
72
78
  # The certificate provider instance specification that will be passed to
73
79
  # the data plane, which will be used to load necessary credential
74
80
  # information.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `certificate_provider_instance`, `grpc_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
75
83
  class CertificateProvider
76
84
  include ::Google::Protobuf::MessageExts
77
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_security-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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
@@ -140,7 +139,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
140
139
  licenses:
141
140
  - Apache-2.0
142
141
  metadata: {}
143
- post_install_message:
144
142
  rdoc_options: []
145
143
  require_paths:
146
144
  - lib
@@ -148,15 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
146
  requirements:
149
147
  - - ">="
150
148
  - !ruby/object:Gem::Version
151
- version: '2.7'
149
+ version: '3.0'
152
150
  required_rubygems_version: !ruby/object:Gem::Requirement
153
151
  requirements:
154
152
  - - ">="
155
153
  - !ruby/object:Gem::Version
156
154
  version: '0'
157
155
  requirements: []
158
- rubygems_version: 3.5.23
159
- signing_key:
156
+ rubygems_version: 3.6.8
160
157
  specification_version: 4
161
158
  summary: API Client library for the Network Security V1beta1 API
162
159
  test_files: []