Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::CompanionAds.
Metadata for companion ads.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#companions
def companions() -> ::Array<::Google::Cloud::Video::Stitcher::V1::Companion>
Returns
- (::Array<::Google::Cloud::Video::Stitcher::V1::Companion>) — List of companion ads.
#companions=
def companions=(value) -> ::Array<::Google::Cloud::Video::Stitcher::V1::Companion>
Parameter
- value (::Array<::Google::Cloud::Video::Stitcher::V1::Companion>) — List of companion ads.
Returns
- (::Array<::Google::Cloud::Video::Stitcher::V1::Companion>) — List of companion ads.
#display_requirement
def display_requirement() -> ::Google::Cloud::Video::Stitcher::V1::CompanionAds::DisplayRequirement
Returns
- (::Google::Cloud::Video::Stitcher::V1::CompanionAds::DisplayRequirement) — Indicates how many of the companions should be displayed with the ad.
#display_requirement=
def display_requirement=(value) -> ::Google::Cloud::Video::Stitcher::V1::CompanionAds::DisplayRequirement
Parameter
- value (::Google::Cloud::Video::Stitcher::V1::CompanionAds::DisplayRequirement) — Indicates how many of the companions should be displayed with the ad.
Returns
- (::Google::Cloud::Video::Stitcher::V1::CompanionAds::DisplayRequirement) — Indicates how many of the companions should be displayed with the ad.