google-cloud-app_hub-v1 0.3.0 → 1.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: a68eec7549df42eff20b8da5829d2fb2d22961d1590c4ee94a25861fd3cbce22
4
- data.tar.gz: d4c0f0ac76f3f35ec1ea7f5b47a1ef8cba129686acf8c3fb1c5fd4eeaa235128
3
+ metadata.gz: 8ff8866b67960a86eee970abe5e2bd817981eafdf3c848610a678cd344cf086b
4
+ data.tar.gz: 3692e74b0ce6ef9cc5ef4f4b98632799e0ee2e566bf5e201f47f4c18ed2d79a0
5
5
  SHA512:
6
- metadata.gz: cdeaf33c9b921ee923ce2fe0cb06da19d0b232e7d3fcef5f860ab6d45f817e6d1314a2de8674b99f4620d10d8e151849a1a010f196c339dd166e02257fee601a
7
- data.tar.gz: 115e124cf8b40eca0cb0f0ecb95b0e8f05cde64bebfde793fa489ccfc3fa8a1af28907e91646fbf9566c0aacc35ab4439960dc5f3e6565227c27057d9650666e
6
+ metadata.gz: 2977be64929311fec6a9769d85aa6ccc0a5d2d55ef50b570f59a67cc5940e2d4f6f34e6862aecf62ae0726ee80d58570251a1415421c5fb14c3f99280a9b5e26
7
+ data.tar.gz: 4def215045934fa422b2d775206657b7f5c6fcf0c5defe674127bfb0e000c885bf8a9e4f9ebeabeb197e5415c33fffba5dde1352a52611b40f1d89e56cb453c5
@@ -436,10 +436,10 @@ module Google
436
436
  # @param order_by [::String]
437
437
  # Optional. Hint for how to order the results.
438
438
  # @yield [result, operation] Access the result along with the TransportOperation object
439
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListServiceProjectAttachmentsResponse]
439
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::ServiceProjectAttachment>]
440
440
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
441
441
  #
442
- # @return [::Google::Cloud::AppHub::V1::ListServiceProjectAttachmentsResponse]
442
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::ServiceProjectAttachment>]
443
443
  #
444
444
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
445
445
  #
@@ -491,7 +491,9 @@ module Google
491
491
  retry_policy: @config.retry_policy
492
492
 
493
493
  @app_hub_stub.list_service_project_attachments request, options do |result, operation|
494
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_service_project_attachments, "service_project_attachments", request, result, options
494
495
  yield result, operation if block_given?
496
+ throw :response, result
495
497
  end
496
498
  rescue ::Gapic::Rest::Error => e
497
499
  raise ::Google::Cloud::Error.from_error(e)
@@ -903,10 +905,10 @@ module Google
903
905
  # @param order_by [::String]
904
906
  # Optional. Hint for how to order the results.
905
907
  # @yield [result, operation] Access the result along with the TransportOperation object
906
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListDiscoveredServicesResponse]
908
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::DiscoveredService>]
907
909
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
908
910
  #
909
- # @return [::Google::Cloud::AppHub::V1::ListDiscoveredServicesResponse]
911
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::DiscoveredService>]
910
912
  #
911
913
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
912
914
  #
@@ -958,7 +960,9 @@ module Google
958
960
  retry_policy: @config.retry_policy
959
961
 
960
962
  @app_hub_stub.list_discovered_services request, options do |result, operation|
963
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_discovered_services, "discovered_services", request, result, options
961
964
  yield result, operation if block_given?
965
+ throw :response, result
962
966
  end
963
967
  rescue ::Gapic::Rest::Error => e
964
968
  raise ::Google::Cloud::Error.from_error(e)
@@ -1160,10 +1164,10 @@ module Google
1160
1164
  # @param order_by [::String]
1161
1165
  # Optional. Hint for how to order the results
1162
1166
  # @yield [result, operation] Access the result along with the TransportOperation object
1163
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListServicesResponse]
1167
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Service>]
1164
1168
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1165
1169
  #
1166
- # @return [::Google::Cloud::AppHub::V1::ListServicesResponse]
1170
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Service>]
1167
1171
  #
