google-apis-videointelligence_v1 0.27.0 → 0.28.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/videointelligence_v1/classes.rb +56 -0
- data/lib/google/apis/videointelligence_v1/gem_version.rb +2 -2
- data/lib/google/apis/videointelligence_v1/representations.rb +7 -0
- data/lib/google/apis/videointelligence_v1/service.rb +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcf0650d10e59bd8f33ab6bbd8fb693f27dc5e3bbcf5eee8b68dc7bd1e8132c7
|
|
4
|
+
data.tar.gz: 13eef47e5fad9861a2ae8e8cc6fc5001ad26bc7ef09fa9e4ab9a167596a1dd84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b786ec23105b68d8b84f778bb6c245576fc462e501fa03093dd66dcdbf5a056e9ca22e1c7682c8b9620f3429960dd82443bf71d44dcb696eae50485d02976ec
|
|
7
|
+
data.tar.gz: 3f575161332bffd0ffab9a47d42bb3ffd6d0d1ff18869c00d3762d4263d4b6477bfddcfac9b03b14914b6fbe87a2daa66bb89927f5c13056d3494c8dc060f747
|
data/CHANGELOG.md
CHANGED
|
@@ -1033,6 +1033,12 @@ module Google
|
|
|
1033
1033
|
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
|
1034
1034
|
include Google::Apis::Core::Hashable
|
|
1035
1035
|
|
|
1036
|
+
# Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., `
|
|
1037
|
+
# gs://bucket/path/`).
|
|
1038
|
+
# Corresponds to the JSON property `audioOutputUriPrefix`
|
|
1039
|
+
# @return [String]
|
|
1040
|
+
attr_accessor :audio_output_uri_prefix
|
|
1041
|
+
|
|
1036
1042
|
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
|
1037
1043
|
# tracks, specify up to two tracks. Default: track 0.
|
|
1038
1044
|
# Corresponds to the JSON property `audioTracks`
|
|
@@ -1112,6 +1118,7 @@ module Google
|
|
|
1112
1118
|
|
|
1113
1119
|
# Update properties of this object
|
|
1114
1120
|
def update!(**args)
|
|
1121
|
+
@audio_output_uri_prefix = args[:audio_output_uri_prefix] if args.key?(:audio_output_uri_prefix)
|
|
1115
1122
|
@audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks)
|
|
1116
1123
|
@diarization_speaker_count = args[:diarization_speaker_count] if args.key?(:diarization_speaker_count)
|
|
1117
1124
|
@enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
|
|
@@ -1640,6 +1647,13 @@ module Google
|
|
|
1640
1647
|
# @return [String]
|
|
1641
1648
|
attr_accessor :end_time
|
|
1642
1649
|
|
|
1650
|
+
# Output only. A distinct string value is assigned for every speaker within the
|
|
1651
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
1652
|
+
# spoken this word.
|
|
1653
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
1654
|
+
# @return [String]
|
|
1655
|
+
attr_accessor :speaker_label
|
|
1656
|
+
|
|
1643
1657
|
# Output only. A distinct integer value is assigned for every speaker within the
|
|
1644
1658
|
# audio. This field specifies which one of those speakers was detected to have
|
|
1645
1659
|
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
|
@@ -1669,6 +1683,7 @@ module Google
|
|
|
1669
1683
|
def update!(**args)
|
|
1670
1684
|
@confidence = args[:confidence] if args.key?(:confidence)
|
|
1671
1685
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1686
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
1672
1687
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
|
1673
1688
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1674
1689
|
@word = args[:word] if args.key?(:word)
|
|
@@ -2820,6 +2835,13 @@ module Google
|
|
|
2820
2835
|
# @return [String]
|
|
2821
2836
|
attr_accessor :end_time
|
|
2822
2837
|
|
|
2838
|
+
# Output only. A distinct string value is assigned for every speaker within the
|
|
2839
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
2840
|
+
# spoken this word.
|
|
2841
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
2842
|
+
# @return [String]
|
|
2843
|
+
attr_accessor :speaker_label
|
|
2844
|
+
|
|
2823
2845
|
# Output only. A distinct integer value is assigned for every speaker within the
|
|
2824
2846
|
# audio. This field specifies which one of those speakers was detected to have
|
|
2825
2847
|
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
|
@@ -2849,6 +2871,7 @@ module Google
|
|
|
2849
2871
|
def update!(**args)
|
|
2850
2872
|
@confidence = args[:confidence] if args.key?(:confidence)
|
|
2851
2873
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2874
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
2852
2875
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
|
2853
2876
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2854
2877
|
@word = args[:word] if args.key?(:word)
|
|
@@ -4000,6 +4023,13 @@ module Google
|
|
|
4000
4023
|
# @return [String]
|
|
4001
4024
|
attr_accessor :end_time
|
|
4002
4025
|
|
|
4026
|
+
# Output only. A distinct string value is assigned for every speaker within the
|
|
4027
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
4028
|
+
# spoken this word.
|
|
4029
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
4030
|
+
# @return [String]
|
|
4031
|
+
attr_accessor :speaker_label
|
|
4032
|
+
|
|
4003
4033
|
# Output only. A distinct integer value is assigned for every speaker within the
|
|
4004
4034
|
# audio. This field specifies which one of those speakers was detected to have
|
|
4005
4035
|
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
|
@@ -4029,6 +4059,7 @@ module Google
|
|
|
4029
4059
|
def update!(**args)
|
|
4030
4060
|
@confidence = args[:confidence] if args.key?(:confidence)
|
|
4031
4061
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
4062
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
4032
4063
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
|
4033
4064
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
4034
4065
|
@word = args[:word] if args.key?(:word)
|
|
@@ -5180,6 +5211,13 @@ module Google
|
|
|
5180
5211
|
# @return [String]
|
|
5181
5212
|
attr_accessor :end_time
|
|
5182
5213
|
|
|
5214
|
+
# Output only. A distinct string value is assigned for every speaker within the
|
|
5215
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
5216
|
+
# spoken this word.
|
|
5217
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
5218
|
+
# @return [String]
|
|
5219
|
+
attr_accessor :speaker_label
|
|
5220
|
+
|
|
5183
5221
|
# Output only. A distinct integer value is assigned for every speaker within the
|
|
5184
5222
|
# audio. This field specifies which one of those speakers was detected to have
|
|
5185
5223
|
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
|
@@ -5209,6 +5247,7 @@ module Google
|
|
|
5209
5247
|
def update!(**args)
|
|
5210
5248
|
@confidence = args[:confidence] if args.key?(:confidence)
|
|
5211
5249
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
5250
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
5212
5251
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
|
5213
5252
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
5214
5253
|
@word = args[:word] if args.key?(:word)
|
|
@@ -6566,6 +6605,13 @@ module Google
|
|
|
6566
6605
|
# @return [String]
|
|
6567
6606
|
attr_accessor :end_time
|
|
6568
6607
|
|
|
6608
|
+
# Output only. A distinct string value is assigned for every speaker within the
|
|
6609
|
+
# audio. This field specifies which one of those speakers was detected to have
|
|
6610
|
+
# spoken this word.
|
|
6611
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
6612
|
+
# @return [String]
|
|
6613
|
+
attr_accessor :speaker_label
|
|
6614
|
+
|
|
6569
6615
|
# Output only. A distinct integer value is assigned for every speaker within the
|
|
6570
6616
|
# audio. This field specifies which one of those speakers was detected to have
|
|
6571
6617
|
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
|
@@ -6595,6 +6641,7 @@ module Google
|
|
|
6595
6641
|
def update!(**args)
|
|
6596
6642
|
@confidence = args[:confidence] if args.key?(:confidence)
|
|
6597
6643
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
6644
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
6598
6645
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
|
6599
6646
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
6600
6647
|
@word = args[:word] if args.key?(:word)
|
|
@@ -6628,6 +6675,14 @@ module Google
|
|
|
6628
6675
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleLongrunningOperation>]
|
|
6629
6676
|
attr_accessor :operations
|
|
6630
6677
|
|
|
6678
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
6679
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
6680
|
+
# For example, when attempting to list all resources across all supported
|
|
6681
|
+
# locations.
|
|
6682
|
+
# Corresponds to the JSON property `unreachable`
|
|
6683
|
+
# @return [Array<String>]
|
|
6684
|
+
attr_accessor :unreachable
|
|
6685
|
+
|
|
6631
6686
|
def initialize(**args)
|
|
6632
6687
|
update!(**args)
|
|
6633
6688
|
end
|
|
@@ -6636,6 +6691,7 @@ module Google
|
|
|
6636
6691
|
def update!(**args)
|
|
6637
6692
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
6638
6693
|
@operations = args[:operations] if args.key?(:operations)
|
|
6694
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
6639
6695
|
end
|
|
6640
6696
|
end
|
|
6641
6697
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module VideointelligenceV1
|
|
18
18
|
# Version of the google-apis-videointelligence_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.28.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260304"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1447,6 +1447,7 @@ module Google
|
|
|
1447
1447
|
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
|
1448
1448
|
# @private
|
|
1449
1449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1450
|
+
property :audio_output_uri_prefix, as: 'audioOutputUriPrefix'
|
|
1450
1451
|
collection :audio_tracks, as: 'audioTracks'
|
|
1451
1452
|
property :diarization_speaker_count, as: 'diarizationSpeakerCount'
|
|
1452
1453
|
property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
|
|
@@ -1615,6 +1616,7 @@ module Google
|
|
|
1615
1616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1616
1617
|
property :confidence, as: 'confidence'
|
|
1617
1618
|
property :end_time, as: 'endTime'
|
|
1619
|
+
property :speaker_label, as: 'speakerLabel'
|
|
1618
1620
|
property :speaker_tag, as: 'speakerTag'
|
|
1619
1621
|
property :start_time, as: 'startTime'
|
|
1620
1622
|
property :word, as: 'word'
|
|
@@ -1974,6 +1976,7 @@ module Google
|
|
|
1974
1976
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1975
1977
|
property :confidence, as: 'confidence'
|
|
1976
1978
|
property :end_time, as: 'endTime'
|
|
1979
|
+
property :speaker_label, as: 'speakerLabel'
|
|
1977
1980
|
property :speaker_tag, as: 'speakerTag'
|
|
1978
1981
|
property :start_time, as: 'startTime'
|
|
1979
1982
|
property :word, as: 'word'
|
|
@@ -2333,6 +2336,7 @@ module Google
|
|
|
2333
2336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2334
2337
|
property :confidence, as: 'confidence'
|
|
2335
2338
|
property :end_time, as: 'endTime'
|
|
2339
|
+
property :speaker_label, as: 'speakerLabel'
|
|
2336
2340
|
property :speaker_tag, as: 'speakerTag'
|
|
2337
2341
|
property :start_time, as: 'startTime'
|
|
2338
2342
|
property :word, as: 'word'
|
|
@@ -2692,6 +2696,7 @@ module Google
|
|
|
2692
2696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2693
2697
|
property :confidence, as: 'confidence'
|
|
2694
2698
|
property :end_time, as: 'endTime'
|
|
2699
|
+
property :speaker_label, as: 'speakerLabel'
|
|
2695
2700
|
property :speaker_tag, as: 'speakerTag'
|
|
2696
2701
|
property :start_time, as: 'startTime'
|
|
2697
2702
|
property :word, as: 'word'
|
|
@@ -3116,6 +3121,7 @@ module Google
|
|
|
3116
3121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3117
3122
|
property :confidence, as: 'confidence'
|
|
3118
3123
|
property :end_time, as: 'endTime'
|
|
3124
|
+
property :speaker_label, as: 'speakerLabel'
|
|
3119
3125
|
property :speaker_tag, as: 'speakerTag'
|
|
3120
3126
|
property :start_time, as: 'startTime'
|
|
3121
3127
|
property :word, as: 'word'
|
|
@@ -3134,6 +3140,7 @@ module Google
|
|
|
3134
3140
|
property :next_page_token, as: 'nextPageToken'
|
|
3135
3141
|
collection :operations, as: 'operations', class: Google::Apis::VideointelligenceV1::GoogleLongrunningOperation, decorator: Google::Apis::VideointelligenceV1::GoogleLongrunningOperation::Representation
|
|
3136
3142
|
|
|
3143
|
+
collection :unreachable, as: 'unreachable'
|
|
3137
3144
|
end
|
|
3138
3145
|
end
|
|
3139
3146
|
|
|
@@ -268,6 +268,14 @@ module Google
|
|
|
268
268
|
# The standard list page size.
|
|
269
269
|
# @param [String] page_token
|
|
270
270
|
# The standard list page token.
|
|
271
|
+
# @param [Boolean] return_partial_success
|
|
272
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
273
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
274
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
275
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
276
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
277
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
278
|
+
# documentation.
|
|
271
279
|
# @param [String] fields
|
|
272
280
|
# Selector specifying which fields to include in a partial response.
|
|
273
281
|
# @param [String] quota_user
|
|
@@ -285,7 +293,7 @@ module Google
|
|
|
285
293
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
286
294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
287
295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
288
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
296
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
289
297
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
290
298
|
command.response_representation = Google::Apis::VideointelligenceV1::GoogleLongrunningListOperationsResponse::Representation
|
|
291
299
|
command.response_class = Google::Apis::VideointelligenceV1::GoogleLongrunningListOperationsResponse
|
|
@@ -293,6 +301,7 @@ module Google
|
|
|
293
301
|
command.query['filter'] = filter unless filter.nil?
|
|
294
302
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
295
303
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
304
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
296
305
|
command.query['fields'] = fields unless fields.nil?
|
|
297
306
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
298
307
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-videointelligence_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-videointelligence_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-videointelligence_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-videointelligence_v1/v0.28.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-videointelligence_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|