<?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;

/**
 * Request message for
 * [YouTubeVideoUploadService.RemoveYouTubeVideoUpload][google.ads.googleads.v25.services.YouTubeVideoUploadService.RemoveYouTubeVideoUpload].
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.services.RemoveYouTubeVideoUploadRequest</code>
 */
class RemoveYouTubeVideoUploadRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The customer ID requesting the YouTube video upload deletion.
     * Required.
     *
     * Generated from protobuf field <code>string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $customer_id = '';
    /**
     * The resource names of the YouTube video uploads to be removed. Required.
     *
     * Generated from protobuf field <code>repeated string resource_names = 2;</code>
     */
    private $resource_names;

    /**
     * @param string $customerId Required. The customer ID requesting the YouTube video upload deletion.
     *                           Required.
     *
     * @return \Google\Ads\GoogleAds\V25\Services\RemoveYouTubeVideoUploadRequest
     *
     * @experimental
     */
    public static function build(string $customerId): self
    {
        return (new self())
            ->setCustomerId($customerId);
    }

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

    /**
     * Required. The customer ID requesting the YouTube video upload deletion.
     * Required.
     *
     * Generated from protobuf field <code>string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getCustomerId()
    {
        return $this->customer_id;
    }

    /**
     * Required. The customer ID requesting the YouTube video upload deletion.
     * Required.
     *
     * Generated from protobuf field <code>string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setCustomerId($var)
    {
        GPBUtil::checkString($var, True);
        $this->customer_id = $var;

        return $this;
    }

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

    /**
     * The resource names of the YouTube video uploads to be removed. Required.
     *
     * Generated from protobuf field <code>repeated string resource_names = 2;</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;
    }

}

