client side validation can't have docs with explicit choices (#258)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-05-23 11:27:59 -07:00 committed by Alex Stephen
parent 3f29f076ae
commit f0b41b7daa
30 changed files with 86 additions and 307 deletions

View file

@ -69,11 +69,8 @@ options:
description: description:
- Describes the rights granted to the user specified by the other member of - Describes the rights granted to the user specified by the other member of
the access object . the access object .
- 'Some valid choices include: "READER", "WRITER", "OWNER"'
required: false required: false
choices:
- READER
- WRITER
- OWNER
special_group: special_group:
description: description:
- A special group to grant access to. - A special group to grant access to.

View file

@ -118,9 +118,8 @@ options:
type: type:
description: description:
- The only type supported is DAY, which will generate one partition per day. - The only type supported is DAY, which will generate one partition per day.
- 'Some valid choices include: "DAY"'
required: false required: false
choices:
- DAY
schema: schema:
description: description:
- Describes the schema of this table. - Describes the schema of this table.
@ -142,11 +141,8 @@ options:
mode: mode:
description: description:
- The field mode. - The field mode.
- 'Some valid choices include: "NULLABLE", "REQUIRED", "REPEATED"'
required: false required: false
choices:
- NULLABLE
- REQUIRED
- REPEATED
name: name:
description: description:
- The field name. - The field name.
@ -154,17 +150,9 @@ options:
type: type:
description: description:
- The field data type. - The field data type.
- 'Some valid choices include: "STRING", "BYTES", "INTEGER", "FLOAT",
"TIMESTAMP", "DATE", "TIME", "DATETIME", "RECORD"'
required: false required: false
choices:
- STRING
- BYTES
- INTEGER
- FLOAT
- TIMESTAMP
- DATE
- TIME
- DATETIME
- RECORD
encryption_configuration: encryption_configuration:
description: description:
- Custom encryption configuration. - Custom encryption configuration.
@ -197,10 +185,8 @@ options:
compression: compression:
description: description:
- The compression type of the data source. - The compression type of the data source.
- 'Some valid choices include: "GZIP", "NONE"'
required: false required: false
choices:
- GZIP
- NONE
ignore_unknown_values: ignore_unknown_values:
description: description:
- Indicates if BigQuery should allow extra values that are not represented - Indicates if BigQuery should allow extra values that are not represented
@ -216,14 +202,9 @@ options:
source_format: source_format:
description: description:
- The data format. - The data format.
- 'Some valid choices include: "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON",
"AVRO", "DATASTORE_BACKUP", "BIGTABLE"'
required: false required: false
choices:
- CSV
- GOOGLE_SHEETS
- NEWLINE_DELIMITED_JSON
- AVRO
- DATASTORE_BACKUP
- BIGTABLE
source_uris: source_uris:
description: description:
- 'The fully-qualified URIs that point to your data in Google Cloud. For Google - 'The fully-qualified URIs that point to your data in Google Cloud. For Google
@ -257,11 +238,8 @@ options:
mode: mode:
description: description:
- Field mode. - Field mode.
- 'Some valid choices include: "NULLABLE", "REQUIRED", "REPEATED"'
required: false required: false
choices:
- NULLABLE
- REQUIRED
- REPEATED
name: name:
description: description:
- Field name. - Field name.
@ -269,17 +247,9 @@ options:
type: type:
description: description:
- Field data type. - Field data type.
- 'Some valid choices include: "STRING", "BYTES", "INTEGER", "FLOAT",
"TIMESTAMP", "DATE", "TIME", "DATETIME", "RECORD"'
required: false required: false
choices:
- STRING
- BYTES
- INTEGER
- FLOAT
- TIMESTAMP
- DATE
- TIME
- DATETIME
- RECORD
google_sheets_options: google_sheets_options:
description: description:
- Additional options if sourceFormat is set to GOOGLE_SHEETS. - Additional options if sourceFormat is set to GOOGLE_SHEETS.
@ -311,10 +281,8 @@ options:
encoding: encoding:
description: description:
- The character encoding of the data. - The character encoding of the data.
- 'Some valid choices include: "UTF-8", "ISO-8859-1"'
required: false required: false
choices:
- UTF-8
- ISO-8859-1
field_delimiter: field_delimiter:
description: description:
- The separator for fields in a CSV file. - The separator for fields in a CSV file.
@ -361,10 +329,8 @@ options:
encoding: encoding:
description: description:
- The encoding of the values when the type is not STRING. - The encoding of the values when the type is not STRING.
- 'Some valid choices include: "TEXT", "BINARY"'
required: false required: false
choices:
- TEXT
- BINARY
field_name: field_name:
description: description:
- If the qualifier is not a valid BigQuery field identifier, a - If the qualifier is not a valid BigQuery field identifier, a
@ -384,20 +350,14 @@ options:
type: type:
description: description:
- The type to convert the value in cells of this column. - The type to convert the value in cells of this column.
- 'Some valid choices include: "BYTES", "STRING", "INTEGER", "FLOAT",
"BOOLEAN"'
required: false required: false
choices:
- BYTES
- STRING
- INTEGER
- FLOAT
- BOOLEAN
encoding: encoding:
description: description:
- The encoding of the values when the type is not STRING. - The encoding of the values when the type is not STRING.
- 'Some valid choices include: "TEXT", "BINARY"'
required: false required: false
choices:
- TEXT
- BINARY
family_id: family_id:
description: description:
- Identifier of the column family. - Identifier of the column family.
@ -411,13 +371,9 @@ options:
type: type:
description: description:
- The type to convert the value in cells of this column family. - The type to convert the value in cells of this column family.
- 'Some valid choices include: "BYTES", "STRING", "INTEGER", "FLOAT",
"BOOLEAN"'
required: false required: false
choices:
- BYTES
- STRING
- INTEGER
- FLOAT
- BOOLEAN
dataset: dataset:
description: description:
- Name of the dataset. - Name of the dataset.

View file

@ -66,12 +66,10 @@ options:
description: description:
- The type of address to reserve, either INTERNAL or EXTERNAL. - The type of address to reserve, either INTERNAL or EXTERNAL.
- If unspecified, defaults to EXTERNAL. - If unspecified, defaults to EXTERNAL.
- 'Some valid choices include: "INTERNAL", "EXTERNAL"'
required: false required: false
default: EXTERNAL default: EXTERNAL
version_added: 2.7 version_added: 2.7
choices:
- INTERNAL
- EXTERNAL
description: description:
description: description:
- An optional description of this resource. - An optional description of this resource.
@ -89,11 +87,9 @@ options:
- 'The networking tier used for configuring this address. This field can take - '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 the following values: PREMIUM or STANDARD. If this field is not specified, it
is assumed to be PREMIUM.' is assumed to be PREMIUM.'
- 'Some valid choices include: "PREMIUM", "STANDARD"'
required: false required: false
version_added: 2.8 version_added: 2.8
choices:
- PREMIUM
- STANDARD
subnetwork: subnetwork:
description: description:
- The URL of the subnetwork in which to reserve the address. If an IP address - The URL of the subnetwork in which to reserve the address. If an IP address

View file

@ -66,12 +66,9 @@ options:
- Specifies the balancing mode for this backend. - Specifies the balancing mode for this backend.
- For global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION. - For global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION.
Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for TCP/SSL). Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for TCP/SSL).
- 'Some valid choices include: "UTILIZATION", "RATE", "CONNECTION"'
required: false required: false
default: UTILIZATION default: UTILIZATION
choices:
- UTILIZATION
- RATE
- CONNECTION
capacity_scaler: capacity_scaler:
description: description:
- A multiplier applied to the group's maximum servicing capacity (based on - A multiplier applied to the group's maximum servicing capacity (based on
@ -242,11 +239,10 @@ options:
load balancing. A backend service created for one type of load balancing cannot load balancing. A backend service created for one type of load balancing cannot
be used with the other. Must be `EXTERNAL` for a global backend service. Defaults be used with the other. Must be `EXTERNAL` for a global backend service. Defaults
to `EXTERNAL`. to `EXTERNAL`.
- 'Some valid choices include: "EXTERNAL"'
required: false required: false
default: EXTERNAL default: EXTERNAL
version_added: 2.7 version_added: 2.7
choices:
- EXTERNAL
name: name:
description: description:
- Name of the resource. Provided by the client when the resource is created. The - Name of the resource. Provided by the client when the resource is created. The
@ -267,13 +263,8 @@ options:
- 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP. - 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP.
**NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result
in errors if used with the GA API.' in errors if used with the GA API.'
- 'Some valid choices include: "HTTP", "HTTPS", "HTTP2", "TCP", "SSL"'
required: false required: false
choices:
- HTTP
- HTTPS
- HTTP2
- TCP
- SSL
security_policy: security_policy:
description: description:
- The security policy associated with this backend service. - The security policy associated with this backend service.
@ -284,11 +275,8 @@ options:
- Type of session affinity to use. The default is NONE. - Type of session affinity to use. The default is NONE.
- When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. - When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE.
- When the protocol is UDP, this field is not used. - When the protocol is UDP, this field is not used.
- 'Some valid choices include: "NONE", "CLIENT_IP", "GENERATED_COOKIE"'
required: false required: false
choices:
- NONE
- CLIENT_IP
- GENERATED_COOKIE
timeout_sec: timeout_sec:
description: description:
- How many seconds to wait for the backend before considering it a failed request. - How many seconds to wait for the backend before considering it a failed request.

View file

@ -114,11 +114,9 @@ options:
- 'Direction of traffic to which this firewall applies; default is INGRESS. Note: - 'Direction of traffic to which this firewall applies; default is INGRESS. Note:
For INGRESS traffic, it is NOT supported to specify destinationRanges; For EGRESS For INGRESS traffic, it is NOT supported to specify destinationRanges; For EGRESS
traffic, it is NOT supported to specify sourceRanges OR sourceTags.' traffic, it is NOT supported to specify sourceRanges OR sourceTags.'
- 'Some valid choices include: "INGRESS", "EGRESS"'
required: false required: false
version_added: 2.8 version_added: 2.8
choices:
- INGRESS
- EGRESS
disabled: disabled:
description: description:
- Denotes whether the firewall rule is disabled, i.e not applied to the network - Denotes whether the firewall rule is disabled, i.e not applied to the network

View file

@ -81,14 +81,8 @@ options:
- The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, - The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
AH, SCTP or ICMP. AH, SCTP or ICMP.
- When the load balancing scheme is INTERNAL, only TCP and UDP are valid. - 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 required: false
choices:
- TCP
- UDP
- ESP
- AH
- SCTP
- ICMP
backend_service: backend_service:
description: description:
- A BackendService to receive the matched traffic. This is used only for INTERNAL - A BackendService to receive the matched traffic. This is used only for INTERNAL
@ -102,10 +96,8 @@ options:
ip_version: ip_version:
description: description:
- ipVersion is not a valid field for regional forwarding rules. - ipVersion is not a valid field for regional forwarding rules.
- 'Some valid choices include: "IPV4", "IPV6"'
required: false required: false
choices:
- IPV4
- IPV6
load_balancing_scheme: load_balancing_scheme:
description: description:
- 'This signifies what the ForwardingRule will be used for and can only take the - 'This signifies what the ForwardingRule will be used for and can only take the
@ -113,10 +105,8 @@ options:
be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL
means that this will be used for External Load Balancing (HTTP(S) LB, External means that this will be used for External Load Balancing (HTTP(S) LB, External
TCP/UDP LB, SSL Proxy) .' TCP/UDP LB, SSL Proxy) .'
- 'Some valid choices include: "INTERNAL", "EXTERNAL"'
required: false required: false
choices:
- INTERNAL
- EXTERNAL
name: name:
description: description:
- Name of the resource; provided by the client when the resource is created. The - Name of the resource; provided by the client when the resource is created. The
@ -199,11 +189,9 @@ options:
- 'The networking tier used for configuring this address. This field can take - '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 the following values: PREMIUM or STANDARD. If this field is not specified, it
is assumed to be PREMIUM.' is assumed to be PREMIUM.'
- 'Some valid choices include: "PREMIUM", "STANDARD"'
required: false required: false
version_added: 2.8 version_added: 2.8
choices:
- PREMIUM
- STANDARD
service_label: service_label:
description: description:
- An optional prefix to the service name for this Forwarding Rule. - An optional prefix to the service name for this Forwarding Rule.

View file

@ -70,21 +70,17 @@ options:
description: description:
- The IP Version that will be used by this address. Valid options are `IPV4` or - The IP Version that will be used by this address. Valid options are `IPV4` or
`IPV6`. The default value is `IPV4`. `IPV6`. The default value is `IPV4`.
- 'Some valid choices include: "IPV4", "IPV6"'
required: false required: false
choices:
- IPV4
- IPV6
address_type: address_type:
description: description:
- The type of the address to reserve, default is EXTERNAL. - The type of the address to reserve, default is EXTERNAL.
- "* EXTERNAL indicates public/external single IP address." - "* EXTERNAL indicates public/external single IP address."
- "* INTERNAL indicates internal IP ranges belonging to some network." - "* INTERNAL indicates internal IP ranges belonging to some network."
- 'Some valid choices include: "EXTERNAL", "INTERNAL"'
required: false required: false
default: EXTERNAL default: EXTERNAL
version_added: 2.8 version_added: 2.8
choices:
- EXTERNAL
- INTERNAL
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/globalAddresses)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/globalAddresses)'

