google-cloud-video_intelligence-v1p3beta1 0.8.0 → 0.9.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: 7020705b3407786846aac2d3142b4de1a211db5e318b9813bde87a4d243d115d
4
- data.tar.gz: b2457e7dc38a5fc27761d1949553e34b9e931e7fd41b695157ef7162157ebe97
3
+ metadata.gz: 70689482621fe19eeaaeb37d68c9addd4c5422f7ca11683a8bd88903157a0e26
4
+ data.tar.gz: 55383a3cdd2cd676121c68864897db0920ef4864ec26c25f965cd659b6ddeb67
5
5
  SHA512:
6
- metadata.gz: 7a0dc864775e8dea86bb9deac86196bfcc80ec4787b7b1d0c8cd4527eb3fdd67ec2ca1e7cf046e3210fc8c84585e3e3f0df4ee588151db4029b59085f73932fe
7
- data.tar.gz: 71f3e4bc323038451842ba4d55a5914c83e614817721d5f66c321579e591cfc1e0f5da68284298c622b47267a1003359874afb22d0e2d5af5a35d4c098a4d283
6
+ metadata.gz: 37a6d9bdc58dec49538f418097a13a039bdd281e123675f1ccc5e85bc104c44c23c272806095ed52793397802e79a5339e5bdf1975aa1b8e70d7c298117c3247
7
+ data.tar.gz: 580dc560bf77e278a64275a5fe0fe6bc6b5c7cd5240e268854d5fcb21ebc97ba02ace278dd053977b424c0c8555e0dfbbae110b5eb0913c71e745e4276cc9876
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
@@ -310,6 +310,13 @@ module Google
310
310
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
311
311
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
312
312
  # * (`nil`) indicating no credentials
313
+ #
314
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
315
+ # external source for authentication to Google Cloud, you must validate it before
316
+ # providing it to a Google API client library. Providing an unvalidated credential
317
+ # configuration to Google APIs can compromise the security of your systems and data.
318
+ # For more information, refer to [Validate credential configurations from external
319
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
313
320
  # @return [::Object]
314
321
  # @!attribute [rw] scope
315
322
  # The OAuth scopes
@@ -364,8 +371,8 @@ module Google
364
371
 
365
372
  config_attr :endpoint, nil, ::String, nil
366
373
  config_attr :credentials, nil do |value|
367
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
368
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
374
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
375
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
369
376
  allowed.any? { |klass| klass === value }
370
377
  end
371
378
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1p3beta1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -364,6 +364,13 @@ module Google
364
364
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
365
365
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
366
366
  # * (`nil`) indicating no credentials
367
+ #
368
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
369
+ # external source for authentication to Google Cloud, you must validate it before
370
+ # providing it to a Google API client library. Providing an unvalidated credential
371
+ # configuration to Google APIs can compromise the security of your systems and data.
372
+ # For more information, refer to [Validate credential configurations from external
373
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
367
374
  # @return [::Object]
368
375
  # @!attribute [rw] scope
369
376
  # The OAuth scopes
@@ -418,8 +425,8 @@ module Google
418
425
 
419
426
  config_attr :endpoint, nil, ::String, nil
420
427
  config_attr :credentials, nil do |value|
421
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
422
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
428
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
429
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
423
430
  allowed.any? { |klass| klass === value }
424
431
  end
425
432
  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
@@ -356,6 +356,13 @@ module Google
356
356
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
357
357
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
358
358
  # * (`nil`) indicating no credentials
359
+ #
360
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
361
+ # external source for authentication to Google Cloud, you must validate it before
362
+ # providing it to a Google API client library. Providing an unvalidated credential
363
+ # configuration to Google APIs can compromise the security of your systems and data.
364
+ # For more information, refer to [Validate credential configurations from external
365
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
359
366
  # @return [::Object]
360
367
  # @!attribute [rw] scope
361
368
  # The OAuth scopes
@@ -403,7 +410,7 @@ module Google
403
410
 
404
411
  config_attr :endpoint, nil, ::String, nil
405
412
  config_attr :credentials, nil do |value|
406
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
413
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
407
414
  allowed.any? { |klass| klass === value }
408
415
  end
409
416
  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
@@ -871,6 +871,8 @@ module Google
871
871
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment]
872
872
  # Non-streaming batch mode ONLY.
873
873
  # Each object track corresponds to one video segment where it appears.
874
+ #
875
+ # 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.
874
876
  # @!attribute [rw] track_id
875
877
  # @return [::Integer]
876
878
  # Streaming mode ONLY.
@@ -879,6 +881,8 @@ module Google
879
881
  # Instead, we provide a unique identifiable integer track_id so that
880
882
  # the customers can correlate the results of the ongoing
881
883
  # ObjectTrackAnnotation of the same track_id over time.
884
+ #
885
+ # 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.
882
886
  # @!attribute [rw] entity
883
887
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::Entity]
884
888
  # Entity to specify the object category that this track is labeled as.
@@ -923,6 +927,8 @@ module Google
923
927
  # Provides information to the annotator, specifing how to process the
924
928
  # request. The first `AnnotateStreamingVideoRequest` message must only
925
929
  # contain a `video_config` message.
930
+ #
931
+ # Note: The following fields are mutually exclusive: `video_config`, `input_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
926
932
  # @!attribute [rw] input_content
927
933
  # @return [::String]
928
934
  # The video data to be annotated. Chunks of video data are sequentially
@@ -932,6 +938,8 @@ module Google
932
938
  # messages must only contain `input_content` field.
933
939
  # Note: as with all bytes fields, protobuffers use a pure binary
934
940
  # representation (not base64).
941
+ #
942
+ # Note: The following fields are mutually exclusive: `input_content`, `video_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
935
943
  class StreamingAnnotateVideoRequest
936
944
  include ::Google::Protobuf::MessageExts
937
945
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -942,24 +950,38 @@ module Google
942
950
  # @!attribute [rw] shot_change_detection_config
943
951
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingShotChangeDetectionConfig]
944
952
  # Config for STREAMING_SHOT_CHANGE_DETECTION.
953
+ #
954
+ # Note: The following fields are mutually exclusive: `shot_change_detection_config`, `label_detection_config`, `explicit_content_detection_config`, `object_tracking_config`, `automl_action_recognition_config`, `automl_classification_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
945
955
  # @!attribute [rw] label_detection_config
946
956
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingLabelDetectionConfig]
947
957
  # Config for STREAMING_LABEL_DETECTION.
958
+ #
959
+ # Note: The following fields are mutually exclusive: `label_detection_config`, `shot_change_detection_config`, `explicit_content_detection_config`, `object_tracking_config`, `automl_action_recognition_config`, `automl_classification_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
948
960
  # @!attribute [rw] explicit_content_detection_config
949
961
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingExplicitContentDetectionConfig]
950
962
  # Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
963
+ #
964
+ # Note: The following fields are mutually exclusive: `explicit_content_detection_config`, `shot_change_detection_config`, `label_detection_config`, `object_tracking_config`, `automl_action_recognition_config`, `automl_classification_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
951
965
  # @!attribute [rw] object_tracking_config
952
966
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingObjectTrackingConfig]
953
967
  # Config for STREAMING_OBJECT_TRACKING.
968
+ #
969
+ # Note: The following fields are mutually exclusive: `object_tracking_config`, `shot_change_detection_config`, `label_detection_config`, `explicit_content_detection_config`, `automl_action_recognition_config`, `automl_classification_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
954
970
  # @!attribute [rw] automl_action_recognition_config
955
971
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingAutomlActionRecognitionConfig]
956
972
  # Config for STREAMING_AUTOML_ACTION_RECOGNITION.
973
+ #
974
+ # Note: The following fields are mutually exclusive: `automl_action_recognition_config`, `shot_change_detection_config`, `label_detection_config`, `explicit_content_detection_config`, `object_tracking_config`, `automl_classification_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
957
975
  # @!attribute [rw] automl_classification_config
958
976
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingAutomlClassificationConfig]
959
977
  # Config for STREAMING_AUTOML_CLASSIFICATION.
978
+ #
979
+ # Note: The following fields are mutually exclusive: `automl_classification_config`, `shot_change_detection_config`, `label_detection_config`, `explicit_content_detection_config`, `object_tracking_config`, `automl_action_recognition_config`, `automl_object_tracking_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
960
980
  # @!attribute [rw] automl_object_tracking_config
961
981
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingAutomlObjectTrackingConfig]
962
982
  # Config for STREAMING_AUTOML_OBJECT_TRACKING.
983
+ #
984
+ # Note: The following fields are mutually exclusive: `automl_object_tracking_config`, `shot_change_detection_config`, `label_detection_config`, `explicit_content_detection_config`, `object_tracking_config`, `automl_action_recognition_config`, `automl_classification_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
963
985
  # @!attribute [rw] feature
964
986
  # @return [::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingFeature]
965
987
  # Requested annotation feature.
@@ -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-v1p3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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
@@ -92,7 +91,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
92
91
  licenses:
93
92
  - Apache-2.0
94
93
  metadata: {}
95
- post_install_message:
96
94
  rdoc_options: []
97
95
  require_paths:
98
96
  - lib
@@ -100,15 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
- version: '2.7'
101
+ version: '3.0'
104
102
  required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
107
  requirements: []
110
- rubygems_version: 3.5.23
111
- signing_key:
108
+ rubygems_version: 3.6.8
112
109
  specification_version: 4
113
110
  summary: Detects objects, explicit content, and scene changes in videos. It also specifies
114
111
  the region for annotation and transcribes speech to text. Supports both asynchronous