google-cloud-vision_ai-v1 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0f87a17cb5027ab22fe569aa44b5a6c5b4add9176db7b4585d082389b458629
4
- data.tar.gz: d9112d660da1e20071aaf2e3c236c4b08067882ffbb361d75700b7f078c049b5
3
+ metadata.gz: 5955662a32778a5b414ba419dc2fc7252178997587768c8a9f5949689a7727c3
4
+ data.tar.gz: caad99bff99d5e670bd3e63d42760e408fa610fa88a65faaaed6850ed12d423e
5
5
  SHA512:
6
- metadata.gz: 60c6b98d40989883e9ab110f9d2e096390892518d6bc684d8ecd215587d23015e2b41034f1691442b6607756e4faab390d3d6ae3c5936dd4a08e285b456e7e1c
7
- data.tar.gz: 8b8d3a810edcb69903eb396fbc8eb8002e1ee766b2442bb2ebdd14fcdd7e1937949b981636768064c791d5d64db935edf4e0db82b7b5c166c2bf1d8687af734b
6
+ metadata.gz: 1f8568b79ae24498166e27b5bbfb307af1adfb3125c813b4d6ad98e842cc9155495b58af6e73cec116bde09ee7e6c92caed39774f56a72bd1a75f23015665a1b
7
+ data.tar.gz: ff13c132f28dfa5714ac2fd4597a657f3b1804de9a35b67c7b7eec145febb37359c6c64b1dcebc664dc8a43de3aaa6b3bc35d29b17c1a1806a7f0c5774e4730c
@@ -252,10 +252,10 @@ module Google
252
252
  # @param order_by [::String]
253
253
  # Hint for how to order the results.
254
254
  # @yield [result, operation] Access the result along with the TransportOperation object
255
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListApplicationsResponse]
255
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Application>]
256
256
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
257
257
  #
258
- # @return [::Google::Cloud::VisionAI::V1::ListApplicationsResponse]
258
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Application>]
259
259
  #
260
260
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
261
261
  #
@@ -307,7 +307,9 @@ module Google
307
307
  retry_policy: @config.retry_policy
308
308
 
309
309
  @app_platform_stub.list_applications request, options do |result, operation|
310
+ result = ::Gapic::Rest::PagedEnumerable.new @app_platform_stub, :list_applications, "applications", request, result, options
310
311
  yield result, operation if block_given?
312
+ throw :response, result
311
313
  end
312
314
  rescue ::Gapic::Rest::Error => e
313
315
  raise ::Google::Cloud::Error.from_error(e)
@@ -1277,10 +1279,10 @@ module Google
1277
1279
  # @param order_by [::String]
1278
1280
  # Hint for how to order the results.
1279
1281
  # @yield [result, operation] Access the result along with the TransportOperation object
1280
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListInstancesResponse]
1282
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Instance>]
1281
1283
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1282
1284
  #
1283
- # @return [::Google::Cloud::VisionAI::V1::ListInstancesResponse]
1285
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Instance>]
1284
1286
  #
1285
1287
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1286
1288
  #
@@ -1332,7 +1334,9 @@ module Google
1332
1334
  retry_policy: @config.retry_policy
1333
1335
 
1334
1336
  @app_platform_stub.list_instances request, options do |result, operation|
1337
+ result = ::Gapic::Rest::PagedEnumerable.new @app_platform_stub, :list_instances, "instances", request, result, options
1335
1338
  yield result, operation if block_given?
1339
+ throw :response, result
1336
1340
  end
1337
1341
  rescue ::Gapic::Rest::Error => e
1338
1342
  raise ::Google::Cloud::Error.from_error(e)
@@ -1771,10 +1775,10 @@ module Google
1771
1775
  # @param order_by [::String]
1772
1776
  # Hint for how to order the results.
1773
1777
  # @yield [result, operation] Access the result along with the TransportOperation object
1774
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListDraftsResponse]
1778
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Draft>]
1775
1779
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1776
1780
  #
1777
- # @return [::Google::Cloud::VisionAI::V1::ListDraftsResponse]
1781
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Draft>]
1778
1782
  #
1779
1783
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1780
1784
  #
@@ -1826,7 +1830,9 @@ module Google
1826
1830
  retry_policy: @config.retry_policy
1827
1831
 
1828
1832
  @app_platform_stub.list_drafts request, options do |result, operation|
1833
+ result = ::Gapic::Rest::PagedEnumerable.new @app_platform_stub, :list_drafts, "drafts", request, result, options
1829
1834
  yield result, operation if block_given?
1835
+ throw :response, result
1830
1836
  end
1831
1837
  rescue ::Gapic::Rest::Error => e
1832
1838
  raise ::Google::Cloud::Error.from_error(e)
@@ -2256,10 +2262,10 @@ module Google
2256
2262
  # @param order_by [::String]
2257
2263
  # Hint for how to order the results.
