@PluginFactory
    public static GoogleCloudAppender build(
        @PluginAttribute("name") final String name,
        @PluginAttribute(value = "projectId", sensitive = true) final String projectId,
        @PluginAttribute(value = "labels", sensitive = false, defaultString = "application=cas") final String labels,
        @PluginAttribute(value = "flattenMessage", defaultBoolean = false, sensitive = false) final Boolean flattenMessage,
        @PluginAttribute(value = "requiresLocation", defaultBoolean = true, sensitive = false) final Boolean requiresLocation,
        @PluginElement("AppenderRef") final AppenderRef appenderRef,
        @PluginElement("Filter") final Filter filter,
        @PluginConfiguration final Configuration config) {
        return new GoogleCloudAppender(name, config, appenderRef, filter, projectId, flattenMessage, requiresLocation, labels);
    }
Build google cloud appender.

@param name           the name
@param projectId      the project id
@param flattenMessage the flatten message
@param appenderRef    the appender ref
@param filter         the filter
@param config         the config
@return the google cloud appender
support/cas-server-support-gcp-logging/src/main/java/org/apereo/cas/logging/GoogleCloudAppender.java