Class UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication (2.4.0)

public sealed class BasicAuthentication : IMessage<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IEquatable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IDeepCloneable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IBufferMessage, IMessage

The 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.

Inheritance

Object > UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

BasicAuthentication()

public BasicAuthentication()

BasicAuthentication(UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication)

public BasicAuthentication(UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication other)
Parameter
NameDescription
otherUptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication

Properties

Password

public string Password { get; set; }

The password to use when authenticating with the HTTP server.

Property Value
TypeDescription
String

Username

public string Username { get; set; }

The username to use when authenticating with the HTTP server.

Property Value
TypeDescription
String