Class: Google::Cloud::Video::Stitcher::V1::LiveSession
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Stitcher::V1::LiveSession
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/stitcher/v1/sessions.rb
Overview
Metadata for a live session. The session expires 5 minutes after the client stops fetching the session's playlists.
Defined Under Namespace
Classes: AdTagMacrosEntry, GamSettings
Instance Attribute Summary collapse
-
#ad_tag_macros ⇒ ::Google::Protobuf::Map{::String => ::String}
Key value pairs for ad tag macro replacement.
-
#gam_settings ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings
This field should be set with appropriate values if GAM is being used for ads.
-
#live_config ⇒ ::String
Required.
-
#manifest_options ⇒ ::Google::Cloud::Video::Stitcher::V1::ManifestOptions
Additional options that affect the output of the manifest.
-
#name ⇒ ::String
readonly
Output only.
-
#play_uri ⇒ ::String
readonly
Output only.
Instance Attribute Details
#ad_tag_macros ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Key value pairs for ad tag macro replacement. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets.
For example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123".
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#gam_settings ⇒ ::Google::Cloud::Video::Stitcher::V1::LiveSession::GamSettings
Returns This field should be set with appropriate values if GAM is being used for ads.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#live_config ⇒ ::String
Returns Required. The resource name of the live config for this session, in the
form of projects/{project}/locations/{location}/liveConfigs/{id}.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#manifest_options ⇒ ::Google::Cloud::Video::Stitcher::V1::ManifestOptions
Returns Additional options that affect the output of the manifest.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#play_uri ⇒ ::String (readonly)
Returns Output only. The URI to play the live session's ad-stitched stream.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 190 class LiveSession include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines fields related to Google Ad Manager (GAM). This should be set if # GAM is being used for ads. # @!attribute [rw] stream_id # @return [::String] # Required. The stream ID generated by Ad Manager. class GamSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AdTagMacrosEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |