google-cloud-network_services-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: 7657da7c8bfe50d0794290f165f19c982d8ed69288f62e90024761be4ff46371
4
- data.tar.gz: e0d3ec4f5c0ad13cd870fdd186a27fe6b8db8ed50f0bb65ef4e30d5e92dd3a8e
3
+ metadata.gz: 18a3560d74662e1407587c199113ff3180fb1ef29da6aa2c1547b886e3e03fb9
4
+ data.tar.gz: e9b5c83e9fbef4a0387b412b58437dc4ac7520f5a094758d18443c78a2429b8c
5
5
  SHA512:
6
- metadata.gz: 98d8030ccf27c6cb3459a9f5892ec9ae2cdd88048ef6537be6799d42a1478d23ed9182ce3474bfcee7bc5441a93979dea02143e4977aafa500e2c23bc84a10e5
7
- data.tar.gz: 4fcea2fa45a76b4cc7371ac19262cbdb66d2cfc61a3533e525cee5fc2f8cb2672743e7d3f065b07b185a396f20421e15cec3de3aa4f1326b3348b3622df6926c
6
+ metadata.gz: c8b9d0baa2430a1c06b55be6f80eb3493ad8cc782d2174b67a73d3171f276311ba6b55120af42512f4aba5020fbe381e8836da58bc13e034f7ae70d3a47c9a08
7
+ data.tar.gz: c1f5bace0935c109531a7fb06b60bbf1a1843a6633b92cc10d6676996c11998dabcbdb3116da10b74601e18812c5b9e31d1d35dabf1bd0efe77179de46b90908
@@ -1391,8 +1391,8 @@ module Google
1391
1391
 
1392
1392
  config_attr :endpoint, nil, ::String, nil
1393
1393
  config_attr :credentials, nil do |value|
1394
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1395
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1394
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1395
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1396
1396
  allowed.any? { |klass| klass === value }
1397
1397
  end
1398
1398
  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
@@ -258,10 +258,10 @@ module Google
258
258
  # @param order_by [::String]
259
259
  # Optional. Hint for how to order the results.
260
260
  # @yield [result, operation] Access the result along with the TransportOperation object
261
- # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse]
261
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbTrafficExtension>]
262
262
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
263
263
  #
264
- # @return [::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse]
264
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbTrafficExtension>]
265
265
  #
266
266
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
267
267
  #
@@ -313,7 +313,9 @@ module Google
313
313
  retry_policy: @config.retry_policy
314
314
 
315
315
  @dep_service_stub.list_lb_traffic_extensions request, options do |result, operation|
316
+ result = ::Gapic::Rest::PagedEnumerable.new @dep_service_stub, :list_lb_traffic_extensions, "lb_traffic_extensions", request, result, options
316
317
  yield result, operation if block_given?
318
+ throw :response, result
317
319
  end
318
320
  rescue ::Gapic::Rest::Error => e
319
321
  raise ::Google::Cloud::Error.from_error(e)
@@ -749,10 +751,10 @@ module Google
749
751
  # @param order_by [::String]
750
752
  # Optional. Hint for how to order the results.
751
753
  # @yield [result, operation] Access the result along with the TransportOperation object
752
- # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse]
754
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbRouteExtension>]
753
755
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
754
756
  #
755
- # @return [::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse]
757
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbRouteExtension>]
756
758
  #
757
759
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
758
760
  #
@@ -804,7 +806,9 @@ module Google
804
806
  retry_policy: @config.retry_policy
805
807
 
806
808
  @dep_service_stub.list_lb_route_extensions request, options do |result, operation|
809
+ result = ::Gapic::Rest::PagedEnumerable.new @dep_service_stub, :list_lb_route_extensions, "lb_route_extensions", request, result, options
807
810
  yield result, operation if block_given?
811
+ throw :response, result
808
812
  end
809
813
  rescue ::Gapic::Rest::Error => e
810
814
  raise ::Google::Cloud::Error.from_error(e)
@@ -1303,7 +1307,7 @@ module Google
1303
1307
 
1304
1308
  config_attr :endpoint, nil, ::String, nil
1305
1309
  config_attr :credentials, nil do |value|
1306
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1310
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1307
1311
  allowed.any? { |klass| klass === value }
1308
1312
  end
1309
1313
  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
@@ -4062,8 +4062,8 @@ module Google
4062
4062
 
4063
4063
  config_attr :endpoint, nil, ::String, nil
4064
4064
  config_attr :credentials, nil do |value|
4065
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4066
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
4065
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4066
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
4067
4067
  allowed.any? { |klass| klass === value }
4068
4068
  end
4069
4069
  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
@@ -3775,7 +3775,7 @@ module Google
3775
3775
 
3776
3776
  config_attr :endpoint, nil, ::String, nil
3777
3777
  config_attr :credentials, nil do |value|
3778
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3778
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3779
3779
  allowed.any? { |klass| klass === value }
3780
3780
  end
3781
3781
  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 NetworkServices
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-network_services-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
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []
178
- rubygems_version: 3.6.2
178
+ rubygems_version: 3.6.8
179
179
  specification_version: 4
180
180
  summary: API Client library for the Network Services V1 API
181
181
  test_files: []