code: @TaskAction
    public void checkCloudSdkAction()
        throws CloudSdkNotFoundException, CloudSdkVersionFileException, CloudSdkOutOfDateException,
            AppEngineJavaComponentsNotInstalledException {
      // These properties are only set by AppEngineCorePluginConfiguration if the correct config
      // params are set in the tools extension.
      if (Strings.isNullOrEmpty(version) || cloudSdk == null) {
        throw new GradleException(
            "Cloud SDK home path and version must be configured in order to run this task.");
      }
  
      if (!version.equals(cloudSdk.getVersion().toString())) {
        throw new GradleException(
            "Specified Cloud SDK version ("
                + version
                + ") does not match installed version ("
                + cloudSdk.getVersion()
                + ").");
      }
  
      cloudSdk.validateCloudSdk();
      if (requiresAppEngineJava) {
        cloudSdk.validateAppEngineJavaComponents();
      }
    }
docs: Task entrypoint : Verify Cloud SDK installation.