diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e4c7192b7..878ebda99 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,7 +74,7 @@ jobs: strategy: matrix: node-version: [14.x] - lib-name: [showcase, kms, translate, monitoring, dlp, texttospeech, showcase-legacy, compute, logging, bigquery-v2] + lib-name: [showcase, kms, translate, monitoring, dlp, texttospeech, showcase-legacy, compute, logging, bigquery-v2, redis] steps: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 @@ -110,7 +110,7 @@ jobs: strategy: matrix: node-version: [14.x] - lib-name: [showcase, kms, translate, monitoring, dlp, texttospeech, showcase-legacy, compute, logging, bigquery-v2] + lib-name: [showcase, kms, translate, monitoring, dlp, texttospeech, showcase-legacy, compute, logging, bigquery-v2, redis] steps: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 diff --git a/baselines/redis-esm/esm/src/v1beta1/cloud_redis_client.ts.baseline b/baselines/redis-esm/esm/src/v1beta1/cloud_redis_client.ts.baseline index 93e454a69..919b73f72 100644 --- a/baselines/redis-esm/esm/src/v1beta1/cloud_redis_client.ts.baseline +++ b/baselines/redis-esm/esm/src/v1beta1/cloud_redis_client.ts.baseline @@ -1409,7 +1409,6 @@ export class CloudRedisClient { request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions ): AsyncIterable { - let options: gax.CallOptions = options || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1455,8 +1454,8 @@ export class CloudRedisClient { optionsOrCallback?: | gax.CallOptions | Callback< - protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, {} | undefined | null >, callback?: Callback< diff --git a/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline b/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline index 0e9f72db2..457b96f4f 100644 --- a/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline +++ b/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline @@ -1387,7 +1387,6 @@ export class CloudRedisClient { request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions ): AsyncIterable { - let options: gax.CallOptions = options || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -1433,8 +1432,8 @@ export class CloudRedisClient { optionsOrCallback?: | gax.CallOptions | Callback< - protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, {} | undefined | null >, callback?: Callback< diff --git a/templates/cjs/typescript_gapic/_operations.njk b/templates/cjs/typescript_gapic/_operations.njk index 38d40160b..1837aa213 100644 --- a/templates/cjs/typescript_gapic/_operations.njk +++ b/templates/cjs/typescript_gapic/_operations.njk @@ -101,7 +101,6 @@ request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions ): AsyncIterable { - let options: gax.CallOptions = options || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -147,8 +146,8 @@ optionsOrCallback?: | gax.CallOptions | Callback< - protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, {} | undefined | null >, callback?: Callback< diff --git a/templates/esm/typescript_gapic/_operations.njk b/templates/esm/typescript_gapic/_operations.njk index 38d40160b..1837aa213 100644 --- a/templates/esm/typescript_gapic/_operations.njk +++ b/templates/esm/typescript_gapic/_operations.njk @@ -101,7 +101,6 @@ request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions ): AsyncIterable { - let options: gax.CallOptions = options || {}; options = options || {}; options.otherArgs = options.otherArgs || {}; options.otherArgs.headers = options.otherArgs.headers || {}; @@ -147,8 +146,8 @@ optionsOrCallback?: | gax.CallOptions | Callback< - protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, {} | undefined | null >, callback?: Callback<