Class SigningSecret

java.lang.Object
com.google.genai.gaos.models.webhooks.SigningSecret

public class SigningSecret extends Object
SigningSecret

Represents a signing secret used to verify webhook payloads.

  • Constructor Details

    • SigningSecret

      public SigningSecret(@Nullable OffsetDateTime expireTime, @Nullable String truncatedSecret)
    • SigningSecret

      public SigningSecret()
  • Method Details

    • expireTime

      public Optional<OffsetDateTime> expireTime()
      Output only. The expiration date of the signing secret.
    • truncatedSecret

      public Optional<String> truncatedSecret()
      Output only. The truncated version of the signing secret.
    • builder

      public static SigningSecret.Builder builder()
    • withExpireTime

      public SigningSecret withExpireTime(@Nullable OffsetDateTime expireTime)
      Output only. The expiration date of the signing secret.
    • withTruncatedSecret

      public SigningSecret withTruncatedSecret(@Nullable String truncatedSecret)
      Output only. The truncated version of the signing secret.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object