All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.gcp.functions.GoogleCloudFunctionsConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.gcp.functions;

import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public class GoogleCloudFunctionsConfig {
    /**
     * The function name. Function names are specified on function classes using the {@link @jakarta.inject.Named} annotation.
     *
     * If this name is unspecified and there is exactly one unnamed function then this unnamed function will be used.
     * If there is only a single named function and the name is unspecified then the named function will be used.
     * These rules apply for each function implementation (HttpFunction, BackgroundFunction, RawBackgroundFunction).
     */
    @ConfigItem
    public Optional function;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy