Class: Google::Cloud::Video::Stitcher::V1::VodSession
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Stitcher::V1::VodSession
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/stitcher/v1/sessions.rb
Overview
Metadata for a VOD session. The session expires 4 hours after its creation.
Defined Under Namespace
Classes: AdTagMacroMapEntry, GamSettings
Instance Attribute Summary collapse
-
#ad_tag_macro_map ⇒ ::Google::Protobuf::Map{::String => ::String}
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.
-
#ad_tag_uri ⇒ ::String
Ad tag URI.
-
#ad_tracking ⇒ ::Google::Cloud::Video::Stitcher::V1::AdTracking
Required.
-
#asset_id ⇒ ::String
readonly
Output only.
-
#gam_settings ⇒ ::Google::Cloud::Video::Stitcher::V1::VodSession::GamSettings
This field should be set with appropriate values if GAM is being used for ads.
-
#interstitials ⇒ ::Google::Cloud::Video::Stitcher::V1::Interstitials
readonly
Output only.
-
#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.
-
#source_uri ⇒ ::String
URI of the media to stitch.
-
#vod_config ⇒ ::String
The resource name of the VOD config for this session, in the form of
projects/{project}/locations/{location}/vodConfigs/{id}
.
Instance Attribute Details
#ad_tag_macro_map ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. 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 macro map: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#ad_tag_uri ⇒ ::String
Returns Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#ad_tracking ⇒ ::Google::Cloud::Video::Stitcher::V1::AdTracking
Returns Required. Determines how the ad should be tracked.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#asset_id ⇒ ::String (readonly)
Returns Output only. The generated ID of the VodSession's source media.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#gam_settings ⇒ ::Google::Cloud::Video::Stitcher::V1::VodSession::GamSettings
Returns This field should be set with appropriate values if GAM is being used for ads.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#interstitials ⇒ ::Google::Cloud::Video::Stitcher::V1::Interstitials (readonly)
Returns Output only. Metadata of what was stitched into the content.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry 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.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the VOD session, in the form of
projects/{project_number}/locations/{location}/vodSessions/{id}
.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#play_uri ⇒ ::String (readonly)
Returns Output only. The playback URI of the stitched content.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#source_uri ⇒ ::String
Returns URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#vod_config ⇒ ::String
Returns The resource name of the VOD config for this session, in the form of
projects/{project}/locations/{location}/vodConfigs/{id}
.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'proto_docs/google/cloud/video/stitcher/v1/sessions.rb', line 78 class VodSession 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] network_code # @return [::String] # Required. Ad Manager network code. # @!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 AdTagMacroMapEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |