results
Creates, updates, deletes, gets or lists a results
resource.
Overview
Name | results |
Type | Resource |
Id | google.policysimulator.results |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The resource name of the ReplayResult , in the following format: `{projects |
accessTuple | object | Information about the principal, resource, and permission to check. |
diff | object | The difference between the results of evaluating an access tuple under the current (baseline) policies and under the proposed (simulated) policies. This difference explains how a principal's access could change if the proposed policies were applied. |
error | object | The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. |
lastSeenDate | object | Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date). Related types: google.type.TimeOfDay google.type.DateTime * google.protobuf.Timestamp |
parent | string | The Replay that the access tuple was included in. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
folders_locations_replays_results_list | SELECT | foldersId, locationsId, replaysId | Lists the results of running a Replay. |
organizations_locations_replays_results_list | SELECT | locationsId, organizationsId, replaysId | Lists the results of running a Replay. |
projects_locations_replays_results_list | SELECT | locationsId, projectsId, replaysId | Lists the results of running a Replay. |
SELECT
examples
Lists the results of running a Replay.
SELECT
name,
accessTuple,
diff,
error,
lastSeenDate,
parent
FROM google.policysimulator.results
WHERE foldersId = '{{ foldersId }}'
AND locationsId = '{{ locationsId }}'
AND replaysId = '{{ replaysId }}';