Class ProjectsResource.LocationsResource.ConnectionsResource.RefreshAccessTokenRequest
RefreshAccessToken exchanges the OAuth refresh token (and other necessary data) for a new access token (and new associated credentials).
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.RefreshAccessTokenRequest
Inherited Members
Namespace: Google.Apis.Connectors.v2
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.RefreshAccessTokenRequest : ConnectorsBaseServiceRequest<RefreshAccessTokenResponse>, IClientServiceRequest<RefreshAccessTokenResponse>, IClientServiceRequest
Constructors
RefreshAccessTokenRequest(IClientService, RefreshAccessTokenRequest, string)
Constructs a new RefreshAccessToken request.
Declaration
public RefreshAccessTokenRequest(IClientService service, RefreshAccessTokenRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RefreshAccessTokenRequest | 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
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 RefreshAccessToken parameter list.
Declaration
protected override void InitParameters()