<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v25/services/youtube_video_upload_service.proto

namespace Google\Ads\GoogleAds\V25\Services;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Response message for
 * [YouTubeVideoUploadService.RemoveYouTubeVideoUpload][google.ads.googleads.v25.services.YouTubeVideoUploadService.RemoveYouTubeVideoUpload].
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.services.RemoveYouTubeVideoUploadResponse</code>
 */
class RemoveYouTubeVideoUploadResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The resource names of the successfully removed YouTube video uploads.
     *
     * Generated from protobuf field <code>repeated string resource_names = 1;</code>
     */
    private $resource_names;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string[] $resource_names
     *           The resource names of the successfully removed YouTube video uploads.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Services\YoutubeVideoUploadService::initOnce();
        parent::__construct($data);
    }

    /**
     * The resource names of the successfully removed YouTube video uploads.
     *
     * Generated from protobuf field <code>repeated string resource_names = 1;</code>
     * @return RepeatedField<string>
     */
    public function getResourceNames()
    {
        return $this->resource_names;
    }

    /**
     * The resource names of the successfully removed YouTube video uploads.
     *
     * Generated from protobuf field <code>repeated string resource_names = 1;</code>
     * @param string[] $var
     * @return $this
     */
    public function setResourceNames($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->resource_names = $arr;

        return $this;
    }

}

