GKE ingress controller annotations for proxy body size, buffer size and sever snippets

I am using ‘nginx’ ingress class presently, i want to change this to ‘gce’ type ingress class. I have used many annotations in ingress with ‘nginx’ type, but i couldn’t able to find the matching annotations for ‘gce’ type. I have listed the annotations below which i used with ‘nginx’ type ingress,

nginx.ingress.kubernetes.io/affinity: cookie
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/large-client-header-buffers: "4 16k"
nginx.ingress.kubernetes.io/proxy-buffer-size: "128k"
nginx.ingress.kubernetes.io/proxy-body-size: "25m"
nginx.ingress.kubernetes.io/configuration-snippet: |
    more_clear_headers "Server"
    more_clear_headers "X-Powered-By";
    more_set_headers "Feature-Policy: accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'"
    more_set_headers "Referrer-Policy: no-referrer"
    more_set_headers "X-Content-Type-Options: nosniff"
    more_set_headers "X-Frame-Options: DENY"
    more_set_headers "X-Permitted-Cross-Domain-Policies: none"
    more_set_headers "X-Xss-Protection: 1; mode=block";
nginx.org/server-snippets: gzip on;

I couldn’t find an exact replacement for these annotations in ‘gce’. Also ‘gce’ type ingress class has limited annotations only as per the documentation. But somehow i have managed to use some annotations in a different way,

  1. affinity - using ingress ‘session_affinity’ backend configuration, i have achieved this. But still some properties are not applied when using this way. Refer this post.
  2. force-ssl-redirect - using ingress ‘https_redirect’ frontend configuration, i have achieved this.
  3. configuration-snippet - using ingress ‘custom_request_headers’ backend configuration, i have achieved this. But clearing the response header is not possible here, only we can set some headers.

I can’t able to find the replacement for other annotations such as large-client-header-buffers, proxy-buffer-size, proxy-body-size, server-snippets in ‘gce’ type ingress, if anyone faced or known about this case can help me to come out of this?

I also want to configure server-snippet in gce, is there any annotation support in google native ingres