google-cloud-video-stitcher-v1 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +2 -1
- data/lib/google/cloud/video/stitcher/v1/fetch_options_pb.rb +44 -0
- data/lib/google/cloud/video/stitcher/v1/live_configs_pb.rb +3 -1
- data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +1 -1
- data/lib/google/cloud/video/stitcher/v1/version.rb +1 -1
- data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +695 -24
- data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/operations.rb +13 -5
- data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +19 -0
- data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +10 -1
- data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +17 -0
- data/lib/google/cloud/video/stitcher/v1/vod_configs_pb.rb +51 -0
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/video/stitcher/v1/ad_tag_details.rb +3 -1
- data/proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb +20 -0
- data/proto_docs/google/cloud/video/stitcher/v1/fetch_options.rb +49 -0
- data/proto_docs/google/cloud/video/stitcher/v1/live_configs.rb +4 -3
- data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +44 -16
- data/proto_docs/google/cloud/video/stitcher/v1/stitch_details.rb +3 -3
- data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +122 -0
- data/proto_docs/google/cloud/video/stitcher/v1/vod_configs.rb +77 -0
- metadata +6 -2
@@ -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.
|
4
|
+
version: 1.0.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-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb
|
67
67
|
- lib/google/cloud/video/stitcher/v1/companions_pb.rb
|
68
68
|
- lib/google/cloud/video/stitcher/v1/events_pb.rb
|
69
|
+
- lib/google/cloud/video/stitcher/v1/fetch_options_pb.rb
|
69
70
|
- lib/google/cloud/video/stitcher/v1/live_configs_pb.rb
|
70
71
|
- lib/google/cloud/video/stitcher/v1/sessions_pb.rb
|
71
72
|
- lib/google/cloud/video/stitcher/v1/slates_pb.rb
|
@@ -78,6 +79,7 @@ files:
|
|
78
79
|
- lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb
|
79
80
|
- lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb
|
80
81
|
- lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb
|
82
|
+
- lib/google/cloud/video/stitcher/v1/vod_configs_pb.rb
|
81
83
|
- proto_docs/README.md
|
82
84
|
- proto_docs/google/api/client.rb
|
83
85
|
- proto_docs/google/api/field_behavior.rb
|
@@ -87,11 +89,13 @@ files:
|
|
87
89
|
- proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb
|
88
90
|
- proto_docs/google/cloud/video/stitcher/v1/companions.rb
|
89
91
|
- proto_docs/google/cloud/video/stitcher/v1/events.rb
|
92
|
+
- proto_docs/google/cloud/video/stitcher/v1/fetch_options.rb
|
90
93
|
- proto_docs/google/cloud/video/stitcher/v1/live_configs.rb
|
91
94
|
- proto_docs/google/cloud/video/stitcher/v1/sessions.rb
|
92
95
|
- proto_docs/google/cloud/video/stitcher/v1/slates.rb
|
93
96
|
- proto_docs/google/cloud/video/stitcher/v1/stitch_details.rb
|
94
97
|
- proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb
|
98
|
+
- proto_docs/google/cloud/video/stitcher/v1/vod_configs.rb
|
95
99
|
- proto_docs/google/longrunning/operations.rb
|
96
100
|
- proto_docs/google/protobuf/any.rb
|
97
101
|
- proto_docs/google/protobuf/duration.rb
|