# RemoteRelationshipInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.RemoteRelationshipInfo/

Contains information that is needed to create a relationship between vaults.

- **Full name:** `MFiles.RemoteRelationshipInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-object_guid"></a>`object_guid` | `string` | 1 | Object GUID. |
| <a id="f-vault_guid"></a>`vault_guid` | `string` | 2 | Object vault GUID. |
| <a id="f-obj_id"></a>`obj_id` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 3 | Obj ID. May identify the unmanaged object in the remote vault. |
| <a id="f-object_type_name"></a>`object_type_name` | `string` | 4 | Object type name. |
| <a id="f-object_aliases"></a>`object_aliases` | `string` | 5 | Object type semantic aliases. |
| <a id="f-object_class_id"></a>`object_class_id` | `int32` | 6 | Class ID. |
| <a id="f-object_class_name"></a>`object_class_name` | `string` | 7 | Class name. |
| <a id="f-object_class_aliases"></a>`object_class_aliases` | `string` | 8 | Class semantic aliases. |
| <a id="f-object_external_id"></a>`object_external_id` | `string` | 9 | External ID of the object. |
| <a id="f-object_type_guid"></a>`object_type_guid` | `string` | 10 | Object type GUID. |
| <a id="f-object_class_guid"></a>`object_class_guid` | `string` | 11 | Class GUID. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCObjectOperations.GetRemoteRelationshipSourceInfo](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipSourceInfo/index.md): Gets what another vault needs to create a stub of this object, or to find a matching object. Used by replication and cross-vault relationships; not for applications.
- [IRPCObjectOperations.GetRemoteRelationshipTargetInfo](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipTargetInfo/index.md): Finds the local object that matches an object of another vault, or the information for creating a stub of it. Used by replication and cross-vault relationships; not for applications.

<a id="used-in-fields"></a>

## Used in fields

- [`GetRemoteRelationshipSourceInfoRequest.partial_data`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipSourceInfo/index.md#request): Partially filled information about the object. The JSON represents RemoteRelationshipInfo structure.
- [`GetRemoteRelationshipSourceInfoResponse.filled_data`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipSourceInfo/index.md#response): Receives info about the object for creating relationship to another vault. The JSON represents RemoteRelationshipInfo structure.
- [`GetRemoteRelationshipTargetInfoRequest.remote_`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipTargetInfo/index.md#request): Info about the object in the remote vault. The JSON represents RemoteRelationshipInfo structure.
- [`GetRemoteRelationshipTargetInfoResponse.local_`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetRemoteRelationshipTargetInfo/index.md#response): Receives info about the object in the local vault. The JSON represents RemoteRelationshipInfo structure.