2258
2264
  # @yield [result, operation] Access the result along with the TransportOperation object
2259
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListProcessorsResponse]
2265
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Processor>]
2260
2266
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2261
2267
  #
2262
- # @return [::Google::Cloud::VisionAI::V1::ListProcessorsResponse]
2268
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Processor>]
2263
2269
  #
2264
2270
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2265
2271
  #
@@ -2311,7 +2317,9 @@ module Google
2311
2317
  retry_policy: @config.retry_policy
2312
2318
 
2313
2319
  @app_platform_stub.list_processors request, options do |result, operation|
2320
+ result = ::Gapic::Rest::PagedEnumerable.new @app_platform_stub, :list_processors, "processors", request, result, options
2314
2321
  yield result, operation if block_given?
2322
+ throw :response, result
2315
2323
  end
2316
2324
  rescue ::Gapic::Rest::Error => e
2317
2325
  raise ::Google::Cloud::Error.from_error(e)
@@ -451,10 +451,10 @@ module Google
451
451
  # @param order_by [::String]
452
452
  # Hint for how to order the results.
453
453
  # @yield [result, operation] Access the result along with the TransportOperation object
454
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListOperatorsResponse]
454
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Operator>]
455
455
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
456
456
  #
457
- # @return [::Google::Cloud::VisionAI::V1::ListOperatorsResponse]
457
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Operator>]
458
458
  #
459
459
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
460
460
  #
@@ -506,7 +506,9 @@ module Google
506
506
  retry_policy: @config.retry_policy
507
507
 
508
508
  @live_video_analytics_stub.list_operators request, options do |result, operation|
509
+ result = ::Gapic::Rest::PagedEnumerable.new @live_video_analytics_stub, :list_operators, "operators", request, result, options
509
510
  yield result, operation if block_given?
511
+ throw :response, result
510
512
  end
511
513
  rescue ::Gapic::Rest::Error => e
512
514
  raise ::Google::Cloud::Error.from_error(e)
@@ -933,10 +935,10 @@ module Google
933
935
  # @param order_by [::String]
934
936
  # Hint for how to order the results
935
937
  # @yield [result, operation] Access the result along with the TransportOperation object
936
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListAnalysesResponse]
938
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Analysis>]
937
939
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
938
940
  #
939
- # @return [::Google::Cloud::VisionAI::V1::ListAnalysesResponse]
941
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Analysis>]
940
942
  #
941
943
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
942
944
  #
@@ -988,7 +990,9 @@ module Google
988
990
  retry_policy: @config.retry_policy
989
991
 
990
992
  @live_video_analytics_stub.list_analyses request, options do |result, operation|
993
+ result = ::Gapic::Rest::PagedEnumerable.new @live_video_analytics_stub, :list_analyses, "analyses", request, result, options
991
994
  yield result, operation if block_given?
995
+ throw :response, result
992
996
  end
993
997
  rescue ::Gapic::Rest::Error => e
994
998
  raise ::Google::Cloud::Error.from_error(e)
@@ -1415,10 +1419,10 @@ module Google
1415
1419
  # @param order_by [::String]
1416
1420
  # Hint for how to order the results
1417
1421
  # @yield [result, operation] Access the result along with the TransportOperation object
1418
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListProcessesResponse]
1422
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Process>]
1419
1423
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1420
1424
  #
1421
- # @return [::Google::Cloud::VisionAI::V1::ListProcessesResponse]
1425
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Process>]
1422
1426
  #
1423
1427
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1424
1428
  #
@@ -1470,7 +1474,9 @@ module Google
1470
1474
  retry_policy: @config.retry_policy
1471
1475
 
1472
1476
  @live_video_analytics_stub.list_processes request, options do |result, operation|
1477
+ result = ::Gapic::Rest::PagedEnumerable.new @live_video_analytics_stub, :list_processes, "processes", request, result, options
1473
1478
  yield result, operation if block_given?
1479
+ throw :response, result
1474
1480
  end
1475
1481
  rescue ::Gapic::Rest::Error => e
1476
1482
  raise ::Google::Cloud::Error.from_error(e)
@@ -255,10 +255,10 @@ module Google
255
255
  # @param order_by [::String]
256
256
  # Hint for how to order the results.
257
257
  # @yield [result, operation] Access the result along with the TransportOperation object
258
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListClustersResponse]
258
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Cluster>]
259
259
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
260
260
  #
261
- # @return [::Google::Cloud::VisionAI::V1::ListClustersResponse]
261
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Cluster>]
262
262
  #
263
263
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
264
264
  #
@@ -310,7 +310,9 @@ module Google
310
310
  retry_policy: @config.retry_policy
311
311
 
312
312
  @streams_service_stub.list_clusters request, options do |result, operation|
313
+ result = ::Gapic::Rest::PagedEnumerable.new @streams_service_stub, :list_clusters, "clusters", request, result, options
313
314
  yield result, operation if block_given?
315
+ throw :response, result
314
316
  end
315
317
  rescue ::Gapic::Rest::Error => e
316
318
  raise ::Google::Cloud::Error.from_error(e)
@@ -737,10 +739,10 @@ module Google
737
739
  # @param order_by [::String]
738
740
  # Hint for how to order the results.
739
741
  # @yield [result, operation] Access the result along with the TransportOperation object
740
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListStreamsResponse]
742
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Stream>]
741
743
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
742
744
  #
743
- # @return [::Google::Cloud::VisionAI::V1::ListStreamsResponse]
745
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Stream>]
744
746
  #
745
747
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
746
748
  #
@@ -792,7 +794,9 @@ module Google
792
794
  retry_policy: @config.retry_policy
793
795
 
794
796
  @streams_service_stub.list_streams request, options do |result, operation|
797
+ result = ::Gapic::Rest::PagedEnumerable.new @streams_service_stub, :list_streams, "streams", request, result, options
795
798
  yield result, operation if block_given?
799
+ throw :response, result
796
800
  end
797
801
  rescue ::Gapic::Rest::Error => e
798
802
  raise ::Google::Cloud::Error.from_error(e)
@@ -1403,10 +1407,10 @@ module Google
1403
1407
  # @param order_by [::String]
1404
1408
  # Hint for how to order the results.
1405
1409
  # @yield [result, operation] Access the result along with the TransportOperation object
1406
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListEventsResponse]
1410
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Event>]
1407
1411
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1408
1412
  #
1409
- # @return [::Google::Cloud::VisionAI::V1::ListEventsResponse]
1413
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Event>]
1410
1414
  #
1411
1415
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1412
1416
  #
@@ -1458,7 +1462,9 @@ module Google
1458
1462
  retry_policy: @config.retry_policy
1459
1463
 
1460
1464
  @streams_service_stub.list_events request, options do |result, operation|
1465
+ result = ::Gapic::Rest::PagedEnumerable.new @streams_service_stub, :list_events, "events", request, result, options
1461
1466
  yield result, operation if block_given?
1467
+ throw :response, result
1462
1468
  end
1463
1469
  rescue ::Gapic::Rest::Error => e
1464
1470
  raise ::Google::Cloud::Error.from_error(e)
@@ -1885,10 +1891,10 @@ module Google
1885
1891
  # @param order_by [::String]
1886
1892
  # Hint for how to order the results.
1887
1893
  # @yield [result, operation] Access the result along with the TransportOperation object
1888
- # @yieldparam result [::Google::Cloud::VisionAI::V1::ListSeriesResponse]
1894
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Series>]
1889
1895
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1890
1896
  #
1891
- # @return [::Google::Cloud::VisionAI::V1::ListSeriesResponse]
1897
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::Series>]
1892
1898
  #
1893
1899
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1894
1900
  #
@@ -1940,7 +1946,9 @@ module Google
1940
1946
  retry_policy: @config.retry_policy
1941
1947
 
1942
1948
  @streams_service_stub.list_series request, options do |result, operation|
1949
+ result = ::Gapic::Rest::PagedEnumerable.new @streams_service_stub, :list_series, "series", request, result, options
1943
1950
  yield result, operation if block_given?
1951
+ throw :response, result
1944
1952
  end
1945
1953
  rescue ::Gapic::Rest::Error => e
1946
1954
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VisionAI
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -4302,10 +4302,10 @@ module Google
4302
4302
  # Global search query. Allows user to search assets without needing to
4303
4303
  # specify which field the value belongs to.
4304
4304
  # @yield [result, operation] Access the result along with the TransportOperation object
4305
- # @yieldparam result [::Google::Cloud::VisionAI::V1::SearchAssetsResponse]
4305
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::SearchResultItem>]
4306
4306
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4307
4307
  #
4308
- # @return [::Google::Cloud::VisionAI::V1::SearchAssetsResponse]
4308
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VisionAI::V1::SearchResultItem>]
4309
4309
  #
4310
4310
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4311
4311
  #
@@ -4357,7 +4357,9 @@ module Google
4357
4357
  retry_policy: @config.retry_policy
4358
4358
 
4359
4359
  @warehouse_stub.search_assets request, options do |result, operation|
4360
+ result = ::Gapic::Rest::PagedEnumerable.new @warehouse_stub, :search_assets, "search_result_items", request, result, options
4360
4361
  yield result, operation if block_given?
4362
+ throw :response, result
4361
4363
  end
4362
4364
  rescue ::Gapic::Rest::Error => e
4363
4365
  raise ::Google::Cloud::Error.from_error(e)
@@ -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-vision_ai-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.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
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.6.2
216
+ rubygems_version: 3.6.3
217
217
  specification_version: 4
218
218
  summary: API Client library for the Vision AI V1 API
219
219
  test_files: []