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

namespace Google\Cloud\GkeMultiCloud\V1;

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

/**
 * Authentication configuration for the management of Azure resources.
 *
 * Generated from protobuf message <code>google.cloud.gkemulticloud.v1.AzureServicesAuthentication</code>
 */
class AzureServicesAuthentication extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The Azure Active Directory Tenant ID.
     *
     * Generated from protobuf field <code>string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $tenant_id = '';
    /**
     * Required. The Azure Active Directory Application ID.
     *
     * Generated from protobuf field <code>string application_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $application_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $tenant_id
     *           Required. The Azure Active Directory Tenant ID.
     *     @type string $application_id
     *           Required. The Azure Active Directory Application ID.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkemulticloud\V1\AzureResources::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The Azure Active Directory Tenant ID.
     *
     * Generated from protobuf field <code>string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getTenantId()
    {
        return $this->tenant_id;
    }

    /**
     * Required. The Azure Active Directory Tenant ID.
     *
     * Generated from protobuf field <code>string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setTenantId($var)
    {
        GPBUtil::checkString($var, True);
        $this->tenant_id = $var;

        return $this;
    }

    /**
     * Required. The Azure Active Directory Application ID.
     *
     * Generated from protobuf field <code>string application_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getApplicationId()
    {
        return $this->application_id;
    }

    /**
     * Required. The Azure Active Directory Application ID.
     *
     * Generated from protobuf field <code>string application_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setApplicationId($var)
    {
        GPBUtil::checkString($var, True);
        $this->application_id = $var;

        return $this;
    }

}

