# RoleBinding

> **Package : spaceone.api.identity.v1**

\
\


## RoleBinding

**RoleBinding Methods:**

| Method                                                                                                                 | Request                                                                                                                                                | Response                                                                                                                               |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| [**create**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#create) | [CreateRoleBindingRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#createrolebindingrequest) | [RoleBindingInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindinginfo)   |
| [**update**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#update) | [UpdateRoleBindingRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#updaterolebindingrequest) | [RoleBindingInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindinginfo)   |
| [**delete**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#delete) | [RoleBindingRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindingrequest)             | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#empty)                       |
| [**get**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#get)       | [GetRoleBindingRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#getrolebindingrequest)       | [RoleBindingInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindinginfo)   |
| [**list**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#list)     | [RoleBindingQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindingquery)                 | [RoleBindingsInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindingsinfo) |
| [**stat**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#stat)     | [RoleBindingStatQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#rolebindingstatquery)         | [Struct](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/RoleBinding/README.md#struct)                     |

\


### create

> **POST** /identity/v1/role-binding/create

\


### update

> **POST** /identity/v1/role-binding/update

\


### delete

> **POST** /identity/v1/role-binding/delete

\


### get

> **POST** /identity/v1/role-binding/get

\


### list

> **POST** /identity/v1/role-binding/list

\


### stat

> **POST** /identity/v1/role-binding/stat

\
\


## Message

### CreateRoleBindingRequest

* **resource\_type** (string) `Required`
* **resource\_id** (string) `Required`
* **role\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **project\_id** (string)
* **project\_group\_id** (string)
* **labels** (ListValue)
*   **tags** (Struct)

    \


### GetRoleBindingRequest

* **role\_binding\_id** (string) `Required`
* **domain\_id** (string) `Required`
*   **only** (string) `Repeated`

    \


### RoleBindingInfo

* **role\_binding\_id** (string) `Required`
* **resource\_type** (string) `Required`
* **resource\_id** (string) `Required`
* **role\_info** (RoleInfo) `Required`
* **project\_info** (ProjectInfo) `Required`
* **project\_group\_info** (ProjectGroupInfo) `Required`
* **labels** (ListValue) `Required`
* **tags** (Struct) `Required`
* **domain\_id** (string) `Required`
*   **created\_at** (string) `Required`

    \


### RoleBindingQuery

* **domain\_id** (string) `Required`
* **query** (Query)
* **role\_binding\_id** (string)
* **resource\_type** (string)
* **resource\_id** (string)
* **role\_id** (string)
* **role\_type** (string)
* **project\_id** (string)
*   **project\_group\_id** (string)

    \


### RoleBindingRequest

* **role\_binding\_id** (string) `Required`
*   **domain\_id** (string) `Required`

    \


### RoleBindingStatQuery

* **query** (StatisticsQuery) `Required`
*   **domain\_id** (string) `Required`

    \


### RoleBindingsInfo

* **results** (RoleBindingInfo) `Repeated` `Required`
*   **total\_count** (int32) `Required`

    \


### UpdateRoleBindingRequest

* **role\_binding\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **labels** (ListValue)
*   **tags** (Struct)

    \
