# getListObjectsQuery

> Function getListObjectsQuery in pulumi-openfga.

<!-- Generated from the pulumi-openfga SDK. -->

Function getListObjectsQuery in pulumi-openfga.

Invoke token: `openfga:index/getListObjectsQuery:getListObjectsQuery`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as openfga from "pulumi-openfga"

const result = await openfga.getListObjectsQuery({
  relation: "<relation>",
  storeId: "<storeId>",
  type: "<type>",
  user: "<user>",
})
```

`getListObjectsQueryOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property               | Type                                           | Required | Description |
| ---------------------- | ---------------------------------------------- | -------- | ----------- |
| `authorizationModelId` | `string`                                       | no       |             |
| `contextJson`          | `string`                                       | no       |             |
| `contextualTuples`     | `GetListObjectsQueryContextualTuple (input)[]` | no       |             |
| `relation`             | `string`                                       | yes      |             |
| `storeId`              | `string`                                       | yes      |             |
| `type`                 | `string`                                       | yes      |             |
| `user`                 | `string`                                       | yes      |             |

## Result

| Property               | Type                                            | Always present | Description |
| ---------------------- | ----------------------------------------------- | -------------- | ----------- |
| `authorizationModelId` | `string`                                        | no             |             |
| `contextJson`          | `string`                                        | no             |             |
| `contextualTuples`     | `GetListObjectsQueryContextualTuple (output)[]` | no             |             |
| `relation`             | `string`                                        | yes            |             |
| `results`              | `string[]`                                      | yes            |             |
| `storeId`              | `string`                                        | yes            |             |
| `type`                 | `string`                                        | yes            |             |
| `user`                 | `string`                                        | yes            |             |

## `GetListObjectsQueryContextualTuple (input)`

Input object `GetListObjectsQueryContextualTuple`. Fields below belong to this object, not to the parent.

| Property    | Type                                                  | Required | Description                                       |
| ----------- | ----------------------------------------------------- | -------- | ------------------------------------------------- |
| `condition` | `GetListObjectsQueryContextualTupleCondition (input)` | no       | A condition of the contextual relationship tuple  |
| `object`    | `string`                                              | yes      | The object of the contextual relationship tuple   |
| `relation`  | `string`                                              | yes      | The relation of the contextual relationship tuple |
| `user`      | `string`                                              | yes      | The user of the contextual relationship tuple     |

## `GetListObjectsQueryContextualTupleCondition (input)`

Input object `GetListObjectsQueryContextualTupleCondition`. Fields below belong to this object, not to the parent.

| Property      | Type     | Required | Description                                                  |
| ------------- | -------- | -------- | ------------------------------------------------------------ |
| `contextJson` | `string` | no       | The (partial) context under which the condition is evaluated |
| `name`        | `string` | yes      | The name of the condition                                    |

## `GetListObjectsQueryContextualTuple (output)`

Output object `GetListObjectsQueryContextualTuple`. Fields below belong to this object.

| Property    | Type                                                   | Always present | Description                                       |
| ----------- | ------------------------------------------------------ | -------------- | ------------------------------------------------- |
| `condition` | `GetListObjectsQueryContextualTupleCondition (output)` | no             | A condition of the contextual relationship tuple  |
| `object`    | `string`                                               | yes            | The object of the contextual relationship tuple   |
| `relation`  | `string`                                               | yes            | The relation of the contextual relationship tuple |
| `user`      | `string`                                               | yes            | The user of the contextual relationship tuple     |

## `GetListObjectsQueryContextualTupleCondition (output)`

Output object `GetListObjectsQueryContextualTupleCondition`. Fields below belong to this object.

| Property      | Type     | Always present | Description                                                  |
| ------------- | -------- | -------------- | ------------------------------------------------------------ |
| `contextJson` | `string` | no             | The (partial) context under which the condition is evaluated |
| `name`        | `string` | yes            | The name of the condition                                    |