View file

@ -83,22 +83,14 @@ options:
- The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, - The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
AH, SCTP or ICMP. When the load balancing scheme is INTERNAL_SELF_MANAGED, only AH, SCTP or ICMP. When the load balancing scheme is INTERNAL_SELF_MANAGED, only
TCP is valid. TCP is valid.
- 'Some valid choices include: "TCP", "UDP", "ESP", "AH", "SCTP", "ICMP"'
required: false required: false
choices:
- TCP
- UDP
- ESP
- AH
- SCTP
- ICMP
ip_version: ip_version:
description: description:
- The IP Version that will be used by this global forwarding rule. - The IP Version that will be used by this global forwarding rule.
- Valid options are IPV4 or IPV6. - Valid options are IPV4 or IPV6.
- 'Some valid choices include: "IPV4", "IPV6"'
required: false required: false
choices:
- IPV4
- IPV6
load_balancing_scheme: load_balancing_scheme:
description: description:
- This signifies what the GlobalForwardingRule will be used for. - This signifies what the GlobalForwardingRule will be used for.
@ -106,10 +98,8 @@ options:
Global HTTP(S) LB. The value of EXTERNAL means that this will be used for External Global HTTP(S) LB. The value of EXTERNAL means that this will be used for External
Global Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) NOTE: Currently Global Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) NOTE: Currently
global forwarding rules cannot be used for INTERNAL load balancing.' global forwarding rules cannot be used for INTERNAL load balancing.'
- 'Some valid choices include: "INTERNAL_SELF_MANAGED", "EXTERNAL"'
required: false required: false
choices:
- INTERNAL_SELF_MANAGED
- EXTERNAL
name: name:
description: description:
- Name of the resource; provided by the client when the resource is created. The - Name of the resource; provided by the client when the resource is created. The

View file

@ -100,12 +100,8 @@ options:
- Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not - Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
specified, the default is TCP. Exactly one of the protocol-specific health check specified, the default is TCP. Exactly one of the protocol-specific health check
field must be specified, which must match type field. field must be specified, which must match type field.
- 'Some valid choices include: "TCP", "SSL", "HTTP", "HTTPS"'
required: false required: false
choices:
- TCP
- SSL
- HTTP
- HTTPS
http_health_check: http_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -143,11 +139,9 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the - Specifies the type of proxy header to append before sending data to the
backend, either NONE or PROXY_V1. The default is NONE. backend, either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
default: NONE default: NONE
choices:
- NONE
- PROXY_V1
https_health_check: https_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -185,11 +179,9 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the - Specifies the type of proxy header to append before sending data to the
backend, either NONE or PROXY_V1. The default is NONE. backend, either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
default: NONE default: NONE
choices:
- NONE
- PROXY_V1
tcp_health_check: tcp_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -221,11 +213,9 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the - Specifies the type of proxy header to append before sending data to the
backend, either NONE or PROXY_V1. The default is NONE. backend, either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
default: NONE default: NONE
choices:
- NONE
- PROXY_V1
ssl_health_check: ssl_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -257,11 +247,9 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the - Specifies the type of proxy header to append before sending data to the
backend, either NONE or PROXY_V1. The default is NONE. backend, either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
default: NONE default: NONE
choices:
- NONE
- PROXY_V1
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks)'

View file

@ -91,9 +91,8 @@ options:
For newer Windows images, the server might also populate this property with For newer Windows images, the server might also populate this property with
the value WINDOWS to indicate that this is a Windows image. This value is the value WINDOWS to indicate that this is a Windows image. This value is
purely informational and does not enable or disable any features. purely informational and does not enable or disable any features.
- 'Some valid choices include: "VIRTIO_SCSI_MULTIQUEUE"'
required: false required: false
choices:
- VIRTIO_SCSI_MULTIQUEUE
image_encryption_key: image_encryption_key:
description: description:
- Encrypts the image using a customer-supplied encryption key. - Encrypts the image using a customer-supplied encryption key.
@ -134,9 +133,8 @@ options:
- The format used to encode and transmit the block device, which should be - The format used to encode and transmit the block device, which should be
TAR. This is just a container and transmission format and not a runtime TAR. This is just a container and transmission format and not a runtime
format. Provided by the client when the disk image is created. format. Provided by the client when the disk image is created.
- 'Some valid choices include: "TAR"'
required: false required: false
choices:
- TAR
sha1_checksum: sha1_checksum:
description: description:
- An optional SHA1 checksum of the disk image before unpackaging. - An optional SHA1 checksum of the disk image before unpackaging.
@ -179,9 +177,8 @@ options:
description: description:
- The type of the image used to create this disk. The default and only value is - The type of the image used to create this disk. The default and only value is
RAW . RAW .
- 'Some valid choices include: "RAW"'
required: false required: false
choices:
- RAW
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/images)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/images)'

View file

@ -157,18 +157,14 @@ options:
SCSI or NVME. The default is SCSI. SCSI or NVME. The default is SCSI.
- Persistent disks must always use SCSI and the request will fail if you attempt - Persistent disks must always use SCSI and the request will fail if you attempt
to attach a persistent disk in any other format than SCSI. to attach a persistent disk in any other format than SCSI.
- 'Some valid choices include: "SCSI", "NVME"'
required: false required: false
choices:
- SCSI
- NVME
mode: mode:
description: description:
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If - The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If
not specified, the default is to attach the disk in READ_WRITE mode. not specified, the default is to attach the disk in READ_WRITE mode.
- 'Some valid choices include: "READ_WRITE", "READ_ONLY"'
required: false required: false
choices:
- READ_WRITE
- READ_ONLY
source: source:
description: description:
- Reference to a disk. When creating a new instance, one of initializeParams.sourceImage - Reference to a disk. When creating a new instance, one of initializeParams.sourceImage
@ -185,10 +181,8 @@ options:
description: description:
- Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, - Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified,
the default is PERSISTENT. the default is PERSISTENT.
- 'Some valid choices include: "SCRATCH", "PERSISTENT"'
required: false required: false
choices:
- SCRATCH
- PERSISTENT
guest_accelerators: guest_accelerators:
description: description:
- List of the type and count of accelerator cards attached to the instance . - List of the type and count of accelerator cards attached to the instance .
@ -267,9 +261,8 @@ options:
type: type:
description: description:
- The type of configuration. The default and only option is ONE_TO_ONE_NAT. - The type of configuration. The default and only option is ONE_TO_ONE_NAT.
- 'Some valid choices include: "ONE_TO_ONE_NAT"'
required: true required: true
choices:
- ONE_TO_ONE_NAT
alias_ip_ranges: alias_ip_ranges:
description: description:
- An array of alias IP ranges for this network interface. Can only be specified - An array of alias IP ranges for this network interface. Can only be specified
@ -367,16 +360,10 @@ options:
RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED.' RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED.'
- As a user, use RUNNING to keep a machine "on" and TERMINATED to turn a machine - As a user, use RUNNING to keep a machine "on" and TERMINATED to turn a machine
off . off .
- 'Some valid choices include: "PROVISIONING", "STAGING", "RUNNING", "STOPPING",
"SUSPENDING", "SUSPENDED", "TERMINATED"'
required: false required: false
version_added: 2.8 version_added: 2.8
choices:
- PROVISIONING
- STAGING
- RUNNING
- STOPPING
- SUSPENDING
- SUSPENDED
- TERMINATED
tags: tags:
description: description:
- A list of tags to apply to this instance. Tags are used to identify valid sources - A list of tags to apply to this instance. Tags are used to identify valid sources

View file

@ -180,18 +180,14 @@ options:
either SCSI or NVME. The default is SCSI. either SCSI or NVME. The default is SCSI.
- Persistent disks must always use SCSI and the request will fail if you - Persistent disks must always use SCSI and the request will fail if you
attempt to attach a persistent disk in any other format than SCSI. attempt to attach a persistent disk in any other format than SCSI.
- 'Some valid choices include: "SCSI", "NVME"'
required: false required: false
choices:
- SCSI
- NVME
mode: mode:
description: description:
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. - The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
If not specified, the default is to attach the disk in READ_WRITE mode. If not specified, the default is to attach the disk in READ_WRITE mode.
- 'Some valid choices include: "READ_WRITE", "READ_ONLY"'
required: false required: false
choices:
- READ_WRITE
- READ_ONLY
source: source:
description: description:
- Reference to a disk. When creating a new instance, one of initializeParams.sourceImage - Reference to a disk. When creating a new instance, one of initializeParams.sourceImage
@ -210,10 +206,8 @@ options:
description: description:
- Specifies the type of the disk, either SCRATCH or PERSISTENT. If not - Specifies the type of the disk, either SCRATCH or PERSISTENT. If not
specified, the default is PERSISTENT. specified, the default is PERSISTENT.
- 'Some valid choices include: "SCRATCH", "PERSISTENT"'
required: false required: false
choices:
- SCRATCH
- PERSISTENT
machine_type: machine_type:
description: description:
- The machine type to use in the VM instance template. - The machine type to use in the VM instance template.
@ -281,9 +275,8 @@ options:
type: type:
description: description:
- The type of configuration. The default and only option is ONE_TO_ONE_NAT. - The type of configuration. The default and only option is ONE_TO_ONE_NAT.
- 'Some valid choices include: "ONE_TO_ONE_NAT"'
required: true required: true
choices:
- ONE_TO_ONE_NAT
alias_ip_ranges: alias_ip_ranges:
description: description:
- An array of alias IP ranges for this network interface. Can only be - An array of alias IP ranges for this network interface. Can only be

View file

@ -70,11 +70,8 @@ options:
type: type:
description: description:
- The type of InterconnectAttachment you wish to create. Defaults to DEDICATED. - The type of InterconnectAttachment you wish to create. Defaults to DEDICATED.
- 'Some valid choices include: "DEDICATED", "PARTNER", "PARTNER_PROVIDER"'
required: false required: false
choices:
- DEDICATED
- PARTNER
- PARTNER_PROVIDER
router: router:
description: description:
- URL of the cloud router to be used for dynamic routing. This router must be - URL of the cloud router to be used for dynamic routing. This router must be

View file

@ -94,10 +94,8 @@ options:
in the same region as the router. If set to `GLOBAL`, this network's cloud in the same region as the router. If set to `GLOBAL`, this network's cloud
routers will advertise routes with all subnetworks of this network, across routers will advertise routes with all subnetworks of this network, across
regions. regions.
- 'Some valid choices include: "REGIONAL", "GLOBAL"'
required: true required: true
choices:
- REGIONAL
- GLOBAL
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/networks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/networks)'

View file

@ -83,11 +83,9 @@ options:
description: description:
- User-specified flag to indicate which mode to use for advertisement. - User-specified flag to indicate which mode to use for advertisement.
- 'Valid values of this enum field are: DEFAULT, CUSTOM .' - 'Valid values of this enum field are: DEFAULT, CUSTOM .'
- 'Some valid choices include: "DEFAULT", "CUSTOM"'
required: false required: false
default: DEFAULT default: DEFAULT
choices:
- DEFAULT
- CUSTOM
advertised_groups: advertised_groups:
description: description:
- User-specified list of prefix groups to advertise in custom mode. - User-specified list of prefix groups to advertise in custom mode.

