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

namespace Google\Cloud\CloudDms\V1;

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

/**
 * Response message for 'GenerateSshScript' request.
 *
 * Generated from protobuf message <code>google.cloud.clouddms.v1.SshScript</code>
 */
class SshScript extends \Google\Protobuf\Internal\Message
{
    /**
     * The ssh configuration script.
     *
     * Generated from protobuf field <code>string script = 1;</code>
     */
    protected $script = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $script
     *           The ssh configuration script.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Clouddms\V1\Clouddms::initOnce();
        parent::__construct($data);
    }

    /**
     * The ssh configuration script.
     *
     * Generated from protobuf field <code>string script = 1;</code>
     * @return string
     */
    public function getScript()
    {
        return $this->script;
    }

    /**
     * The ssh configuration script.
     *
     * Generated from protobuf field <code>string script = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setScript($var)
    {
        GPBUtil::checkString($var, True);
        $this->script = $var;

        return $this;
    }

}

