io.quarkus.gcp.functions.GoogleCloudFunctionsConfig Maven / Gradle / Ivy
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