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

@ -126,7 +126,7 @@ resources:
contains:
balancingMode:
description:
- Specifies the balancing mode for this backend. Defaults to CONNECTION.
- Specifies the balancing mode for this backend.
returned: success
type: str
capacityScaler:
@ -268,8 +268,7 @@ resources:
description:
- Indicates what kind of load balancing this regional backend service will be
used for. A backend service created for one type of load balancing cannot
be used with the other(s). Must be `INTERNAL` or `INTERNAL_MANAGED`. Defaults
to `INTERNAL`.
be used with the other(s).
returned: success
type: str
name:
@ -285,9 +284,8 @@ resources:
protocol:
description:
- The protocol this RegionBackendService uses to communicate with backends.
- 'Possible values are HTTP, HTTPS, HTTP2, SSL, TCP, and UDP. 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.'
- '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
sessionAffinity: