mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-22 19:01:23 -07:00
Formatting changes related to upstream code generator cleanup. (#162)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
f2746afceb
commit
99d5da337c
94 changed files with 1515 additions and 1845 deletions
|
@ -268,7 +268,7 @@ def main():
|
|||
next_hop_gateway=dict(type='str'),
|
||||
next_hop_instance=dict(),
|
||||
next_hop_ip=dict(type='str'),
|
||||
next_hop_vpn_tunnel=dict()
|
||||
next_hop_vpn_tunnel=dict(),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -329,7 +329,7 @@ def resource_to_request(module):
|
|||
u'nextHopGateway': module.params.get('next_hop_gateway'),
|
||||
u'nextHopInstance': replace_resource_dict(module.params.get(u'next_hop_instance', {}), 'selfLink'),
|
||||
u'nextHopIp': module.params.get('next_hop_ip'),
|
||||
u'nextHopVpnTunnel': replace_resource_dict(module.params.get(u'next_hop_vpn_tunnel', {}), 'selfLink')
|
||||
u'nextHopVpnTunnel': replace_resource_dict(module.params.get(u'next_hop_vpn_tunnel', {}), 'selfLink'),
|
||||
}
|
||||
return_vals = {}
|
||||
for k, v in request.items():
|
||||
|
@ -405,7 +405,7 @@ def response_to_hash(module, response):
|
|||
u'nextHopInstance': replace_resource_dict(module.params.get(u'next_hop_instance', {}), 'selfLink'),
|
||||
u'nextHopIp': module.params.get('next_hop_ip'),
|
||||
u'nextHopVpnTunnel': replace_resource_dict(module.params.get(u'next_hop_vpn_tunnel', {}), 'selfLink'),
|
||||
u'nextHopNetwork': response.get(u'nextHopNetwork')
|
||||
u'nextHopNetwork': response.get(u'nextHopNetwork'),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue