Type Alias GCSServiceMethodDynamicSegments<S, O, R>

GCSServiceMethodDynamicSegments: (
    configuration: GCSConfiguration,
    segments: S,
    methodOptions?: O & {
        headers?: BaseServiceMethodOptions["headers"];
        query?: BaseServiceMethodOptions["query"];
    },
    sdkOptions?: 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.

Type Parameters

  • S extends Segment
  • O extends ServiceMethodOptions
  • R extends Response = Response

Type declaration

    • (
          configuration: GCSConfiguration,
          segments: S,
          methodOptions?: O & {
              headers?: BaseServiceMethodOptions["headers"];
              query?: BaseServiceMethodOptions["query"];
          },
          sdkOptions?: SDKOptions,
      ): ReturnType<ServiceMethodDynamicSegments<S, O, R>>
    • Parameters

      • configuration: GCSConfiguration
      • segments: S
      • OptionalmethodOptions: O & {
            headers?: BaseServiceMethodOptions["headers"];
            query?: BaseServiceMethodOptions["query"];
        }
      • OptionalsdkOptions: SDKOptions

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