Skip to content

Commit 05a0d97

Browse files
author
Justin Poehnelt
authored
chore: update responses (#338)
1 parent b1c3a10 commit 05a0d97

142 files changed

Lines changed: 20597 additions & 20789 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/documentation/schemas/maps_http_schema_distancematrixresponse.html

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/maps_http_schema_distancematrixresponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| <h4 id="DistanceMatrixResponse-origin_addresses" class="add-link schema-object-property-key"><code>origin_addresses</code></h4> | **required** | Array&lt;string&gt; | <div class="nonref-property-description"><p>An array of addresses as returned by the API from your original request. These are formatted by the geocoder and localized according to the language parameter passed with the request. This content is meant to be read as-is. Do not programatically parse the formatted addresses.</p></div> |
99
| <h4 id="DistanceMatrixResponse-rows" class="add-link schema-object-property-key"><code>rows</code></h4> | **required** | Array&lt;[DistanceMatrixRow](#DistanceMatrixRow "DistanceMatrixRow")&gt; | <div class="ref-property-description"><p>An array of elements, which in turn each contain a <code>status</code>, <code>duration</code>, and <code>distance</code> element.</p><p>See <a href="#DistanceMatrixRow">DistanceMatrixRow</a> for more information.</div> |
1010
| <h4 id="DistanceMatrixResponse-status" class="add-link schema-object-property-key"><code>status</code></h4> | **required** | [DistanceMatrixStatus](#DistanceMatrixStatus "DistanceMatrixStatus") | <div class="ref-property-description"><p>Contains the status of the request, and may contain debugging information to help you track down why the request failed.</p><p>See <a href="#DistanceMatrixStatus">DistanceMatrixStatus</a> for more information.</div> |
11+
| <h4 id="DistanceMatrixResponse-error_message" class="add-link schema-object-property-key"><code>error_message</code></h4> | optional | string | <div class="nonref-property-description"><p>A string containing the human-readable text of any errors encountered while the request was being processed.</p></div> |
1112

1213
<p style="text-align: right; font-size: smaller;">Generated from the <a class="gc-analytics-event" data-category="GMP" data-label="openapi-github" href="https://github.com/googlemaps/openapi-specification" title="Google Maps Platform OpenAPI Specification" class="external">OpenAPI specification</a>.
1314
<a class="gc-analytics-event" data-category="GMP" data-label="openapi-github-maps-http-schema-distancematrixresponse" data-action="edit" style="margin-left: 5px;" href="https://github.com/googlemaps/openapi-specification/blob/main/specification/schemas/DistanceMatrixResponse.yml" title="Edit on GitHub"><span class="material-icons">edit</span> Edit</a>

dist/documentation/schemas/maps_http_schema_errordetail.html

Lines changed: 63 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/maps_http_schema_errordetail.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
<!--- [START maps_http_schema_errordetail] -->
33
<h3 class="schema-object" id="ErrorDetail">ErrorDetail</h3>
44

5-
| Field | Required | Type | Description |
6-
| :------------------------------------------------------------------------------------------------- | ------------ | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| <h4 id="ErrorDetail-message" class="add-link schema-object-property-key"><code>message</code></h4> | **required** | string | <div class="nonref-property-description"><p>A short description of the error.</p></div> |
8-
| <h4 id="ErrorDetail-reason" class="add-link schema-object-property-key"><code>reason</code></h4> | **required** | string | <div class="nonref-property-description"><p>A reason for the error.</p><div class="notranslate">The allowed values include: `badRequest`, `dailyLimitExceeded`, `invalid`, `keyInvalid`, `notFound`, `parseError`, and `userRateLimitExceeded`</div></div> |
9-
| <h4 id="ErrorDetail-domain" class="add-link schema-object-property-key"><code>domain</code></h4> | optional | string | <div class="nonref-property-description"><p>The domain in which the error occurred.</p><div class="notranslate">The allowed values include: `global`, `geolocation`, and `usageLimits`</div></div> |
5+
| Field | Required | Type | Description |
6+
| :----------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| <h4 id="ErrorDetail-@type" class="add-link schema-object-property-key"><code>@type</code></h4> | optional | string | <div class="nonref-property-description"><p>The type of error.</p></div> |
8+
| <h4 id="ErrorDetail-domain" class="add-link schema-object-property-key"><code>domain</code></h4> | optional | string | <div class="nonref-property-description"><p>The domain in which the error occurred.</p></div> |
9+
| <h4 id="ErrorDetail-fieldViolations" class="add-link schema-object-property-key"><code>fieldViolations</code></h4> | optional | Array&lt;[FieldViolation](#FieldViolation "FieldViolation")&gt; | <div class="ref-property-description"><p>A list of field violations.</p><p>See <a href="#FieldViolation">FieldViolation</a> for more information.</div> |
10+
| <h4 id="ErrorDetail-message" class="add-link schema-object-property-key"><code>message</code></h4> | optional | string | <div class="nonref-property-description"><p>A short description of the error.</p></div> |
11+
| <h4 id="ErrorDetail-metadata" class="add-link schema-object-property-key"><code>metadata</code></h4> | optional | object | <div class="nonref-property-description"><p>Additional metadata about the error.</p></div> |
12+
| <h4 id="ErrorDetail-reason" class="add-link schema-object-property-key"><code>reason</code></h4> | optional | string | <div class="nonref-property-description"><p>A reason for the error.</p></div> |
1013

1114
<h4 class="schema-object-example" id="ErrorDetail-example">Example</h4>
1215

dist/documentation/schemas/maps_http_schema_errorobject.html

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/maps_http_schema_errorobject.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
| <h4 id="ErrorObject-code" class="add-link schema-object-property-key"><code>code</code></h4> | **required** | number | <div class="nonref-property-description"><p>This is the same as the HTTP status of the response.</p></div> |
88
| <h4 id="ErrorObject-errors" class="add-link schema-object-property-key"><code>errors</code></h4> | **required** | Array&lt;[ErrorDetail](#ErrorDetail "ErrorDetail")&gt; | <div class="ref-property-description"><p>A list of errors which occurred. Each error contains an identifier for the type of error and a short description.</p><p>See <a href="#ErrorDetail">ErrorDetail</a> for more information.</div> |
99
| <h4 id="ErrorObject-message" class="add-link schema-object-property-key"><code>message</code></h4> | **required** | string | <div class="nonref-property-description"><p>A short description of the error.</p></div> |
10+
| <h4 id="ErrorObject-details" class="add-link schema-object-property-key"><code>details</code></h4> | optional | Array&lt;[ErrorDetail](#ErrorDetail "ErrorDetail")&gt; | <div class="ref-property-description"><p>Additional details about the error.</p><p>See <a href="#ErrorDetail">ErrorDetail</a> for more information.</div> |
1011
| <h4 id="ErrorObject-status" class="add-link schema-object-property-key"><code>status</code></h4> | optional | string | <div class="nonref-property-description"><p>A status code that indicates the error type.</p></div> |
1112

1213
<p style="text-align: right; font-size: smaller;">Generated from the <a class="gc-analytics-event" data-category="GMP" data-label="openapi-github" href="https://github.com/googlemaps/openapi-specification" title="Google Maps Platform OpenAPI Specification" class="external">OpenAPI specification</a>.

dist/documentation/schemas/maps_http_schema_errorresponse.html

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/maps_http_schema_errorresponse.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,17 @@ In the case of an error, a standard format error response body will be returned
2121
"reason": "badRequest"
2222
}
2323
],
24-
"status": "INVALID_ARGUMENT"
24+
"status": "INVALID_ARGUMENT",
25+
"details": [
26+
{
27+
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
28+
"reason": "API_KEY_INVALID",
29+
"domain": "googleapis.com",
30+
"metadata": {
31+
"service": "geolocation.googleapis.com"
32+
}
33+
}
34+
]
2535
}
2636
}</pre>
2737

dist/documentation/schemas/maps_http_schema_fieldviolation.html

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)