From d75725344d53ee172c471ee221f0eeedfbcfa3c6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 20:20:17 +0000 Subject: [PATCH] fix: make request optional in all cases (#335) ... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0 Committer: @miraleung PiperOrigin-RevId: 380641501 Source-Link: https://github.com/googleapis/googleapis/commit/076f7e9f0b258bdb54338895d7251b202e8f0de3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892 --- .../src/v4/company_service_client.ts | 20 +++++----- .../src/v4/completion_client.ts | 4 +- .../src/v4/event_service_client.ts | 4 +- .../src/v4/job_service_client.ts | 40 +++++++++---------- .../src/v4/tenant_service_client.ts | 20 +++++----- .../src/v4beta1/application_service_client.ts | 20 +++++----- .../src/v4beta1/company_service_client.ts | 20 +++++----- .../src/v4beta1/completion_client.ts | 4 +- .../src/v4beta1/event_service_client.ts | 4 +- .../src/v4beta1/job_service_client.ts | 40 +++++++++---------- .../src/v4beta1/profile_service_client.ts | 24 +++++------ .../src/v4beta1/tenant_service_client.ts | 20 +++++----- 12 files changed, 110 insertions(+), 110 deletions(-) diff --git a/packages/google-cloud-talent/src/v4/company_service_client.ts b/packages/google-cloud-talent/src/v4/company_service_client.ts index 1b6a20e58d3..109b3873124 100644 --- a/packages/google-cloud-talent/src/v4/company_service_client.ts +++ b/packages/google-cloud-talent/src/v4/company_service_client.ts @@ -312,7 +312,7 @@ export class CompanyServiceClient { // -- Service calls -- // ------------------- createCompany( - request: protos.google.cloud.talent.v4.ICreateCompanyRequest, + request?: protos.google.cloud.talent.v4.ICreateCompanyRequest, options?: CallOptions ): Promise< [ @@ -361,7 +361,7 @@ export class CompanyServiceClient { * const [response] = await client.createCompany(request); */ createCompany( - request: protos.google.cloud.talent.v4.ICreateCompanyRequest, + request?: protos.google.cloud.talent.v4.ICreateCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -402,7 +402,7 @@ export class CompanyServiceClient { return this.innerApiCalls.createCompany(request, options, callback); } getCompany( - request: protos.google.cloud.talent.v4.IGetCompanyRequest, + request?: protos.google.cloud.talent.v4.IGetCompanyRequest, options?: CallOptions ): Promise< [ @@ -450,7 +450,7 @@ export class CompanyServiceClient { * const [response] = await client.getCompany(request); */ getCompany( - request: protos.google.cloud.talent.v4.IGetCompanyRequest, + request?: protos.google.cloud.talent.v4.IGetCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -489,7 +489,7 @@ export class CompanyServiceClient { return this.innerApiCalls.getCompany(request, options, callback); } updateCompany( - request: protos.google.cloud.talent.v4.IUpdateCompanyRequest, + request?: protos.google.cloud.talent.v4.IUpdateCompanyRequest, options?: CallOptions ): Promise< [ @@ -541,7 +541,7 @@ export class CompanyServiceClient { * const [response] = await client.updateCompany(request); */ updateCompany( - request: protos.google.cloud.talent.v4.IUpdateCompanyRequest, + request?: protos.google.cloud.talent.v4.IUpdateCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -582,7 +582,7 @@ export class CompanyServiceClient { return this.innerApiCalls.updateCompany(request, options, callback); } deleteCompany( - request: protos.google.cloud.talent.v4.IDeleteCompanyRequest, + request?: protos.google.cloud.talent.v4.IDeleteCompanyRequest, options?: CallOptions ): Promise< [ @@ -631,7 +631,7 @@ export class CompanyServiceClient { * const [response] = await client.deleteCompany(request); */ deleteCompany( - request: protos.google.cloud.talent.v4.IDeleteCompanyRequest, + request?: protos.google.cloud.talent.v4.IDeleteCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -673,7 +673,7 @@ export class CompanyServiceClient { } listCompanies( - request: protos.google.cloud.talent.v4.IListCompaniesRequest, + request?: protos.google.cloud.talent.v4.IListCompaniesRequest, options?: CallOptions ): Promise< [ @@ -735,7 +735,7 @@ export class CompanyServiceClient { * for more details and examples. */ listCompanies( - request: protos.google.cloud.talent.v4.IListCompaniesRequest, + request?: protos.google.cloud.talent.v4.IListCompaniesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4/completion_client.ts b/packages/google-cloud-talent/src/v4/completion_client.ts index cf5afddd763..784f38bb54d 100644 --- a/packages/google-cloud-talent/src/v4/completion_client.ts +++ b/packages/google-cloud-talent/src/v4/completion_client.ts @@ -286,7 +286,7 @@ export class CompletionClient { // -- Service calls -- // ------------------- completeQuery( - request: protos.google.cloud.talent.v4.ICompleteQueryRequest, + request?: protos.google.cloud.talent.v4.ICompleteQueryRequest, options?: CallOptions ): Promise< [ @@ -359,7 +359,7 @@ export class CompletionClient { * const [response] = await client.completeQuery(request); */ completeQuery( - request: protos.google.cloud.talent.v4.ICompleteQueryRequest, + request?: protos.google.cloud.talent.v4.ICompleteQueryRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-talent/src/v4/event_service_client.ts b/packages/google-cloud-talent/src/v4/event_service_client.ts index c7e5210efb5..5e0f6df3abc 100644 --- a/packages/google-cloud-talent/src/v4/event_service_client.ts +++ b/packages/google-cloud-talent/src/v4/event_service_client.ts @@ -286,7 +286,7 @@ export class EventServiceClient { // -- Service calls -- // ------------------- createClientEvent( - request: protos.google.cloud.talent.v4.ICreateClientEventRequest, + request?: protos.google.cloud.talent.v4.ICreateClientEventRequest, options?: CallOptions ): Promise< [ @@ -346,7 +346,7 @@ export class EventServiceClient { * const [response] = await client.createClientEvent(request); */ createClientEvent( - request: protos.google.cloud.talent.v4.ICreateClientEventRequest, + request?: protos.google.cloud.talent.v4.ICreateClientEventRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-talent/src/v4/job_service_client.ts b/packages/google-cloud-talent/src/v4/job_service_client.ts index 22ae562b253..ab6cc126ba5 100644 --- a/packages/google-cloud-talent/src/v4/job_service_client.ts +++ b/packages/google-cloud-talent/src/v4/job_service_client.ts @@ -374,7 +374,7 @@ export class JobServiceClient { // -- Service calls -- // ------------------- createJob( - request: protos.google.cloud.talent.v4.ICreateJobRequest, + request?: protos.google.cloud.talent.v4.ICreateJobRequest, options?: CallOptions ): Promise< [ @@ -426,7 +426,7 @@ export class JobServiceClient { * const [response] = await client.createJob(request); */ createJob( - request: protos.google.cloud.talent.v4.ICreateJobRequest, + request?: protos.google.cloud.talent.v4.ICreateJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -465,7 +465,7 @@ export class JobServiceClient { return this.innerApiCalls.createJob(request, options, callback); } getJob( - request: protos.google.cloud.talent.v4.IGetJobRequest, + request?: protos.google.cloud.talent.v4.IGetJobRequest, options?: CallOptions ): Promise< [ @@ -514,7 +514,7 @@ export class JobServiceClient { * const [response] = await client.getJob(request); */ getJob( - request: protos.google.cloud.talent.v4.IGetJobRequest, + request?: protos.google.cloud.talent.v4.IGetJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -553,7 +553,7 @@ export class JobServiceClient { return this.innerApiCalls.getJob(request, options, callback); } updateJob( - request: protos.google.cloud.talent.v4.IUpdateJobRequest, + request?: protos.google.cloud.talent.v4.IUpdateJobRequest, options?: CallOptions ): Promise< [ @@ -608,7 +608,7 @@ export class JobServiceClient { * const [response] = await client.updateJob(request); */ updateJob( - request: protos.google.cloud.talent.v4.IUpdateJobRequest, + request?: protos.google.cloud.talent.v4.IUpdateJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -647,7 +647,7 @@ export class JobServiceClient { return this.innerApiCalls.updateJob(request, options, callback); } deleteJob( - request: protos.google.cloud.talent.v4.IDeleteJobRequest, + request?: protos.google.cloud.talent.v4.IDeleteJobRequest, options?: CallOptions ): Promise< [ @@ -698,7 +698,7 @@ export class JobServiceClient { * const [response] = await client.deleteJob(request); */ deleteJob( - request: protos.google.cloud.talent.v4.IDeleteJobRequest, + request?: protos.google.cloud.talent.v4.IDeleteJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -737,7 +737,7 @@ export class JobServiceClient { return this.innerApiCalls.deleteJob(request, options, callback); } searchJobs( - request: protos.google.cloud.talent.v4.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4.ISearchJobsRequest, options?: CallOptions ): Promise< [ @@ -1002,7 +1002,7 @@ export class JobServiceClient { * const [response] = await client.searchJobs(request); */ searchJobs( - request: protos.google.cloud.talent.v4.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4.ISearchJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1041,7 +1041,7 @@ export class JobServiceClient { return this.innerApiCalls.searchJobs(request, options, callback); } searchJobsForAlert( - request: protos.google.cloud.talent.v4.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4.ISearchJobsRequest, options?: CallOptions ): Promise< [ @@ -1311,7 +1311,7 @@ export class JobServiceClient { * const [response] = await client.searchJobsForAlert(request); */ searchJobsForAlert( - request: protos.google.cloud.talent.v4.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4.ISearchJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1351,7 +1351,7 @@ export class JobServiceClient { } batchCreateJobs( - request: protos.google.cloud.talent.v4.IBatchCreateJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchCreateJobsRequest, options?: CallOptions ): Promise< [ @@ -1413,7 +1413,7 @@ export class JobServiceClient { * const [response] = await operation.promise(); */ batchCreateJobs( - request: protos.google.cloud.talent.v4.IBatchCreateJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchCreateJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1498,7 +1498,7 @@ export class JobServiceClient { >; } batchUpdateJobs( - request: protos.google.cloud.talent.v4.IBatchUpdateJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchUpdateJobsRequest, options?: CallOptions ): Promise< [ @@ -1575,7 +1575,7 @@ export class JobServiceClient { * const [response] = await operation.promise(); */ batchUpdateJobs( - request: protos.google.cloud.talent.v4.IBatchUpdateJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchUpdateJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1660,7 +1660,7 @@ export class JobServiceClient { >; } batchDeleteJobs( - request: protos.google.cloud.talent.v4.IBatchDeleteJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchDeleteJobsRequest, options?: CallOptions ): Promise< [ @@ -1728,7 +1728,7 @@ export class JobServiceClient { * const [response] = await operation.promise(); */ batchDeleteJobs( - request: protos.google.cloud.talent.v4.IBatchDeleteJobsRequest, + request?: protos.google.cloud.talent.v4.IBatchDeleteJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1813,7 +1813,7 @@ export class JobServiceClient { >; } listJobs( - request: protos.google.cloud.talent.v4.IListJobsRequest, + request?: protos.google.cloud.talent.v4.IListJobsRequest, options?: CallOptions ): Promise< [ @@ -1895,7 +1895,7 @@ export class JobServiceClient { * for more details and examples. */ listJobs( - request: protos.google.cloud.talent.v4.IListJobsRequest, + request?: protos.google.cloud.talent.v4.IListJobsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4/tenant_service_client.ts b/packages/google-cloud-talent/src/v4/tenant_service_client.ts index c960f2bfee1..2fff6639dee 100644 --- a/packages/google-cloud-talent/src/v4/tenant_service_client.ts +++ b/packages/google-cloud-talent/src/v4/tenant_service_client.ts @@ -315,7 +315,7 @@ export class TenantServiceClient { // -- Service calls -- // ------------------- createTenant( - request: protos.google.cloud.talent.v4.ICreateTenantRequest, + request?: protos.google.cloud.talent.v4.ICreateTenantRequest, options?: CallOptions ): Promise< [ @@ -364,7 +364,7 @@ export class TenantServiceClient { * const [response] = await client.createTenant(request); */ createTenant( - request: protos.google.cloud.talent.v4.ICreateTenantRequest, + request?: protos.google.cloud.talent.v4.ICreateTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -403,7 +403,7 @@ export class TenantServiceClient { return this.innerApiCalls.createTenant(request, options, callback); } getTenant( - request: protos.google.cloud.talent.v4.IGetTenantRequest, + request?: protos.google.cloud.talent.v4.IGetTenantRequest, options?: CallOptions ): Promise< [ @@ -450,7 +450,7 @@ export class TenantServiceClient { * const [response] = await client.getTenant(request); */ getTenant( - request: protos.google.cloud.talent.v4.IGetTenantRequest, + request?: protos.google.cloud.talent.v4.IGetTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -489,7 +489,7 @@ export class TenantServiceClient { return this.innerApiCalls.getTenant(request, options, callback); } updateTenant( - request: protos.google.cloud.talent.v4.IUpdateTenantRequest, + request?: protos.google.cloud.talent.v4.IUpdateTenantRequest, options?: CallOptions ): Promise< [ @@ -541,7 +541,7 @@ export class TenantServiceClient { * const [response] = await client.updateTenant(request); */ updateTenant( - request: protos.google.cloud.talent.v4.IUpdateTenantRequest, + request?: protos.google.cloud.talent.v4.IUpdateTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -580,7 +580,7 @@ export class TenantServiceClient { return this.innerApiCalls.updateTenant(request, options, callback); } deleteTenant( - request: protos.google.cloud.talent.v4.IDeleteTenantRequest, + request?: protos.google.cloud.talent.v4.IDeleteTenantRequest, options?: CallOptions ): Promise< [ @@ -627,7 +627,7 @@ export class TenantServiceClient { * const [response] = await client.deleteTenant(request); */ deleteTenant( - request: protos.google.cloud.talent.v4.IDeleteTenantRequest, + request?: protos.google.cloud.talent.v4.IDeleteTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -667,7 +667,7 @@ export class TenantServiceClient { } listTenants( - request: protos.google.cloud.talent.v4.IListTenantsRequest, + request?: protos.google.cloud.talent.v4.IListTenantsRequest, options?: CallOptions ): Promise< [ @@ -722,7 +722,7 @@ export class TenantServiceClient { * for more details and examples. */ listTenants( - request: protos.google.cloud.talent.v4.IListTenantsRequest, + request?: protos.google.cloud.talent.v4.IListTenantsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4beta1/application_service_client.ts b/packages/google-cloud-talent/src/v4beta1/application_service_client.ts index da8c7dbae19..c07b8ebad02 100644 --- a/packages/google-cloud-talent/src/v4beta1/application_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/application_service_client.ts @@ -325,7 +325,7 @@ export class ApplicationServiceClient { // -- Service calls -- // ------------------- createApplication( - request: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, options?: CallOptions ): Promise< [ @@ -379,7 +379,7 @@ export class ApplicationServiceClient { * const [response] = await client.createApplication(request); */ createApplication( - request: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateApplicationRequest, optionsOrCallback?: | CallOptions | Callback< @@ -422,7 +422,7 @@ export class ApplicationServiceClient { return this.innerApiCalls.createApplication(request, options, callback); } getApplication( - request: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, options?: CallOptions ): Promise< [ @@ -474,7 +474,7 @@ export class ApplicationServiceClient { * const [response] = await client.getApplication(request); */ getApplication( - request: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IGetApplicationRequest, optionsOrCallback?: | CallOptions | Callback< @@ -517,7 +517,7 @@ export class ApplicationServiceClient { return this.innerApiCalls.getApplication(request, options, callback); } updateApplication( - request: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, options?: CallOptions ): Promise< [ @@ -573,7 +573,7 @@ export class ApplicationServiceClient { * const [response] = await client.updateApplication(request); */ updateApplication( - request: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateApplicationRequest, optionsOrCallback?: | CallOptions | Callback< @@ -616,7 +616,7 @@ export class ApplicationServiceClient { return this.innerApiCalls.updateApplication(request, options, callback); } deleteApplication( - request: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, options?: CallOptions ): Promise< [ @@ -668,7 +668,7 @@ export class ApplicationServiceClient { * const [response] = await client.deleteApplication(request); */ deleteApplication( - request: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteApplicationRequest, optionsOrCallback?: | CallOptions | Callback< @@ -712,7 +712,7 @@ export class ApplicationServiceClient { } listApplications( - request: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, + request?: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, options?: CallOptions ): Promise< [ @@ -772,7 +772,7 @@ export class ApplicationServiceClient { * for more details and examples. */ listApplications( - request: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, + request?: protos.google.cloud.talent.v4beta1.IListApplicationsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4beta1/company_service_client.ts b/packages/google-cloud-talent/src/v4beta1/company_service_client.ts index d0646e726ae..aa6011702b6 100644 --- a/packages/google-cloud-talent/src/v4beta1/company_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/company_service_client.ts @@ -327,7 +327,7 @@ export class CompanyServiceClient { // -- Service calls -- // ------------------- createCompany( - request: protos.google.cloud.talent.v4beta1.ICreateCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateCompanyRequest, options?: CallOptions ): Promise< [ @@ -381,7 +381,7 @@ export class CompanyServiceClient { * const [response] = await client.createCompany(request); */ createCompany( - request: protos.google.cloud.talent.v4beta1.ICreateCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -424,7 +424,7 @@ export class CompanyServiceClient { return this.innerApiCalls.createCompany(request, options, callback); } getCompany( - request: protos.google.cloud.talent.v4beta1.IGetCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IGetCompanyRequest, options?: CallOptions ): Promise< [ @@ -475,7 +475,7 @@ export class CompanyServiceClient { * const [response] = await client.getCompany(request); */ getCompany( - request: protos.google.cloud.talent.v4beta1.IGetCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IGetCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -516,7 +516,7 @@ export class CompanyServiceClient { return this.innerApiCalls.getCompany(request, options, callback); } updateCompany( - request: protos.google.cloud.talent.v4beta1.IUpdateCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateCompanyRequest, options?: CallOptions ): Promise< [ @@ -572,7 +572,7 @@ export class CompanyServiceClient { * const [response] = await client.updateCompany(request); */ updateCompany( - request: protos.google.cloud.talent.v4beta1.IUpdateCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -615,7 +615,7 @@ export class CompanyServiceClient { return this.innerApiCalls.updateCompany(request, options, callback); } deleteCompany( - request: protos.google.cloud.talent.v4beta1.IDeleteCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteCompanyRequest, options?: CallOptions ): Promise< [ @@ -671,7 +671,7 @@ export class CompanyServiceClient { * const [response] = await client.deleteCompany(request); */ deleteCompany( - request: protos.google.cloud.talent.v4beta1.IDeleteCompanyRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteCompanyRequest, optionsOrCallback?: | CallOptions | Callback< @@ -715,7 +715,7 @@ export class CompanyServiceClient { } listCompanies( - request: protos.google.cloud.talent.v4beta1.IListCompaniesRequest, + request?: protos.google.cloud.talent.v4beta1.IListCompaniesRequest, options?: CallOptions ): Promise< [ @@ -784,7 +784,7 @@ export class CompanyServiceClient { * for more details and examples. */ listCompanies( - request: protos.google.cloud.talent.v4beta1.IListCompaniesRequest, + request?: protos.google.cloud.talent.v4beta1.IListCompaniesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4beta1/completion_client.ts b/packages/google-cloud-talent/src/v4beta1/completion_client.ts index adac5fe00ab..c4512aaf123 100644 --- a/packages/google-cloud-talent/src/v4beta1/completion_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/completion_client.ts @@ -301,7 +301,7 @@ export class CompletionClient { // -- Service calls -- // ------------------- completeQuery( - request: protos.google.cloud.talent.v4beta1.ICompleteQueryRequest, + request?: protos.google.cloud.talent.v4beta1.ICompleteQueryRequest, options?: CallOptions ): Promise< [ @@ -384,7 +384,7 @@ export class CompletionClient { * const [response] = await client.completeQuery(request); */ completeQuery( - request: protos.google.cloud.talent.v4beta1.ICompleteQueryRequest, + request?: protos.google.cloud.talent.v4beta1.ICompleteQueryRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-talent/src/v4beta1/event_service_client.ts b/packages/google-cloud-talent/src/v4beta1/event_service_client.ts index f5981c99c0e..e331b57f9a0 100644 --- a/packages/google-cloud-talent/src/v4beta1/event_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/event_service_client.ts @@ -301,7 +301,7 @@ export class EventServiceClient { // -- Service calls -- // ------------------- createClientEvent( - request: protos.google.cloud.talent.v4beta1.ICreateClientEventRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateClientEventRequest, options?: CallOptions ): Promise< [ @@ -362,7 +362,7 @@ export class EventServiceClient { * const [response] = await client.createClientEvent(request); */ createClientEvent( - request: protos.google.cloud.talent.v4beta1.ICreateClientEventRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateClientEventRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/packages/google-cloud-talent/src/v4beta1/job_service_client.ts b/packages/google-cloud-talent/src/v4beta1/job_service_client.ts index 52d25b8f6c7..cea990a8a38 100644 --- a/packages/google-cloud-talent/src/v4beta1/job_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/job_service_client.ts @@ -375,7 +375,7 @@ export class JobServiceClient { // -- Service calls -- // ------------------- createJob( - request: protos.google.cloud.talent.v4beta1.ICreateJobRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateJobRequest, options?: CallOptions ): Promise< [ @@ -428,7 +428,7 @@ export class JobServiceClient { * const [response] = await client.createJob(request); */ createJob( - request: protos.google.cloud.talent.v4beta1.ICreateJobRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -469,7 +469,7 @@ export class JobServiceClient { return this.innerApiCalls.createJob(request, options, callback); } getJob( - request: protos.google.cloud.talent.v4beta1.IGetJobRequest, + request?: protos.google.cloud.talent.v4beta1.IGetJobRequest, options?: CallOptions ): Promise< [ @@ -521,7 +521,7 @@ export class JobServiceClient { * const [response] = await client.getJob(request); */ getJob( - request: protos.google.cloud.talent.v4beta1.IGetJobRequest, + request?: protos.google.cloud.talent.v4beta1.IGetJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -560,7 +560,7 @@ export class JobServiceClient { return this.innerApiCalls.getJob(request, options, callback); } updateJob( - request: protos.google.cloud.talent.v4beta1.IUpdateJobRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateJobRequest, options?: CallOptions ): Promise< [ @@ -615,7 +615,7 @@ export class JobServiceClient { * const [response] = await client.updateJob(request); */ updateJob( - request: protos.google.cloud.talent.v4beta1.IUpdateJobRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -656,7 +656,7 @@ export class JobServiceClient { return this.innerApiCalls.updateJob(request, options, callback); } deleteJob( - request: protos.google.cloud.talent.v4beta1.IDeleteJobRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteJobRequest, options?: CallOptions ): Promise< [ @@ -710,7 +710,7 @@ export class JobServiceClient { * const [response] = await client.deleteJob(request); */ deleteJob( - request: protos.google.cloud.talent.v4beta1.IDeleteJobRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteJobRequest, optionsOrCallback?: | CallOptions | Callback< @@ -751,7 +751,7 @@ export class JobServiceClient { return this.innerApiCalls.deleteJob(request, options, callback); } batchDeleteJobs( - request: protos.google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, options?: CallOptions ): Promise< [ @@ -815,7 +815,7 @@ export class JobServiceClient { * const [response] = await client.batchDeleteJobs(request); */ batchDeleteJobs( - request: protos.google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchDeleteJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -858,7 +858,7 @@ export class JobServiceClient { return this.innerApiCalls.batchDeleteJobs(request, options, callback); } searchJobs( - request: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, options?: CallOptions ): Promise< [ @@ -1134,7 +1134,7 @@ export class JobServiceClient { * const [response] = await client.searchJobs(request); */ searchJobs( - request: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1175,7 +1175,7 @@ export class JobServiceClient { return this.innerApiCalls.searchJobs(request, options, callback); } searchJobsForAlert( - request: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, options?: CallOptions ): Promise< [ @@ -1456,7 +1456,7 @@ export class JobServiceClient { * const [response] = await client.searchJobsForAlert(request); */ searchJobsForAlert( - request: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1498,7 +1498,7 @@ export class JobServiceClient { } batchCreateJobs( - request: protos.google.cloud.talent.v4beta1.IBatchCreateJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchCreateJobsRequest, options?: CallOptions ): Promise< [ @@ -1560,7 +1560,7 @@ export class JobServiceClient { * const [response] = await operation.promise(); */ batchCreateJobs( - request: protos.google.cloud.talent.v4beta1.IBatchCreateJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchCreateJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1645,7 +1645,7 @@ export class JobServiceClient { >; } batchUpdateJobs( - request: protos.google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, options?: CallOptions ): Promise< [ @@ -1722,7 +1722,7 @@ export class JobServiceClient { * const [response] = await operation.promise(); */ batchUpdateJobs( - request: protos.google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IBatchUpdateJobsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1807,7 +1807,7 @@ export class JobServiceClient { >; } listJobs( - request: protos.google.cloud.talent.v4beta1.IListJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IListJobsRequest, options?: CallOptions ): Promise< [ @@ -1890,7 +1890,7 @@ export class JobServiceClient { * for more details and examples. */ listJobs( - request: protos.google.cloud.talent.v4beta1.IListJobsRequest, + request?: protos.google.cloud.talent.v4beta1.IListJobsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4beta1/profile_service_client.ts b/packages/google-cloud-talent/src/v4beta1/profile_service_client.ts index ac676e93ced..ae83220b01c 100644 --- a/packages/google-cloud-talent/src/v4beta1/profile_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/profile_service_client.ts @@ -329,7 +329,7 @@ export class ProfileServiceClient { // -- Service calls -- // ------------------- createProfile( - request: protos.google.cloud.talent.v4beta1.ICreateProfileRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateProfileRequest, options?: CallOptions ): Promise< [ @@ -382,7 +382,7 @@ export class ProfileServiceClient { * const [response] = await client.createProfile(request); */ createProfile( - request: protos.google.cloud.talent.v4beta1.ICreateProfileRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateProfileRequest, optionsOrCallback?: | CallOptions | Callback< @@ -425,7 +425,7 @@ export class ProfileServiceClient { return this.innerApiCalls.createProfile(request, options, callback); } getProfile( - request: protos.google.cloud.talent.v4beta1.IGetProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IGetProfileRequest, options?: CallOptions ): Promise< [ @@ -473,7 +473,7 @@ export class ProfileServiceClient { * const [response] = await client.getProfile(request); */ getProfile( - request: protos.google.cloud.talent.v4beta1.IGetProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IGetProfileRequest, optionsOrCallback?: | CallOptions | Callback< @@ -514,7 +514,7 @@ export class ProfileServiceClient { return this.innerApiCalls.getProfile(request, options, callback); } updateProfile( - request: protos.google.cloud.talent.v4beta1.IUpdateProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateProfileRequest, options?: CallOptions ): Promise< [ @@ -566,7 +566,7 @@ export class ProfileServiceClient { * const [response] = await client.updateProfile(request); */ updateProfile( - request: protos.google.cloud.talent.v4beta1.IUpdateProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateProfileRequest, optionsOrCallback?: | CallOptions | Callback< @@ -609,7 +609,7 @@ export class ProfileServiceClient { return this.innerApiCalls.updateProfile(request, options, callback); } deleteProfile( - request: protos.google.cloud.talent.v4beta1.IDeleteProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteProfileRequest, options?: CallOptions ): Promise< [ @@ -663,7 +663,7 @@ export class ProfileServiceClient { * const [response] = await client.deleteProfile(request); */ deleteProfile( - request: protos.google.cloud.talent.v4beta1.IDeleteProfileRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteProfileRequest, optionsOrCallback?: | CallOptions | Callback< @@ -706,7 +706,7 @@ export class ProfileServiceClient { return this.innerApiCalls.deleteProfile(request, options, callback); } searchProfiles( - request: protos.google.cloud.talent.v4beta1.ISearchProfilesRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchProfilesRequest, options?: CallOptions ): Promise< [ @@ -929,7 +929,7 @@ export class ProfileServiceClient { * const [response] = await client.searchProfiles(request); */ searchProfiles( - request: protos.google.cloud.talent.v4beta1.ISearchProfilesRequest, + request?: protos.google.cloud.talent.v4beta1.ISearchProfilesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -973,7 +973,7 @@ export class ProfileServiceClient { } listProfiles( - request: protos.google.cloud.talent.v4beta1.IListProfilesRequest, + request?: protos.google.cloud.talent.v4beta1.IListProfilesRequest, options?: CallOptions ): Promise< [ @@ -1061,7 +1061,7 @@ export class ProfileServiceClient { * for more details and examples. */ listProfiles( - request: protos.google.cloud.talent.v4beta1.IListProfilesRequest, + request?: protos.google.cloud.talent.v4beta1.IListProfilesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/packages/google-cloud-talent/src/v4beta1/tenant_service_client.ts b/packages/google-cloud-talent/src/v4beta1/tenant_service_client.ts index cfc4ed73657..ef769db8f50 100644 --- a/packages/google-cloud-talent/src/v4beta1/tenant_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/tenant_service_client.ts @@ -327,7 +327,7 @@ export class TenantServiceClient { // -- Service calls -- // ------------------- createTenant( - request: protos.google.cloud.talent.v4beta1.ICreateTenantRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateTenantRequest, options?: CallOptions ): Promise< [ @@ -380,7 +380,7 @@ export class TenantServiceClient { * const [response] = await client.createTenant(request); */ createTenant( - request: protos.google.cloud.talent.v4beta1.ICreateTenantRequest, + request?: protos.google.cloud.talent.v4beta1.ICreateTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -423,7 +423,7 @@ export class TenantServiceClient { return this.innerApiCalls.createTenant(request, options, callback); } getTenant( - request: protos.google.cloud.talent.v4beta1.IGetTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IGetTenantRequest, options?: CallOptions ): Promise< [ @@ -470,7 +470,7 @@ export class TenantServiceClient { * const [response] = await client.getTenant(request); */ getTenant( - request: protos.google.cloud.talent.v4beta1.IGetTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IGetTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -511,7 +511,7 @@ export class TenantServiceClient { return this.innerApiCalls.getTenant(request, options, callback); } updateTenant( - request: protos.google.cloud.talent.v4beta1.IUpdateTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateTenantRequest, options?: CallOptions ): Promise< [ @@ -567,7 +567,7 @@ export class TenantServiceClient { * const [response] = await client.updateTenant(request); */ updateTenant( - request: protos.google.cloud.talent.v4beta1.IUpdateTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IUpdateTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -610,7 +610,7 @@ export class TenantServiceClient { return this.innerApiCalls.updateTenant(request, options, callback); } deleteTenant( - request: protos.google.cloud.talent.v4beta1.IDeleteTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteTenantRequest, options?: CallOptions ): Promise< [ @@ -661,7 +661,7 @@ export class TenantServiceClient { * const [response] = await client.deleteTenant(request); */ deleteTenant( - request: protos.google.cloud.talent.v4beta1.IDeleteTenantRequest, + request?: protos.google.cloud.talent.v4beta1.IDeleteTenantRequest, optionsOrCallback?: | CallOptions | Callback< @@ -705,7 +705,7 @@ export class TenantServiceClient { } listTenants( - request: protos.google.cloud.talent.v4beta1.IListTenantsRequest, + request?: protos.google.cloud.talent.v4beta1.IListTenantsRequest, options?: CallOptions ): Promise< [ @@ -764,7 +764,7 @@ export class TenantServiceClient { * for more details and examples. */ listTenants( - request: protos.google.cloud.talent.v4beta1.IListTenantsRequest, + request?: protos.google.cloud.talent.v4beta1.IListTenantsRequest, optionsOrCallback?: | CallOptions | PaginationCallback<