Class ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FetchAccessTokenRequest
Fetches OAuth access token based on end user credentials.
Inheritance
ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FetchAccessTokenRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FetchAccessTokenRequest : DeveloperConnectBaseServiceRequest<FetchAccessTokenResponse>, IClientServiceRequest<FetchAccessTokenResponse>, IClientServiceRequest
Constructors
FetchAccessTokenRequest(IClientService, FetchAccessTokenRequest, string)
Constructs a new FetchAccessToken request.
Declaration
public FetchAccessTokenRequest(IClientService service, FetchAccessTokenRequest body, string accountConnector)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FetchAccessTokenRequest | body | |
string | accountConnector |
Properties
AccountConnector
Required. The resource name of the AccountConnector in the format
projects/*/locations/*/accountConnectors/*
.
Declaration
[RequestParameter("accountConnector", RequestParameterType.Path)]
public virtual string AccountConnector { get; }
Property Value
Type | Description |
---|---|
string |
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
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 FetchAccessToken parameter list.
Declaration
protected override void InitParameters()