View file

@ -67,22 +67,15 @@ options:
when negotiating SSL with clients. This can be one of `COMPATIBLE`, `MODERN`, when negotiating SSL with clients. This can be one of `COMPATIBLE`, `MODERN`,
`RESTRICTED`, or `CUSTOM`. If using `CUSTOM`, the set of SSL features to enable `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`, the set of SSL features to enable
must be specified in the `customFeatures` field. must be specified in the `customFeatures` field.
- 'Some valid choices include: "COMPATIBLE", "MODERN", "RESTRICTED", "CUSTOM"'
required: false required: false
choices:
- COMPATIBLE
- MODERN
- RESTRICTED
- CUSTOM
min_tls_version: min_tls_version:
description: description:
- The minimum version of SSL protocol that can be used by the clients to establish - The minimum version of SSL protocol that can be used by the clients to establish
a connection with the load balancer. This can be one of `TLS_1_0`, `TLS_1_1`, a connection with the load balancer. This can be one of `TLS_1_0`, `TLS_1_1`,
`TLS_1_2`. `TLS_1_2`.
- 'Some valid choices include: "TLS_1_0", "TLS_1_1", "TLS_1_2"'
required: false required: false
choices:
- TLS_1_0
- TLS_1_1
- TLS_1_2
custom_features: custom_features:
description: description:
- A list of features enabled when the selected profile is CUSTOM. The method returns - A list of features enabled when the selected profile is CUSTOM. The method returns

View file

@ -68,12 +68,9 @@ options:
one of NONE, ENABLE, or DISABLE. If NONE is specified, uses the QUIC policy one of NONE, ENABLE, or DISABLE. If NONE is specified, uses the QUIC policy
with no user overrides, which is equivalent to DISABLE. Not specifying this with no user overrides, which is equivalent to DISABLE. Not specifying this
field is equivalent to specifying NONE. field is equivalent to specifying NONE.
- 'Some valid choices include: "NONE", "ENABLE", "DISABLE"'
required: false required: false
version_added: 2.7 version_added: 2.7
choices:
- NONE
- ENABLE
- DISABLE
ssl_certificates: ssl_certificates:
description: description:
- A list of SslCertificate resources that are used to authenticate connections - A list of SslCertificate resources that are used to authenticate connections

View file

@ -118,11 +118,8 @@ options:
in the pool while that instance remains healthy." in the pool while that instance remains healthy."
- "- CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol - "- CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol
will go to the same instance in the pool while that instance remains healthy." will go to the same instance in the pool while that instance remains healthy."
- 'Some valid choices include: "NONE", "CLIENT_IP", "CLIENT_IP_PROTO"'
required: false required: false
choices:
- NONE
- CLIENT_IP
- CLIENT_IP_PROTO
region: region:
description: description:
- The region where the target pool resides. - The region where the target pool resides.

View file

@ -65,10 +65,8 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the backend, - Specifies the type of proxy header to append before sending data to the backend,
either NONE or PROXY_V1. The default is NONE. either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
choices:
- NONE
- PROXY_V1
service: service:
description: description:
- A reference to the BackendService resource. - A reference to the BackendService resource.

View file

@ -65,10 +65,8 @@ options:
description: description:
- Specifies the type of proxy header to append before sending data to the backend, - Specifies the type of proxy header to append before sending data to the backend,
either NONE or PROXY_V1. The default is NONE. either NONE or PROXY_V1. The default is NONE.
- 'Some valid choices include: "NONE", "PROXY_V1"'
required: false required: false
choices:
- NONE
- PROXY_V1
service: service:
description: description:
- A reference to the BackendService resource. - A reference to the BackendService resource.

View file

@ -176,10 +176,8 @@ options:
options: logging.googleapis.com - the Google Cloud Logging service.' options: logging.googleapis.com - the Google Cloud Logging service.'
- none - no logs will be exported from the cluster. - none - no logs will be exported from the cluster.
- if left as an empty string,logging.googleapis.com will be used. - if left as an empty string,logging.googleapis.com will be used.
- 'Some valid choices include: "logging.googleapis.com", "none"'
required: false required: false
choices:
- logging.googleapis.com
- none
monitoring_service: monitoring_service:
description: description:
- The monitoring service the cluster should use to write metrics. - The monitoring service the cluster should use to write metrics.
@ -187,10 +185,8 @@ options:
service.' service.'
- none - no metrics will be exported from the cluster. - none - no metrics will be exported from the cluster.
- if left as an empty string, monitoring.googleapis.com will be used. - if left as an empty string, monitoring.googleapis.com will be used.
- 'Some valid choices include: "monitoring.googleapis.com", "none"'
required: false required: false
choices:
- monitoring.googleapis.com
- none
network: network:
description: description:
- The name of the Google Compute Engine network to which the cluster is connected. - The name of the Google Compute Engine network to which the cluster is connected.

View file

