Annotation Interface ConditionalOnGcpEnvironment


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(OnGcpEnvironmentCondition.class) public @interface ConditionalOnGcpEnvironment
Conditional that matches based on GCP environment in which the application currently runs.

Supported environments are enumerated in GcpEnvironment.

Since:
1.1
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Configures which environment to match.
  • Element Details

    • value

      Configures which environment to match.
      Returns:
      an array of GCP Environments.