mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 20:30:27 -07:00
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
62c10180d8
commit
c5ddedf104
2 changed files with 19 additions and 0 deletions
|
@ -352,6 +352,12 @@ options:
|
||||||
elements: str
|
elements: str
|
||||||
required: false
|
required: false
|
||||||
type: list
|
type: list
|
||||||
|
custom_response_headers:
|
||||||
|
description:
|
||||||
|
- Headers that the HTTP/S load balancer should add to proxied responses.
|
||||||
|
elements: str
|
||||||
|
required: false
|
||||||
|
type: list
|
||||||
description:
|
description:
|
||||||
description:
|
description:
|
||||||
- An optional description of this resource.
|
- An optional description of this resource.
|
||||||
|
@ -1000,6 +1006,11 @@ customRequestHeaders:
|
||||||
- Headers that the HTTP/S load balancer should add to proxied requests.
|
- Headers that the HTTP/S load balancer should add to proxied requests.
|
||||||
returned: success
|
returned: success
|
||||||
type: list
|
type: list
|
||||||
|
customResponseHeaders:
|
||||||
|
description:
|
||||||
|
- Headers that the HTTP/S load balancer should add to proxied responses.
|
||||||
|
returned: success
|
||||||
|
type: list
|
||||||
fingerprint:
|
fingerprint:
|
||||||
description:
|
description:
|
||||||
- Fingerprint of this resource. A hash of the contents stored in this object. This
|
- Fingerprint of this resource. A hash of the contents stored in this object. This
|
||||||
|
@ -1353,6 +1364,7 @@ def main():
|
||||||
),
|
),
|
||||||
connection_draining=dict(type='dict', options=dict(draining_timeout_sec=dict(default=300, type='int'))),
|
connection_draining=dict(type='dict', options=dict(draining_timeout_sec=dict(default=300, type='int'))),
|
||||||
custom_request_headers=dict(type='list', elements='str'),
|
custom_request_headers=dict(type='list', elements='str'),
|
||||||
|
custom_response_headers=dict(type='list', elements='str'),
|
||||||
description=dict(type='str'),
|
description=dict(type='str'),
|
||||||
enable_cdn=dict(type='bool'),
|
enable_cdn=dict(type='bool'),
|
||||||
health_checks=dict(type='list', elements='str'),
|
health_checks=dict(type='list', elements='str'),
|
||||||
|
@ -1458,6 +1470,7 @@ def resource_to_request(module):
|
||||||
u'cdnPolicy': BackendServiceCdnpolicy(module.params.get('cdn_policy', {}), module).to_request(),
|
u'cdnPolicy': BackendServiceCdnpolicy(module.params.get('cdn_policy', {}), module).to_request(),
|
||||||
u'connectionDraining': BackendServiceConnectiondraining(module.params.get('connection_draining', {}), module).to_request(),
|
u'connectionDraining': BackendServiceConnectiondraining(module.params.get('connection_draining', {}), module).to_request(),
|
||||||
u'customRequestHeaders': module.params.get('custom_request_headers'),
|
u'customRequestHeaders': module.params.get('custom_request_headers'),
|
||||||
|
u'customResponseHeaders': module.params.get('custom_response_headers'),
|
||||||
u'description': module.params.get('description'),
|
u'description': module.params.get('description'),
|
||||||
u'enableCDN': module.params.get('enable_cdn'),
|
u'enableCDN': module.params.get('enable_cdn'),
|
||||||
u'healthChecks': module.params.get('health_checks'),
|
u'healthChecks': module.params.get('health_checks'),
|
||||||
|
@ -1545,6 +1558,7 @@ def response_to_hash(module, response):
|
||||||
u'connectionDraining': BackendServiceConnectiondraining(response.get(u'connectionDraining', {}), module).from_response(),
|
u'connectionDraining': BackendServiceConnectiondraining(response.get(u'connectionDraining', {}), module).from_response(),
|
||||||
u'creationTimestamp': response.get(u'creationTimestamp'),
|
u'creationTimestamp': response.get(u'creationTimestamp'),
|
||||||
u'customRequestHeaders': response.get(u'customRequestHeaders'),
|
u'customRequestHeaders': response.get(u'customRequestHeaders'),
|
||||||
|
u'customResponseHeaders': response.get(u'customResponseHeaders'),
|
||||||
u'fingerprint': response.get(u'fingerprint'),
|
u'fingerprint': response.get(u'fingerprint'),
|
||||||
u'description': response.get(u'description'),
|
u'description': response.get(u'description'),
|
||||||
u'enableCDN': response.get(u'enableCDN'),
|
u'enableCDN': response.get(u'enableCDN'),
|
||||||
|
|
|
@ -408,6 +408,11 @@ resources:
|
||||||
- Headers that the HTTP/S load balancer should add to proxied requests.
|
- Headers that the HTTP/S load balancer should add to proxied requests.
|
||||||
returned: success
|
returned: success
|
||||||
type: list
|
type: list
|
||||||
|
customResponseHeaders:
|
||||||
|
description:
|
||||||
|
- Headers that the HTTP/S load balancer should add to proxied responses.
|
||||||
|
returned: success
|
||||||
|
type: list
|
||||||
fingerprint:
|
fingerprint:
|
||||||
description:
|
description:
|
||||||
- Fingerprint of this resource. A hash of the contents stored in this object.
|
- Fingerprint of this resource. A hash of the contents stored in this object.
|
||||||
|
|
Loading…
Add table
Reference in a new issue