Class IamResource.TroubleshootRequest
Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.
Inheritance
PolicyTroubleshooterBaseServiceRequest<GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>
IamResource.TroubleshootRequest
Implements
Inherited Members
Namespace: Google.Apis.PolicyTroubleshooter.v1
Assembly: Google.Apis.PolicyTroubleshooter.v1.dll
Syntax
public class IamResource.TroubleshootRequest : PolicyTroubleshooterBaseServiceRequest<GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>, IClientServiceRequest<GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>, IClientServiceRequest
Constructors
TroubleshootRequest(IClientService, GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest)
Constructs a new Troubleshoot request.
Declaration
public TroubleshootRequest(IClientService service, GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolicyTroubleshooter.v1.Data.GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolicyTroubleshooter.v1.Data.GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolicyTroubleshooter.v1.Data.GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolicyTroubleshooter.v1.Data.GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse>.GetBody()
InitParameters()
Initializes Troubleshoot parameter list.
Declaration
protected override void InitParameters()