Skip to main content

PolicyConnection

The Policy connection object.

Learn more about pagination in GraphQL.

fields

  • edges non-null array of PolicyEdge

    The Policy connection's edges.

    The Policy edge object.

    Learn more about pagination in GraphQL.

  • nodes non-null array of Policy

    The Policy connection's nodes.

    The Policy type. It governs an Application's access to a Metric's data.

    • nodes.id non-null ID

      The Policy's unique identifier.

    • nodes.account non-null Account

      The Policy's Account.

    • nodes.environment non-null Environment

      The Policy's Environment.

    • nodes.createdAt non-null DateTime

      The Policy's creation date and time in UTC.

    • nodes.modifiedAt non-null DateTime

      The Policy's last modification date and time in UTC.

    • nodes.createdBy non-null String

      The Policy's creator. It can be either a User ID, an Application ID, or "system" if it was created by Propel.

    • nodes.modifiedBy non-null String

      The Policy's last modifier. It can be either a User ID, an Application ID, or "system" if it was modified by Propel.

    • nodes.type non-null PolicyType

      The type of Policy.

      The types of Policies that can be applied to a Metric.

      • ALL_ACCESS

        Grants access to all Metric data.

      • TENANT_ACCESS

        Grants access to a specified tenant's Metric data.

    • nodes.application non-null Application

      The Application that is granted access.

    • nodes.metric non-null Metric

      The Metric that the Application is granted access to.

  • pageInfo non-null PageInfo

    The Policy connection's page info.

    The page info object used for pagination.

    • pageInfo.startCursor nullable String

      Points to the first item returned in the results. Used when paginating backward.

    • pageInfo.endCursor nullable String

      Points to the last item returned in the results. Used when paginating forward.

    • pageInfo.hasNextPage non-null Boolean

      A boolean that indicates whether a next page of results exists. Can be used to display a "next page" button in user interfaces, for example.

    • pageInfo.hasPreviousPage non-null Boolean

      A boolean that indicates whether a previous page of results exists. Can be used to display a "previous page" button in user interfaces, for example.