1168
1172
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1169
1173
  #
@@ -1215,7 +1219,9 @@ module Google
1215
1219
  retry_policy: @config.retry_policy
1216
1220
 
1217
1221
  @app_hub_stub.list_services request, options do |result, operation|
1222
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_services, "services", request, result, options
1218
1223
  yield result, operation if block_given?
1224
+ throw :response, result
1219
1225
  end
1220
1226
  rescue ::Gapic::Rest::Error => e
1221
1227
  raise ::Google::Cloud::Error.from_error(e)
@@ -1657,10 +1663,10 @@ module Google
1657
1663
  # @param order_by [::String]
1658
1664
  # Optional. Hint for how to order the results.
1659
1665
  # @yield [result, operation] Access the result along with the TransportOperation object
1660
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListDiscoveredWorkloadsResponse]
1666
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::DiscoveredWorkload>]
1661
1667
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1662
1668
  #
1663
- # @return [::Google::Cloud::AppHub::V1::ListDiscoveredWorkloadsResponse]
1669
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::DiscoveredWorkload>]
1664
1670
  #
1665
1671
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1666
1672
  #
@@ -1712,7 +1718,9 @@ module Google
1712
1718
  retry_policy: @config.retry_policy
1713
1719
 
1714
1720
  @app_hub_stub.list_discovered_workloads request, options do |result, operation|
1721
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_discovered_workloads, "discovered_workloads", request, result, options
1715
1722
  yield result, operation if block_given?
1723
+ throw :response, result
1716
1724
  end
1717
1725
  rescue ::Gapic::Rest::Error => e
1718
1726
  raise ::Google::Cloud::Error.from_error(e)
@@ -1914,10 +1922,10 @@ module Google
1914
1922
  # @param order_by [::String]
1915
1923
  # Optional. Hint for how to order the results.
1916
1924
  # @yield [result, operation] Access the result along with the TransportOperation object
1917
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListWorkloadsResponse]
1925
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Workload>]
1918
1926
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1919
1927
  #
1920
- # @return [::Google::Cloud::AppHub::V1::ListWorkloadsResponse]
1928
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Workload>]
1921
1929
  #
1922
1930
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1923
1931
  #
@@ -1969,7 +1977,9 @@ module Google
1969
1977
  retry_policy: @config.retry_policy
1970
1978
 
1971
1979
  @app_hub_stub.list_workloads request, options do |result, operation|
1980
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_workloads, "workloads", request, result, options
1972
1981
  yield result, operation if block_given?
1982
+ throw :response, result
1973
1983
  end
1974
1984
  rescue ::Gapic::Rest::Error => e
1975
1985
  raise ::Google::Cloud::Error.from_error(e)
@@ -2410,10 +2420,10 @@ module Google
2410
2420
  # @param order_by [::String]
2411
2421
  # Optional. Hint for how to order the results.
2412
2422
  # @yield [result, operation] Access the result along with the TransportOperation object
2413
- # @yieldparam result [::Google::Cloud::AppHub::V1::ListApplicationsResponse]
2423
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Application>]
2414
2424
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2415
2425
  #
2416
- # @return [::Google::Cloud::AppHub::V1::ListApplicationsResponse]
2426
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppHub::V1::Application>]
2417
2427
  #
2418
2428
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2419
2429
  #
@@ -2465,7 +2475,9 @@ module Google
2465
2475
  retry_policy: @config.retry_policy
2466
2476
 
2467
2477
  @app_hub_stub.list_applications request, options do |result, operation|
2478
+ result = ::Gapic::Rest::PagedEnumerable.new @app_hub_stub, :list_applications, "applications", request, result, options
2468
2479
  yield result, operation if block_given?
2480
+ throw :response, result
2469
2481
  end
2470
2482
  rescue ::Gapic::Rest::Error => e
2471
2483
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AppHub
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "1.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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-app_hub-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
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: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.6.2
158
+ rubygems_version: 3.6.3
159
159
  specification_version: 4
160
160
  summary: API Client library for the App Hub V1 API
161
161
  test_files: []