# REST Resource: projects.locations.sfdcInstances

- [Resource: SfdcInstance](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances#SfdcInstance)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances#SfdcInstance.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances#METHODS_SUMMARY)

## Resource: SfdcInstance

The SfdcInstance resource use to hold channels and connection config data.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "sfdcOrgId": string, "authConfigId": [ string ], "createTime": string, "updateTime": string, "deleteTime": string, "serviceAuthority": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}. |
| `displayName` | `string` Optional. User selected unique name/alias to easily reference an instance. |
| `description` | `string` Optional. A description of the sfdc instance. |
| `sfdcOrgId` | `string` The SFDC Org id. This is defined in salesforce. |
| `authConfigId[]` | `string` A list of AuthConfigs that can be tried to open the channel to SFDC |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the instance is created Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the instance was last updated Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `deleteTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the instance was deleted. Empty if not deleted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `serviceAuthority` | `string` Optional. URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig). |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/create` | Creates an sfdc instance record. |
| ### `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/delete` | Deletes an sfdc instance. |
| ### `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/get` | Gets an sfdc instance. |
| ### `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/list` | Lists all sfdc instances that match the filter. |
| ### `https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.sfdcInstances/patch` | Updates an sfdc instance. |