Integration Connectors v1 API - Class AuthorizationCodeLink (1.2.0)

public sealed class AuthorizationCodeLink : IMessage<AuthorizationCodeLink>, IEquatable<AuthorizationCodeLink>, IDeepCloneable<AuthorizationCodeLink>, IBufferMessage, IMessage

Reference documentation and code samples for the Integration Connectors v1 API class AuthorizationCodeLink.

This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.

Inheritance

object > AuthorizationCodeLink

Namespace

Google.Cloud.Connectors.V1

Assembly

Google.Cloud.Connectors.V1.dll

Constructors

public AuthorizationCodeLink()
public AuthorizationCodeLink(AuthorizationCodeLink other)
Parameter
Name Description
other AuthorizationCodeLink

Properties

public string ClientId { get; set; }

The client ID assigned to the GCP Connectors OAuth app for the connector data source.

Property Value
Type Description
string
public bool EnablePkce { get; set; }

Whether to enable PKCE for the auth code flow.

Property Value
Type Description
bool
public RepeatedField<string> Scopes { get; }

The scopes for which the user will authorize GCP Connectors on the connector data source.

Property Value
Type Description
RepeatedFieldstring
public string Uri { get; set; }

The base URI the user must click to trigger the authorization code login flow.

Property Value
Type Description
string