Google Cloud Compute Plugin Reference 25.1.x
The Deploy GoogleCloudCompute plugin allows you to provision instances in Google Cloud. Additionally, it allows you to deploy DialogFlow agents in Google Cloud.
This document provides information that is specific to this version of the GoogleCloudCompute plugin. For general information about the plugin, refer to Introduction to the XL GoogleCloudCompute plugin.
Requirements
- XL Deploy 23.1.0 or later
- Credentials for Google Cloud Account
Using the deployables and deployeds
The following table shows the possible containers a deployable can be targeted to and the deployed that will be created as a result.
Deployable vs. containers table
| Deployable | Containers | Deployed |
|---|---|---|
| googlecloud.compute.InstanceSpec | google.AccountCloud | googlecloud.compute.Instance |
| googlecloud.compute.TemplateSpec | google.AccountCloud | googlecloud.compute.Template |
| googlecloud.dialogflow.AgentZipSpec | google.AccountCloud | googlecloud.dialogflow.AgentZip |
CI Reference
Configuration Item Overview
Containers
| CI | Description |
|---|---|
| google.AccountCloud | Google account. |
Other Configuration Items
| CI | Description |
|---|---|
| gcp.GenerateToken | Google account Token Generation |
| gcp.MetadataSshKeysProvider | Set of common settings for using SSH via overthere.gcp.MetadataSshHost |
| google.AccountCloud_importFromJson | Generated type for method importFromJson. |
Configuration Item Details
gcp.GenerateToken
Google account Token Generation
| Public properties | ||
|---|---|---|
|
|
|
clientEmail: STRING
|
|
Client Email
|
||
|
|
|
privateKey: STRING
|
|
Private Key
|
||
|
|
|
projectId: STRING
|
|
Project Id
|
||
|
|
|
ServiceAccountTokenGcpCredentialsID: STRING
|
|
Mention the ID of the ServiceAccountTokenGcpCredentials Which needs to be updated on Generation
|
||
|
|
|
apiToken: STRING
|
|
Api Token
|
| Control task | Parameter CI | Attributes | Description |
|---|---|---|---|
| generateToken |
delegate = jythonScript, script = google/cloud/compute/instance/generate_token.py |
Generate the Token to the Google cloud. |
gcp.MetadataSshKeysProvider
| Type Hierarchy | udm.Configuration >> udm.BaseConfigurationItem |
|---|
Set of common settings for using SSH via overthere.gcp.MetadataSshHost
| Public properties | ||
|---|---|---|
|
|
|
credentials:
CI<credentials.gcp.GcpHostCredentials>
|
|
Credentials for a GCP host connection
|
||
|
|
|
zoneName: STRING
|
|
Zone name
|
||
|
|
|
applicationName: STRING
|
|
Application name
|
google.AccountCloud
| Type Hierarchy | udm.BaseContainer >> udm.BaseConfigurationItem |
|---|---|
| Interfaces | udm.Container, udm.Taggable |
Google account.
| Public properties | ||
|---|---|---|
|
|
|
clientEmail: STRING
|
|
Client Email
|
||
|
|
|
privateKey: STRING
|
|
Private Key
|
||
|
|
|
projectId: STRING
|
|
Project Id
|
||
|
|
|
tags: SET_OF_STRING
|
|
If set, only deployables with the same tag will be automatically mapped to this container.
|
| Control task | Parameter CI | Attributes | Description |
|---|---|---|---|
| checkConnection |
delegate = jythonScript, script = google/cloud/compute/instance/check_connection.py |
Verify the connection to the Google cloud. |
|
| importFromJson | google.AccountCloud_importFromJson |
delegate = jythonScript, script = google/cloud/compute/instance/import_from_json.py |
set the properties based on the content of the json. |
google.AccountCloud_importFromJson
| Type Hierarchy | udm.Parameters >> udm.BaseConfigurationItem |
|---|
Generated type for method importFromJson.
| Public properties | ||
|---|---|---|
|
|
|
json: STRING
|
|
paste the content of the json file
|