public sealed class UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode : IMessage<UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode>, IEquatable<UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode>, IDeepCloneable<UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode.
A status to accept. Either a status code class like "2xx", or an integer status code like "200".
Implements
IMessageUptimeCheckConfigTypesHttpCheckTypesResponseStatusCode, IEquatableUptimeCheckConfigTypesHttpCheckTypesResponseStatusCode, IDeepCloneableUptimeCheckConfigTypesHttpCheckTypesResponseStatusCode, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ResponseStatusCode()
public ResponseStatusCode()
ResponseStatusCode(ResponseStatusCode)
public ResponseStatusCode(UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode other)
Parameter | |
---|---|
Name | Description |
other | UptimeCheckConfigTypesHttpCheckTypesResponseStatusCode |
Properties
HasStatusClass
public bool HasStatusClass { get; }
Gets whether the "status_class" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasStatusValue
public bool HasStatusValue { get; }
Gets whether the "status_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
StatusClass
public UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode.Types.StatusClass StatusClass { get; set; }
A class of status codes to accept.
Property Value | |
---|---|
Type | Description |
UptimeCheckConfigTypesHttpCheckTypesResponseStatusCodeTypesStatusClass |
StatusCodeCase
public UptimeCheckConfig.Types.HttpCheck.Types.ResponseStatusCode.StatusCodeOneofCase StatusCodeCase { get; }
Property Value | |
---|---|
Type | Description |
UptimeCheckConfigTypesHttpCheckTypesResponseStatusCodeStatusCodeOneofCase |
StatusValue
public int StatusValue { get; set; }
A status code to accept.
Property Value | |
---|---|
Type | Description |
int |