Class: Google::Cloud::Video::Stitcher::V1::LiveConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Stitcher::V1::LiveConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/stitcher/v1/live_configs.rb
Overview
Metadata for used to register live configs.
Defined Under Namespace
Modules: State, StitchingPolicy
Instance Attribute Summary collapse
-
#ad_tag_uri ⇒ ::String
The default ad tag associated with this live stream config.
-
#ad_tracking ⇒ ::Google::Cloud::Video::Stitcher::V1::AdTracking
Required.
-
#default_slate ⇒ ::String
This must refer to a slate in the same project.
-
#gam_live_config ⇒ ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig
Additional metadata used to register a live stream with Google Ad Manager (GAM).
-
#name ⇒ ::String
readonly
Output only.
-
#prefetch_config ⇒ ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig
The configuration for prefetching ads.
-
#source_uri ⇒ ::String
Required.
-
#state ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveConfig::State
readonly
Output only.
-
#stitching_policy ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.
Instance Attribute Details
#ad_tag_uri ⇒ ::String
Returns The default ad tag associated with this live stream config.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#ad_tracking ⇒ ::Google::Cloud::Video::Stitcher::V1::AdTracking
Returns Required. Determines how the ads are tracked. If
gam_live_config
is set, the value must be CLIENT because the IMA SDK handles ad tracking.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#default_slate ⇒ ::String
Returns This must refer to a slate in the same
project. If Google Ad Manager (GAM) is used for ads, this string sets the
value of slateCreativeId in
https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#gam_live_config ⇒ ::Google::Cloud::Video::Stitcher::V1::GamLiveConfig
Returns Additional metadata used to register a live stream with Google Ad Manager (GAM).
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the live config, in the form of
projects/{project}/locations/{location}/liveConfigs/{id}.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#prefetch_config ⇒ ::Google::Cloud::Video::Stitcher::V1::PrefetchConfig
Returns The configuration for prefetching ads.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#source_uri ⇒ ::String
Returns Required. Source URI for the live stream manifest.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#state ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveConfig::State (readonly)
Returns Output only. State of the live config.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |
#stitching_policy ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy
Returns Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is CUT_CURRENT.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 61 class LiveConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of the live config. module State # State is not specified. STATE_UNSPECIFIED = 0 # Live config is being created. CREATING = 1 # Live config is ready for use. READY = 2 # Live config is queued up for deletion. DELETING = 3 end # Defines the ad stitching behavior in case the ad duration does not align # exactly with the ad break boundaries. If not specified, the default is # `CUT_CURRENT`. module StitchingPolicy # Stitching policy is not specified. STITCHING_POLICY_UNSPECIFIED = 0 # Cuts an ad short and returns to content in the middle of the ad. CUT_CURRENT = 1 # Finishes stitching the current ad before returning to content. COMPLETE_AD = 2 end end |