public sealed class UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication : IMessage<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IEquatable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IDeepCloneable<UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Monitoring v3 API class UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication.
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.
Implements
IMessageUptimeCheckConfigTypesHttpCheckTypesBasicAuthentication, IEquatableUptimeCheckConfigTypesHttpCheckTypesBasicAuthentication, IDeepCloneableUptimeCheckConfigTypesHttpCheckTypesBasicAuthentication, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
BasicAuthentication()
public BasicAuthentication()BasicAuthentication(BasicAuthentication)
public BasicAuthentication(UptimeCheckConfig.Types.HttpCheck.Types.BasicAuthentication other)| Parameter | |
|---|---|
| Name | Description |
other |
UptimeCheckConfigTypesHttpCheckTypesBasicAuthentication |
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 |
|