diff --git a/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts index 134ba45e30d..ecec9fd244d 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/job_service_client.ts @@ -3094,9 +3094,7 @@ export class JobServiceClient { listHyperparameterTuningJobsAsync( request?: protos.google.cloud.aiplatform.v1beta1.IListHyperparameterTuningJobsRequest, options?: gax.CallOptions - ): AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IHyperparameterTuningJob - > { + ): AsyncIterable { request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; @@ -3113,9 +3111,7 @@ export class JobServiceClient { this.innerApiCalls['listHyperparameterTuningJobs'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IHyperparameterTuningJob - >; + ) as AsyncIterable; } listBatchPredictionJobs( request: protos.google.cloud.aiplatform.v1beta1.IListBatchPredictionJobsRequest, @@ -3385,9 +3381,7 @@ export class JobServiceClient { this.innerApiCalls['listBatchPredictionJobs'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IBatchPredictionJob - >; + ) as AsyncIterable; } // -------------------- // -- Path templates -- diff --git a/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts index faf2b8363d1..6423fd11a39 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/migration_service_client.ts @@ -747,9 +747,7 @@ export class MigrationServiceClient { this.innerApiCalls['searchMigratableResources'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IMigratableResource - >; + ) as AsyncIterable; } // -------------------- // -- Path templates -- diff --git a/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts index 19b85ca4d29..f21a4797f51 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/model_service_client.ts @@ -1908,9 +1908,7 @@ export class ModelServiceClient { listModelEvaluationSlicesAsync( request?: protos.google.cloud.aiplatform.v1beta1.IListModelEvaluationSlicesRequest, options?: gax.CallOptions - ): AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IModelEvaluationSlice - > { + ): AsyncIterable { request = request || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; @@ -1927,9 +1925,7 @@ export class ModelServiceClient { this.innerApiCalls['listModelEvaluationSlices'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.IModelEvaluationSlice - >; + ) as AsyncIterable; } // -------------------- // -- Path templates -- diff --git a/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts index a6540719a17..cc608a58631 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/pipeline_service_client.ts @@ -1120,9 +1120,7 @@ export class PipelineServiceClient { this.innerApiCalls['listTrainingPipelines'] as GaxCall, (request as unknown) as RequestType, callSettings - ) as AsyncIterable< - protos.google.cloud.aiplatform.v1beta1.ITrainingPipeline - >; + ) as AsyncIterable; } // -------------------- // -- Path templates -- diff --git a/packages/google-cloud-aiplatform/synth.metadata b/packages/google-cloud-aiplatform/synth.metadata index f4bb0947d01..50b44cf378c 100644 --- a/packages/google-cloud-aiplatform/synth.metadata +++ b/packages/google-cloud-aiplatform/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-ai-platform.git", - "sha": "9f7be51d7322216bf4e36229ae618cb449c2ff78" + "sha": "19722b02063ac34a350ba6e5086bda12bc5e5bd1" } }, {