Type alias GCSServiceMethod<O, R>
GCSServiceMethod<O, R>: ((configuration, methodOptions?, sdkOptions?) => ReturnType<ServiceMethod<O, R>>)
Type Parameters
O extends ServiceMethodOptions
R extends Response = Response
Type declaration
- (configuration, methodOptions?, sdkOptions?): ReturnType<ServiceMethod<O, R>>
Parameters
Optional
methodOptions: O & {
headers?: BaseServiceMethodOptions["headers"];
query?: BaseServiceMethodOptions["query"];
}
Optional
sdkOptions: SDKOptions
Returns ReturnType<ServiceMethod<O, R>>
The GCSServiceMethod type is similar to the core ServiceMethod type, but the first parameter is always a GCSConfiguration object.