public sealed class ConditionContext : IMessage<ConditionContext>, IEquatable<ConditionContext>, IDeepCloneable<ConditionContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Troubleshooter v3 API class ConditionContext.
Additional context for troubleshooting conditional role bindings and deny
rules.
public ConditionContext.Types.Peer Destination { get; set; }
The destination of a network activity, such as accepting a TCP connection.
In a multi-hop network activity, the destination represents the receiver of
the last hop.
public ConditionContext.Types.Resource Resource { get; set; }
Represents a target resource that is involved with a network activity.
If multiple resources are involved with an activity, this must be the
primary one.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConditionContext\u003c/code\u003e class provides additional context for troubleshooting conditional role bindings and deny rules within the Policy Troubleshooter v3 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and utility within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConditionContext\u003c/code\u003e offers properties like \u003ccode\u003eDestination\u003c/code\u003e, \u003ccode\u003eEffectiveTags\u003c/code\u003e, \u003ccode\u003eRequest\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, to help provide specific data points for network activities and resource interactions.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.PolicyTroubleshooter.Iam.V3\u003c/code\u003e namespace and can be accessed through the \u003ccode\u003eGoogle.Cloud.PolicyTroubleshooter.Iam.V3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances, one default constructor \u003ccode\u003eConditionContext()\u003c/code\u003e and another \u003ccode\u003eConditionContext(ConditionContext other)\u003c/code\u003e which takes a \u003ccode\u003eConditionContext\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]