google-cloud-video-stitcher-v1 0.8.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +2 -1
  4. data/lib/google/cloud/video/stitcher/v1/fetch_options_pb.rb +44 -0
  5. data/lib/google/cloud/video/stitcher/v1/live_configs_pb.rb +3 -1
  6. data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +1 -1
  7. data/lib/google/cloud/video/stitcher/v1/slates_pb.rb +1 -1
  8. data/lib/google/cloud/video/stitcher/v1/stitch_details_pb.rb +1 -1
  9. data/lib/google/cloud/video/stitcher/v1/version.rb +1 -1
  10. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +695 -24
  11. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/operations.rb +13 -5
  12. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +19 -0
  13. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +10 -1
  14. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +17 -0
  15. data/lib/google/cloud/video/stitcher/v1/vod_configs_pb.rb +51 -0
  16. data/proto_docs/google/api/client.rb +4 -0
  17. data/proto_docs/google/cloud/video/stitcher/v1/ad_tag_details.rb +3 -1
  18. data/proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb +20 -0
  19. data/proto_docs/google/cloud/video/stitcher/v1/fetch_options.rb +49 -0
  20. data/proto_docs/google/cloud/video/stitcher/v1/live_configs.rb +4 -3
  21. data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +44 -16
  22. data/proto_docs/google/cloud/video/stitcher/v1/stitch_details.rb +3 -3
  23. data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +122 -0
  24. data/proto_docs/google/cloud/video/stitcher/v1/vod_configs.rb +77 -0
  25. metadata +8 -116
@@ -473,6 +473,128 @@ module Google
473
473
  extend ::Google::Protobuf::MessageExts::ClassMethods
474
474
  end
475
475
 
