<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v22/resources/asset_group.proto

namespace Google\Ads\GoogleAds\V22\Resources;

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

/**
 * Information about the asset coverage of an asset group.
 *
 * Generated from protobuf message <code>google.ads.googleads.v22.resources.AssetCoverage</code>
 */
class AssetCoverage extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. A list of action items to improve the ad strength of an asset
     * group.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v22.resources.AdStrengthActionItem ad_strength_action_items = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $ad_strength_action_items;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Ads\GoogleAds\V22\Resources\AdStrengthActionItem>|\Google\Protobuf\Internal\RepeatedField $ad_strength_action_items
     *           Output only. A list of action items to improve the ad strength of an asset
     *           group.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V22\Resources\AssetGroup::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. A list of action items to improve the ad strength of an asset
     * group.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v22.resources.AdStrengthActionItem ad_strength_action_items = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getAdStrengthActionItems()
    {
        return $this->ad_strength_action_items;
    }

    /**
     * Output only. A list of action items to improve the ad strength of an asset
     * group.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v22.resources.AdStrengthActionItem ad_strength_action_items = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param array<\Google\Ads\GoogleAds\V22\Resources\AdStrengthActionItem>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setAdStrengthActionItems($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V22\Resources\AdStrengthActionItem::class);
        $this->ad_strength_action_items = $arr;

        return $this;
    }

}

