diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index 64f39f7..72f5f94 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -264,11 +264,14 @@ options: protocol: description: - The protocol this BackendService uses to communicate with backends. - - Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + - 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP. + **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result + in errors if used with the GA API.' required: false choices: - HTTP - HTTPS + - HTTP2 - TCP - SSL security_policy: @@ -584,7 +587,9 @@ portName: protocol: description: - The protocol this BackendService uses to communicate with backends. - - Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + - 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP. **NOTE**: + HTTP2 is only valid for beta HTTP/2 load balancer types and may result in errors + if used with the GA API.' returned: success type: str securityPolicy: @@ -669,7 +674,7 @@ def main(): load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['EXTERNAL']), name=dict(required=True, type='str'), port_name=dict(type='str'), - protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']), + protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'HTTP2', 'TCP', 'SSL']), security_policy=dict(type='str'), session_affinity=dict(type='str', choices=['NONE', 'CLIENT_IP', 'GENERATED_COOKIE']), timeout_sec=dict(type='int', aliases=['timeout_seconds']), diff --git a/plugins/modules/gcp_compute_backend_service_facts.py b/plugins/modules/gcp_compute_backend_service_facts.py index 3ccf0c7..7c6e693 100644 --- a/plugins/modules/gcp_compute_backend_service_facts.py +++ b/plugins/modules/gcp_compute_backend_service_facts.py @@ -313,7 +313,9 @@ resources: protocol: description: - The protocol this BackendService uses to communicate with backends. - - Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + - 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP. + **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may + result in errors if used with the GA API.' returned: success type: str securityPolicy: