View Source GoogleApi.AcmeDNS.V1.Model.RotateChallengesRequest (google_api_acme_dns v0.2.0)

The request message for the RotateChallenges RPC. Requires an access token, a root domain, and either records_to_add or records_to_remove to be populated. Records may be set for multiple subdomains at once to support SAN requests for multiple subdomains in a single domain. By default, ACME TXT record challenges that are older than 30 days will be removed. Set keep_expired_records to false if this behavior is undesired. There is a record maximum of 100 records per domain including expired records. Any request sent that would exceed this maximum will result in a FAILED_PRECONDITION error. NEXT ID: 6

Attributes

  • accessToken (type: String.t, default: nil) - Required. ACME DNS access token. This is a base64 token secret that is procured from the Google Domains website. It authorizes ACME TXT record updates for a domain.
  • keepExpiredRecords (type: boolean(), default: nil) - Keep records older than 30 days that were used for previous requests.
  • recordsToAdd (type: list(GoogleApi.AcmeDNS.V1.Model.AcmeTxtRecord.t), default: nil) - ACME TXT record challenges to add. Supports multiple challenges on the same FQDN.
  • recordsToRemove (type: list(GoogleApi.AcmeDNS.V1.Model.AcmeTxtRecord.t), default: nil) - ACME TXT record challenges to remove.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AcmeDNS.V1.Model.RotateChallengesRequest{
  accessToken: String.t() | nil,
  keepExpiredRecords: boolean() | nil,
  recordsToAdd: [GoogleApi.AcmeDNS.V1.Model.AcmeTxtRecord.t()] | nil,
  recordsToRemove: [GoogleApi.AcmeDNS.V1.Model.AcmeTxtRecord.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.