476
+ # Request message for VideoStitcherService.updateLiveConfig.
477
+ # @!attribute [rw] live_config
478
+ # @return [::Google::Cloud::Video::Stitcher::V1::LiveConfig]
479
+ # Required. The LiveConfig resource which replaces the resource on the
480
+ # server.
481
+ # @!attribute [rw] update_mask
482
+ # @return [::Google::Protobuf::FieldMask]
483
+ # Required. The update mask applies to the resource.
484
+ # For the `FieldMask` definition, see
485
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
486
+ class UpdateLiveConfigRequest
487
+ include ::Google::Protobuf::MessageExts
488
+ extend ::Google::Protobuf::MessageExts::ClassMethods
489
+ end
490
+
491
+ # Request message for VideoStitcherService.createVodConfig
492
+ # @!attribute [rw] parent
493
+ # @return [::String]
494
+ # Required. The project in which the VOD config should be created, in
495
+ # the form of `projects/{project_number}/locations/{location}`.
496
+ # @!attribute [rw] vod_config_id
497
+ # @return [::String]
498
+ # Required. The unique identifier ID to use for the VOD config.
499
+ # @!attribute [rw] vod_config
500
+ # @return [::Google::Cloud::Video::Stitcher::V1::VodConfig]
501
+ # Required. The VOD config resource to create.
502
+ # @!attribute [rw] request_id
503
+ # @return [::String]
504
+ # Optional. A request ID to identify requests. Specify a unique request ID
505
+ # so that if you must retry your request, the server will know to ignore
506
+ # the request if it has already been completed. The server will guarantee
507
+ # that for at least 60 minutes since the first request.
508
+ #
509
+ # For example, consider a situation where you make an initial request and the
510
+ # request times out. If you make the request again with the same request ID,
511
+ # the server can check if original operation with the same request ID was
512
+ # received, and if so, will ignore the second request. This prevents clients
513
+ # from accidentally creating duplicate commitments.
514
+ #
515
+ # The request ID must be a valid UUID with the exception that zero UUID is
516
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
517
+ class CreateVodConfigRequest
518
+ include ::Google::Protobuf::MessageExts
519
+ extend ::Google::Protobuf::MessageExts::ClassMethods
520
+ end
521
+
522
+ # Request message for VideoStitcherService.listVodConfig.
523
+ # @!attribute [rw] parent
524
+ # @return [::String]
525
+ # Required. The project that contains the list of VOD configs, in the
526
+ # form of `projects/{project_number}/locations/{location}`.
527
+ # @!attribute [rw] page_size
528
+ # @return [::Integer]
529
+ # Optional. The maximum number of items to return.
530
+ # @!attribute [rw] page_token
531
+ # @return [::String]
532
+ # Optional. The next_page_token value returned from a previous List request,
533
+ # if any.
534
+ # @!attribute [rw] filter
535
+ # @return [::String]
536
+ # Optional. The filter to apply to list results (see
537
+ # [Filtering](https://google.aip.dev/160)).
538
+ # @!attribute [rw] order_by
539
+ # @return [::String]
540
+ # Optional. Specifies the ordering of results following
541
+ # [Cloud API
542
+ # syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order).
543
+ class ListVodConfigsRequest
544
+ include ::Google::Protobuf::MessageExts
545
+ extend ::Google::Protobuf::MessageExts::ClassMethods
546
+ end
547
+
548
+ # Response message for VideoStitcher.ListVodConfig.
549
+ # @!attribute [rw] vod_configs
550
+ # @return [::Array<::Google::Cloud::Video::Stitcher::V1::VodConfig>]
551
+ # List of VOD configs.
552
+ # @!attribute [rw] next_page_token
553
+ # @return [::String]
554
+ # The pagination token.
555
+ # @!attribute [rw] unreachable
556
+ # @return [::Array<::String>]
557
+ # Locations that could not be reached.
558
+ class ListVodConfigsResponse
559
+ include ::Google::Protobuf::MessageExts
560
+ extend ::Google::Protobuf::MessageExts::ClassMethods
561
+ end
562
+
563
+ # Request message for VideoStitcherService.getVodConfig.
564
+ # @!attribute [rw] name
565
+ # @return [::String]
566
+ # Required. The name of the VOD config to be retrieved, in the form
567
+ # of `projects/{project_number}/locations/{location}/vodConfigs/{id}`.
568
+ class GetVodConfigRequest
569
+ include ::Google::Protobuf::MessageExts
570
+ extend ::Google::Protobuf::MessageExts::ClassMethods
571
+ end
572
+
573
+ # Request message for VideoStitcherService.deleteVodConfig.
574
+ # @!attribute [rw] name
575
+ # @return [::String]
576
+ # Required. The name of the VOD config to be deleted, in the form of
577
+ # `projects/{project_number}/locations/{location}/vodConfigs/{id}`.
578
+ class DeleteVodConfigRequest
579
+ include ::Google::Protobuf::MessageExts
580
+ extend ::Google::Protobuf::MessageExts::ClassMethods
581
+ end
582
+
583
+ # Request message for VideoStitcherService.updateVodConfig.
584
+ # @!attribute [rw] vod_config
585
+ # @return [::Google::Cloud::Video::Stitcher::V1::VodConfig]
586
+ # Required. The VOD config resource which replaces the resource on the
587
+ # server.
588
+ # @!attribute [rw] update_mask
589
+ # @return [::Google::Protobuf::FieldMask]
590
+ # Required. The update mask applies to the resource.
591
+ # For the `FieldMask` definition, see
592
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
593
+ class UpdateVodConfigRequest
594
+ include ::Google::Protobuf::MessageExts
595
+ extend ::Google::Protobuf::MessageExts::ClassMethods
596
+ end
597
+
476
598
  # Represents the metadata of the long-running operation.
477
599
  # @!attribute [rw] create_time
