<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/compute/v1/compute.proto

namespace Google\Cloud\Compute\V1;

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

/**
 * Additional license params.
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.LicenseParams</code>
 */
class LicenseParams extends \Google\Protobuf\Internal\Message
{
    /**
     * Input only. Resource manager tags to be bound to the license. Tag keys and values
     * have the same definition as resource
     * manager tags. Keys and values can be either in numeric format,
     * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
     * format such as `{org_id|project_id}/{tag_key_short_name}` and
     * `{tag_value_short_name}`. The field is ignored (both PUT &
     * PATCH) when empty.
     *
     * Generated from protobuf field <code>map<string, string> resource_manager_tags = 377671164;</code>
     */
    private $resource_manager_tags;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array|\Google\Protobuf\Internal\MapField $resource_manager_tags
     *           Input only. Resource manager tags to be bound to the license. Tag keys and values
     *           have the same definition as resource
     *           manager tags. Keys and values can be either in numeric format,
     *           such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
     *           format such as `{org_id|project_id}/{tag_key_short_name}` and
     *           `{tag_value_short_name}`. The field is ignored (both PUT &
     *           PATCH) when empty.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * Input only. Resource manager tags to be bound to the license. Tag keys and values
     * have the same definition as resource
     * manager tags. Keys and values can be either in numeric format,
     * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
     * format such as `{org_id|project_id}/{tag_key_short_name}` and
     * `{tag_value_short_name}`. The field is ignored (both PUT &
     * PATCH) when empty.
     *
     * Generated from protobuf field <code>map<string, string> resource_manager_tags = 377671164;</code>
     * @return \Google\Protobuf\Internal\MapField
     */
    public function getResourceManagerTags()
    {
        return $this->resource_manager_tags;
    }

    /**
     * Input only. Resource manager tags to be bound to the license. Tag keys and values
     * have the same definition as resource
     * manager tags. Keys and values can be either in numeric format,
     * such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
     * format such as `{org_id|project_id}/{tag_key_short_name}` and
     * `{tag_value_short_name}`. The field is ignored (both PUT &
     * PATCH) when empty.
     *
     * Generated from protobuf field <code>map<string, string> resource_manager_tags = 377671164;</code>
     * @param array|\Google\Protobuf\Internal\MapField $var
     * @return $this
     */
    public function setResourceManagerTags($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->resource_manager_tags = $arr;

        return $this;
    }

}

