in pkg/client/clientset/versioned/typed/networking/v1/gcpgatewaypolicy.go [183:195]
func (c *gCPGatewayPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GCPGatewayPolicy, err error) {
result = &v1.GCPGatewayPolicy{}
err = c.client.Patch(pt).
Namespace(c.ns).
Resource("gcpgatewaypolicies").
Name(name).
SubResource(subresources...).
VersionedParams(&opts, scheme.ParameterCodec).
Body(data).
Do(ctx).
Into(result)
return
}