Skip to content

salesforceObjects

The objects in the Salesforce organization.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
orgId (required) UUID! Rubrik ID of the Salesforce organization.
sortBy HierarchySortByField Sort hierarchy objects according to the hierarchy field.
filter (required) [Filter!]! The hierarchy object filter.
sortOrder SortOrder Sorts the order of results.

Returns

SalesforceObjectConnection!

Sample

query SalesforceObjects($orgId: UUID!, $filter: [Filter!]!) {
  salesforceObjects(
    orgId: $orgId
    filter: $filter
    first: 10
  ) {
    nodes {
      authorizedOperations
      id
      isRelic
      label
      name
      naturalId
      numWorkloadDescendants
      objectBackupType
      objectType
      onDemandSnapshotCount
      rscPendingObjectPauseAssignment
      salesforceObjectType
      slaAssignment
      slaPauseStatus
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "orgId": "00000000-0000-0000-0000-000000000000",
  "filter": [
    {}
  ]
}
{
  "data": {
    "salesforceObjects": {
      "nodes": [
        [
          {
            "authorizedOperations": [
              "ACCESS_CDM_CLUSTER"
            ],
            "id": "00000000-0000-0000-0000-000000000000",
            "isRelic": true,
            "label": "example-string",
            "name": "example-string",
            "naturalId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}