google-cloud-video_intelligence-v1p2beta1 0.12.0 → 0.13.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: 96e5af398812ce8d88f1b955dd05ec2c4cb3021352b97608a2417a8187a44d5d
4
- data.tar.gz: ffcd625169368f88ca9f6d12f3c9a0674888b158af5ebecc8fe14a0b5757a200
3
+ metadata.gz: 9c92ae4063179477ccf1012acd6d68e757cf2e5016c4939a6a88198ce8ada2ad
4
+ data.tar.gz: 4d321bba1706b9f5455e475dffa3150a35fd02bff7838137f524a7155c6d8bbb
5
5
  SHA512:
6
- metadata.gz: 8e307df2db85a26e6b8d74ff7711495b9eab41a0ec25ab5318357eb416ef3a7ed5d3a373badbf0ec75ce5c00184a321367f43a7ad3abb3f4d3a726d7abfdf0cf
7
- data.tar.gz: eb04f484a2348c8093ce04b6baf202ade25051592d114d0e4d5d85df9c256567d3d05e1a9fe6e7e9a2fa0f87780370fdef1c2a8fa1fcc7f69f6a3a37047919ec
6
+ metadata.gz: 71897fd8b88db2ad9dd18aac4865054e62f4056a3e86783409a24e92bca937cf5e3bcd7e25464f55480f13cd2e62804b9c9fc858650e7fb811a5087de66944a9
7
+ data.tar.gz: 4d4911c921faa482cf863d7e332debdc7598cf8454f77e3456704899455222fce034e32786447aeec6ca99ed3baad9ed9909d9d8ecca4e74030fdd59ac8e7a99
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1p2beta1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.13.1"
25
25
  end
26
26
  end
27
27
  end
@@ -361,6 +361,13 @@ module Google
361
361
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
362
362
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
363
363
  # * (`nil`) indicating no credentials
364
+ #
365
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
366
+ # external source for authentication to Google Cloud, you must validate it before
367
+ # providing it to a Google API client library. Providing an unvalidated credential
368
+ # configuration to Google APIs can compromise the security of your systems and data.
369
+ # For more information, refer to [Validate credential configurations from external
370
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
364
371
  # @return [::Object]
365
372
  # @!attribute [rw] scope
366
373
  # The OAuth scopes
@@ -415,8 +422,8 @@ module Google
415
422
 
416
423
  config_attr :endpoint, nil, ::String, nil
417
424
  config_attr :credentials, nil do |value|
418
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
419
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
425
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
426
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
420
427
  allowed.any? { |klass| klass === value }
421
428
  end
422
429
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- 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
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -353,6 +353,13 @@ module Google
353
353
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
354
354
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
355
355
  # * (`nil`) indicating no credentials
356
+ #
357
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
358
+ # external source for authentication to Google Cloud, you must validate it before
359
+ # providing it to a Google API client library. Providing an unvalidated credential
360
+ # configuration to Google APIs can compromise the security of your systems and data.
361
+ # For more information, refer to [Validate credential configurations from external
362
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
356
363
  # @return [::Object]
357
364
  # @!attribute [rw] scope
358
365
  # The OAuth scopes
@@ -400,7 +407,7 @@ module Google
400
407
 
401
408
  config_attr :endpoint, nil, ::String, nil
402
409
  config_attr :credentials, nil do |value|
403
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
410
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
404
411
  allowed.any? { |klass| klass === value }
405
412
  end
406
413
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- 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]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -446,6 +446,8 @@ module Google
446
446
  # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment]
447
447
  # Non-streaming batch mode ONLY.
448
448
  # Each object track corresponds to one video segment where it appears.
449
+ #
450
+ # Note: The following fields are mutually exclusive: `segment`, `track_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
449
451
  # @!attribute [rw] track_id
450
452
  # @return [::Integer]
451
453
  # Streaming mode ONLY.
@@ -454,6 +456,8 @@ module Google
454
456
  # Instead, we provide a unique identifiable integer track_id so that
455
457
  # the customers can correlate the results of the ongoing
456
458
  # ObjectTrackAnnotation of the same track_id over time.
459
+ #
460
+ # Note: The following fields are mutually exclusive: `track_id`, `segment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
457
461
  # @!attribute [rw] entity
458
462
  # @return [::Google::Cloud::VideoIntelligence::V1p2beta1::Entity]
459
463
  # Entity to specify the object category that this track is labeled as.
@@ -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-video_intelligence-v1p2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.1
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: 1980-01-02 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
@@ -89,7 +88,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
89
88
  licenses:
90
89
  - Apache-2.0
91
90
  metadata: {}
92
- post_install_message:
93
91
  rdoc_options: []
94
92
  require_paths:
95
93
  - lib
@@ -97,15 +95,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
- version: '2.7'
98
+ version: '3.0'
101
99
  required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
103
  version: '0'
106
104
  requirements: []
107
- rubygems_version: 3.5.23
108
- signing_key:
105
+ rubygems_version: 3.6.8
109
106
  specification_version: 4
110
107
  summary: Detects objects, explicit content, and scene changes in videos. It also specifies
111
108
  the region for annotation and transcribes speech to text. Supports both asynchronous