public sealed class Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate : IMessage<Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate>, IEquatable<Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate>, IDeepCloneable<Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate.
AuthConfigTemplate represents the authentication template for a plugin.
Implements
IMessagePluginTypesConfigTemplateTypesAuthConfigTemplate, IEquatablePluginTypesConfigTemplateTypesAuthConfigTemplate, IDeepCloneablePluginTypesConfigTemplateTypesAuthConfigTemplate, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
AuthConfigTemplate()
public AuthConfigTemplate()
AuthConfigTemplate(AuthConfigTemplate)
public AuthConfigTemplate(Plugin.Types.ConfigTemplate.Types.AuthConfigTemplate other)
Parameter | |
---|---|
Name | Description |
other |
PluginTypesConfigTemplateTypesAuthConfigTemplate |
Properties
ServiceAccount
public GoogleServiceAccountConfig ServiceAccount { get; set; }
Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin.
For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account.
Property Value | |
---|---|
Type | Description |
GoogleServiceAccountConfig |
SupportedAuthTypes
public RepeatedField<AuthType> SupportedAuthTypes { get; }
Required. The list of authentication types supported by the plugin.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAuthType |