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

namespace Google\Cloud\GkeHub\V1;

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

/**
 * Response for GenerateRBACRoleBindingYAML.
 *
 * Generated from protobuf message <code>google.cloud.gkehub.v1.GenerateMembershipRBACRoleBindingYAMLResponse</code>
 */
class GenerateMembershipRBACRoleBindingYAMLResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * a yaml text blob including the RBAC policies.
     *
     * Generated from protobuf field <code>string role_bindings_yaml = 1;</code>
     */
    protected $role_bindings_yaml = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $role_bindings_yaml
     *           a yaml text blob including the RBAC policies.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkehub\V1\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * a yaml text blob including the RBAC policies.
     *
     * Generated from protobuf field <code>string role_bindings_yaml = 1;</code>
     * @return string
     */
    public function getRoleBindingsYaml()
    {
        return $this->role_bindings_yaml;
    }

    /**
     * a yaml text blob including the RBAC policies.
     *
     * Generated from protobuf field <code>string role_bindings_yaml = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRoleBindingsYaml($var)
    {
        GPBUtil::checkString($var, True);
        $this->role_bindings_yaml = $var;

        return $this;
    }

}

