VertextPlatformAdapter(String, String, IGoogleAuthenticator, String, Boolean, ILogger) Constructor

Initializes a new instance of the VertextPlatformAdapter class

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public VertextPlatformAdapter(
	string projectId,
	string region,
	IGoogleAuthenticator authenticator,
	string apiVersion = "v1beta1",
	bool validateAccessToken = true,
	ILogger? logger = null
)

Parameters

projectId  String

[Missing <param name="projectId"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

region  String

[Missing <param name="region"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

authenticator  IGoogleAuthenticator

[Missing <param name="authenticator"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

apiVersion  String  (Optional)

[Missing <param name="apiVersion"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

validateAccessToken  Boolean  (Optional)

[Missing <param name="validateAccessToken"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

logger  ILogger  (Optional)

[Missing <param name="logger"/> documentation for "M:GenerativeAI.VertextPlatformAdapter.#ctor(System.String,System.String,GenerativeAI.Core.IGoogleAuthenticator,System.String,System.Boolean,Microsoft.Extensions.Logging.ILogger)"]

See Also