Skip to content

Commit

Permalink
feat(mybusinessqanda)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### mybusinessqanda:v1

The following keys were deleted:
- resources.locations.resources.questions.methods.deleteAnswers.description
- resources.locations.resources.questions.methods.deleteAnswers.flatPath
- resources.locations.resources.questions.methods.deleteAnswers.httpMethod
- resources.locations.resources.questions.methods.deleteAnswers.id
- resources.locations.resources.questions.methods.deleteAnswers.parameterOrder
- resources.locations.resources.questions.methods.deleteAnswers.parameters.name.description
- resources.locations.resources.questions.methods.deleteAnswers.parameters.name.location
- resources.locations.resources.questions.methods.deleteAnswers.parameters.name.pattern
- resources.locations.resources.questions.methods.deleteAnswers.parameters.name.required
- resources.locations.resources.questions.methods.deleteAnswers.parameters.name.type
- resources.locations.resources.questions.methods.deleteAnswers.path
- resources.locations.resources.questions.methods.deleteAnswers.response.$ref

The following keys were added:
- resources.locations.resources.questions.resources.answers.methods.delete.description
- resources.locations.resources.questions.resources.answers.methods.delete.flatPath
- resources.locations.resources.questions.resources.answers.methods.delete.httpMethod
- resources.locations.resources.questions.resources.answers.methods.delete.id
- resources.locations.resources.questions.resources.answers.methods.delete.parameterOrder
- resources.locations.resources.questions.resources.answers.methods.delete.parameters.name.description
- resources.locations.resources.questions.resources.answers.methods.delete.parameters.name.location
- resources.locations.resources.questions.resources.answers.methods.delete.parameters.name.pattern
- resources.locations.resources.questions.resources.answers.methods.delete.parameters.name.required
- resources.locations.resources.questions.resources.answers.methods.delete.parameters.name.type
- resources.locations.resources.questions.resources.answers.methods.delete.path
- resources.locations.resources.questions.resources.answers.methods.delete.response.$ref

The following keys were changed:
- resources.locations.resources.questions.resources.answers.methods.list.parameters.parent.pattern
- resources.locations.resources.questions.resources.answers.methods.list.path
  • Loading branch information
yoshi-automation authored and bcoe committed Apr 11, 2022
1 parent 4c692cf commit e802eae
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 162 deletions.
50 changes: 25 additions & 25 deletions discovery/mybusinessqanda-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,28 +147,6 @@
"$ref": "Empty"
}
},
"deleteAnswers": {
"description": "Deletes the answer written by the current user to a question.",
"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers",
"httpMethod": "DELETE",
"id": "mybusinessqanda.locations.questions.deleteAnswers",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the question to delete an answer for.",
"location": "path",
"pattern": "^locations/[^/]+/questions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}/answers",
"response": {
"$ref": "Empty"
}
},
"list": {
"description": "Returns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.",
"flatPath": "v1/locations/{locationsId}/questions",
Expand Down Expand Up @@ -253,6 +231,28 @@
"resources": {
"answers": {
"methods": {
"delete": {
"description": "Deletes the answer written by the current user to a question.",
"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers:delete",
"httpMethod": "DELETE",
"id": "mybusinessqanda.locations.questions.answers.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the question to delete an answer for.",
"location": "path",
"pattern": "^locations/[^/]+/questions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}/answers:delete",
"response": {
"$ref": "Empty"
}
},
"list": {
"description": "Returns the paginated list of answers for a specified question.",
"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers",
Expand Down Expand Up @@ -281,12 +281,12 @@
"parent": {
"description": "Required. The name of the question to fetch answers for.",
"location": "path",
"pattern": "^locations/[^/]+/questions/[^/]+/answers$",
"pattern": "^locations/[^/]+/questions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}",
"path": "v1/{+parent}/answers",
"response": {
"$ref": "ListAnswersResponse"
}
Expand Down Expand Up @@ -323,7 +323,7 @@
}
}
},
"revision": "20220322",
"revision": "20220407",
"rootUrl": "https://mybusinessqanda.googleapis.com/",
"schemas": {
"Answer": {
Expand Down

0 comments on commit e802eae

Please sign in to comment.