google-cloud-video-stitcher-v1 0.9.0 → 0.10.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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51728014a925ec63f621c0326773258704bdbd59cb90c0302487af28163e6a15
|
4
|
+
data.tar.gz: bc6563d07dec1fc0264c162f32a11c7f985174a29e895396b4e470efbb5a4a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d8c2872f67ac23b3d5ce496024d195b16fb25a99ed3520a0744b520de90a15ff4817bc299c7e64ac5f7e3a32199613c4ab97a5ca7b16fb22d6a46ec05d55a99
|
7
|
+
data.tar.gz: a79819bed8348d5b4950cde9b5437e9fcf6013fc691047874d5ef495db7d2d197db0c088c433fb4cc9b0bddf52c63131b93854d944f0f4a92475e953d2a75007
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n-google/cloud/video/stitcher/v1/cdn_keys.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf5\x02\n\x06\x43\x64nKey\x12\x46\n\x0egoogle_cdn_key\x18\x05 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.GoogleCdnKeyH\x00\x12\x46\n\x0e\x61kamai_cdn_key\x18\x06 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.AkamaiCdnKeyH\x00\x12\x44\n\rmedia_cdn_key\x18\x08 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.MediaCdnKeyH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x04 \x01(\t:c\xea\x41`\n#videostitcher.googleapis.com/CdnKey\x12\x39projects/{project}/locations/{location}/cdnKeys/{cdn_key}B\x10\n\x0e\x63\x64n_key_config\":\n\x0cGoogleCdnKey\x12\x18\n\x0bprivate_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\x12\x10\n\x08key_name\x18\x02 \x01(\t\"&\n\x0c\x41kamaiCdnKey\x12\x16\n\ttoken_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\"
|
11
|
+
descriptor_data = "\n-google/cloud/video/stitcher/v1/cdn_keys.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf5\x02\n\x06\x43\x64nKey\x12\x46\n\x0egoogle_cdn_key\x18\x05 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.GoogleCdnKeyH\x00\x12\x46\n\x0e\x61kamai_cdn_key\x18\x06 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.AkamaiCdnKeyH\x00\x12\x44\n\rmedia_cdn_key\x18\x08 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.MediaCdnKeyH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x04 \x01(\t:c\xea\x41`\n#videostitcher.googleapis.com/CdnKey\x12\x39projects/{project}/locations/{location}/cdnKeys/{cdn_key}B\x10\n\x0e\x63\x64n_key_config\":\n\x0cGoogleCdnKey\x12\x18\n\x0bprivate_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\x12\x10\n\x08key_name\x18\x02 \x01(\t\"&\n\x0c\x41kamaiCdnKey\x12\x16\n\ttoken_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\"\xba\x01\n\x0bMediaCdnKey\x12\x18\n\x0bprivate_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\x12\x10\n\x08key_name\x18\x02 \x01(\t\x12R\n\x0ctoken_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfigB\x03\xe0\x41\x01\x1a+\n\x0bTokenConfig\x12\x1c\n\x0fquery_parameter\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42t\n\"com.google.cloud.video.stitcher.v1B\x0c\x43\x64nKeysProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -43,6 +43,7 @@ module Google
|
|
43
43
|
GoogleCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GoogleCdnKey").msgclass
|
44
44
|
AkamaiCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AkamaiCdnKey").msgclass
|
45
45
|
MediaCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.MediaCdnKey").msgclass
|
46
|
+
MediaCdnKey::TokenConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig").msgclass
|
46
47
|
end
|
47
48
|
end
|
48
49
|
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/video/stitcher/v1/fetch_options.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n2google/cloud/video/stitcher/v1/fetch_options.proto\x12\x1egoogle.cloud.video.stitcher.v1\"\x8a\x01\n\x0c\x46\x65tchOptions\x12J\n\x07headers\x18\x01 \x03(\x0b\x32\x39.google.cloud.video.stitcher.v1.FetchOptions.HeadersEntry\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42y\n\"com.google.cloud.video.stitcher.v1B\x11\x46\x65tchOptionsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Cloud
|
36
|
+
module Video
|
37
|
+
module Stitcher
|
38
|
+
module V1
|
39
|
+
FetchOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.FetchOptions").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -6,10 +6,11 @@ require 'google/protobuf'
|
|
6
6
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/video/stitcher/v1/fetch_options_pb'
|
9
10
|
require 'google/protobuf/duration_pb'
|
10
11
|
|
11
12
|
|
12
|
-
descriptor_data = "\n1google/cloud/video/stitcher/v1/live_configs.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\
|
13
|
+
descriptor_data = "\n1google/cloud/video/stitcher/v1/live_configs.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/video/stitcher/v1/fetch_options.proto\x1a\x1egoogle/protobuf/duration.proto\"\xda\x06\n\nLiveConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsource_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nad_tag_uri\x18\x03 \x01(\t\x12\x46\n\x0fgam_live_config\x18\x04 \x01(\x0b\x32-.google.cloud.video.stitcher.v1.GamLiveConfig\x12\x44\n\x05state\x18\x05 \x01(\x0e\x32\x30.google.cloud.video.stitcher.v1.LiveConfig.StateB\x03\xe0\x41\x03\x12\x44\n\x0b\x61\x64_tracking\x18\x06 \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTrackingB\x03\xe0\x41\x02\x12>\n\rdefault_slate\x18\x07 \x01(\tB\'\xfa\x41$\n\"videostitcher.googleapis.com/Slate\x12T\n\x10stitching_policy\x18\x08 \x01(\x0e\x32:.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy\x12G\n\x0fprefetch_config\x18\n \x01(\x0b\x32..google.cloud.video.stitcher.v1.PrefetchConfig\x12J\n\x14source_fetch_options\x18\x10 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.FetchOptions\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"U\n\x0fStitchingPolicy\x12 \n\x1cSTITCHING_POLICY_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x43UT_CURRENT\x10\x01\x12\x0f\n\x0b\x43OMPLETE_AD\x10\x02:o\xea\x41l\n\'videostitcher.googleapis.com/LiveConfig\x12\x41projects/{project}/locations/{location}/liveConfigs/{live_config}\"f\n\x0ePrefetchConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12>\n\x1binitial_ad_request_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"a\n\rGamLiveConfig\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tasset_key\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63ustom_asset_key\x18\x03 \x01(\tB\x03\xe0\x41\x03*A\n\nAdTracking\x12\x1b\n\x17\x41\x44_TRACKING_UNSPECIFIED\x10\x00\x12\n\n\x06\x43LIENT\x10\x01\x12\n\n\x06SERVER\x10\x02\x42x\n\"com.google.cloud.video.stitcher.v1B\x10LiveConfigsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
|
13
14
|
|
14
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
16
|
|
@@ -24,6 +25,7 @@ rescue TypeError
|
|
24
25
|
file = pool.add_serialized_file(serialized)
|
25
26
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
27
|
imports = [
|
28
|
+
["google.cloud.video.stitcher.v1.FetchOptions", "google/cloud/video/stitcher/v1/fetch_options.proto"],
|
27
29
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
28
30
|
]
|
29
31
|
imports.each do |type_name, expected_filename|
|
@@ -12,7 +12,7 @@ require 'google/cloud/video/stitcher/v1/live_configs_pb'
|
|
12
12
|
require 'google/protobuf/duration_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n-google/cloud/video/stitcher/v1/sessions.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/video/stitcher/v1/companions.proto\x1a+google/cloud/video/stitcher/v1/events.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a\x1egoogle/protobuf/duration.proto\"\
|
15
|
+
descriptor_data = "\n-google/cloud/video/stitcher/v1/sessions.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/video/stitcher/v1/companions.proto\x1a+google/cloud/video/stitcher/v1/events.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa2\x06\n\nVodSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12I\n\rinterstitials\x18\x02 \x01(\x0b\x32-.google.cloud.video.stitcher.v1.InterstitialsB\x03\xe0\x41\x03\x12\x15\n\x08play_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nsource_uri\x18\x05 \x01(\t\x12\x12\n\nad_tag_uri\x18\x06 \x01(\t\x12W\n\x10\x61\x64_tag_macro_map\x18\x07 \x03(\x0b\x32=.google.cloud.video.stitcher.v1.VodSession.AdTagMacroMapEntry\x12I\n\x10manifest_options\x18\t \x01(\x0b\x32/.google.cloud.video.stitcher.v1.ManifestOptions\x12\x15\n\x08\x61sset_id\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x0b\x61\x64_tracking\x18\x0b \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTrackingB\x03\xe0\x41\x02\x12L\n\x0cgam_settings\x18\r \x01(\x0b\x32\x36.google.cloud.video.stitcher.v1.VodSession.GamSettings\x12?\n\nvod_config\x18\x0e \x01(\tB+\xfa\x41(\n&videostitcher.googleapis.com/VodConfig\x1a@\n\x0bGamSettings\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tstream_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x34\n\x12\x41\x64TagMacroMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n\'videostitcher.googleapis.com/VodSession\x12\x41projects/{project}/locations/{location}/vodSessions/{vod_session}\"\xa1\x01\n\rInterstitials\x12\x44\n\tad_breaks\x18\x01 \x03(\x0b\x32\x31.google.cloud.video.stitcher.v1.VodSessionAdBreak\x12J\n\x0fsession_content\x18\x02 \x01(\x0b\x32\x31.google.cloud.video.stitcher.v1.VodSessionContent\"\xc0\x01\n\x0cVodSessionAd\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\rcompanion_ads\x18\x02 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.CompanionAds\x12>\n\x0f\x61\x63tivity_events\x18\x03 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.Event\"@\n\x11VodSessionContent\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x80\x02\n\x11VodSessionAdBreak\x12\x46\n\x0fprogress_events\x18\x01 \x03(\x0b\x32-.google.cloud.video.stitcher.v1.ProgressEvent\x12\x39\n\x03\x61\x64s\x18\x02 \x03(\x0b\x32,.google.cloud.video.stitcher.v1.VodSessionAd\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa9\x06\n\x0bLiveSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08play_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\rad_tag_macros\x18\x06 \x03(\x0b\x32<.google.cloud.video.stitcher.v1.LiveSession.AdTagMacrosEntry\x12I\n\x10manifest_options\x18\n \x01(\x0b\x32/.google.cloud.video.stitcher.v1.ManifestOptions\x12M\n\x0cgam_settings\x18\x0f \x01(\x0b\x32\x37.google.cloud.video.stitcher.v1.LiveSession.GamSettings\x12\x44\n\x0blive_config\x18\x10 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\x12?\n\x0b\x61\x64_tracking\x18\x11 \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTracking\x1a\xd1\x01\n\x0bGamSettings\x12\x16\n\tstream_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12n\n\x14targeting_parameters\x18\x04 \x03(\x0b\x32P.google.cloud.video.stitcher.v1.LiveSession.GamSettings.TargetingParametersEntry\x1a:\n\x18TargetingParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41\x64TagMacrosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:r\xea\x41o\n(videostitcher.googleapis.com/LiveSession\x12\x43projects/{project}/locations/{location}/liveSessions/{live_session}\"\xfe\x01\n\x0fManifestOptions\x12K\n\x12include_renditions\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.RenditionFilter\x12R\n\rbitrate_order\x18\x02 \x01(\x0e\x32;.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy\"J\n\x0bOrderPolicy\x12\x1c\n\x18ORDER_POLICY_UNSPECIFIED\x10\x00\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"6\n\x0fRenditionFilter\x12\x13\n\x0b\x62itrate_bps\x18\x01 \x01(\x05\x12\x0e\n\x06\x63odecs\x18\x02 \x01(\tBu\n\"com.google.cloud.video.stitcher.v1B\rSessionsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|