diff --git a/types/google-cloud__tasks/index.d.ts b/types/google-cloud__tasks/index.d.ts index c3347c8ea4..d673e89747 100644 --- a/types/google-cloud__tasks/index.d.ts +++ b/types/google-cloud__tasks/index.d.ts @@ -27,9 +27,9 @@ export interface AppEngineHttpQueue { } export interface AppEngineHttpRequest { - appEngineRouting: AppEngineRouting; + appEngineRouting?: AppEngineRouting; body: string; - headers: { + headers?: { [key: string]: string; }; httpMethod: string; @@ -57,7 +57,8 @@ export interface Binding { } export interface CreateTaskRequest { - responseView: View; + responseView?: View; + parent: string; task: Partial; } diff --git a/types/google-cloud__tasks/ts3.1/index.d.ts b/types/google-cloud__tasks/ts3.1/index.d.ts index 6b09fdd06d..59aee4bbf1 100644 --- a/types/google-cloud__tasks/ts3.1/index.d.ts +++ b/types/google-cloud__tasks/ts3.1/index.d.ts @@ -22,9 +22,9 @@ export interface AppEngineHttpQueue { } export interface AppEngineHttpRequest { - appEngineRouting: AppEngineRouting; + appEngineRouting?: AppEngineRouting; body: string; - headers: { + headers?: { [key: string]: string; }; httpMethod: string; @@ -52,7 +52,8 @@ export interface Binding { } export interface CreateTaskRequest { - responseView: View; + responseView?: View; + parent: string; task: Partial; }