This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
Create Task type warning about httpMethod
being invalid
#637
Labels
api: cloudtasks
Issues related to the googleapis/nodejs-tasks API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: question
Request for information or clarification. Not an issue.
Environment details
@google-cloud/tasks
version: 3.0.0Steps to reproduce
Typescript will complain at the
taskClient.createTask(request)
But if we rename
httpMethod
tohttp_method
it passes, but I is probably ignoring this field and defaulting to POST anyway.Expected
Types should properly recognize the task data, documentation should provide more examples for those fields.
The text was updated successfully, but these errors were encountered: