Add enum values generation to documentation (#3404) (#207)

* Add enum values generation to documentation, remove previous handwritten lists unless they add value

* Add possible enum values to inspec doc generation

* Add default, possible values to the schema description

* Format fixes

* Try spacing to see how md looks

* PR feedback

* Order of operations

* Bigger spacefor markdown

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2020-04-24 13:45:23 -04:00 committed by GitHub
commit 282f8e3b82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 114 additions and 189 deletions

View file

@ -81,8 +81,7 @@ options:
type: str
ip_protocol:
description:
- The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
AH, SCTP or ICMP.
- The IP protocol to which this rule applies.
- When the load balancing scheme is INTERNAL, only TCP and UDP are valid.
- 'Some valid choices include: "TCP", "UDP", "ESP", "AH", "SCTP", "ICMP"'
required: false
@ -197,9 +196,8 @@ options:
version_added: '2.8'
network_tier:
description:
- 'The networking tier used for configuring this address. This field can take
the following values: PREMIUM or STANDARD. If this field is not specified, it
is assumed to be PREMIUM.'
- The networking tier used for configuring this address. If this field is not
specified, it is assumed to be PREMIUM.
- 'Some valid choices include: "PREMIUM", "STANDARD"'
required: false
type: str
@ -352,8 +350,7 @@ IPAddress:
type: str
IPProtocol:
description:
- The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH,
SCTP or ICMP.
- The IP protocol to which this rule applies.
- When the load balancing scheme is INTERNAL, only TCP and UDP are valid.
returned: success
type: str
@ -446,9 +443,8 @@ allPorts:
type: bool
networkTier:
description:
- 'The networking tier used for configuring this address. This field can take the
following values: PREMIUM or STANDARD. If this field is not specified, it is assumed
to be PREMIUM.'
- The networking tier used for configuring this address. If this field is not specified,
it is assumed to be PREMIUM.
returned: success
type: str
serviceLabel: