Class GoogleCloudPolicysimulatorV1ReplayResult
The result of replaying a single access tuple against a simulated state.
Implements
Inherited Members
Namespace: Google.Apis.PolicySimulator.v1.Data
Assembly: Google.Apis.PolicySimulator.v1.dll
Syntax
public class GoogleCloudPolicysimulatorV1ReplayResult : IDirectResponseSchema
Properties
AccessTuple
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
Declaration
[JsonProperty("accessTuple")]
public virtual GoogleCloudPolicysimulatorV1AccessTuple AccessTuple { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPolicysimulatorV1AccessTuple |
Diff
The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies. This field is only included for access tuples that were successfully replayed and had different results under the current policies and the proposed policies.
Declaration
[JsonProperty("diff")]
public virtual GoogleCloudPolicysimulatorV1ReplayDiff Diff { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPolicysimulatorV1ReplayDiff |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Error
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
Declaration
[JsonProperty("error")]
public virtual GoogleRpcStatus Error { get; set; }
Property Value
Type | Description |
---|---|
GoogleRpcStatus |
LastSeenDate
The latest date this access tuple was seen in the logs.
Declaration
[JsonProperty("lastSeenDate")]
public virtual GoogleTypeDate LastSeenDate { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeDate |
Name
The resource name of the ReplayResult
, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}
,
where {resource-id}
is the ID of the project, folder, or organization that owns the Replay. Example:
projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The Replay that the access tuple was included in.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |