google-cloud-ids-v1 1.1.0 → 2.0.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: 6f2e03878a016077ba091b50b8c05eab234b3f35b93b3d97f165fe91534224be
4
- data.tar.gz: a68f665179c184e861c77991ff0d6f67b7185b0845bd46a8d9af1327a38f55b6
3
+ metadata.gz: 68f2831efd0bed42041c6f481991456f5d99f8be370ba42dca73b56797a067a9
4
+ data.tar.gz: 4822361471ce7039628dfb71378e0f8b116abefccc3344fcdcdb7cd5ac253c3d
5
5
  SHA512:
6
- metadata.gz: 97d0ce3299a2dbf16d9a20d2496e50f3280074d98c00e3f4409f854d8d8c05c92e4e032cc8aa04e58565d7dc940749d317b16370feb0db4386e6579bf09f39b9
7
- data.tar.gz: 77f237afea72fd881c36f72191fd0d37ebfe7d952259629d26e0464b36a5530f1e56a83fc1dc75cd68f6413acdfb34cbf1866dd2c83f1fbbbbe831c42301f0bb
6
+ metadata.gz: 92f0c7646f9bf71af66071c070b4c2667ff409823b3a37e63575f6482406bba2e57cdf8f98ffff439d8cf66123fc2ea6bd13bf517d39ff0d2f079108cea7934c
7
+ data.tar.gz: a739f15e99128e01a91a5640559031ef64a14483bee1f253dbc410947c5622744b2b84288080c80d891f0a15e874f018c5162414d7d18fd5655251ec1c07940f
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
@@ -672,6 +672,13 @@ module Google
672
672
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
673
673
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
674
674
  # * (`nil`) indicating no credentials
675
+ #
676
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
677
+ # external source for authentication to Google Cloud, you must validate it before
678
+ # providing it to a Google API client library. Providing an unvalidated credential
679
+ # configuration to Google APIs can compromise the security of your systems and data.
680
+ # For more information, refer to [Validate credential configurations from external
681
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
675
682
  # @return [::Object]
676
683
  # @!attribute [rw] scope
677
684
  # The OAuth scopes
@@ -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
@@ -240,10 +240,10 @@ module Google
240
240
  # Optional. One or more fields to compare and use to sort the output.
241
241
  # See https://google.aip.dev/132#ordering.
242
242
  # @yield [result, operation] Access the result along with the TransportOperation object
243
- # @yieldparam result [::Google::Cloud::IDS::V1::ListEndpointsResponse]
243
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::IDS::V1::Endpoint>]
244
244
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
245
245
  #
246
- # @return [::Google::Cloud::IDS::V1::ListEndpointsResponse]
246
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::IDS::V1::Endpoint>]
247
247
  #
248
248
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
249
249
  #
@@ -295,7 +295,9 @@ module Google
295
295
  retry_policy: @config.retry_policy
296
296
 
297
297
  @ids_stub.list_endpoints request, options do |result, operation|
298
+ result = ::Gapic::Rest::PagedEnumerable.new @ids_stub, :list_endpoints, "endpoints", request, result, options
298
299
  yield result, operation if block_given?
300
+ throw :response, result
299
301
  end
300
302
  rescue ::Gapic::Rest::Error => e
301
303
  raise ::Google::Cloud::Error.from_error(e)
@@ -633,6 +635,13 @@ module Google
633
635
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
634
636
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
635
637
  # * (`nil`) indicating no credentials
638
+ #
639
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
640
+ # external source for authentication to Google Cloud, you must validate it before
641
+ # providing it to a Google API client library. Providing an unvalidated credential
642
+ # configuration to Google APIs can compromise the security of your systems and data.
643
+ # For more information, refer to [Validate credential configurations from external
644
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
636
645
  # @return [::Object]
637
646
  # @!attribute [rw] scope
638
647
  # The OAuth scopes
@@ -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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module IDS
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  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-ids-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.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-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 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
@@ -93,7 +92,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
93
92
  licenses:
94
93
  - Apache-2.0
95
94
  metadata: {}
96
- post_install_message:
97
95
  rdoc_options: []
98
96
  require_paths:
99
97
  - lib
@@ -101,15 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
- version: '2.7'
102
+ version: '3.0'
105
103
  required_rubygems_version: !ruby/object:Gem::Requirement
106
104
  requirements:
107
105
  - - ">="
108
106
  - !ruby/object:Gem::Version
109
107
  version: '0'
110
108
  requirements: []
111
- rubygems_version: 3.5.23
112
- signing_key:
109
+ rubygems_version: 3.6.3
113
110
  specification_version: 4
114
111
  summary: Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control
115
112
  attacks, and other network-based threats. Its security efficacy is industry leading,