Cleanup BackendService after generation, add omitted fields. (#227)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
This commit is contained in:
The Magician 2019-04-04 13:50:34 -07:00 committed by Alex Stephen
parent 543e62a4f6
commit 5041b1924b
2 changed files with 5 additions and 4 deletions

View file

@ -249,8 +249,9 @@ options:
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
required: false
default: EXTERNAL
version_added: 2.7
choices:
- INTERNAL
@ -581,7 +582,7 @@ loadBalancingScheme:
description:
- Indicates whether the backend service will be used with internal or external load
balancing. A backend service created for one type of load balancing cannot be
used with the other.
used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name:
@ -690,7 +691,7 @@ def main():
type='dict',
options=dict(enabled=dict(type='bool'), oauth2_client_id=dict(required=True, type='str'), oauth2_client_secret=dict(required=True, type='str')),
),
load_balancing_scheme=dict(type='str', choices=['INTERNAL', 'EXTERNAL']),
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['INTERNAL', 'EXTERNAL']),
name=dict(required=True, type='str'),
port_name=dict(type='str'),
protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']),

View file

@ -295,7 +295,7 @@ items:
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name: