Skip to content

Commit

Permalink
feat: Release the access field in the v1 finding proto, which represe…
Browse files Browse the repository at this point in the history
…nts an access event tied to the finding docs: added more clarification around what event_time means on a v1 finding

PiperOrigin-RevId: 425659764

Source-Link: googleapis/googleapis@fa6793b

Source-Link: googleapis/googleapis-gen@2541906
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuU2VjdXJpdHlDZW50ZXIuVjEvLk93bEJvdC55YW1sIiwiaCI6IjI1NDE5MDYxMWQxMWU3ZjBkMjcxMjIyY2Y2NDQ4N2RlOWZmYmQ1ZDkifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Feb 2, 2022
1 parent 7e6edad commit 7013d13
Show file tree
Hide file tree
Showing 4 changed files with 786 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public void CreateFindingRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFinding(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -277,6 +278,7 @@ public void CreateFindingRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFindingAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -331,6 +333,7 @@ public void CreateFinding()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFinding(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -383,6 +386,7 @@ public void CreateFinding()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFindingAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -437,6 +441,7 @@ public void CreateFindingResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFinding(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -489,6 +494,7 @@ public void CreateFindingResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.CreateFindingAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2321,6 +2327,7 @@ public void SetFindingStateRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingState(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2373,6 +2380,7 @@ public void SetFindingStateRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingStateAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2427,6 +2435,7 @@ public void SetFindingState()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingState(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2479,6 +2488,7 @@ public void SetFindingState()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingStateAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2533,6 +2543,7 @@ public void SetFindingStateResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingState(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2585,6 +2596,7 @@ public void SetFindingStateResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetFindingStateAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2638,6 +2650,7 @@ public void SetMuteRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMute(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2689,6 +2702,7 @@ public void SetMuteRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMuteAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2742,6 +2756,7 @@ public void SetMute()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMute(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2793,6 +2808,7 @@ public void SetMute()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMuteAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -2846,6 +2862,7 @@ public void SetMuteResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMute(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -2897,6 +2914,7 @@ public void SetMuteResourceNames()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.SetMuteAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -3396,6 +3414,7 @@ public void UpdateFindingRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.UpdateFinding(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -3447,6 +3466,7 @@ public void UpdateFindingRequestObject()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.UpdateFindingAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down Expand Up @@ -3499,6 +3519,7 @@ public void UpdateFinding()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.UpdateFinding(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(expectedResponse);
Expand Down Expand Up @@ -3549,6 +3570,7 @@ public void UpdateFinding()
new ExternalSystem()
},
},
Access = new Access(),
MuteInitiator = "mute_initiator3bd7566e",
};
mockGrpcClient.Setup(x => x.UpdateFindingAsync(request, moq::It.IsAny<grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall<Finding>(stt::Task.FromResult(expectedResponse), null, null, null, null));
Expand Down
Loading

0 comments on commit 7013d13

Please sign in to comment.