removing documentation fragment

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
Alex Stephen 2019-09-06 20:12:02 +00:00 committed by Modular Magician
parent d7f9a2782f
commit 84e760b022
130 changed files with 6177 additions and 370 deletions

View file

@ -34,7 +34,7 @@ description:
- A single firewall rule that is evaluated against incoming traffic and provides an - A single firewall rule that is evaluated against incoming traffic and provides an
action to take on matched requests. action to take on matched requests.
short_description: Creates a GCP FirewallRule short_description: Creates a GCP FirewallRule
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -75,10 +75,56 @@ options:
by the user. by the user.
required: false required: false
type: int type: int
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.firewall.ingressRules)' - 'API Reference: U(https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.firewall.ingressRules)'
- 'Official Documentation: U(https://cloud.google.com/appengine/docs/standard/python/creating-firewalls#creating_firewall_rules)' - 'Official Documentation: U(https://cloud.google.com/appengine/docs/standard/python/creating-firewalls#creating_firewall_rules)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,14 +33,61 @@ module: gcp_appengine_firewall_rule_info
description: description:
- Gather info for GCP FirewallRule - Gather info for GCP FirewallRule
short_description: Gather info for GCP FirewallRule short_description: Gather info for GCP FirewallRule
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
- requests >= 2.18.4 - requests >= 2.18.4
- google-auth >= 1.3.0 - google-auth >= 1.3.0
options: {} options:
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_bigquery_dataset
description: description:
- Datasets allow you to organize and control access to your tables. - Datasets allow you to organize and control access to your tables.
short_description: Creates a GCP Dataset short_description: Creates a GCP Dataset
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -167,7 +167,7 @@ options:
the default partition expiration time indicated by this property.' the default partition expiration time indicated by this property.'
required: false required: false
type: int type: int
version_added: 2.9 version_added: '2.9'
description: description:
description: description:
- A user-friendly description of the dataset. - A user-friendly description of the dataset.
@ -200,7 +200,43 @@ options:
required: false required: false
default: US default: US
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,14 +35,61 @@ description:
- This module was called C(gcp_bigquery_dataset_facts) before Ansible 2.9. The usage - This module was called C(gcp_bigquery_dataset_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Dataset short_description: Gather info for GCP Dataset
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
- requests >= 2.18.4 - requests >= 2.18.4
- google-auth >= 1.3.0 - google-auth >= 1.3.0
options: {} options:
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_bigquery_table
description: description:
- A Table that belongs to a Dataset . - A Table that belongs to a Dataset .
short_description: Creates a GCP Table short_description: Creates a GCP Table
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -77,7 +77,7 @@ options:
determines the sort order of the data. determines the sort order of the data.
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
description: description:
description: description:
- A user-friendly description of the dataset. - A user-friendly description of the dataset.
@ -105,7 +105,7 @@ options:
buffer. buffer.
required: false required: false
type: int type: int
version_added: 2.9 version_added: '2.9'
view: view:
description: description:
- The view definition. - The view definition.
@ -155,7 +155,7 @@ options:
or REQUIRED. or REQUIRED.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
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.
@ -460,7 +460,43 @@ options:
- Name of the dataset. - Name of the dataset.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_bigquery_table_facts) before Ansible 2.9. The usage - This module was called C(gcp_bigquery_table_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Table short_description: Gather info for GCP Table
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -47,7 +47,54 @@ options:
- Name of the dataset. - Name of the dataset.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudbuild_trigger
description: description:
- Configuration for an automated build in response to source repository changes. - Configuration for an automated build in response to source repository changes.
short_description: Creates a GCP Trigger short_description: Creates a GCP Trigger
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -284,10 +284,56 @@ options:
completed successfully. completed successfully.
required: false required: false
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/cloud-build/docs/api/reference/rest/)' - 'API Reference: U(https://cloud.google.com/cloud-build/docs/api/reference/rest/)'
- 'Automating builds using build triggers: U(https://cloud.google.com/cloud-build/docs/running-builds/automate-builds)' - 'Automating builds using build triggers: U(https://cloud.google.com/cloud-build/docs/running-builds/automate-builds)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
- The id for this resource is created by the API after you create the resource the - The id for this resource is created by the API after you create the resource the
first time. If you want to manage this resource after creation, you'll have to copy first time. If you want to manage this resource after creation, you'll have to copy
the generated id into the playbook. If you do not, new triggers will be created the generated id into the playbook. If you do not, new triggers will be created

View file

@ -35,14 +35,61 @@ description:
- This module was called C(gcp_cloudbuild_trigger_facts) before Ansible 2.9. The usage - This module was called C(gcp_cloudbuild_trigger_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Trigger short_description: Gather info for GCP Trigger
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
- requests >= 2.18.4 - requests >= 2.18.4
- google-auth >= 1.3.0 - google-auth >= 1.3.0
options: {} options:
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudfunctions_cloud_function
description: description:
- A Cloud Function that contains user computation executed in response to an event. - A Cloud Function that contains user computation executed in response to an event.
short_description: Creates a GCP CloudFunction short_description: Creates a GCP CloudFunction
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -158,7 +158,43 @@ options:
- Use HTTP to trigger this function. - Use HTTP to trigger this function.
required: false required: false
type: bool type: bool
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudfunctions_cloud_function_info
description: description:
- Gather info for GCP CloudFunction - Gather info for GCP CloudFunction
short_description: Gather info for GCP CloudFunction short_description: Gather info for GCP CloudFunction
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -45,7 +45,54 @@ options:
- The location of this cloud function. - The location of this cloud function.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
in one of the supported regions. If your project does not have an App Engine app, in one of the supported regions. If your project does not have an App Engine app,
you must create one. you must create one.
short_description: Creates a GCP Job short_description: Creates a GCP Job
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -279,10 +279,56 @@ options:
- Region where the scheduler job resides . - Region where the scheduler job resides .
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/scheduler/docs/reference/rest/)' - 'API Reference: U(https://cloud.google.com/scheduler/docs/reference/rest/)'
- 'Official Documentation: U(https://cloud.google.com/scheduler/)' - 'Official Documentation: U(https://cloud.google.com/scheduler/)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudscheduler_job_info
description: description:
- Gather info for GCP Job - Gather info for GCP Job
short_description: Gather info for GCP Job short_description: Gather info for GCP Job
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -45,7 +45,54 @@ options:
- Region where the scheduler job resides . - Region where the scheduler job resides .
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudtasks_queue
description: description:
- A named resource to which messages are sent by publishers. - A named resource to which messages are sent by publishers.
short_description: Creates a GCP Queue short_description: Creates a GCP Queue
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -162,7 +162,43 @@ options:
- The location of the queue. - The location of the queue.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_cloudtasks_queue_info
description: description:
- Gather info for GCP Queue - Gather info for GCP Queue
short_description: Gather info for GCP Queue short_description: Gather info for GCP Queue
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -45,7 +45,54 @@ options:
- The location of the queue. - The location of the queue.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -42,7 +42,7 @@ description:
a new internal IP address, either by Compute Engine or by you. External IP addresses a new internal IP address, either by Compute Engine or by you. External IP addresses
can be either ephemeral or static. can be either ephemeral or static.
short_description: Creates a GCP Address short_description: Creates a GCP Address
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -72,7 +72,7 @@ options:
required: false required: false
default: EXTERNAL default: EXTERNAL
type: str type: str
version_added: 2.7 version_added: '2.7'
description: description:
description: description:
- An optional description of this resource. - An optional description of this resource.
@ -87,6 +87,16 @@ options:
letter, or digit, except the last character, which cannot be a dash. letter, or digit, except the last character, which cannot be a dash.
required: true required: true
type: str type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT
for addresses that are used by VM instances, alias IP ranges, internal load
balancers, and similar resources.'
- This should only be set when using an Internal address.
- 'Some valid choices include: "GCE_ENDPOINT"'
required: false
type: str
version_added: '2.10'
network_tier: network_tier:
description: description:
- 'The networking tier used for configuring this address. This field can take - 'The networking tier used for configuring this address. This field can take
@ -95,7 +105,7 @@ options:
- 'Some valid choices include: "PREMIUM", "STANDARD"' - 'Some valid choices include: "PREMIUM", "STANDARD"'
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
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
@ -109,18 +119,64 @@ options:
}}"' }}"'
required: false required: false
type: dict type: dict
version_added: 2.7 version_added: '2.7'
region: region:
description: description:
- URL of the region where the regional address resides. - URL of the region where the regional address resides.
- This field is not applicable to global addresses. - This field is not applicable to global addresses.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/beta/addresses)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/beta/addresses)'
- 'Reserving a Static External IP Address: U(https://cloud.google.com/compute/docs/instances-and-network)' - 'Reserving a Static External IP Address: U(https://cloud.google.com/compute/docs/instances-and-network)'
- 'Reserving a Static Internal IP Address: U(https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)' - 'Reserving a Static Internal IP Address: U(https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -172,6 +228,14 @@ name:
except the last character, which cannot be a dash. except the last character, which cannot be a dash.
returned: success returned: success
type: str type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT
for addresses that are used by VM instances, alias IP ranges, internal load balancers,
and similar resources.'
- This should only be set when using an Internal address.
returned: success
type: str
networkTier: networkTier:
description: description:
- 'The networking tier used for configuring this address. This field can take the - 'The networking tier used for configuring this address. This field can take the
@ -223,6 +287,7 @@ def main():
address_type=dict(default='EXTERNAL', type='str'), address_type=dict(default='EXTERNAL', type='str'),
description=dict(type='str'), description=dict(type='str'),
name=dict(required=True, type='str'), name=dict(required=True, type='str'),
purpose=dict(type='str'),
network_tier=dict(type='str'), network_tier=dict(type='str'),
subnetwork=dict(type='dict'), subnetwork=dict(type='dict'),
region=dict(required=True, type='str'), region=dict(required=True, type='str'),
@ -282,6 +347,7 @@ def resource_to_request(module):
u'addressType': module.params.get('address_type'), u'addressType': module.params.get('address_type'),
u'description': module.params.get('description'), u'description': module.params.get('description'),
u'name': module.params.get('name'), u'name': module.params.get('name'),
u'purpose': module.params.get('purpose'),
u'networkTier': module.params.get('network_tier'), u'networkTier': module.params.get('network_tier'),
u'subnetwork': replace_resource_dict(module.params.get(u'subnetwork', {}), 'selfLink'), u'subnetwork': replace_resource_dict(module.params.get(u'subnetwork', {}), 'selfLink'),
} }
@ -355,6 +421,7 @@ def response_to_hash(module, response):
u'description': response.get(u'description'), u'description': response.get(u'description'),
u'id': response.get(u'id'), u'id': response.get(u'id'),
u'name': response.get(u'name'), u'name': response.get(u'name'),
u'purpose': response.get(u'purpose'),
u'networkTier': response.get(u'networkTier'), u'networkTier': response.get(u'networkTier'),
u'subnetwork': response.get(u'subnetwork'), u'subnetwork': response.get(u'subnetwork'),
u'users': response.get(u'users'), u'users': response.get(u'users'),

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_address_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_address_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Address short_description: Gather info for GCP Address
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -54,7 +54,54 @@ options:
- This field is not applicable to global addresses. - This field is not applicable to global addresses.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -111,6 +158,14 @@ resources:
letter, or digit, except the last character, which cannot be a dash. letter, or digit, except the last character, which cannot be a dash.
returned: success returned: success
type: str type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: -
GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges,
internal load balancers, and similar resources.'
- This should only be set when using an Internal address.
returned: success
type: str
networkTier: networkTier:
description: description:
- 'The networking tier used for configuring this address. This field can take - 'The networking tier used for configuring this address. This field can take

View file

@ -35,7 +35,7 @@ description:
- Autoscalers allow you to automatically scale virtual machine instances in managed - Autoscalers allow you to automatically scale virtual machine instances in managed
instance groups according to an autoscaling policy that you define. instance groups according to an autoscaling policy that you define.
short_description: Creates a GCP Autoscaler short_description: Creates a GCP Autoscaler
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -198,10 +198,56 @@ options:
- URL of the zone where the instance group resides. - URL of the zone where the instance group resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/autoscalers)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/autoscalers)'
- 'Autoscaling Groups of Instances: U(https://cloud.google.com/compute/docs/autoscaler/)' - 'Autoscaling Groups of Instances: U(https://cloud.google.com/compute/docs/autoscaler/)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_autoscaler_info
description: description:
- Gather info for GCP Autoscaler - Gather info for GCP Autoscaler
short_description: Gather info for GCP Autoscaler short_description: Gather info for GCP Autoscaler
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -51,7 +51,54 @@ options:
- URL of the zone where the instance group resides. - URL of the zone where the instance group resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
rather than a backend service. It can send requests for static content to a Cloud rather than a backend service. It can send requests for static content to a Cloud
Storage bucket and requests for dynamic content a virtual machine instance. Storage bucket and requests for dynamic content a virtual machine instance.
short_description: Creates a GCP BackendBucket short_description: Creates a GCP BackendBucket
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -62,7 +62,7 @@ options:
- Cloud CDN configuration for this Backend Bucket. - Cloud CDN configuration for this Backend Bucket.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
signed_url_cache_max_age_sec: signed_url_cache_max_age_sec:
description: description:
@ -97,10 +97,56 @@ options:
which cannot be a dash. which cannot be a dash.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/backendBuckets)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/backendBuckets)'
- 'Using a Cloud Storage bucket as a load balancer backend: U(https://cloud.google.com/compute/docs/load-balancing/http/backend-bucket)' - 'Using a Cloud Storage bucket as a load balancer backend: U(https://cloud.google.com/compute/docs/load-balancing/http/backend-bucket)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_backend_bucket_facts) before Ansible 2.9. The - This module was called C(gcp_compute_backend_bucket_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP BackendBucket short_description: Gather info for GCP BackendBucket
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
- For managed internal load balancing, use a regional backend service instead. - For managed internal load balancing, use a regional backend service instead.
- Currently self-managed internal load balancing is only available in beta. - Currently self-managed internal load balancing is only available in beta.
short_description: Creates a GCP BackendService short_description: Creates a GCP BackendService
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -134,7 +134,7 @@ options:
must be set. must be set.
required: false required: false
type: int type: int
version_added: 2.9 version_added: '2.9'
max_rate: max_rate:
description: description:
- The max requests per second (RPS) of the group. - The max requests per second (RPS) of the group.
@ -159,7 +159,7 @@ options:
must be set. must be set.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
max_utilization: max_utilization:
description: description:
- Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization - Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
@ -225,7 +225,7 @@ options:
required: false required: false
default: '3600' default: '3600'
type: int type: int
version_added: 2.8 version_added: '2.8'
connection_draining: connection_draining:
description: description:
- Settings for connection draining . - Settings for connection draining .
@ -263,7 +263,7 @@ options:
- Settings for enabling Cloud Identity Aware Proxy. - Settings for enabling Cloud Identity Aware Proxy.
required: false required: false
type: dict type: dict
version_added: 2.7 version_added: '2.7'
suboptions: suboptions:
enabled: enabled:
description: description:
@ -290,7 +290,7 @@ options:
required: false required: false
default: EXTERNAL default: EXTERNAL
type: str type: str
version_added: 2.7 version_added: '2.7'
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
@ -321,7 +321,7 @@ options:
- The security policy associated with this backend service. - The security policy associated with this backend service.
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
session_affinity: session_affinity:
description: description:
- Type of session affinity to use. The default is NONE. - Type of session affinity to use. The default is NONE.
@ -338,10 +338,56 @@ options:
type: int type: int
aliases: aliases:
- timeout_seconds - timeout_seconds
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/backendServices)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/backendServices)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/backend-service)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/backend-service)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_backend_service_facts) before Ansible 2.9. - This module was called C(gcp_compute_backend_service_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP BackendService short_description: Gather info for GCP BackendService
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -43,7 +43,7 @@ description:
- Add a persistent disk to your instance when you need reliable and affordable storage - Add a persistent disk to your instance when you need reliable and affordable storage
with consistent performance characteristics. with consistent performance characteristics.
short_description: Creates a GCP Disk short_description: Creates a GCP Disk
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -69,7 +69,7 @@ options:
- Labels to apply to this disk. A list of key->value pairs. - Labels to apply to this disk. A list of key->value pairs.
required: false required: false
type: dict type: dict
version_added: 2.7 version_added: '2.7'
licenses: licenses:
description: description:
- Any applicable publicly visible licenses. - Any applicable publicly visible licenses.
@ -104,14 +104,14 @@ options:
values for the caller's project. values for the caller's project.
required: false required: false
type: int type: int
version_added: 2.8 version_added: '2.8'
type: type:
description: description:
- URL of the disk type resource describing which disk type to use to create the - URL of the disk type resource describing which disk type to use to create the
disk. Provide this when creating the disk. disk. Provide this when creating the disk.
required: false required: false
type: str type: str
version_added: 2.7 version_added: '2.7'
source_image: source_image:
description: description:
- The source image used to create this disk. If the source image is deleted, this - The source image used to create this disk. If the source image is deleted, this
@ -203,10 +203,56 @@ options:
- The name of the encryption key that is stored in Google Cloud KMS. - The name of the encryption key that is stored in Google Cloud KMS.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/disks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/disks)'
- 'Adding a persistent disk: U(https://cloud.google.com/compute/docs/disks/add-persistent-disk)' - 'Adding a persistent disk: U(https://cloud.google.com/compute/docs/disks/add-persistent-disk)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_disk_facts) before Ansible 2.9. The usage has - This module was called C(gcp_compute_disk_facts) before Ansible 2.9. The usage has
not changed. not changed.
short_description: Gather info for GCP Disk short_description: Gather info for GCP Disk
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- A reference to the zone where the disk resides. - A reference to the zone where the disk resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -40,7 +40,7 @@ description:
incoming traffic. For all networks except the default network, you must create any incoming traffic. For all networks except the default network, you must create any
firewall rules you need. firewall rules you need.
short_description: Creates a GCP Firewall short_description: Creates a GCP Firewall
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -85,7 +85,7 @@ options:
and port-range tuple that describes a denied connection. and port-range tuple that describes a denied connection.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
ip_protocol: ip_protocol:
description: description:
@ -117,7 +117,7 @@ options:
in CIDR format. Only IPv4 is supported. in CIDR format. Only IPv4 is supported.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
direction: direction:
description: description:
- 'Direction of traffic to which this firewall applies; default is INGRESS. Note: - 'Direction of traffic to which this firewall applies; default is INGRESS. Note:
@ -126,7 +126,7 @@ options:
- 'Some valid choices include: "INGRESS", "EGRESS"' - 'Some valid choices include: "INGRESS", "EGRESS"'
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
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
@ -135,7 +135,7 @@ options:
rule will be enabled. rule will be enabled.
required: false required: false
type: bool type: bool
version_added: 2.8 version_added: '2.8'
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
@ -173,7 +173,7 @@ options:
required: false required: false
default: '1000' default: '1000'
type: int type: int
version_added: 2.8 version_added: '2.8'
source_ranges: source_ranges:
description: description:
- If source ranges are specified, the firewall will apply only to traffic that - If source ranges are specified, the firewall will apply only to traffic that
@ -198,7 +198,7 @@ options:
sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
source_tags: source_tags:
description: description:
- If source tags are specified, the firewall will apply only to traffic with source - If source tags are specified, the firewall will apply only to traffic with source
@ -220,7 +220,7 @@ options:
rule applies to all instances on the specified network. rule applies to all instances on the specified network.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
target_tags: target_tags:
description: description:
- A list of instance tags indicating sets of instances located in the network - A list of instance tags indicating sets of instances located in the network
@ -229,10 +229,56 @@ options:
the specified network. the specified network.
required: false required: false
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/firewalls)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/firewalls)'
- 'Official Documentation: U(https://cloud.google.com/vpc/docs/firewalls)' - 'Official Documentation: U(https://cloud.google.com/vpc/docs/firewalls)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_firewall_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_firewall_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Firewall short_description: Gather info for GCP Firewall
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol,
portRange] tuple. portRange] tuple.
short_description: Creates a GCP ForwardingRule short_description: Creates a GCP ForwardingRule
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -187,7 +187,7 @@ options:
}}"' }}"'
required: false required: false
type: dict type: dict
version_added: 2.7 version_added: '2.7'
all_ports: all_ports:
description: description:
- For internal TCP/UDP load balancing (i.e. load balancing scheme is INTERNAL - For internal TCP/UDP load balancing (i.e. load balancing scheme is INTERNAL
@ -196,7 +196,7 @@ options:
Used with backend service. Cannot be set if port or portRange are set. Used with backend service. Cannot be set if port or portRange are set.
required: false required: false
type: bool type: bool
version_added: 2.8 version_added: '2.8'
network_tier: network_tier:
description: description:
- 'The networking tier used for configuring this address. This field can take - 'The networking tier used for configuring this address. This field can take
@ -205,7 +205,7 @@ options:
- 'Some valid choices include: "PREMIUM", "STANDARD"' - 'Some valid choices include: "PREMIUM", "STANDARD"'
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
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.
@ -218,17 +218,63 @@ options:
- This field is only used for INTERNAL load balancing. - This field is only used for INTERNAL load balancing.
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
region: region:
description: description:
- A reference to the region where the regional forwarding rule resides. - A reference to the region where the regional forwarding rule resides.
- This field is not applicable to global forwarding rules. - This field is not applicable to global forwarding rules.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/forwardingRule)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/forwardingRule)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/network/forwarding-rules)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/network/forwarding-rules)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_forwarding_rule_facts) before Ansible 2.9. - This module was called C(gcp_compute_forwarding_rule_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP ForwardingRule short_description: Gather info for GCP ForwardingRule
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -54,7 +54,54 @@ options:
- This field is not applicable to global forwarding rules. - This field is not applicable to global forwarding rules.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a Global Address resource. Global addresses are used for HTTP(S) load - Represents a Global Address resource. Global addresses are used for HTTP(S) load
balancing. balancing.
short_description: Creates a GCP GlobalAddress short_description: Creates a GCP GlobalAddress
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -54,7 +54,7 @@ options:
- The static external IP address represented by this resource. - The static external IP address represented by this resource.
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
description: description:
description: description:
- An optional description of this resource. - An optional description of this resource.
@ -84,7 +84,7 @@ options:
- This field is not applicable to addresses with addressType=EXTERNAL. - This field is not applicable to addresses with addressType=EXTERNAL.
required: false required: false
type: int type: int
version_added: 2.9 version_added: '2.9'
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.
@ -94,7 +94,7 @@ options:
required: false required: false
default: EXTERNAL default: EXTERNAL
type: str type: str
version_added: 2.8 version_added: '2.8'
purpose: purpose:
description: description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING - The purpose of the resource. For global internal addresses it can be * VPC_PEERING
@ -102,7 +102,7 @@ options:
- 'Some valid choices include: "VPC_PEERING"' - 'Some valid choices include: "VPC_PEERING"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
network: network:
description: description:
- The URL of the network in which to reserve the IP range. The IP range must be - The URL of the network in which to reserve the IP range. The IP range must be
@ -116,11 +116,57 @@ options:
}}"' }}"'
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
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)'
- 'Reserving a Static External IP Address: U(https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address)' - 'Reserving a Static External IP Address: U(https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_global_address_facts) before Ansible 2.9. The - This module was called C(gcp_compute_global_address_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP GlobalAddress short_description: Gather info for GCP GlobalAddress
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
- For more information, see U(https://cloud.google.com/compute/docs/load-balancing/http/) - For more information, see U(https://cloud.google.com/compute/docs/load-balancing/http/)
. .
short_description: Creates a GCP GlobalForwardingRule short_description: Creates a GCP GlobalForwardingRule
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -151,7 +151,43 @@ options:
- The forwarded traffic must be of a type appropriate to the target object. - The forwarded traffic must be of a type appropriate to the target object.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_global_forwarding_rule_facts) before Ansible - This module was called C(gcp_compute_global_forwarding_rule_facts) before Ansible
2.9. The usage has not changed. 2.9. The usage has not changed.
short_description: Gather info for GCP GlobalForwardingRule short_description: Gather info for GCP GlobalForwardingRule
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -41,7 +41,7 @@ description:
successfully to some number of consecutive probes, it is marked healthy again and successfully to some number of consecutive probes, it is marked healthy again and
can receive new connections. can receive new connections.
short_description: Creates a GCP HealthCheck short_description: Creates a GCP HealthCheck
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -171,7 +171,7 @@ options:
- 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"' - 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
https_health_check: https_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -233,7 +233,7 @@ options:
- 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"' - 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
tcp_health_check: tcp_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -288,7 +288,7 @@ options:
- 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"' - 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
ssl_health_check: ssl_health_check:
description: description:
- A nested object resource. - A nested object resource.
@ -343,11 +343,57 @@ options:
- 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"' - 'Some valid choices include: "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
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)'
- 'Official Documentation: U(https://cloud.google.com/load-balancing/docs/health-checks)' - 'Official Documentation: U(https://cloud.google.com/load-balancing/docs/health-checks)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_health_check_facts) before Ansible 2.9. The - This module was called C(gcp_compute_health_check_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP HealthCheck short_description: Gather info for GCP HealthCheck
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- An HttpHealthCheck resource. This resource defines a template for how individual - An HttpHealthCheck resource. This resource defines a template for how individual
VMs should be checked for health, via HTTP. VMs should be checked for health, via HTTP.
short_description: Creates a GCP HttpHealthCheck short_description: Creates a GCP HttpHealthCheck
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -113,10 +113,56 @@ options:
failures. The default value is 2. failures. The default value is 2.
required: false required: false
type: int type: int
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/httpHealthChecks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/httpHealthChecks)'
- 'Adding Health Checks: U(https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)' - 'Adding Health Checks: U(https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_http_health_check_facts) before Ansible 2.9. - This module was called C(gcp_compute_http_health_check_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP HttpHealthCheck short_description: Gather info for GCP HttpHealthCheck
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- An HttpsHealthCheck resource. This resource defines a template for how individual - An HttpsHealthCheck resource. This resource defines a template for how individual
VMs should be checked for health, via HTTPS. VMs should be checked for health, via HTTPS.
short_description: Creates a GCP HttpsHealthCheck short_description: Creates a GCP HttpsHealthCheck
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -110,10 +110,56 @@ options:
failures. The default value is 2. failures. The default value is 2.
required: false required: false
type: int type: int
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/httpsHealthChecks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/httpsHealthChecks)'
- 'Adding Health Checks: U(https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)' - 'Adding Health Checks: U(https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_https_health_check_facts) before Ansible 2.9. - This module was called C(gcp_compute_https_health_check_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP HttpsHealthCheck short_description: Gather info for GCP HttpsHealthCheck
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -43,7 +43,7 @@ description:
You can create a custom image from root persistent disks and other images. Then, You can create a custom image from root persistent disks and other images. Then,
use the custom image to create an instance. use the custom image to create an instance.
short_description: Creates a GCP Image short_description: Creates a GCP Image
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -118,7 +118,7 @@ options:
- Labels to apply to this Image. - Labels to apply to this Image.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
licenses: licenses:
description: description:
- Any applicable license URI. - Any applicable license URI.
@ -199,10 +199,56 @@ options:
- 'Some valid choices include: "RAW"' - 'Some valid choices include: "RAW"'
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
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)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/images)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/images)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_image_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_image_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Image short_description: Gather info for GCP Image
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_instance
description: description:
- An instance is a virtual machine (VM) hosted on Google's infrastructure. - An instance is a virtual machine (VM) hosted on Google's infrastructure.
short_description: Creates a GCP Instance short_description: Creates a GCP Instance
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -62,7 +62,7 @@ options:
- Whether the resource should be protected against deletion. - Whether the resource should be protected against deletion.
required: false required: false
type: bool type: bool
version_added: 2.9 version_added: '2.9'
disks: disks:
description: description:
- An array of disks that are associated with the instances that are created from - An array of disks that are associated with the instances that are created from
@ -231,13 +231,13 @@ options:
when using zonal DNS. when using zonal DNS.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
labels: labels:
description: description:
- Labels to apply to this instance. A list of key->value pairs. - Labels to apply to this instance. A list of key->value pairs.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
metadata: metadata:
description: description:
- The metadata key/value pairs to assign to instances that are created from this - The metadata key/value pairs to assign to instances that are created from this
@ -415,7 +415,7 @@ options:
- Configuration for various parameters related to shielded instances. - Configuration for various parameters related to shielded instances.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
enable_secure_boot: enable_secure_boot:
description: description:
@ -442,7 +442,7 @@ options:
"SUSPENDING", "SUSPENDED", "TERMINATED"' "SUSPENDING", "SUSPENDED", "TERMINATED"'
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
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
@ -472,7 +472,43 @@ options:
- A reference to the zone where the machine resides. - A reference to the zone where the machine resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -36,7 +36,7 @@ description:
template. Unlike managed instance groups, you must create and add instances to an template. Unlike managed instance groups, you must create and add instances to an
instance group manually. instance group manually.
short_description: Creates a GCP InstanceGroup short_description: Creates a GCP InstanceGroup
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -124,8 +124,44 @@ options:
- Only the full identifier of the instance will be returned. - Only the full identifier of the instance will be returned.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_instance_group_facts) before Ansible 2.9. The - This module was called C(gcp_compute_instance_group_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP InstanceGroup short_description: Gather info for GCP InstanceGroup
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- A reference to the zone where the instance group resides. - A reference to the zone where the instance group resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -38,7 +38,7 @@ description:
must separately verify the status of the individual instances. must separately verify the status of the individual instances.
- A managed instance group can have up to 1000 VM instances per group. - A managed instance group can have up to 1000 VM instances per group.
short_description: Creates a GCP InstanceGroupManager short_description: Creates a GCP InstanceGroupManager
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -122,7 +122,43 @@ options:
- The zone the managed instance group resides. - The zone the managed instance group resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_instance_group_manager_facts) before Ansible - This module was called C(gcp_compute_instance_group_manager_facts) before Ansible
2.9. The usage has not changed. 2.9. The usage has not changed.
short_description: Gather info for GCP InstanceGroupManager short_description: Gather info for GCP InstanceGroupManager
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- The zone the managed instance group resides. - The zone the managed instance group resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_instance_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_instance_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Instance short_description: Gather info for GCP Instance
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- A reference to the zone where the machine resides. - A reference to the zone where the machine resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -39,7 +39,7 @@ description:
- 'Tip: Disks should be set to autoDelete=true so that leftover disks are not left - 'Tip: Disks should be set to autoDelete=true so that leftover disks are not left
behind on machine deletion.' behind on machine deletion.'
short_description: Creates a GCP InstanceTemplate short_description: Creates a GCP InstanceTemplate
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -235,7 +235,7 @@ options:
- Labels to apply to this address. A list of key->value pairs. - Labels to apply to this address. A list of key->value pairs.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
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.
@ -443,7 +443,43 @@ options:
with RFC1035. with RFC1035.
required: false required: false
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_instance_template_facts) before Ansible 2.9. - This module was called C(gcp_compute_instance_template_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP InstanceTemplate short_description: Gather info for GCP InstanceTemplate
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents an InterconnectAttachment (VLAN attachment) resource. For more information, - Represents an InterconnectAttachment (VLAN attachment) resource. For more information,
see Creating VLAN Attachments. see Creating VLAN Attachments.
short_description: Creates a GCP InterconnectAttachment short_description: Creates a GCP InterconnectAttachment
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -55,7 +55,7 @@ options:
this will Pre-Activate the interconnect attachment . this will Pre-Activate the interconnect attachment .
required: false required: false
type: bool type: bool
version_added: 2.9 version_added: '2.9'
interconnect: interconnect:
description: description:
- URL of the underlying Interconnect object that this attachment's traffic will - URL of the underlying Interconnect object that this attachment's traffic will
@ -81,7 +81,7 @@ options:
"BPS_50G"' "BPS_50G"'
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
edge_availability_domain: edge_availability_domain:
description: description:
- Desired availability domain for the attachment. Only available for type PARTNER, - Desired availability domain for the attachment. Only available for type PARTNER,
@ -143,7 +143,43 @@ options:
- Region where the regional interconnect attachment resides. - Region where the regional interconnect attachment resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_interconnect_attachment_facts) before Ansible - This module was called C(gcp_compute_interconnect_attachment_facts) before Ansible
2.9. The usage has not changed. 2.9. The usage has not changed.
short_description: Gather info for GCP InterconnectAttachment short_description: Gather info for GCP InterconnectAttachment
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- Region where the regional interconnect attachment resides. - Region where the regional interconnect attachment resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_network
description: description:
- Manages a VPC network or legacy network resource on GCP. - Manages a VPC network or legacy network resource on GCP.
short_description: Creates a GCP Network short_description: Creates a GCP Network
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -90,7 +90,7 @@ options:
to determine what type of network-wide routing behavior to enforce. to determine what type of network-wide routing behavior to enforce.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
routing_mode: routing_mode:
description: description:
@ -102,10 +102,56 @@ options:
- 'Some valid choices include: "REGIONAL", "GLOBAL"' - 'Some valid choices include: "REGIONAL", "GLOBAL"'
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
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)'
- 'Official Documentation: U(https://cloud.google.com/vpc/docs/vpc)' - 'Official Documentation: U(https://cloud.google.com/vpc/docs/vpc)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_network_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_network_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Network short_description: Gather info for GCP Network
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -43,7 +43,7 @@ description:
- Add a persistent disk to your instance when you need reliable and affordable storage - Add a persistent disk to your instance when you need reliable and affordable storage
with consistent performance characteristics. with consistent performance characteristics.
short_description: Creates a GCP RegionDisk short_description: Creates a GCP RegionDisk
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -162,10 +162,56 @@ options:
base64 to either encrypt or decrypt this resource. base64 to either encrypt or decrypt this resource.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/beta/regionDisks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/beta/regionDisks)'
- 'Adding or Resizing Regional Persistent Disks: U(https://cloud.google.com/compute/docs/disks/regional-persistent-disk)' - 'Adding or Resizing Regional Persistent Disks: U(https://cloud.google.com/compute/docs/disks/regional-persistent-disk)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_region_disk_facts) before Ansible 2.9. The - This module was called C(gcp_compute_region_disk_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP RegionDisk short_description: Gather info for GCP RegionDisk
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- A reference to the region where the disk resides. - A reference to the region where the disk resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -48,7 +48,7 @@ description:
- A Route resource must have exactly one specification of either nextHopGateway, nextHopInstance, - A Route resource must have exactly one specification of either nextHopGateway, nextHopInstance,
nextHopIp, or nextHopVpnTunnel. nextHopIp, or nextHopVpnTunnel.
short_description: Creates a GCP Route short_description: Creates a GCP Route
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -75,7 +75,7 @@ options:
the resource. the resource.
required: false required: false
type: str type: str
version_added: 2.7 version_added: '2.7'
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
@ -147,10 +147,56 @@ options:
to "{{ name-of-resource }}"' to "{{ name-of-resource }}"'
required: false required: false
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/routes)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/routes)'
- 'Using Routes: U(https://cloud.google.com/vpc/docs/using-routes)' - 'Using Routes: U(https://cloud.google.com/vpc/docs/using-routes)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_route_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_route_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Route short_description: Gather info for GCP Route
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_router
description: description:
- Represents a Router resource. - Represents a Router resource.
short_description: Creates a GCP Router short_description: Creates a GCP Router
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -128,10 +128,56 @@ options:
- Region where the router resides. - Region where the router resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/routers)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/routers)'
- 'Google Cloud Router: U(https://cloud.google.com/router/docs/)' - 'Google Cloud Router: U(https://cloud.google.com/router/docs/)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_router_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_router_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Router short_description: Gather info for GCP Router
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- Region where the router resides. - Region where the router resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -41,7 +41,7 @@ description:
faster and at a much lower cost than if you regularly created a full image of the faster and at a much lower cost than if you regularly created a full image of the
disk. disk.
short_description: Creates a GCP Snapshot short_description: Creates a GCP Snapshot
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -127,10 +127,56 @@ options:
- The name of the encryption key that is stored in Google Cloud KMS. - The name of the encryption key that is stored in Google Cloud KMS.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/snapshots)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/snapshots)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/disks/create-snapshots)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/disks/create-snapshots)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_snapshot_info
description: description:
- Gather info for GCP Snapshot - Gather info for GCP Snapshot
short_description: Gather info for GCP Snapshot short_description: Gather info for GCP Snapshot
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -46,7 +46,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
a mechanism to upload an SSL key and certificate to the load balancer to serve secure a mechanism to upload an SSL key and certificate to the load balancer to serve secure
connections from the user. connections from the user.
short_description: Creates a GCP SslCertificate short_description: Creates a GCP SslCertificate
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -77,10 +77,56 @@ options:
- The write-only private key in PEM format. - The write-only private key in PEM format.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates)'
- 'Official Documentation: U(https://cloud.google.com/load-balancing/docs/ssl-certificates)' - 'Official Documentation: U(https://cloud.google.com/load-balancing/docs/ssl-certificates)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_ssl_certificate_facts) before Ansible 2.9. - This module was called C(gcp_compute_ssl_certificate_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP SslCertificate short_description: Gather info for GCP SslCertificate
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a SSL policy. SSL policies give you the ability to control the features - Represents a SSL policy. SSL policies give you the ability to control the features
of SSL that your SSL proxy or HTTPS load balancer negotiates. of SSL that your SSL proxy or HTTPS load balancer negotiates.
short_description: Creates a GCP SslPolicy short_description: Creates a GCP SslPolicy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -88,10 +88,56 @@ options:
if the profile is not CUSTOM. if the profile is not CUSTOM.
required: false required: false
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies)'
- 'Using SSL Policies: U(https://cloud.google.com/compute/docs/load-balancing/ssl-policies)' - 'Using SSL Policies: U(https://cloud.google.com/compute/docs/load-balancing/ssl-policies)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_ssl_policy_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_ssl_policy_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP SslPolicy short_description: Gather info for GCP SslPolicy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -49,7 +49,7 @@ description:
private IP addresses. You can isolate portions of the network, even entire subnets, private IP addresses. You can isolate portions of the network, even entire subnets,
using firewall rules. using firewall rules.
short_description: Creates a GCP Subnetwork short_description: Creates a GCP Subnetwork
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -104,7 +104,7 @@ options:
- Whether to enable flow logging for this subnetwork. - Whether to enable flow logging for this subnetwork.
required: false required: false
type: bool type: bool
version_added: 2.8 version_added: '2.8'
secondary_ip_ranges: secondary_ip_ranges:
description: description:
- An array of configurations for secondary IP ranges for VM instances contained - An array of configurations for secondary IP ranges for VM instances contained
@ -112,7 +112,7 @@ options:
of the subnetwork. The alias IPs may belong to either primary or secondary ranges. of the subnetwork. The alias IPs may belong to either primary or secondary ranges.
required: false required: false
type: list type: list
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
range_name: range_name:
description: description:
@ -140,11 +140,57 @@ options:
- URL of the GCP region for this subnetwork. - URL of the GCP region for this subnetwork.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks)'
- 'Private Google Access: U(https://cloud.google.com/vpc/docs/configure-private-google-access)' - 'Private Google Access: U(https://cloud.google.com/vpc/docs/configure-private-google-access)'
- 'Cloud Networking: U(https://cloud.google.com/vpc/docs/using-vpc)' - 'Cloud Networking: U(https://cloud.google.com/vpc/docs/using-vpc)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_subnetwork_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_subnetwork_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Subnetwork short_description: Gather info for GCP Subnetwork
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- URL of the GCP region for this subnetwork. - URL of the GCP region for this subnetwork.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a TargetHttpProxy resource, which is used by one or more global forwarding - Represents a TargetHttpProxy resource, which is used by one or more global forwarding
rule to route incoming HTTP requests to a URL map. rule to route incoming HTTP requests to a URL map.
short_description: Creates a GCP TargetHttpProxy short_description: Creates a GCP TargetHttpProxy
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -75,10 +75,56 @@ options:
}}"' }}"'
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetHttpProxies)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetHttpProxies)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_http_proxy_facts) before Ansible 2.9. - This module was called C(gcp_compute_target_http_proxy_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP TargetHttpProxy short_description: Gather info for GCP TargetHttpProxy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a TargetHttpsProxy resource, which is used by one or more global forwarding - Represents a TargetHttpsProxy resource, which is used by one or more global forwarding
rule to route incoming HTTPS requests to a URL map. rule to route incoming HTTPS requests to a URL map.
short_description: Creates a GCP TargetHttpsProxy short_description: Creates a GCP TargetHttpsProxy
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -74,7 +74,7 @@ options:
- 'Some valid choices include: "NONE", "ENABLE", "DISABLE"' - 'Some valid choices include: "NONE", "ENABLE", "DISABLE"'
required: false required: false
type: str type: str
version_added: 2.7 version_added: '2.7'
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
@ -94,7 +94,7 @@ options:
}}"' }}"'
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
url_map: url_map:
description: description:
- A reference to the UrlMap resource that defines the mapping from URL to the - A reference to the UrlMap resource that defines the mapping from URL to the
@ -106,10 +106,56 @@ options:
}}"' }}"'
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetHttpsProxies)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetHttpsProxies)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/http/target-proxies)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_https_proxy_facts) before Ansible 2.9. - This module was called C(gcp_compute_target_https_proxy_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP TargetHttpsProxy short_description: Gather info for GCP TargetHttpsProxy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_target_pool
description: description:
- Represents a TargetPool resource, used for Load Balancing. - Represents a TargetPool resource, used for Load Balancing.
short_description: Creates a GCP TargetPool short_description: Creates a GCP TargetPool
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -133,10 +133,56 @@ options:
- The region where the target pool resides. - The region where the target pool resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/targetPools)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/targetPools)'
- 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/network/target-pools)' - 'Official Documentation: U(https://cloud.google.com/compute/docs/load-balancing/network/target-pools)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_pool_facts) before Ansible 2.9. The - This module was called C(gcp_compute_target_pool_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP TargetPool short_description: Gather info for GCP TargetPool
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- The region where the target pool resides. - The region where the target pool resides.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a TargetSslProxy resource, which is used by one or more global forwarding - Represents a TargetSslProxy resource, which is used by one or more global forwarding
rule to route incoming SSL requests to a backend service. rule to route incoming SSL requests to a backend service.
short_description: Creates a GCP TargetSslProxy short_description: Creates a GCP TargetSslProxy
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -100,11 +100,57 @@ options:
}}"' }}"'
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetSslProxies)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetSslProxies)'
- 'Setting Up SSL proxy for Google Cloud Load Balancing: U(https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/)' - 'Setting Up SSL proxy for Google Cloud Load Balancing: U(https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_ssl_proxy_facts) before Ansible 2.9. - This module was called C(gcp_compute_target_ssl_proxy_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP TargetSslProxy short_description: Gather info for GCP TargetSslProxy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a TargetTcpProxy resource, which is used by one or more global forwarding - Represents a TargetTcpProxy resource, which is used by one or more global forwarding
rule to route incoming TCP requests to a Backend service. rule to route incoming TCP requests to a Backend service.
short_description: Creates a GCP TargetTcpProxy short_description: Creates a GCP TargetTcpProxy
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -81,10 +81,56 @@ options:
field to "{{ name-of-resource }}"' field to "{{ name-of-resource }}"'
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetTcpProxies)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/v1/targetTcpProxies)'
- 'Setting Up TCP proxy for Google Cloud Load Balancing: U(https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy)' - 'Setting Up TCP proxy for Google Cloud Load Balancing: U(https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/tcp-proxy)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_tcp_proxy_facts) before Ansible 2.9. - This module was called C(gcp_compute_target_tcp_proxy_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP TargetTcpProxy short_description: Gather info for GCP TargetTcpProxy
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- Represents a VPN gateway running in GCP. This virtual device is managed by Google, - Represents a VPN gateway running in GCP. This virtual device is managed by Google,
but used only by you. but used only by you.
short_description: Creates a GCP TargetVpnGateway short_description: Creates a GCP TargetVpnGateway
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -79,9 +79,55 @@ options:
- The region this gateway should sit in. - The region this gateway should sit in.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_target_vpn_gateway_facts) before Ansible 2.9. - This module was called C(gcp_compute_target_vpn_gateway_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP TargetVpnGateway short_description: Gather info for GCP TargetVpnGateway
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- The region this gateway should sit in. - The region this gateway should sit in.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- UrlMaps are used to route requests to a backend service based on rules that you - UrlMaps are used to route requests to a backend service based on rules that you
define for the host and path of an incoming URL. define for the host and path of an incoming URL.
short_description: Creates a GCP UrlMap short_description: Creates a GCP UrlMap
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -184,7 +184,43 @@ options:
service field to "{{ name-of-resource }}"' service field to "{{ name-of-resource }}"'
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_url_map_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_url_map_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP UrlMap short_description: Gather info for GCP UrlMap
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -48,7 +48,54 @@ options:
- Each additional filter in the list will act be added as an AND condition (filter1 - Each additional filter in the list will act be added as an AND condition (filter1
and filter2) . and filter2) .
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_compute_vpn_tunnel
description: description:
- VPN tunnel resource. - VPN tunnel resource.
short_description: Creates a GCP VpnTunnel short_description: Creates a GCP VpnTunnel
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -121,11 +121,57 @@ options:
- The region where the tunnel is located. - The region where the tunnel is located.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/vpnTunnels)' - 'API Reference: U(https://cloud.google.com/compute/docs/reference/rest/v1/vpnTunnels)'
- 'Cloud VPN Overview: U(https://cloud.google.com/vpn/docs/concepts/overview)' - 'Cloud VPN Overview: U(https://cloud.google.com/vpn/docs/concepts/overview)'
- 'Networks and Tunnel Routing: U(https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing)' - 'Networks and Tunnel Routing: U(https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_compute_vpn_tunnel_facts) before Ansible 2.9. The usage - This module was called C(gcp_compute_vpn_tunnel_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP VpnTunnel short_description: Gather info for GCP VpnTunnel
version_added: 2.7 version_added: '2.7'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -53,7 +53,54 @@ options:
- The region where the tunnel is located. - The region where the tunnel is located.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_container_cluster
description: description:
- A Google Container Engine cluster. - A Google Container Engine cluster.
short_description: Creates a GCP Cluster short_description: Creates a GCP Cluster
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -176,7 +176,7 @@ options:
for more information about support for GPUs. for more information about support for GPUs.
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
accelerator_count: accelerator_count:
description: description:
@ -194,14 +194,14 @@ options:
If unspecified, the default disk type is 'pd-standard' . If unspecified, the default disk type is 'pd-standard' .
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
min_cpu_platform: min_cpu_platform:
description: description:
- Minimum CPU platform to be used by this instance. The instance may be scheduled - Minimum CPU platform to be used by this instance. The instance may be scheduled
on the specified or newer CPU platform. on the specified or newer CPU platform.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
taints: taints:
description: description:
- List of kubernetes taints to be applied to each node. - List of kubernetes taints to be applied to each node.
@ -209,7 +209,7 @@ options:
.' .'
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
key: key:
description: description:
@ -253,7 +253,7 @@ options:
is issued. is issued.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
issue_client_certificate: issue_client_certificate:
description: description:
@ -290,7 +290,7 @@ options:
- Configuration for a private cluster. - Configuration for a private cluster.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
enable_private_nodes: enable_private_nodes:
description: description:
@ -361,7 +361,7 @@ options:
for the nodes. for the nodes.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
disabled: disabled:
description: description:
@ -381,20 +381,20 @@ options:
type: list type: list
aliases: aliases:
- nodeLocations - nodeLocations
version_added: 2.9 version_added: '2.9'
resource_labels: resource_labels:
description: description:
- The resource labels for the cluster to use to annotate any related Google Compute - The resource labels for the cluster to use to annotate any related Google Compute
Engine resources. Engine resources.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
legacy_abac: legacy_abac:
description: description:
- Configuration for the legacy ABAC authorization mode. - Configuration for the legacy ABAC authorization mode.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
enabled: enabled:
description: description:
@ -409,7 +409,7 @@ options:
- Configuration options for the NetworkPolicy feature. - Configuration options for the NetworkPolicy feature.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
provider: provider:
description: description:
@ -429,7 +429,7 @@ options:
- Only honored if cluster created with IP Alias support. - Only honored if cluster created with IP Alias support.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
max_pods_per_node: max_pods_per_node:
description: description:
@ -441,7 +441,7 @@ options:
- Configuration for controlling how IPs are allocated in the cluster. - Configuration for controlling how IPs are allocated in the cluster.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
use_ip_aliases: use_ip_aliases:
description: description:
@ -515,19 +515,19 @@ options:
- Enable the ability to use Cloud TPUs in this cluster. - Enable the ability to use Cloud TPUs in this cluster.
required: false required: false
type: bool type: bool
version_added: 2.9 version_added: '2.9'
tpu_ipv4_cidr_block: tpu_ipv4_cidr_block:
description: description:
- The IP address range of the Cloud TPUs in this cluster, in CIDR notation. - The IP address range of the Cloud TPUs in this cluster, in CIDR notation.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
master_authorized_networks_config: master_authorized_networks_config:
description: description:
- Configuration for controlling how IPs are allocated in the cluster. - Configuration for controlling how IPs are allocated in the cluster.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
enabled: enabled:
description: description:
@ -558,7 +558,7 @@ options:
type: str type: str
aliases: aliases:
- zone - zone
version_added: 2.8 version_added: '2.8'
kubectl_path: kubectl_path:
description: description:
- The path that the kubectl config file will be written to. - The path that the kubectl config file will be written to.
@ -567,15 +567,51 @@ options:
- This requires the PyYaml library. - This requires the PyYaml library.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
kubectl_context: kubectl_context:
description: description:
- The name of the context for the kubectl config file. Will default to the cluster - The name of the context for the kubectl config file. Will default to the cluster
name. name.
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_container_cluster_facts) before Ansible 2.9. The usage - This module was called C(gcp_container_cluster_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP Cluster short_description: Gather info for GCP Cluster
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -50,8 +50,55 @@ options:
aliases: aliases:
- region - region
- zone - zone
version_added: 2.8 version_added: '2.8'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
applied to them, which may be used to reference them during pod scheduling. They applied to them, which may be used to reference them during pod scheduling. They
may also be resized up or down, to accommodate the workload. may also be resized up or down, to accommodate the workload.
short_description: Creates a GCP NodePool short_description: Creates a GCP NodePool
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -155,7 +155,7 @@ options:
- A list of hardware accelerators to be attached to each node. - A list of hardware accelerators to be attached to each node.
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
accelerator_count: accelerator_count:
description: description:
@ -173,20 +173,20 @@ options:
If unspecified, the default disk type is 'pd-standard' . If unspecified, the default disk type is 'pd-standard' .
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
min_cpu_platform: min_cpu_platform:
description: description:
- Minimum CPU platform to be used by this instance. The instance may be scheduled - Minimum CPU platform to be used by this instance. The instance may be scheduled
on the specified or newer CPU platform . on the specified or newer CPU platform .
required: false required: false
type: str type: str
version_added: 2.9 version_added: '2.9'
taints: taints:
description: description:
- List of kubernetes taints to be applied to each node. - List of kubernetes taints to be applied to each node.
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
key: key:
description: description:
@ -215,7 +215,7 @@ options:
- The version of the Kubernetes of this node. - The version of the Kubernetes of this node.
required: false required: false
type: str type: str
version_added: 2.8 version_added: '2.8'
autoscaling: autoscaling:
description: description:
- Autoscaler configuration for this NodePool. Autoscaler is enabled only if a - Autoscaler configuration for this NodePool. Autoscaler is enabled only if a
@ -272,7 +272,7 @@ options:
on a node in the node pool. on a node in the node pool.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
max_pods_per_node: max_pods_per_node:
description: description:
@ -284,7 +284,7 @@ options:
- Which conditions caused the current node pool state. - Which conditions caused the current node pool state.
required: false required: false
type: list type: list
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
code: code:
description: description:
@ -311,8 +311,44 @@ options:
aliases: aliases:
- region - region
- zone - zone
version_added: 2.8 version_added: '2.8'
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_container_node_pool_facts) before Ansible 2.9. The - This module was called C(gcp_container_node_pool_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP NodePool short_description: Gather info for GCP NodePool
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -50,7 +50,7 @@ options:
aliases: aliases:
- region - region
- zone - zone
version_added: 2.8 version_added: '2.8'
cluster: cluster:
description: description:
- The cluster this node pool belongs to. - The cluster this node pool belongs to.
@ -61,7 +61,54 @@ options:
}}"' }}"'
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -34,7 +34,7 @@ description:
- A zone is a subtree of the DNS namespace under one administrative responsibility. - A zone is a subtree of the DNS namespace under one administrative responsibility.
A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
short_description: Creates a GCP ManagedZone short_description: Creates a GCP ManagedZone
version_added: 2.5 version_added: '2.5'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -65,7 +65,7 @@ options:
- DNSSEC configuration. - DNSSEC configuration.
required: false required: false
type: dict type: dict
version_added: 2.9 version_added: '2.9'
suboptions: suboptions:
kind: kind:
description: description:
@ -140,7 +140,7 @@ options:
- A set of key/value label pairs to assign to this ManagedZone. - A set of key/value label pairs to assign to this ManagedZone.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
visibility: visibility:
description: description:
- '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
@ -150,14 +150,14 @@ options:
required: false required: false
default: public default: public
type: str type: str
version_added: 2.8 version_added: '2.8'
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
the zone is visible from. the zone is visible from.
required: false required: false
type: dict type: dict
version_added: 2.8 version_added: '2.8'
suboptions: suboptions:
networks: networks:
description: description:
@ -172,10 +172,56 @@ options:
. .
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/dns/api/v1/managedZones)' - 'API Reference: U(https://cloud.google.com/dns/api/v1/managedZones)'
- 'Managing Zones: U(https://cloud.google.com/dns/zones/)' - 'Managing Zones: U(https://cloud.google.com/dns/zones/)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_dns_managed_zone_facts) before Ansible 2.9. The usage - This module was called C(gcp_dns_managed_zone_facts) before Ansible 2.9. The usage
has not changed. has not changed.
short_description: Gather info for GCP ManagedZone short_description: Gather info for GCP ManagedZone
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -46,7 +46,54 @@ options:
description: description:
- Restricts the list to return only zones with this domain name. - Restricts the list to return only zones with this domain name.
type: list type: list
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -37,7 +37,7 @@ description:
- The record will include the domain/subdomain name, a type (i.e. A, AAA, CAA, MX, - The record will include the domain/subdomain name, a type (i.e. A, AAA, CAA, MX,
CNAME, NS, etc) . CNAME, NS, etc) .
short_description: Creates a GCP ResourceRecordSet short_description: Creates a GCP ResourceRecordSet
version_added: 2.6 version_added: '2.6'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -81,7 +81,43 @@ options:
of the gcp_dns_managed_zone module, which will contain both. of the gcp_dns_managed_zone module, which will contain both.
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,7 +35,7 @@ description:
- This module was called C(gcp_dns_resource_record_set_facts) before Ansible 2.9. - This module was called C(gcp_dns_resource_record_set_facts) before Ansible 2.9.
The usage has not changed. The usage has not changed.
short_description: Gather info for GCP ResourceRecordSet short_description: Gather info for GCP ResourceRecordSet
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -49,7 +49,54 @@ options:
of the gcp_dns_managed_zone module, which will contain both. of the gcp_dns_managed_zone module, which will contain both.
required: true required: true
type: dict type: dict
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_filestore_instance
description: description:
- A Google Cloud Filestore instance. - A Google Cloud Filestore instance.
short_description: Creates a GCP Instance short_description: Creates a GCP Instance
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -115,12 +115,58 @@ options:
- The name of the Filestore zone of the instance. - The name of the Filestore zone of the instance.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create)' - 'API Reference: U(https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create)'
- 'Official Documentation: U(https://cloud.google.com/filestore/docs/creating-instances)' - 'Official Documentation: U(https://cloud.google.com/filestore/docs/creating-instances)'
- 'Use with Kubernetes: U(https://cloud.google.com/filestore/docs/accessing-fileshares)' - 'Use with Kubernetes: U(https://cloud.google.com/filestore/docs/accessing-fileshares)'
- 'Copying Data In/Out: U(https://cloud.google.com/filestore/docs/copying-data)' - 'Copying Data In/Out: U(https://cloud.google.com/filestore/docs/copying-data)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_filestore_instance_info
description: description:
- Gather info for GCP Instance - Gather info for GCP Instance
short_description: Gather info for GCP Instance short_description: Gather info for GCP Instance
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -45,7 +45,54 @@ options:
- The name of the Filestore zone of the instance. - The name of the Filestore zone of the instance.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_iam_role
description: description:
- A role in the Identity and Access Management API . - A role in the Identity and Access Management API .
short_description: Creates a GCP Role short_description: Creates a GCP Role
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -76,7 +76,43 @@ options:
"EAP"' "EAP"'
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,14 +35,61 @@ description:
- This module was called C(gcp_iam_role_facts) before Ansible 2.9. The usage has not - This module was called C(gcp_iam_role_facts) before Ansible 2.9. The usage has not
changed. changed.
short_description: Gather info for GCP Role short_description: Gather info for GCP Role
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
- requests >= 2.18.4 - requests >= 2.18.4
- google-auth >= 1.3.0 - google-auth >= 1.3.0
options: {} options:
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_iam_service_account
description: description:
- A service account in the Identity and Access Management API. - A service account in the Identity and Access Management API.
short_description: Creates a GCP ServiceAccount short_description: Creates a GCP ServiceAccount
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -58,7 +58,43 @@ options:
- User specified description of service account. - User specified description of service account.
required: false required: false
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -35,14 +35,61 @@ description:
- This module was called C(gcp_iam_service_account_facts) before Ansible 2.9. The - This module was called C(gcp_iam_service_account_facts) before Ansible 2.9. The
usage has not changed. usage has not changed.
short_description: Gather info for GCP ServiceAccount short_description: Gather info for GCP ServiceAccount
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
- requests >= 2.18.4 - requests >= 2.18.4
- google-auth >= 1.3.0 - google-auth >= 1.3.0
options: {} options:
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_iam_service_account_key
description: description:
- A service account in the Identity and Access Management API. - A service account in the Identity and Access Management API.
short_description: Creates a GCP ServiceAccountKey short_description: Creates a GCP ServiceAccountKey
version_added: 2.8 version_added: '2.8'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -77,7 +77,43 @@ options:
- File path must be absolute. - File path must be absolute.
required: false required: false
type: path type: path
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_kms_crypto_key
description: description:
- A `CryptoKey` represents a logical key that can be used for cryptographic operations. - A `CryptoKey` represents a logical key that can be used for cryptographic operations.
short_description: Creates a GCP CryptoKey short_description: Creates a GCP CryptoKey
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -100,10 +100,56 @@ options:
- 'Format: `''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''`.' - 'Format: `''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''`.'
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)' - 'API Reference: U(https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)'
- 'Creating a key: U(https://cloud.google.com/kms/docs/creating-keys#create_a_key)' - 'Creating a key: U(https://cloud.google.com/kms/docs/creating-keys#create_a_key)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_kms_crypto_key_info
description: description:
- Gather info for GCP CryptoKey - Gather info for GCP CryptoKey
short_description: Gather info for GCP CryptoKey short_description: Gather info for GCP CryptoKey
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -46,7 +46,54 @@ options:
- 'Format: `''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''`.' - 'Format: `''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''`.'
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes:
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,7 +33,7 @@ module: gcp_kms_key_ring
description: description:
- A `KeyRing` is a toplevel logical grouping of `CryptoKeys`. - A `KeyRing` is a toplevel logical grouping of `CryptoKeys`.
short_description: Creates a GCP KeyRing short_description: Creates a GCP KeyRing
version_added: 2.9 version_added: '2.9'
author: Google Inc. (@googlecloudplatform) author: Google Inc. (@googlecloudplatform)
requirements: requirements:
- python >= 2.6 - python >= 2.6
@ -60,10 +60,56 @@ options:
list`. list`.
required: true required: true
type: str type: str
extends_documentation_fragment: gcp project:
description:
- The Google Cloud Platform project to use.
type: str
auth_kind:
description:
- The type of credential used.
type: str
required: true
choices:
- application
- machineaccount
- serviceaccount
service_account_contents:
description:
- The contents of a Service Account JSON file, either in a dictionary or as a
JSON string that represents it.
type: jsonarg
service_account_file:
description:
- The path of a Service Account JSON file if serviceaccount is selected as type.
type: path
service_account_email:
description:
- An optional service account email address if machineaccount is selected and
the user does not wish to use the default email.
type: str
scopes:
description:
- Array of scopes to be used
type: list
env_type:
description:
- Specifies which Ansible environment you're running this module within.
- This should not be set unless you know what you're doing.
- This only alters the User Agent string for any API requests.
type: str
notes: notes:
- 'API Reference: U(https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings)' - 'API Reference: U(https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings)'
- 'Creating a key ring: U(https://cloud.google.com/kms/docs/creating-keys#create_a_key_ring)' - 'Creating a key ring: U(https://cloud.google.com/kms/docs/creating-keys#create_a_key_ring)'
- for authentication, you can set service_account_file using the c(gcp_service_account_file)
env variable.
- for authentication, you can set service_account_contents using the c(GCP_SERVICE_ACCOUNT_CONTENTS)
env variable.
- For authentication, you can set service_account_email using the C(GCP_SERVICE_ACCOUNT_EMAIL)
env variable.
- For authentication, you can set auth_kind using the C(GCP_AUTH_KIND) env variable.
- For authentication, you can set scopes using the C(GCP_SCOPES) env variable.
- Environment variables values will only be used if the playbook values are not set.
- The I(service_account_email) and I(service_account_file) options are mutually exclusive.
''' '''
EXAMPLES = ''' EXAMPLES = '''

Some files were not shown because too many files have changed in this diff Show more