Skip to content

Commit d80d9cd

Browse files
feat(discovery): update the api
#### discovery:v1 The following keys were deleted: - schemas.JsonSchema.properties.deprecated.type (Total Keys: 1) - schemas.RestMethod.properties.apiVersion.type (Total Keys: 1) - schemas.RestMethod.properties.deprecated.type (Total Keys: 1) - schemas.RestResource.properties.deprecated.type (Total Keys: 1)
1 parent f95bb05 commit d80d9cd

File tree

2 files changed

+0
-78
lines changed

2 files changed

+0
-78
lines changed

docs/dyn/discovery_v1.apis.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,6 @@ <h3>Method Details</h3>
117117
&quot;description&quot;: &quot;A String&quot;, # The description of this API.
118118
&quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
119119
&quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
120-
&quot;endpoints&quot;: [ # A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.
121-
{ # A single endpoint object
122-
&quot;deprecated&quot;: True or False, # Whether this endpoint is deprecated
123-
&quot;description&quot;: &quot;A String&quot;, # A string describing the host designated by the URL
124-
&quot;endpointUrl&quot;: &quot;A String&quot;, # The URL of the endpoint target host
125-
&quot;location&quot;: &quot;A String&quot;, # The location of the endpoint
126-
},
127-
],
128120
&quot;etag&quot;: &quot;A String&quot;, # The ETag for this response.
129121
&quot;exponentialBackoffDefault&quot;: True or False, # Enable exponential backoff for suitable methods in the generated clients.
130122
&quot;features&quot;: [ # A list of supported features for this API.
@@ -141,8 +133,6 @@ <h3>Method Details</h3>
141133
],
142134
&quot;methods&quot;: { # API-level methods for this API.
143135
&quot;a_key&quot;: { # An individual method description.
144-
&quot;apiVersion&quot;: &quot;A String&quot;, # The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.
145-
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
146136
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
147137
&quot;etagRequired&quot;: True or False, # Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
148138
&quot;flatPath&quot;: &quot;A String&quot;, # The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.
@@ -177,14 +167,10 @@ <h3>Method Details</h3>
177167
],
178168
},
179169
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
180-
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
181170
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
182171
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
183172
&quot;A String&quot;,
184173
],
185-
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
186-
True or False,
187-
],
188174
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
189175
&quot;A String&quot;,
190176
],
@@ -244,14 +230,10 @@ <h3>Method Details</h3>
244230
],
245231
},
246232
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
247-
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
248233
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
249234
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
250235
&quot;A String&quot;,
251236
],
252-
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
253-
True or False,
254-
],
255237
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
256238
&quot;A String&quot;,
257239
],
@@ -283,11 +265,8 @@ <h3>Method Details</h3>
283265
&quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
284266
&quot;resources&quot;: { # The resources in this API.
285267
&quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
286-
&quot;deprecated&quot;: True or False, # Whether this resource is deprecated.
287268
&quot;methods&quot;: { # Methods on this resource.
288269
&quot;a_key&quot;: { # Description for any methods on this resource.
289-
&quot;apiVersion&quot;: &quot;A String&quot;, # The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.
290-
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
291270
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
292271
&quot;etagRequired&quot;: True or False, # Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
293272
&quot;flatPath&quot;: &quot;A String&quot;, # The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.
@@ -322,14 +301,10 @@ <h3>Method Details</h3>
322301
],
323302
},
324303
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
325-
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
326304
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
327305
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
328306
&quot;A String&quot;,
329307
],
330-
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
331-
True or False,
332-
],
333308
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
334309
&quot;A String&quot;,
335310
],
@@ -392,14 +367,10 @@ <h3>Method Details</h3>
392367
],
393368
},
394369
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
395-
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
396370
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
397371
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
398372
&quot;A String&quot;,
399373
],
400-
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
401-
True or False,
402-
],
403374
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
404375
&quot;A String&quot;,
405376
],

googleapiclient/discovery_cache/documents/discovery.v1.json

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@
234234
"description": "The default value of this property (if one exists).",
235235
"type": "string"
236236
},
237-
"deprecated": {
238-
"description": "Whether the parameter is deprecated.",
239-
"type": "boolean"
240-
},
241237
"description": {
242238
"description": "A description of this object.",
243239
"type": "string"
@@ -249,13 +245,6 @@
249245
},
250246
"type": "array"
251247
},
252-
"enumDeprecated": {
253-
"description": "The deprecation status for the enums. Each position maps to the corresponding value in the \"enum\" array.",
254-
"items": {
255-
"type": "boolean"
256-
},
257-
"type": "array"
258-
},
259248
"enumDescriptions": {
260249
"description": "The descriptions for the enums. Each position maps to the corresponding value in the \"enum\" array.",
261250
"items": {
@@ -401,32 +390,6 @@
401390
"description": "A link to human readable documentation for the API.",
402391
"type": "string"
403392
},
404-
"endpoints": {
405-
"description": "A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.",
406-
"items": {
407-
"description": "A single endpoint object",
408-
"properties": {
409-
"deprecated": {
410-
"description": "Whether this endpoint is deprecated",
411-
"type": "boolean"
412-
},
413-
"description": {
414-
"description": "A string describing the host designated by the URL",
415-
"type": "string"
416-
},
417-
"endpointUrl": {
418-
"description": "The URL of the endpoint target host",
419-
"type": "string"
420-
},
421-
"location": {
422-
"description": "The location of the endpoint",
423-
"type": "string"
424-
}
425-
},
426-
"type": "object"
427-
},
428-
"type": "array"
429-
},
430393
"etag": {
431394
"description": "The ETag for this response.",
432395
"readOnly": true,
@@ -555,14 +518,6 @@
555518
"RestMethod": {
556519
"id": "RestMethod",
557520
"properties": {
558-
"apiVersion": {
559-
"description": "The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.",
560-
"type": "string"
561-
},
562-
"deprecated": {
563-
"description": "Whether this method is deprecated.",
564-
"type": "boolean"
565-
},
566521
"description": {
567522
"description": "Description of this method.",
568523
"type": "string"
@@ -708,10 +663,6 @@
708663
"RestResource": {
709664
"id": "RestResource",
710665
"properties": {
711-
"deprecated": {
712-
"description": "Whether this resource is deprecated.",
713-
"type": "boolean"
714-
},
715666
"methods": {
716667
"additionalProperties": {
717668
"$ref": "RestMethod",

0 commit comments

Comments
 (0)