revoke_o_auth2_token_with_iam¶
Operation¶
revoke_o_auth2_token_with_iam
¶
revoke_o_auth2_token_with_iam(request: RevokeOAuth2TokenWithIAMInput | RevokeOAuth2TokenWithIAMInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RevokeOAuth2TokenWithIAMInputDict]) -> RevokeOAuth2TokenWithIAMOutput
Revokes an OAuth 2.0 refresh token and its associated token chain.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RevokeOAuth2TokenWithIAMInput | RevokeOAuth2TokenWithIAMInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RevokeOAuth2TokenWithIAMInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RevokeOAuth2TokenWithIAMOutput
|
An instance of |
revoke_o_auth2_token_with_iam
async
¶
revoke_o_auth2_token_with_iam(request: RevokeOAuth2TokenWithIAMInput | RevokeOAuth2TokenWithIAMInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RevokeOAuth2TokenWithIAMInputDict]) -> RevokeOAuth2TokenWithIAMOutput
Revokes an OAuth 2.0 refresh token and its associated token chain.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RevokeOAuth2TokenWithIAMInput | RevokeOAuth2TokenWithIAMInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RevokeOAuth2TokenWithIAMInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RevokeOAuth2TokenWithIAMOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
RevokeOAuth2TokenWithIAMInput
dataclass
¶
Bases: _SerdeShape
Input structure for RevokeOAuth2TokenWithIAM operation RFC 7009 §2.1 revocation request. Contains the refresh_token to revoke.
Output¶
RevokeOAuth2TokenWithIAMOutput
dataclass
¶
Bases: _SerdeShape
Output structure for RevokeOAuth2TokenWithIAM operation RFC 7009 §2.2 revocation response. The endpoint returns 200 OK with an empty body on success; there are no response fields.