Class ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FinishOAuthFlowRequest
Finishes OAuth flow for an account connector.
Inheritance
ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FinishOAuthFlowRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AccountConnectorsResource.UsersResource.FinishOAuthFlowRequest : DeveloperConnectBaseServiceRequest<FinishOAuthResponse>, IClientServiceRequest<FinishOAuthResponse>, IClientServiceRequest
Constructors
FinishOAuthFlowRequest(IClientService, string)
Constructs a new FinishOAuthFlow request.
Declaration
public FinishOAuthFlowRequest(IClientService service, string accountConnector)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| 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 |
GoogleOauthParamsScopes
Required. The scopes returned by Google OAuth flow.
Declaration
[RequestParameter("googleOauthParams.scopes", RequestParameterType.Query)]
public virtual Repeatable<string> GoogleOauthParamsScopes { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
GoogleOauthParamsTicket
Required. The ticket to be used for post processing the callback from Google OAuth flow.
Declaration
[RequestParameter("googleOauthParams.ticket", RequestParameterType.Query)]
public virtual string GoogleOauthParamsTicket { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GoogleOauthParamsVersionInfo
Optional. The version info returned by Google OAuth flow.
Declaration
[RequestParameter("googleOauthParams.versionInfo", RequestParameterType.Query)]
public virtual string GoogleOauthParamsVersionInfo { get; set; }
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
OauthParamsCode
Required. The code to be used for getting the token from SCM provider.
Declaration
[RequestParameter("oauthParams.code", RequestParameterType.Query)]
public virtual string OauthParamsCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OauthParamsTicket
Required. The ticket to be used for post processing the callback from SCM provider.
Declaration
[RequestParameter("oauthParams.ticket", RequestParameterType.Query)]
public virtual string OauthParamsTicket { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes FinishOAuthFlow parameter list.
Declaration
protected override void InitParameters()