Class ProjectsResource.LocationsResource.AuthProvidersResource.RevokeAuthorizationRequest
Revokes all authorizations for a specific user on an AuthProvider. This deletes all authorization records associated with the user and AuthProvider, effectively revoking access across all agents.
Inheritance
ProjectsResource.LocationsResource.AuthProvidersResource.RevokeAuthorizationRequest
Inherited Members
Namespace: Google.Apis.AgentIdentity.v1beta
Assembly: Google.Apis.AgentIdentity.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AuthProvidersResource.RevokeAuthorizationRequest : AgentIdentityBaseServiceRequest<RevokeAuthorizationResponse>, IClientServiceRequest<RevokeAuthorizationResponse>, IClientServiceRequest
Constructors
RevokeAuthorizationRequest(IClientService, RevokeAuthorizationRequest, string)
Constructs a new RevokeAuthorization request.
Declaration
public RevokeAuthorizationRequest(IClientService service, RevokeAuthorizationRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RevokeAuthorizationRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes RevokeAuthorization parameter list.
Declaration
protected override void InitParameters()