@ -141,12 +141,10 @@ options:
- 'The zone''s visibility: public zones are exposed to the Internet, while private - 'The zone''s visibility: public zones are exposed to the Internet, while private
zones are visible only to Virtual Private Cloud resources.' zones are visible only to Virtual Private Cloud resources.'
- 'Must be one of: `public`, `private`.' - 'Must be one of: `public`, `private`.'
- 'Some valid choices include: "private", "public"'
required: false required: false
default: public default: public
version_added: 2.8 version_added: 2.8
choices:
- private
- public
private_visibility_config: private_visibility_config:
description: description:
- For privately visible zones, the set of Virtual Private Cloud resources that - For privately visible zones, the set of Virtual Private Cloud resources that

View file

@ -58,21 +58,9 @@ options:
type: type:
description: description:
- One of valid DNS resource types. - One of valid DNS resource types.
- 'Some valid choices include: "A", "AAAA", "CAA", "CNAME", "MX", "NAPTR", "NS",
"PTR", "SOA", "SPF", "SRV", "TLSA", "TXT"'
required: true required: true
choices:
- A
- AAAA
- CAA
- CNAME
- MX
- NAPTR
- NS
- PTR
- SOA
- SPF
- SRV
- TLSA
- TXT
ttl: ttl:
description: description:
- Number of seconds that this ResourceRecordSet can be cached by resolvers. - Number of seconds that this ResourceRecordSet can be cached by resolvers.

View file

@ -67,14 +67,9 @@ options:
stage: stage:
description: description:
- The current launch stage of the role. - The current launch stage of the role.
- 'Some valid choices include: "ALPHA", "BETA", "GA", "DEPRECATED", "DISABLED",
"EAP"'
required: false required: false
choices:
- ALPHA
- BETA
- GA
- DEPRECATED
- DISABLED
- EAP
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
''' '''

View file

@ -50,19 +50,13 @@ options:
private_key_type: private_key_type:
description: description:
- Output format for the service account key. - Output format for the service account key.
- 'Some valid choices include: "TYPE_UNSPECIFIED", "TYPE_PKCS12_FILE", "TYPE_GOOGLE_CREDENTIALS_FILE"'
required: false required: false
choices:
- TYPE_UNSPECIFIED
- TYPE_PKCS12_FILE
- TYPE_GOOGLE_CREDENTIALS_FILE
key_algorithm: key_algorithm:
description: description:
- Specifies the algorithm for the key. - Specifies the algorithm for the key.
- 'Some valid choices include: "KEY_ALG_UNSPECIFIED", "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048"'
required: false required: false
choices:
- KEY_ALG_UNSPECIFIED
- KEY_ALG_RSA_1024
- KEY_ALG_RSA_2048
service_account: service_account:
description: description:
- The name of the serviceAccount. - The name of the serviceAccount.

View file

@ -105,11 +105,9 @@ options:
description: description:
- 'The service tier of the instance. Must be one of these values: - BASIC: standalone - 'The service tier of the instance. Must be one of these values: - BASIC: standalone
instance - STANDARD_HA: highly available primary/replica instances .' instance - STANDARD_HA: highly available primary/replica instances .'
- 'Some valid choices include: "BASIC", "STANDARD_HA"'
required: false required: false
default: BASIC default: BASIC
choices:
- BASIC
- STANDARD_HA
region: region:
description: description:
- The name of the Redis region of the instance. - The name of the Redis region of the instance.

View file

@ -54,11 +54,8 @@ options:
- "* FIRST_GEN: First Generation instance. MySQL only." - "* FIRST_GEN: First Generation instance. MySQL only."
- "* SECOND_GEN: Second Generation instance or PostgreSQL instance." - "* SECOND_GEN: Second Generation instance or PostgreSQL instance."
- "* EXTERNAL: A database server that is not managed by Google." - "* EXTERNAL: A database server that is not managed by Google."
- 'Some valid choices include: "FIRST_GEN", "SECOND_GEN", "EXTERNAL"'
required: false required: false
choices:
- FIRST_GEN
- SECOND_GEN
- EXTERNAL
connection_name: connection_name:
description: description:
- Connection name of the Cloud SQL instance used in connection strings. - Connection name of the Cloud SQL instance used in connection strings.
@ -70,12 +67,8 @@ options:
MYSQL_5_7. Defaults to MYSQL_5_6. MYSQL_5_7. Defaults to MYSQL_5_6.
- 'PostgreSQL instances: POSTGRES_9_6 The databaseVersion property can not be - 'PostgreSQL instances: POSTGRES_9_6 The databaseVersion property can not be
changed after instance creation.' changed after instance creation.'
- 'Some valid choices include: "MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "POSTGRES_9_6"'
required: false required: false
choices:
- MYSQL_5_5
- MYSQL_5_6
- MYSQL_5_7
- POSTGRES_9_6
failover_replica: failover_replica:
description: description:
- The name and status of the failover replica. This property is applicable only - The name and status of the failover replica. This property is applicable only
@ -94,11 +87,8 @@ options:
- "* CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master." - "* CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master."
- "* ON_PREMISES_INSTANCE: An instance running on the customer's premises." - "* ON_PREMISES_INSTANCE: An instance running on the customer's premises."
- "* READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica." - "* READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica."
- 'Some valid choices include: "CLOUD_SQL_INSTANCE", "ON_PREMISES_INSTANCE", "READ_REPLICA_INSTANCE"'
required: false required: false
choices:
- CLOUD_SQL_INSTANCE
- ON_PREMISES_INSTANCE
- READ_REPLICA_INSTANCE
ipv6_address: ipv6_address:
description: description:
- The IPv6 address assigned to the instance. This property is applicable only - The IPv6 address assigned to the instance. This property is applicable only
@ -255,10 +245,8 @@ options:
availability_type: availability_type:
description: description:
- The availabilityType define if your postgres instance is run zonal or regional. - The availabilityType define if your postgres instance is run zonal or regional.
- 'Some valid choices include: "ZONAL", "REGIONAL"'
required: false required: false
choices:
- ZONAL
- REGIONAL
backup_configuration: backup_configuration:
description: description:
- The daily backup configuration for the instance. - The daily backup configuration for the instance.