478
600
  # @return [::Google::Protobuf::Timestamp]
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Video
23
+ module Stitcher
24
+ module V1
25
+ # Metadata used to register VOD configs.
26
+ # @!attribute [r] name
27
+ # @return [::String]
28
+ # Output only. The resource name of the VOD config, in the form of
29
+ # `projects/{project}/locations/{location}/vodConfigs/{id}`.
30
+ # @!attribute [rw] source_uri
31
+ # @return [::String]
32
+ # Required. Source URI for the VOD stream manifest.
33
+ # @!attribute [rw] ad_tag_uri
34
+ # @return [::String]
35
+ # Required. The default ad tag associated with this VOD config.
36
+ # @!attribute [rw] gam_vod_config
37
+ # @return [::Google::Cloud::Video::Stitcher::V1::GamVodConfig]
38
+ # Optional. Google Ad Manager (GAM) metadata.
39
+ # @!attribute [r] state
40
+ # @return [::Google::Cloud::Video::Stitcher::V1::VodConfig::State]
41
+ # Output only. State of the VOD config.
42
+ # @!attribute [rw] source_fetch_options
43
+ # @return [::Google::Cloud::Video::Stitcher::V1::FetchOptions]
44
+ # Options for fetching source manifests and segments.
45
+ class VodConfig
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+
49
+ # State of the VOD config.
50
+ module State
51
+ # State is not specified.
52
+ STATE_UNSPECIFIED = 0
53
+
54
+ # VOD config is being created.
55
+ CREATING = 1
56
+
57
+ # VOD config is ready for use.
58
+ READY = 2
59
+
60
+ # VOD config is queued up for deletion.
61
+ DELETING = 3
62
+ end
63
+ end
64
+
65
+ # Metadata used for GAM ad decisioning.
66
+ # @!attribute [rw] network_code
67
+ # @return [::String]
68
+ # Required. Ad Manager network code to associate with the VOD config.
69
+ class GamVodConfig
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
77
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-stitcher-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: The Video Stitcher API allows you to manipulate video content to dynamically
160
48
  insert ads prior to delivery to client devices. Using the Video Stitcher API, you
161
49
  can monetize your video-on-demand (VOD) and livestreaming videos by inserting ads
@@ -178,6 +66,7 @@ files:
178
66
  - lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb
179
67
  - lib/google/cloud/video/stitcher/v1/companions_pb.rb
180
68
  - lib/google/cloud/video/stitcher/v1/events_pb.rb
69
+ - lib/google/cloud/video/stitcher/v1/fetch_options_pb.rb
181
70
  - lib/google/cloud/video/stitcher/v1/live_configs_pb.rb
182
71
  - lib/google/cloud/video/stitcher/v1/sessions_pb.rb
183
72
  - lib/google/cloud/video/stitcher/v1/slates_pb.rb
@@ -190,6 +79,7 @@ files:
190
79
  - lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb
191
80
  - lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb
192
81
  - lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb
82
+ - lib/google/cloud/video/stitcher/v1/vod_configs_pb.rb
193
83
  - proto_docs/README.md
194
84
  - proto_docs/google/api/client.rb
195
85
  - proto_docs/google/api/field_behavior.rb
@@ -199,11 +89,13 @@ files:
199
89
  - proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb
200
90
  - proto_docs/google/cloud/video/stitcher/v1/companions.rb
201
91
  - proto_docs/google/cloud/video/stitcher/v1/events.rb
92
+ - proto_docs/google/cloud/video/stitcher/v1/fetch_options.rb
202
93
  - proto_docs/google/cloud/video/stitcher/v1/live_configs.rb
203
94
  - proto_docs/google/cloud/video/stitcher/v1/sessions.rb
204
95
  - proto_docs/google/cloud/video/stitcher/v1/slates.rb
205
96
  - proto_docs/google/cloud/video/stitcher/v1/stitch_details.rb
206
97
  - proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb
98
+ - proto_docs/google/cloud/video/stitcher/v1/vod_configs.rb
207
99
  - proto_docs/google/longrunning/operations.rb
208
100
  - proto_docs/google/protobuf/any.rb
209
101
  - proto_docs/google/protobuf/duration.rb
@@ -224,14 +116,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
224
116
  requirements:
225
117
  - - ">="
226
118
  - !ruby/object:Gem::Version
227
- version: '2.6'
119
+ version: '2.7'
228
120
  required_rubygems_version: !ruby/object:Gem::Requirement
229
121
  requirements:
230
122
  - - ">="
231
123
  - !ruby/object:Gem::Version
232
124
  version: '0'
233
125
  requirements: []
234
- rubygems_version: 3.5.3
126
+ rubygems_version: 3.5.6
235
127
  signing_key:
236
128
  specification_version: 4
237
129
  summary: API Client library for the Video Stitcher V1 API