Type alias GCSServiceMethodDynamicSegments<S, O, R>

GCSServiceMethodDynamicSegments<S, O, R>: ((configuration, segments, methodOptions?, sdkOptions?) => ReturnType<ServiceMethodDynamicSegments<S, O, R>>)

Type Parameters

  • S extends Segment

  • O extends ServiceMethodOptions

  • R extends Response = Response

Type declaration

    • (configuration, segments, methodOptions?, sdkOptions?): ReturnType<ServiceMethodDynamicSegments<S, O, R>>
    • The GCSServiceMethodDynamicSegments type is similar to the core ServiceMethodDynamicSegments type, but the first parameter is always a GCSConfiguration object.

      Parameters

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

      Returns ReturnType<ServiceMethodDynamicSegments<S, O, R>>

Generated using TypeDoc