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

namespace Google\Cloud\OsLogin\V1beta;

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

/**
 * Security key information specific to the Web Authentication protocol.
 *
 * Generated from protobuf message <code>google.cloud.oslogin.v1beta.WebAuthn</code>
 */
class WebAuthn extends \Google\Protobuf\Internal\Message
{
    /**
     * Relying party ID for Web Authentication.
     *
     * Generated from protobuf field <code>string rp_id = 1;</code>
     */
    private $rp_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $rp_id
     *           Relying party ID for Web Authentication.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Oslogin\V1Beta\Oslogin::initOnce();
        parent::__construct($data);
    }

    /**
     * Relying party ID for Web Authentication.
     *
     * Generated from protobuf field <code>string rp_id = 1;</code>
     * @return string
     */
    public function getRpId()
    {
        return $this->rp_id;
    }

    /**
     * Relying party ID for Web Authentication.
     *
     * Generated from protobuf field <code>string rp_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRpId($var)
    {
        GPBUtil::checkString($var, True);
        $this->rp_id = $var;

        return $this;
    }

}

