Struct UrlRetrievalStatus
The status of the URL retrieval.
[JsonConverter(typeof(UrlRetrievalStatusConverter))]
public readonly record struct UrlRetrievalStatus : IEquatable<UrlRetrievalStatus>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<UrlRetrievalStatus> AllValues { get; }
Property Value
UrlRetrievalStatusError
The URL retrieval failed.
public static UrlRetrievalStatus UrlRetrievalStatusError { get; }
Property Value
UrlRetrievalStatusPaywall
Url retrieval is failed because the content is behind paywall. This enum value is not supported in Vertex AI.
public static UrlRetrievalStatus UrlRetrievalStatusPaywall { get; }
Property Value
UrlRetrievalStatusSuccess
The URL was retrieved successfully.
public static UrlRetrievalStatus UrlRetrievalStatusSuccess { get; }
Property Value
UrlRetrievalStatusUnsafe
Url retrieval is failed because the content is unsafe. This enum value is not supported in Vertex AI.
public static UrlRetrievalStatus UrlRetrievalStatusUnsafe { get; }
Property Value
UrlRetrievalStatusUnspecified
Default value. This value is unused.
public static UrlRetrievalStatus UrlRetrievalStatusUnspecified { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(UrlRetrievalStatus)
public bool Equals(UrlRetrievalStatus other)
Parameters
otherUrlRetrievalStatus
Returns
FromString(string)
public static UrlRetrievalStatus FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator UrlRetrievalStatus(string)
public static implicit operator UrlRetrievalStatus(string value)
Parameters
valuestring