View file

@ -92,19 +92,13 @@ options:
team: team:
description: description:
- The team. - The team.
- 'Some valid choices include: "editors", "owners", "viewers"'
required: false required: false
choices:
- editors
- owners
- viewers
role: role:
description: description:
- The access permission for the entity. - The access permission for the entity.
- 'Some valid choices include: "OWNER", "READER", "WRITER"'
required: false required: false
choices:
- OWNER
- READER
- WRITER
cors: cors:
description: description:
- The bucket's Cross-Origin Resource Sharing (CORS) configuration. - The bucket's Cross-Origin Resource Sharing (CORS) configuration.
@ -161,10 +155,8 @@ options:
role: role:
description: description:
- The access permission for the entity. - The access permission for the entity.
- 'Some valid choices include: "OWNER", "READER"'
required: true required: true
choices:
- OWNER
- READER
lifecycle: lifecycle:
description: description:
- The bucket's lifecycle configuration. - The bucket's lifecycle configuration.
@ -190,10 +182,8 @@ options:
description: description:
- Type of the action. Currently, only Delete and SetStorageClass are - Type of the action. Currently, only Delete and SetStorageClass are
supported. supported.
- 'Some valid choices include: "Delete", "SetStorageClass"'
required: false required: false
choices:
- Delete
- SetStorageClass
condition: condition:
description: description:
- The condition(s) under which the action will be taken. - The condition(s) under which the action will be taken.
@ -274,14 +264,9 @@ options:
- Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY. - Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY.
If this value is not specified when the bucket is created, it will default to If this value is not specified when the bucket is created, it will default to
STANDARD. For more information, see storage classes. STANDARD. For more information, see storage classes.
- 'Some valid choices include: "MULTI_REGIONAL", "REGIONAL", "STANDARD", "NEARLINE",
"COLDLINE", "DURABLE_REDUCED_AVAILABILITY"'
required: false required: false
choices:
- MULTI_REGIONAL
- REGIONAL
- STANDARD
- NEARLINE
- COLDLINE
- DURABLE_REDUCED_AVAILABILITY
versioning: versioning:
description: description:
- The bucket's versioning configuration. - The bucket's versioning configuration.
@ -329,14 +314,9 @@ options:
- '- "projectPrivate": Object owner gets OWNER access, and project team members - '- "projectPrivate": Object owner gets OWNER access, and project team members
get access according to their roles.' get access according to their roles.'
- '- "publicRead": Object owner gets OWNER access, and allUsers get READER access.' - '- "publicRead": Object owner gets OWNER access, and allUsers get READER access.'
- 'Some valid choices include: "authenticatedRead", "bucketOwnerFullControl",
"bucketOwnerRead", "private", "projectPrivate", "publicRead"'
required: false required: false
choices:
- authenticatedRead
- bucketOwnerFullControl
- bucketOwnerRead
- private
- projectPrivate
- publicRead
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
''' '''

View file

@ -90,19 +90,13 @@ options:
team: team:
description: description:
- The team. - The team.
- 'Some valid choices include: "editors", "owners", "viewers"'
required: false required: false
choices:
- editors
- owners
- viewers
role: role:
description: description:
- The access permission for the entity. - The access permission for the entity.
- 'Some valid choices include: "OWNER", "READER", "WRITER"'
required: false required: false
choices:
- OWNER
- READER
- WRITER
extends_documentation_fragment: gcp extends_documentation_fragment: gcp
''' '''

View file

@ -50,10 +50,8 @@ options:
action: action:
description: description:
- Upload or download from the bucket. - Upload or download from the bucket.
- 'Some valid choices include: "download", "upload"'
required: false required: false
choices:
- download
- upload
overwrite: overwrite:
description: description:
- "'Overwrite the file on the bucket/local machine. If overwrite is false and - "'Overwrite the file on the bucket/local machine. If overwrite is false and