google-cloud-ids-v1 1.2.0 → 2.0.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: 51cd7043b4b426667fd61e06583210b19a7e8fcc614982e4bacae8ef282b2085
4
- data.tar.gz: 628acfeab868cf7e784cd33dbf51d7617eb91d990e3ef9d46fb2dc38ce602c8d
3
+ metadata.gz: 8ed84d3127aac734db49c8e0f2b6e6ed06157d93712d53d2283131179b65120d
4
+ data.tar.gz: 6f56d9fbd03da48544487abb5c36f3511efe68d910a052170f8c53a8a01a421b
5
5
  SHA512:
6
- metadata.gz: 5d32f608d697f374e80b719466ececca6772308b1cd0086e59c2847474710ce2af7a9eb8a9adb7ab4e75d50923637480cd6f309182c3e4495f45d1f52b2bc92b
7
- data.tar.gz: d5c0168e20e754a903059e6f2ff0d382536cab66e4bb67df837fd1be7222b4732ff3300c5ca64df45a96a6debbb18537d968077da75d59fffbb8a16cc28d74bc
6
+ metadata.gz: 2bbd724c80d95d2f35b83f62379b5647cef44de7cdb294dc4ec44a7665f16a2171bfc5846742473f9256d76c09a3556d11bcdd5900ada325646234e84ac0fa52
7
+ data.tar.gz: 4d2c185d40dd4b950959bfad781d9e11237010ceea195f67de6bea2fcf32418ff8641cc4567643ba8ff7e6376c2e51e7f90d73d025172d021420ee1d78bb0998
@@ -733,8 +733,8 @@ module Google
733
733
 
734
734
  config_attr :endpoint, nil, ::String, nil
735
735
  config_attr :credentials, nil do |value|
736
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
737
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
736
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
737
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
738
738
  allowed.any? { |klass| klass === value }
739
739
  end
740
740
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- 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
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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)
@@ -687,7 +689,7 @@ module Google
687
689
 
688
690
  config_attr :endpoint, nil, ::String, nil
689
691
  config_attr :credentials, nil do |value|
690
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
692
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
691
693
  allowed.any? { |klass| klass === value }
692
694
  end
693
695
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- 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]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module IDS
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.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
metadata CHANGED
@@ -1,13 +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.2.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.6.2
109
+ rubygems_version: 3.6.8
110
110
  specification_version: 4
111
111
  summary: Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control
112
112
  attacks, and other network-based threats. Its security efficacy is industry leading,