Show / Hide Table of Contents

Class KeyDetails

The data to create/renew an API key item.

Inheritance
object
KeyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top