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>>
    • The GCSServiceMethod type is similar to the core ServiceMethod type, but the first parameter is always a GCSConfiguration object.

      Parameters

      • configuration: GCSConfiguration
      • Optional methodOptions: O & {
            headers?: BaseServiceMethodOptions["headers"];
            query?: BaseServiceMethodOptions["query"];
        }
      • Optional sdkOptions: SDKOptions

      Returns ReturnType<ServiceMethod<O, R>>

Generated using TypeDoc