Skip to content

Commit

Permalink
feat(discovery): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jul 18, 2023
1 parent bd5a5df commit 239e897
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/dyn/discovery_v1.apis.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ <h3>Method Details</h3>
],
&quot;methods&quot;: { # API-level methods for this API.
&quot;a_key&quot;: { # An individual method description.
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
&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.
&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.
Expand Down Expand Up @@ -167,10 +168,14 @@ <h3>Method Details</h3>
],
},
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
&quot;A String&quot;,
],
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
True or False,
],
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -230,10 +235,14 @@ <h3>Method Details</h3>
],
},
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
&quot;A String&quot;,
],
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
True or False,
],
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -265,8 +274,10 @@ <h3>Method Details</h3>
&quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
&quot;resources&quot;: { # The resources in this API.
&quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
&quot;deprecated&quot;: True or False, # Whether this resource is deprecated.
&quot;methods&quot;: { # Methods on this resource.
&quot;a_key&quot;: { # Description for any methods on this resource.
&quot;deprecated&quot;: True or False, # Whether this method is deprecated.
&quot;description&quot;: &quot;A String&quot;, # Description of this method.
&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.
&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.
Expand Down Expand Up @@ -301,10 +312,14 @@ <h3>Method Details</h3>
],
},
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
&quot;A String&quot;,
],
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
True or False,
],
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -367,10 +382,14 @@ <h3>Method Details</h3>
],
},
&quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
&quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
&quot;description&quot;: &quot;A String&quot;, # A description of this object.
&quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
&quot;A String&quot;,
],
&quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
True or False,
],
&quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
&quot;A String&quot;,
],
Expand Down
19 changes: 19 additions & 0 deletions googleapiclient/discovery_cache/documents/discovery.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@
"description": "The default value of this property (if one exists).",
"type": "string"
},
"deprecated": {
"description": "Whether the parameter is deprecated.",
"type": "boolean"
},
"description": {
"description": "A description of this object.",
"type": "string"
Expand All @@ -245,6 +249,13 @@
},
"type": "array"
},
"enumDeprecated": {
"description": "The deprecation status for the enums. Each position maps to the corresponding value in the \"enum\" array.",
"items": {
"type": "boolean"
},
"type": "array"
},
"enumDescriptions": {
"description": "The descriptions for the enums. Each position maps to the corresponding value in the \"enum\" array.",
"items": {
Expand Down Expand Up @@ -518,6 +529,10 @@
"RestMethod": {
"id": "RestMethod",
"properties": {
"deprecated": {
"description": "Whether this method is deprecated.",
"type": "boolean"
},
"description": {
"description": "Description of this method.",
"type": "string"
Expand Down Expand Up @@ -663,6 +678,10 @@
"RestResource": {
"id": "RestResource",
"properties": {
"deprecated": {
"description": "Whether this resource is deprecated.",
"type": "boolean"
},
"methods": {
"additionalProperties": {
"$ref": "RestMethod",
Expand Down

0 comments on commit 239e897

Please sign in to comment.