@@ -1006,10 +1006,10 @@ type Function struct {
10061006 // HTTPOption: configure how HTTP and HTTPS requests are handled
10071007 //
10081008 // possible values:
1009- // - redirected: Responds to HTTP request with a 302 redirect to ask the clients to use HTTPS.
1009+ // - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
10101010 // - enabled: Serve both HTTP and HTTPS traffic.
10111011 //
1012- // Default value: unknown_http_option
1012+ // Default value: enabled
10131013 HTTPOption FunctionHTTPOption `json:"http_option"`
10141014
10151015 RuntimeMessage string `json:"runtime_message"`
@@ -1702,10 +1702,10 @@ type CreateFunctionRequest struct {
17021702 // HTTPOption: configure how HTTP and HTTPS requests are handled
17031703 //
17041704 // possible values:
1705- // - redirected: Responds to HTTP request with a 302 redirect to ask the clients to use HTTPS.
1705+ // - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
17061706 // - enabled: Serve both HTTP and HTTPS traffic.
17071707 //
1708- // Default value: unknown_http_option
1708+ // Default value: enabled
17091709 HTTPOption FunctionHTTPOption `json:"http_option"`
17101710}
17111711
@@ -1782,10 +1782,10 @@ type UpdateFunctionRequest struct {
17821782 // HTTPOption: configure how HTTP and HTTPS requests are handled
17831783 //
17841784 // possible values:
1785- // - redirected: Responds to HTTP request with a 302 redirect to ask the clients to use HTTPS.
1785+ // - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
17861786 // - enabled: Serve both HTTP and HTTPS traffic.
17871787 //
1788- // Default value: unknown_http_option
1788+ // Default value: enabled
17891789 HTTPOption FunctionHTTPOption `json:"http_option"`
17901790}
17911791
0 commit comments