public sealed class BasicAuthentication : IMessage<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IEquatable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IDeepCloneable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IBufferMessage, IMessageThe authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication is supported in Uptime checks.
Implements
IMessage<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IEquatable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IDeepCloneable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
BasicAuthentication()
public BasicAuthentication()BasicAuthentication(UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication)
public BasicAuthentication(UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication other)| Parameter | |
|---|---|
| Name | Description |
other |
UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication |
Properties
Password
public string Password { get; set; }The password to use when authenticating with the HTTP server.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Username
public string Username { get; set; }The username to use when authenticating with the HTTP server.
| Property Value | |
|---|---|
| Type | Description |
String |
|