Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 239e897

Browse files
committedJul 18, 2023
feat(discovery): update the api
#### discovery:v1 The following keys were added: - schemas.JsonSchema.properties.deprecated.type (Total Keys: 1) - schemas.RestMethod.properties.deprecated.type (Total Keys: 1) - schemas.RestResource.properties.deprecated.type (Total Keys: 1)
1 parent bd5a5df commit 239e897

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
 

‎docs/dyn/discovery_v1.apis.html

+19
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ <h3>Method Details</h3>
133133
],
134134
&quot;methods&quot;: { # API-level methods for this API.
135135
&quot;a_key&quot;: { # An individual method description.
136+
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
136137
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
137138
&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.
138139
&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.
@@ -167,10 +168,14 @@ <h3>Method Details</h3>
167168
],
168169
},
169170
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
171+
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
170172
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
171173
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
172174
&quot;A String&quot;,
173175
],
176+
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
177+
True or False,
178+
],
174179
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
175180
&quot;A String&quot;,
176181
],
@@ -230,10 +235,14 @@ <h3>Method Details</h3>
230235
],
231236
},
232237
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
238+
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
233239
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
234240
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
235241
&quot;A String&quot;,
236242
],
243+
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
244+
True or False,
245+
],
237246
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
238247
&quot;A String&quot;,
239248
],
@@ -265,8 +274,10 @@ <h3>Method Details</h3>
265274
&quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
266275
&quot;resources&quot;: { # The resources in this API.
267276
&quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
277+
&quot;deprecated&quot;: True or False, # Whether this resource is deprecated.
268278
&quot;methods&quot;: { # Methods on this resource.
269279
&quot;a_key&quot;: { # Description for any methods on this resource.
280+
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
270281
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
271282
&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.
272283
&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.
@@ -301,10 +312,14 @@ <h3>Method Details</h3>
301312
],
302313
},
303314
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
315+
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
304316
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
305317
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
306318
&quot;A String&quot;,
307319
],
320+
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
321+
True or False,
322+
],
308323
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
309324
&quot;A String&quot;,
310325
],
@@ -367,10 +382,14 @@ <h3>Method Details</h3>
367382
],
368383
},
369384
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
385+
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
370386
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
371387
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
372388
&quot;A String&quot;,
373389
],
390+
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
391+
True or False,
392+
],
374393
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
375394
&quot;A String&quot;,
376395
],

‎googleapiclient/discovery_cache/documents/discovery.v1.json

+19
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@
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+
},
237241
"description": {
238242
"description": "A description of this object.",
239243
"type": "string"
@@ -245,6 +249,13 @@
245249
},
246250
"type": "array"
247251
},
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+
},
248259
"enumDescriptions": {
249260
"description": "The descriptions for the enums. Each position maps to the corresponding value in the \"enum\" array.",
250261
"items": {
@@ -518,6 +529,10 @@
518529
"RestMethod": {
519530
"id": "RestMethod",
520531
"properties": {
532+
"deprecated": {
533+
"description": "Whether this method is deprecated.",
534+
"type": "boolean"
535+
},
521536
"description": {
522537
"description": "Description of this method.",
523538
"type": "string"
@@ -663,6 +678,10 @@
663678
"RestResource": {
664679
"id": "RestResource",
665680
"properties": {
681+
"deprecated": {
682+
"description": "Whether this resource is deprecated.",
683+
"type": "boolean"
684+
},
666685
"methods": {
667686
"additionalProperties": {
668687
"$ref": "RestMethod",

0 commit comments

Comments
 (0)
Please sign in to comment.