API hub v1 API - Class AuthConfig (1.1.0)

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

Reference documentation and code samples for the API hub v1 API class AuthConfig.

AuthConfig represents the authentication information.

Inheritance

object > AuthConfig

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

AuthConfig()

public AuthConfig()

AuthConfig(AuthConfig)

public AuthConfig(AuthConfig other)
Parameter
Name Description
other AuthConfig

Properties

ApiKeyConfig

public AuthConfig.Types.ApiKeyConfig ApiKeyConfig { get; set; }

Api Key Config.

Property Value
Type Description
AuthConfigTypesApiKeyConfig

AuthType

public AuthType AuthType { get; set; }

Required. The authentication type.

Property Value
Type Description
AuthType

ConfigCase

public AuthConfig.ConfigOneofCase ConfigCase { get; }
Property Value
Type Description
AuthConfigConfigOneofCase

GoogleServiceAccountConfig

public GoogleServiceAccountConfig GoogleServiceAccountConfig { get; set; }

Google Service Account.

Property Value
Type Description
GoogleServiceAccountConfig

Oauth2ClientCredentialsConfig

public AuthConfig.Types.Oauth2ClientCredentialsConfig Oauth2ClientCredentialsConfig { get; set; }

Oauth2.0 Client Credentials.

Property Value
Type Description
AuthConfigTypesOauth2ClientCredentialsConfig

UserPasswordConfig

public AuthConfig.Types.UserPasswordConfig UserPasswordConfig { get; set; }

User Password.

Property Value
Type Description
AuthConfigTypesUserPasswordConfig