| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="acmedns_v1.html">ACME DNS API</a> . <a href="acmedns_v1.acmeChallengeSets.html">acmeChallengeSets</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(rootDomain, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Gets the ACME challenge set for a given domain name. Domain names must be provided in Punycode.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#rotateChallenges">rotateChallenges(rootDomain, body=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Rotate the ACME challenges for a given domain name. By default, removes any challenges that are older than 30 days. Domain names must be provided in Punycode.</p> |
| 86 |
<h3>Method Details</h3> |
| 87 |
<div class="method"> |
| 88 |
<code class="details" id="close">close()</code> |
| 89 |
<pre>Close httplib2 connections.</pre> |
| 90 |
</div> |
| 91 |
|
| 92 |
<div class="method"> |
| 93 |
<code class="details" id="get">get(rootDomain, x__xgafv=None)</code> |
| 94 |
<pre>Gets the ACME challenge set for a given domain name. Domain names must be provided in Punycode. |
| 95 |
|
| 96 |
Args: |
| 97 |
rootDomain: string, Required. SLD + TLD domain name to list challenges. For example, this would be "google.com" for any FQDN under "google.com". That includes challenges for "subdomain.google.com". This MAY be Unicode or Punycode. (required) |
| 98 |
x__xgafv: string, V1 error format. |
| 99 |
Allowed values |
| 100 |
1 - v1 error format |
| 101 |
2 - v2 error format |
| 102 |
|
| 103 |
Returns: |
| 104 |
An object of the form: |
| 105 |
|
| 106 |
{ # The up-to-date ACME challenge set on a domain for an RPC. This contains all of the ACME TXT records that exist on the domain. |
| 107 |
"record": [ # The ACME challenges on the requested domain represented as individual TXT records. |
| 108 |
{ # The TXT record message that represents an ACME DNS-01 challenge. |
| 109 |
"digest": "A String", # Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry. |
| 110 |
"fqdn": "A String", # The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request. |
| 111 |
"updateTime": "A String", # Output only. The time when this record was last updated. This will be in UTC time. |
| 112 |
}, |
| 113 |
], |
| 114 |
}</pre> |
| 115 |
</div> |
| 116 |
|
| 117 |
<div class="method"> |
| 118 |
<code class="details" id="rotateChallenges">rotateChallenges(rootDomain, body=None, x__xgafv=None)</code> |
| 119 |
<pre>Rotate the ACME challenges for a given domain name. By default, removes any challenges that are older than 30 days. Domain names must be provided in Punycode. |
| 120 |
|
| 121 |
Args: |
| 122 |
rootDomain: string, Required. SLD + TLD domain name to update records for. For example, this would be "google.com" for any FQDN under "google.com". That includes challenges for "subdomain.google.com". This MAY be Unicode or Punycode. (required) |
| 123 |
body: object, The request body. |
| 124 |
The object takes the form of: |
| 125 |
|
| 126 |
{ # 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 |
| 127 |
"accessToken": "A String", # 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. |
| 128 |
"keepExpiredRecords": True or False, # Keep records older than 30 days that were used for previous requests. |
| 129 |
"recordsToAdd": [ # ACME TXT record challenges to add. Supports multiple challenges on the same FQDN. |
| 130 |
{ # The TXT record message that represents an ACME DNS-01 challenge. |
| 131 |
"digest": "A String", # Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry. |
| 132 |
"fqdn": "A String", # The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request. |
| 133 |
"updateTime": "A String", # Output only. The time when this record was last updated. This will be in UTC time. |
| 134 |
}, |
| 135 |
], |
| 136 |
"recordsToRemove": [ # ACME TXT record challenges to remove. |
| 137 |
{ # The TXT record message that represents an ACME DNS-01 challenge. |
| 138 |
"digest": "A String", # Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry. |
| 139 |
"fqdn": "A String", # The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request. |
| 140 |
"updateTime": "A String", # Output only. The time when this record was last updated. This will be in UTC time. |
| 141 |
}, |
| 142 |
], |
| 143 |
} |
| 144 |
|
| 145 |
x__xgafv: string, V1 error format. |
| 146 |
Allowed values |
| 147 |
1 - v1 error format |
| 148 |
2 - v2 error format |
| 149 |
|
| 150 |
Returns: |
| 151 |
An object of the form: |
| 152 |
|
| 153 |
{ # The up-to-date ACME challenge set on a domain for an RPC. This contains all of the ACME TXT records that exist on the domain. |
| 154 |
"record": [ # The ACME challenges on the requested domain represented as individual TXT records. |
| 155 |
{ # The TXT record message that represents an ACME DNS-01 challenge. |
| 156 |
"digest": "A String", # Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry. |
| 157 |
"fqdn": "A String", # The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request. |
| 158 |
"updateTime": "A String", # Output only. The time when this record was last updated. This will be in UTC time. |
| 159 |
}, |
| 160 |
], |
| 161 |
}</pre> |
| 162 |
</div> |
| 163 |
|
| 164 |
</body></html> |