Class KeyDetails
The data to create/renew an API key item.
Inherited Members
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class KeyDetails
Properties
KeyName
Declaration
[Required(ErrorMessage = "KeyName is required.")]
[JsonProperty(PropertyName = "keyName")]
public string KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The key to renew. |
Remarks
Required
TimeExpiry
Declaration
[Required(ErrorMessage = "TimeExpiry is required.")]
[JsonProperty(PropertyName = "timeExpiry")]
public DateTime? TimeExpiry { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time when the key would be expired, if not provided it would be 90 days, in the format defined by RFC 3339. |
Remarks
Required