diff --git a/packages/google-cloud-tpu/linkinator.config.json b/packages/google-cloud-tpu/linkinator.config.json index 97b6eaaa0df..29a223b6db6 100644 --- a/packages/google-cloud-tpu/linkinator.config.json +++ b/packages/google-cloud-tpu/linkinator.config.json @@ -1,7 +1,6 @@ { "recurse": true, "skip": [ - "https://github.com/googleapis/nodejs-cloud-tpu/blob/master/CHANGELOG.md", "https://codecov.io/gh/googleapis/", "www.googleapis.com", "img.shields.io" diff --git a/packages/google-cloud-tpu/src/v1/tpu_client.ts b/packages/google-cloud-tpu/src/v1/tpu_client.ts index d38645388a2..545bf098fcd 100644 --- a/packages/google-cloud-tpu/src/v1/tpu_client.ts +++ b/packages/google-cloud-tpu/src/v1/tpu_client.ts @@ -409,7 +409,7 @@ export class TpuClient { // -- Service calls -- // ------------------- getNode( - request: protos.google.cloud.tpu.v1.IGetNodeRequest, + request?: protos.google.cloud.tpu.v1.IGetNodeRequest, options?: CallOptions ): Promise< [ @@ -453,7 +453,7 @@ export class TpuClient { * const [response] = await client.getNode(request); */ getNode( - request: protos.google.cloud.tpu.v1.IGetNodeRequest, + request?: protos.google.cloud.tpu.v1.IGetNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -492,7 +492,7 @@ export class TpuClient { return this.innerApiCalls.getNode(request, options, callback); } getTensorFlowVersion( - request: protos.google.cloud.tpu.v1.IGetTensorFlowVersionRequest, + request?: protos.google.cloud.tpu.v1.IGetTensorFlowVersionRequest, options?: CallOptions ): Promise< [ @@ -540,7 +540,7 @@ export class TpuClient { * const [response] = await client.getTensorFlowVersion(request); */ getTensorFlowVersion( - request: protos.google.cloud.tpu.v1.IGetTensorFlowVersionRequest, + request?: protos.google.cloud.tpu.v1.IGetTensorFlowVersionRequest, optionsOrCallback?: | CallOptions | Callback< @@ -583,7 +583,7 @@ export class TpuClient { return this.innerApiCalls.getTensorFlowVersion(request, options, callback); } getAcceleratorType( - request: protos.google.cloud.tpu.v1.IGetAcceleratorTypeRequest, + request?: protos.google.cloud.tpu.v1.IGetAcceleratorTypeRequest, options?: CallOptions ): Promise< [ @@ -627,7 +627,7 @@ export class TpuClient { * const [response] = await client.getAcceleratorType(request); */ getAcceleratorType( - request: protos.google.cloud.tpu.v1.IGetAcceleratorTypeRequest, + request?: protos.google.cloud.tpu.v1.IGetAcceleratorTypeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -669,7 +669,7 @@ export class TpuClient { } createNode( - request: protos.google.cloud.tpu.v1.ICreateNodeRequest, + request?: protos.google.cloud.tpu.v1.ICreateNodeRequest, options?: CallOptions ): Promise< [ @@ -729,7 +729,7 @@ export class TpuClient { * const [response] = await operation.promise(); */ createNode( - request: protos.google.cloud.tpu.v1.ICreateNodeRequest, + request?: protos.google.cloud.tpu.v1.ICreateNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -814,7 +814,7 @@ export class TpuClient { >; } deleteNode( - request: protos.google.cloud.tpu.v1.IDeleteNodeRequest, + request?: protos.google.cloud.tpu.v1.IDeleteNodeRequest, options?: CallOptions ): Promise< [ @@ -870,7 +870,7 @@ export class TpuClient { * const [response] = await operation.promise(); */ deleteNode( - request: protos.google.cloud.tpu.v1.IDeleteNodeRequest, + request?: protos.google.cloud.tpu.v1.IDeleteNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -955,7 +955,7 @@ export class TpuClient { >; } reimageNode( - request: protos.google.cloud.tpu.v1.IReimageNodeRequest, + request?: protos.google.cloud.tpu.v1.IReimageNodeRequest, options?: CallOptions ): Promise< [ @@ -1013,7 +1013,7 @@ export class TpuClient { * const [response] = await operation.promise(); */ reimageNode( - request: protos.google.cloud.tpu.v1.IReimageNodeRequest, + request?: protos.google.cloud.tpu.v1.IReimageNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1098,7 +1098,7 @@ export class TpuClient { >; } stopNode( - request: protos.google.cloud.tpu.v1.IStopNodeRequest, + request?: protos.google.cloud.tpu.v1.IStopNodeRequest, options?: CallOptions ): Promise< [ @@ -1154,7 +1154,7 @@ export class TpuClient { * const [response] = await operation.promise(); */ stopNode( - request: protos.google.cloud.tpu.v1.IStopNodeRequest, + request?: protos.google.cloud.tpu.v1.IStopNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1239,7 +1239,7 @@ export class TpuClient { >; } startNode( - request: protos.google.cloud.tpu.v1.IStartNodeRequest, + request?: protos.google.cloud.tpu.v1.IStartNodeRequest, options?: CallOptions ): Promise< [ @@ -1295,7 +1295,7 @@ export class TpuClient { * const [response] = await operation.promise(); */ startNode( - request: protos.google.cloud.tpu.v1.IStartNodeRequest, + request?: protos.google.cloud.tpu.v1.IStartNodeRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1380,7 +1380,7 @@ export class TpuClient { >; } listNodes( - request: protos.google.cloud.tpu.v1.IListNodesRequest, + request?: protos.google.cloud.tpu.v1.IListNodesRequest, options?: CallOptions ): Promise< [ @@ -1431,7 +1431,7 @@ export class TpuClient { * for more details and examples. */ listNodes( - request: protos.google.cloud.tpu.v1.IListNodesRequest, + request?: protos.google.cloud.tpu.v1.IListNodesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1563,7 +1563,7 @@ export class TpuClient { ) as AsyncIterable; } listTensorFlowVersions( - request: protos.google.cloud.tpu.v1.IListTensorFlowVersionsRequest, + request?: protos.google.cloud.tpu.v1.IListTensorFlowVersionsRequest, options?: CallOptions ): Promise< [ @@ -1622,7 +1622,7 @@ export class TpuClient { * for more details and examples. */ listTensorFlowVersions( - request: protos.google.cloud.tpu.v1.IListTensorFlowVersionsRequest, + request?: protos.google.cloud.tpu.v1.IListTensorFlowVersionsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -1770,7 +1770,7 @@ export class TpuClient { ) as AsyncIterable; } listAcceleratorTypes( - request: protos.google.cloud.tpu.v1.IListAcceleratorTypesRequest, + request?: protos.google.cloud.tpu.v1.IListAcceleratorTypesRequest, options?: CallOptions ): Promise< [ @@ -1829,7 +1829,7 @@ export class TpuClient { * for more details and examples. */ listAcceleratorTypes( - request: protos.google.cloud.tpu.v1.IListAcceleratorTypesRequest, + request?: protos.google.cloud.tpu.v1.IListAcceleratorTypesRequest, optionsOrCallback?: | CallOptions | PaginationCallback<