This topic describes how to use Google Cloud Platform (GCP) resources from VMware Tanzu by creating and managing service instances using the GCP Service Broker. It provides links, parameters, descriptions, and examples to get you started.
It’s recommended that you already know how to create and manage services using the CF CLI before reading this.
The following contents are automatically generated by the GCP service broker. You can obtain a customized version for your environment by running gcp-service-broker generate use
.
A fast, economical and fully managed data warehouse for large-scale data analytics.
f80c0a3e-bd4d-4809-a900-b4e33a6450f1
google-bigquery
Request Parameters
name
string - The name of the BigQuery dataset. Default: pcf_sb_${counter.next()}_${time.nano()}
.
^[A-Za-z0-9_]+$
.location
string - The location of the BigQuery instance. Default: US
.
^[A-Za-z][-a-z0-9A-Z]+$
.Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: bigquery.user
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
dataset_id
string - Required The name of the BigQuery dataset.
^[A-Za-z0-9_]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
10ff4e72-6e84-44eb-851f-bdb38a791914
.Create a dataset and account that can manage and query the data. Uses plan: 10ff4e72-6e84-44eb-851f-bdb38a791914
.
Provision
{
"name": "orders_1997"
}
Bind
{
"role": "bigquery.user"
}
Cloud Foundry Example
$ cf create-service google-bigquery default my-google-bigquery-example -c `{"name":"orders_1997"}`
$ cf bind-service my-app my-google-bigquery-example -c `{"role":"bigquery.user"}`
A high performance NoSQL database service for large analytical and operational workloads.
b8e19880-ac58-42ef-b033-f7cd9c94d1fe
google-bigtable
Request Parameters
name
string - The name of the Cloud Bigtable instance. Default: pcf-sb-${counter.next()}-${time.nano()}
.
^[a-z][-0-9a-z]+$
.cluster_id
string - The ID of the Cloud Bigtable cluster. Default: ${str.truncate(20, name)}-cluster
.
^[a-z][-0-9a-z]+[a-z]$
.display_name
string - The human-readable display name of the Bigtable instance. Default: ${name}
.
zone
string - The zone to create the Cloud Bigtable cluster in. Zones that support Bigtable instances are noted on the Cloud Bigtable locations page: https://cloud.google.com/bigtable/docs/locations. Default: us-east1-b
.
^[A-Za-z][-a-z0-9A-Z]+$
.Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: bigtable.user
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
instance_id
string - Required The name of the BigTable dataset.
^[a-z][-0-9a-z]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
three-node-production-hdd
65a49268-2c73-481e-80f3-9fde5bd5a654
.three-node-production-ssd
38aa0e65-624b-4998-9c06-f9194b56d252
.Create an HDD production table and account that can manage and query the data. Uses plan: 65a49268-2c73-481e-80f3-9fde5bd5a654
.
Provision
{
"name": "orders-table"
}
Bind
{
"role": "bigtable.user"
}
Cloud Foundry Example
$ cf create-service google-bigtable three-node-production-hdd my-google-bigtable-example -c `{"name":"orders-table"}`
$ cf bind-service my-app my-google-bigtable-example -c `{"role":"bigtable.user"}`
Google CloudSQL for MySQL is a fully-managed MySQL database service.
4bc59b9a-8520-409f-85da-1c7552315863
google-cloudsql-mysql
Request Parameters
instance_name
string - Name of the CloudSQL instance. Default: pcf-sb-${counter.next()}-${time.nano()}
.
^[a-z][a-z0-9-]+$
.database_name
string - Name of the database inside of the instance. Must be a valid identifier for your chosen database type. Default: pcf-sb-${counter.next()}-${time.nano()}
.version
string - The database engine type and version. Default: MYSQL_5_7
.
activation_policy
string - The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Default: ALWAYS
.
binlog
string - Whether binary log is enabled. Must be enabled for high availability. Default: true
.
region
string - The geographical region. See the instance locations list https://cloud.google.com/sql/docs/mysql/instance-locations for which regions support which databases. Default: us-central
.
^[A-Za-z][-a-z0-9A-Z]+$
.disk_size
string - In GB. Default: 10
.
^[1-9][0-9]+$
.database_flags
string - The database flags passed to the instance at startup (comma separated list of flags, e.g. general_log=on,skip_show_database=off). Default: ``.
^(|([a-z_]+=[a-zA-Z0-9\.\+\:-]+)(,[a-z_]+=[a-zA-Z0-9\.\+\:-]+)*)$
.zone
string - Optional, the specific zone in the region to run the instance. Default: ``.
^(|[A-Za-z][-a-z0-9A-Z]+)$
.disk_type
string - The type of disk backing the database. Default: PD_SSD
.
maintenance_window_day
string - The day of week a CloudSQL instance should preferably be restarted for system maintenance purposes. (1-7), starting on Monday. Default: 1
.
maintenance_window_hour
string - The hour of the day when disruptive updates (updates that require an instance restart) to this CloudSQL instance can be made. Hour of day 0-23. Default: 0
.
^([0-9]|1[0-9]|2[0-3])$
.backups_enabled
string - Should daily backups be enabled for the service? Default: true
.
backup_start_time
string - Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM. Default: 06:00
.
^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$
.authorized_networks
string - A comma separated list without spaces. Default: ``.replication_type
string - The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. Default: SYNCHRONOUS
.
auto_resize
string - Configuration to increase storage size automatically. Default: false
.
auto_resize_limit
string - The maximum size to which storage capacity can be automatically increased. Default: 0
.
^[0-9][0-9]*$
.availability_type
string - Availability type specifies whether the instance serves data from multiple zones. Default: ZONAL
.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: cloudsql.client
.
jdbc_uri_format
string - If true
, uri
field will contain a JDBC formatted URI. Default: false
.
username
string - The SQL username for the account. Default: sb${str.truncate(14, time.nano())}
.password
string - The SQL password for the account. Default: ${rand.base64(32)}
.Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
CaCert
string - Required The server Certificate Authority’s certificate.
ClientCert
string - Required The client certificate.
ClientKey
string - Required The client certificate key.
Sha1Fingerprint
string - Required The SHA1 fingerprint of the client certificate.
^[0-9a-f]{40}$
.UriPrefix
string - The connection prefix.
Username
string - Required The name of the SQL user provisioned.
Password
string - Required The database password for the SQL user.
database_name
string - Required The name of the database on the instance.
host
string - Required The hostname or IP address of the database instance.
instance_name
string - Required The name of the database instance.
^[a-z][a-z0-9-]+$
.uri
string - Required A database connection string.
last_master_operation_id
string - (deprecated) The id of the last operation on the database.
region
string - Required The region the database is in.
^[A-Za-z][-a-z0-9A-Z]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
mysql-db-f1-micro
7d8f9ade-30c1-4c96-b622-ea0205cc5f0b
.mysql-db-g1-small
b68bf4d8-1636-4121-af2f-087e46189929
.mysql-db-n1-standard-1
bdfd8033-c2b9-46e9-9b37-1f3a5889eef4
.mysql-db-n1-standard-2
2c99e938-4c1e-4da7-810a-94c9f5b71b57
.mysql-db-n1-standard-4
d520a5f5-7485-4a83-849b-5439f911fe26
.mysql-db-n1-standard-8
7ef42bb4-87e3-4ead-8118-4e88c98ed2e6
.mysql-db-n1-standard-16
200bd90a-4323-46d8-8aa5-afd4601498d0
.mysql-db-n1-standard-32
52305df2-1e64-4cdb-a4c9-bb5dddb33c3e
.mysql-db-n1-standard-64
e45d7c44-4990-4dac-a14d-c5127e9ae0c5
.mysql-db-n1-highmem-2
07b8a04c-0efe-42d3-8b2c-2c23f7c79583
.mysql-db-n1-highmem-4
50fa4baa-e36f-41c3-bbe9-c986d9fbe3c8
.mysql-db-n1-highmem-8
6e8e5bc3-bf68-4e57-bda1-d9c9a67faee0
.mysql-db-n1-highmem-16
3c83ff6b-165e-47bf-9bba-f4801390d0ff
.mysql-db-n1-highmem-32
cbc6d376-8fd3-4a34-9ab5-324311f038f6
.mysql-db-n1-highmem-64
b0742cc5-caba-4b8d-98e0-03380ae9522b
.A regionally available database with automatic failover. Uses plan: 7d8f9ade-30c1-4c96-b622-ea0205cc5f0b
.
Provision
{
"availability_type": "REGIONAL",
"backups_enabled": "true",
"binlog": "true"
}
Bind
{
"role": "cloudsql.editor"
}
Cloud Foundry Example
$ cf create-service google-cloudsql-mysql mysql-db-f1-micro my-google-cloudsql-mysql-example -c `{"availability_type":"REGIONAL","backups_enabled":"true","binlog":"true"}`
$ cf bind-service my-app my-google-cloudsql-mysql-example -c `{"role":"cloudsql.editor"}`
An inexpensive MySQL sandbox for developing with no backups. Uses plan: 7d8f9ade-30c1-4c96-b622-ea0205cc5f0b
.
Provision
{
"backups_enabled": "false",
"binlog": "false",
"disk_size": "10"
}
Bind
{
"role": "cloudsql.editor"
}
Cloud Foundry Example
$ cf create-service google-cloudsql-mysql mysql-db-f1-micro my-google-cloudsql-mysql-example -c `{"backups_enabled":"false","binlog":"false","disk_size":"10"}`
$ cf bind-service my-app my-google-cloudsql-mysql-example -c `{"role":"cloudsql.editor"}`
Google CloudSQL for PostgreSQL is a fully-managed PostgreSQL database service.
cbad6d78-a73c-432d-b8ff-b219a17a803a
google-cloudsql-postgres
Request Parameters
instance_name
string - Name of the CloudSQL instance. Default: pcf-sb-${counter.next()}-${time.nano()}
.
^[a-z][a-z0-9-]+$
.database_name
string - Name of the database inside of the instance. Must be a valid identifier for your chosen database type. Default: pcf-sb-${counter.next()}-${time.nano()}
.version
string - The database engine type and version. Default: POSTGRES_9_6
.
activation_policy
string - The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Default: ALWAYS
.
region
string - The geographical region. See the instance locations list https://cloud.google.com/sql/docs/mysql/instance-locations for which regions support which databases. Default: us-central
.
^[A-Za-z][-a-z0-9A-Z]+$
.disk_size
string - In GB. Default: 10
.
^[1-9][0-9]+$
.database_flags
string - The database flags passed to the instance at startup (comma separated list of flags, e.g. general_log=on,skip_show_database=off). Default: ``.
^(|([a-z_]+=[a-zA-Z0-9\.\+\:-]+)(,[a-z_]+=[a-zA-Z0-9\.\+\:-]+)*)$
.zone
string - Optional, the specific zone in the region to run the instance. Default: ``.
^(|[A-Za-z][-a-z0-9A-Z]+)$
.disk_type
string - The type of disk backing the database. Default: PD_SSD
.
maintenance_window_day
string - The day of week a CloudSQL instance should preferably be restarted for system maintenance purposes. (1-7), starting on Monday. Default: 1
.
maintenance_window_hour
string - The hour of the day when disruptive updates (updates that require an instance restart) to this CloudSQL instance can be made. Hour of day 0-23. Default: 0
.
^([0-9]|1[0-9]|2[0-3])$
.backups_enabled
string - Should daily backups be enabled for the service? Default: true
.
backup_start_time
string - Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM. Default: 06:00
.
^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$
.authorized_networks
string - A comma separated list without spaces. Default: ``.replication_type
string - The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. Default: SYNCHRONOUS
.
auto_resize
string - Configuration to increase storage size automatically. Default: false
.
auto_resize_limit
string - The maximum size to which storage capacity can be automatically increased. Default: 0
.
^[0-9][0-9]*$
.availability_type
string - Availability type specifies whether the instance serves data from multiple zones. Default: ZONAL
.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: cloudsql.client
.
jdbc_uri_format
string - If true
, uri
field will contain a JDBC formatted URI. Default: false
.
username
string - The SQL username for the account. Default: sb${str.truncate(14, time.nano())}
.password
string - The SQL password for the account. Default: ${rand.base64(32)}
.Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
CaCert
string - Required The server Certificate Authority’s certificate.
ClientCert
string - Required The client certificate.
ClientKey
string - Required The client certificate key.
Sha1Fingerprint
string - Required The SHA1 fingerprint of the client certificate.
^[0-9a-f]{40}$
.UriPrefix
string - The connection prefix.
Username
string - Required The name of the SQL user provisioned.
Password
string - Required The database password for the SQL user.
database_name
string - Required The name of the database on the instance.
host
string - Required The hostname or IP address of the database instance.
instance_name
string - Required The name of the database instance.
^[a-z][a-z0-9-]+$
.uri
string - Required A database connection string.
last_master_operation_id
string - (deprecated) The id of the last operation on the database.
region
string - Required The region the database is in.
^[A-Za-z][-a-z0-9A-Z]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
postgres-db-f1-micro
2513d4d9-684b-4c3c-add4-6404969006de
.postgres-db-g1-small
6c1174d8-243c-44d1-b7a8-e94a779f67f5
.postgres-db-n1-standard-1
c4e68ab5-34ca-4d02-857d-3e6b3ab079a7
.postgres-db-n1-standard-2
3f578ecf-885c-4b60-b38b-60272f34e00f
.postgres-db-n1-standard-4
b7fcab5d-d66d-4e82-af16-565e84cef7f9
.postgres-db-n1-standard-8
4b2fa14a-caf1-42e0-bd8c-3342502008a8
.postgres-db-n1-standard-16
ca2e770f-bfa5-4fb7-a249-8b943c3474ca
.postgres-db-n1-standard-32
b44f8294-b003-4a50-80c2-706858073f44
.postgres-db-n1-standard-64
d97326e0-5af2-4da5-b970-b4772d59cded
.postgres-db-n1-highmem-2
c10f8691-02f5-44eb-989f-7217393012ca
.postgres-db-n1-highmem-4
610cc78d-d26a-41a9-90b7-547a44517f03
.postgres-db-n1-highmem-8
2a351e8d-958d-4c4f-ae46-c984fec18740
.postgres-db-n1-highmem-16
51d3ca0c-9d21-447d-a395-3e0dc0659775
.postgres-db-n1-highmem-32
2e72b386-f7ce-4f0d-a149-9f9a851337d4
.postgres-db-n1-highmem-64
82602649-e4ac-4a2f-b80d-dacd745aed6a
.A low end PostgreSQL sandbox that uses a dedicated machine. Uses plan: c4e68ab5-34ca-4d02-857d-3e6b3ab079a7
.
Provision
{
"backups_enabled": "false",
"disk_size": "25"
}
Bind
{
"role": "cloudsql.editor"
}
Cloud Foundry Example
$ cf create-service google-cloudsql-postgres postgres-db-n1-standard-1 my-google-cloudsql-postgres-example -c `{"backups_enabled":"false","disk_size":"25"}`
$ cf bind-service my-app my-google-cloudsql-postgres-example -c `{"role":"cloudsql.editor"}`
An inexpensive PostgreSQL sandbox for developing with no backups. Uses plan: 2513d4d9-684b-4c3c-add4-6404969006de
.
Provision
{
"backups_enabled": "false",
"disk_size": "10"
}
Bind
{
"role": "cloudsql.editor"
}
Cloud Foundry Example
$ cf create-service google-cloudsql-postgres postgres-db-f1-micro my-google-cloudsql-postgres-example -c `{"backups_enabled":"false","disk_size":"10"}`
$ cf bind-service my-app my-google-cloudsql-postgres-example -c `{"role":"cloudsql.editor"}`
A regionally available database with automatic failover. Uses plan: c4e68ab5-34ca-4d02-857d-3e6b3ab079a7
.
Provision
{
"availability_type": "REGIONAL",
"backups_enabled": "false",
"disk_size": "25"
}
Bind
{
"role": "cloudsql.editor"
}
Cloud Foundry Example
$ cf create-service google-cloudsql-postgres postgres-db-n1-standard-1 my-google-cloudsql-postgres-example -c `{"availability_type":"REGIONAL","backups_enabled":"false","disk_size":"25"}`
$ cf bind-service my-app my-google-cloudsql-postgres-example -c `{"role":"cloudsql.editor"}`
A managed service for executing a wide variety of data processing patterns built on Apache Beam.
3e897eb3-9062-4966-bd4f-85bda0f73b3d
google-dataflow
Request Parameters
No parameters supported.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: dataflow.developer
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
8e956dd6-8c0f-470c-9a11-065537d81872
.Creates a Dataflow user and grants it permission to create, drain and cancel jobs. Uses plan: 8e956dd6-8c0f-470c-9a11-065537d81872
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-dataflow default my-google-dataflow-example -c `{}`
$ cf bind-service my-app my-google-dataflow-example -c `{}`
Creates a Dataflow user and grants it permission to create, drain and cancel jobs. Uses plan: 8e956dd6-8c0f-470c-9a11-065537d81872
.
Provision
{}
Bind
{
"role": "dataflow.viewer"
}
Cloud Foundry Example
$ cf create-service google-dataflow default my-google-dataflow-example -c `{}`
$ cf bind-service my-app my-google-dataflow-example -c `{"role":"dataflow.viewer"}`
Google Cloud Datastore is a NoSQL document database service.
76d4abb2-fee7-4c8f-aee1-bcea2837f02b
google-datastore
Request Parameters
namespace
string - A context for the identifiers in your entity’s dataset. This ensures that different systems can all interpret an entity’s data the same way, based on the rules for the entity’s particular namespace. Blank means the default namespace will be used. Default: ``.
^[A-Za-z0-9_-]*$
.Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
namespace
string - A context for the identifiers in your entity’s dataset.
^[A-Za-z0-9_-]*$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
05f1fb6b-b5f0-48a2-9c2b-a5f236507a97
.Creates a datastore and a user with the permission datastore.user
. Uses plan: 05f1fb6b-b5f0-48a2-9c2b-a5f236507a97
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-datastore default my-google-datastore-example -c `{}`
$ cf bind-service my-app my-google-datastore-example -c `{}`
Creates a datastore and returns the provided namespace along with bind calls. Uses plan: 05f1fb6b-b5f0-48a2-9c2b-a5f236507a97
.
Provision
{
"namespace": "my-namespace"
}
Bind
{}
Cloud Foundry Example
$ cf create-service google-datastore default my-google-datastore-example -c `{"namespace":"my-namespace"}`
$ cf bind-service my-app my-google-datastore-example -c `{}`
Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices.
e84b69db-3de9-4688-8f5c-26b9d5b1f129
google-dialogflow
Request Parameters
No parameters supported.
Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
3ac4e1bd-b22d-4a99-864b-d3a3ac582348
.Creates a Dialogflow user and grants it permission to detect intent and read/write session properties (contexts, session entity types, etc.). Uses plan: 3ac4e1bd-b22d-4a99-864b-d3a3ac582348
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-dialogflow default my-google-dialogflow-example -c `{}`
$ cf bind-service my-app my-google-dialogflow-example -c `{}`
Fully managed NFS file storage with predictable performance.
494eb82e-c4ca-4bed-871d-9c3f02f66e01
google-filestore
Request Parameters
instance_id
string - The name of the instance. The name must be unique per zone. Default: gsb-${counter.next()}-${time.nano()}
.
^[a-z]([-0-9a-z]*[a-z0-9]$)*
.zone
string - The zone to create the instance in. Supported zones can be found here: https://cloud.google.com/filestore/docs/regions. Default: us-west1-a
.
^[A-Za-z][-a-z0-9A-Z]+$
.tier
string - The performance tier. Default: STANDARD
.
authorized_network
string - The name of the network to attach the instance to. Default: default
.address_mode
string - The address mode of the service. Default: MODE_IPV4
.
capacity_gb
integer - The capacity of the Filestore. Standard minimum is 1TiB and Premium is minimum 2.5TiB. Default: 1024
.Request Parameters
No parameters supported.
Response Parameters
authorized_network
string - Name of the VPC network the instance is attached to.reserved_ip_range
string - Range of IP addresses reserved for the instance.ip_address
string - IP address of the service.file_share_name
string - Name of the share.capacity_gb
integer - Capacity of the share in GiB.uri
string - URI of the instance.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
e4c83975-e60f-43cf-afde-ebec573c6c2e
.Creates a standard Filestore. Uses plan: e4c83975-e60f-43cf-afde-ebec573c6c2e
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-filestore default my-google-filestore-example -c `{}`
$ cf bind-service my-app my-google-filestore-example -c `{}`
Creates a premium Filestore. Uses plan: e4c83975-e60f-43cf-afde-ebec573c6c2e
.
Provision
{
"capacity_gb": 2560,
"tier": "PREMIUM"
}
Bind
{}
Cloud Foundry Example
$ cf create-service google-filestore default my-google-filestore-example -c `{"capacity_gb":2560,"tier":"PREMIUM"}`
$ cf bind-service my-app my-google-filestore-example -c `{}`
Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL document database that simplifies storing, syncing, and querying data for your mobile, web, and IoT apps at global scale.
a2b7b873-1e34-4530-8a42-902ff7d66b43
google-firestore
Request Parameters
No parameters supported.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: datastore.user
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
64403af0-4413-4ef3-a813-37f0306ef498
.Creates a general Firestore user and grants it permission to read and write entities. Uses plan: 64403af0-4413-4ef3-a813-37f0306ef498
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-firestore default my-google-firestore-example -c `{}`
$ cf bind-service my-app my-google-firestore-example -c `{}`
Creates a Firestore user that can only view entities. Uses plan: 64403af0-4413-4ef3-a813-37f0306ef498
.
Provision
{}
Bind
{
"role": "datastore.viewer"
}
Cloud Foundry Example
$ cf create-service google-firestore default my-google-firestore-example -c `{}`
$ cf bind-service my-app my-google-firestore-example -c `{"role":"datastore.viewer"}`
Creates and manages Redis instances on the Google Cloud Platform.
3ea92b54-838c-4fe1-b75d-9bda513380aa
google-memorystore-redis
Request Parameters
instance_id
string - The name of the instance. The name must be unique per project. Default: gsb-${counter.next()}-${time.nano()}
.
^[a-z]([-0-9a-z]*[a-z0-9]$)*
.authorized_network
string - The name of the VPC network to attach the instance to. Default: default
.
region
string - The region to create the instance in. Supported regions can be found here: https://cloud.google.com/memorystore/docs/redis/regions. Default: us-east1
.
^[A-Za-z][-a-z0-9A-Z]+$
.memory_size_gb
integer - Redis memory size in GiB. Default: 4
.tier
string - The performance tier. Default: BASIC
.
Request Parameters
No parameters supported.
Response Parameters
authorized_network
string - Name of the VPC network the instance is attached to.reserved_ip_range
string - Range of IP addresses reserved for the instance.redis_version
string - The version of Redis software.memory_size_gb
integer - Redis memory size in GiB.host
string - Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.port
integer - The port number of the exposed Redis endpoint.uri
string - URI of the instance.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
df10762e-6ef1-44e3-84c2-07e9358ceb1f
.basic
dd1923b6-ac26-4697-83d6-b3a0c05c2c94
.service_tier
= BASIC
standard_ha
41771881-b456-4940-9081-34b6424744c6
.service_tier
= STANDARD_HA
Create a Redis instance with standard service tier. Uses plan: dd1923b6-ac26-4697-83d6-b3a0c05c2c94
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-memorystore-redis basic my-google-memorystore-redis-example -c `{}`
$ cf bind-service my-app my-google-memorystore-redis-example -c `{}`
Create a Redis instance with high availability. Uses plan: 41771881-b456-4940-9081-34b6424744c6
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-memorystore-redis standard_ha my-google-memorystore-redis-example -c `{}`
$ cf bind-service my-app my-google-memorystore-redis-example -c `{}`
Machine Learning APIs including Vision, Translate, Speech, and Natural Language.
5ad2dce0-51f7-4ede-8b46-293d6df1e8d4
google-ml-apis
Request Parameters
No parameters supported.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: ml.modelUser
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
be7954e1-ecfb-4936-a0b6-db35e6424c7a
.Create an account with developer access to your ML models. Uses plan: be7954e1-ecfb-4936-a0b6-db35e6424c7a
.
Provision
{}
Bind
{
"role": "ml.developer"
}
Cloud Foundry Example
$ cf create-service google-ml-apis default my-google-ml-apis-example -c `{}`
$ cf bind-service my-app my-google-ml-apis-example -c `{"role":"ml.developer"}`
A global service for real-time and reliable messaging and streaming data.
628629e3-79f5-4255-b981-d14c6c7856be
google-pubsub
Request Parameters
topic_name
string - Name of the topic. Must not start with “goog”. Default: pcf_sb_${counter.next()}_${time.nano()}
.
^[a-zA-Z][a-zA-Z0-9\d\-_~%\.\+]+$
.subscription_name
string - Name of the subscription. Blank means no subscription will be created. Must not start with “goog”. Default: ``.
^(|[a-zA-Z][a-zA-Z0-9\d\-_~%\.\+]+)
.is_push
string - Are events handled by POSTing to a URL? Default: false
.
endpoint
string - If is_push
== ‘true’, then this is the URL that will be pushed to. Default: ``.ack_deadline
string - Value is in seconds. Max: 600 This is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). Default: 10
.Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: pubsub.editor
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
subscription_name
string - Name of the subscription.
^(|[a-zA-Z][a-zA-Z0-9\d\-_~%\.\+]+)
.topic_name
string - Required Name of the topic.
^[a-zA-Z][a-zA-Z0-9\d\-_~%\.\+]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
622f4da3-8731-492a-af29-66a9146f8333
.Create a topic and a publisher to it. Uses plan: 622f4da3-8731-492a-af29-66a9146f8333
.
Provision
{
"subscription_name": "example_topic_subscription",
"topic_name": "example_topic"
}
Bind
{
"role": "pubsub.publisher"
}
Cloud Foundry Example
$ cf create-service google-pubsub default my-google-pubsub-example -c `{"subscription_name":"example_topic_subscription","topic_name":"example_topic"}`
$ cf bind-service my-app my-google-pubsub-example -c `{"role":"pubsub.publisher"}`
Create a topic without a subscription. Uses plan: 622f4da3-8731-492a-af29-66a9146f8333
.
Provision
{
"topic_name": "example_topic"
}
Bind
{
"role": "pubsub.publisher"
}
Cloud Foundry Example
$ cf create-service google-pubsub default my-google-pubsub-example -c `{"topic_name":"example_topic"}`
$ cf bind-service my-app my-google-pubsub-example -c `{"role":"pubsub.publisher"}`
Create a subscription with a custom deadline for long processess. Uses plan: 622f4da3-8731-492a-af29-66a9146f8333
.
Provision
{
"ack_deadline": "200",
"subscription_name": "long_deadline_subscription",
"topic_name": "long_deadline_topic"
}
Bind
{
"role": "pubsub.publisher"
}
Cloud Foundry Example
$ cf create-service google-pubsub default my-google-pubsub-example -c `{"ack_deadline":"200","subscription_name":"long_deadline_subscription","topic_name":"long_deadline_topic"}`
$ cf bind-service my-app my-google-pubsub-example -c `{"role":"pubsub.publisher"}`
The first horizontally scalable, globally consistent, relational database service.
51b3e27e-d323-49ce-8c5f-1211e6409e82
google-spanner
Request Parameters
name
string - A unique identifier for the instance, which cannot be changed after the instance is created. Default: pcf-sb-${counter.next()}-${time.nano()}
.
^[a-z][-a-z0-9]*[a-z0-9]$
.display_name
string - The name of this instance configuration as it appears in UIs. Default: ${name}
.
location
string - A configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication and are slightly different from zones. There are single region configurations, multi-region configurations, and multi-continent configurations. See the instance docs https://cloud.google.com/spanner/docs/instances for a list of configurations. Default: regional-us-central1
.
^[a-z][-a-z0-9]*[a-z0-9]$
.Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: spanner.databaseUser
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
instance_id
string - Required Name of the Spanner instance the account can connect to.
^[a-z][-a-z0-9]*[a-z0-9]$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
sandbox
44828436-cfbd-47ae-b4bc-48854564347b
.minimal-production
0752b1ad-a784-4dcc-96eb-64149089a1c9
.Create a sandbox environment with a database admin account. Uses plan: 44828436-cfbd-47ae-b4bc-48854564347b
.
Provision
{
"name": "auth-database"
}
Bind
{
"role": "spanner.databaseAdmin"
}
Cloud Foundry Example
$ cf create-service google-spanner sandbox my-google-spanner-example -c `{"name":"auth-database"}`
$ cf bind-service my-app my-google-spanner-example -c `{"role":"spanner.databaseAdmin"}`
Create a spanner instance spanning North America. Uses plan: 44828436-cfbd-47ae-b4bc-48854564347b
.
Provision
{
"location": "nam3",
"name": "auth-database"
}
Bind
{
"role": "spanner.databaseAdmin"
}
Cloud Foundry Example
$ cf create-service google-spanner sandbox my-google-spanner-example -c `{"location":"nam3","name":"auth-database"}`
$ cf bind-service my-app my-google-spanner-example -c `{"role":"spanner.databaseAdmin"}`
Inspect the state of an app, at any code location, without stopping or slowing it down.
83837945-1547-41e0-b661-ea31d76eed11
google-stackdriver-debugger
Request Parameters
No parameters supported.
Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
10866183-a775-49e8-96e3-4e7a901e4a79
.Creates an account with the permission clouddebugger.agent
. Uses plan: 10866183-a775-49e8-96e3-4e7a901e4a79
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-stackdriver-debugger default my-google-stackdriver-debugger-example -c `{}`
$ cf bind-service my-app my-google-stackdriver-debugger-example -c `{}`
Stackdriver Monitoring provides visibility into the performance, uptime, and overall health of cloud-powered applications.
2bc0d9ed-3f68-4056-b842-4a85cfbc727f
google-stackdriver-monitoring
Request Parameters
No parameters supported.
Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
2e4b85c1-0ce6-46e4-91f5-eebeb373e3f5
.Creates an account with the permission monitoring.metricWriter
for writing metrics. Uses plan: 2e4b85c1-0ce6-46e4-91f5-eebeb373e3f5
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-stackdriver-monitoring default my-google-stackdriver-monitoring-example -c `{}`
$ cf bind-service my-app my-google-stackdriver-monitoring-example -c `{}`
Continuous CPU and heap profiling to improve performance and reduce costs.
00b9ca4a-7cd6-406a-a5b7-2f43f41ade75
google-stackdriver-profiler
Request Parameters
No parameters supported.
Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
594627f6-35f5-462f-9074-10fb033fb18a
.Creates an account with the permission cloudprofiler.agent
. Uses plan: 594627f6-35f5-462f-9074-10fb033fb18a
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-stackdriver-profiler default my-google-stackdriver-profiler-example -c `{}`
$ cf bind-service my-app my-google-stackdriver-profiler-example -c `{}`
A real-time distributed tracing system.
c5ddfe15-24d9-47f8-8ffe-f6b7daa9cf4a
google-stackdriver-trace
Request Parameters
No parameters supported.
Request Parameters
No parameters supported.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
default
ab6c2287-b4bc-4ff4-a36a-0575e7910164
.Creates an account with the permission cloudtrace.agent
. Uses plan: ab6c2287-b4bc-4ff4-a36a-0575e7910164
.
Provision
{}
Bind
{}
Cloud Foundry Example
$ cf create-service google-stackdriver-trace default my-google-stackdriver-trace-example -c `{}`
$ cf bind-service my-app my-google-stackdriver-trace-example -c `{}`
Unified object storage for developers and enterprises. Cloud Storage allows world-wide storage and retrieval of any amount of data at any time.
b9e4332e-b42b-4680-bda5-ea1506797474
google-storage
Request Parameters
name
string - The name of the bucket. There is a single global namespace shared by all buckets so it MUST be unique. Default: pcf_sb_${counter.next()}_${time.nano()}
.
^[a-z0-9_.-]+$
.location
string - The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. See: https://cloud.google.com/storage/docs/bucket-locations Default: US
.
^[A-Za-z][-a-z0-9A-Z]+$
.force_delete
string - Attempt to erase bucket contents before deleting bucket on deprovision. Default: false
.
Request Parameters
role
string - The role for the account without the “roles/” prefix. See: https://cloud.google.com/iam/docs/understanding-roles for more details. Default: storage.objectAdmin
.
Response Parameters
Email
string - Required Email address of the service account.
^pcf-binding-[a-z0-9-]+@.+\.gserviceaccount\.com$
.Name
string - Required The name of the service account.
PrivateKeyData
string - Required Service account private key data. Base64 encoded JSON.
^[A-Za-z0-9+/]*=*$
.ProjectId
string - Required ID of the project that owns the service account.
^[a-z0-9-]+$
.UniqueId
string - Required Unique and stable ID of the service account.
bucket_name
string - Required Name of the bucket this binding is for.
^[A-Za-z0-9_\.]+$
.The following plans are built-in to the GCP Service Broker and may be overridden or disabled by the broker administrator.
standard
e1d11f65-da66-46ad-977c-6d56513baf43
.nearline
a42c1182-d1a0-4d40-82c1-28220518b360
.reduced-availability
1a1f4fe6-1904-44d0-838c-4c87a9490a6b
.coldline
c8538397-8f15-45e3-a229-8bb349c3a98f
.regional
5e6161d2-0202-48be-80c4-1006cce19b9d
.multiregional
a5e8dfb5-e5ec-472a-8d36-33afcaff2fdb
.Create a nearline bucket with a service account that can create/read/list/delete the objects in it. Uses plan: a42c1182-d1a0-4d40-82c1-28220518b360
.
Provision
{
"location": "us"
}
Bind
{
"role": "storage.objectAdmin"
}
Cloud Foundry Example
$ cf create-service google-storage nearline my-google-storage-example -c `{"location":"us"}`
$ cf bind-service my-app my-google-storage-example -c `{"role":"storage.objectAdmin"}`
Create a coldline bucket with a service account that can create/read/list/delete the objects in it. Uses plan: c8538397-8f15-45e3-a229-8bb349c3a98f
.
Provision
{
"location": "us"
}
Bind
{
"role": "storage.objectAdmin"
}
Cloud Foundry Example
$ cf create-service google-storage coldline my-google-storage-example -c `{"location":"us"}`
$ cf bind-service my-app my-google-storage-example -c `{"role":"storage.objectAdmin"}`
Create a regional bucket with a service account that can create/read/list/delete the objects in it. Uses plan: 5e6161d2-0202-48be-80c4-1006cce19b9d
.
Provision
{
"location": "us-west1"
}
Bind
{
"role": "storage.objectAdmin"
}
Cloud Foundry Example
$ cf create-service google-storage regional my-google-storage-example -c `{"location":"us-west1"}`
$ cf bind-service my-app my-google-storage-example -c `{"role":"storage.objectAdmin"}`
Create a multi-regional bucket with a service account that can create/read/list/delete the objects in it. Uses plan: a5e8dfb5-e5ec-472a-8d36-33afcaff2fdb
.
Provision
{
"location": "us"
}
Bind
{
"role": "storage.objectAdmin"
}
Cloud Foundry Example
$ cf create-service google-storage multiregional my-google-storage-example -c `{"location":"us"}`
$ cf bind-service my-app my-google-storage-example -c `{"role":"storage.objectAdmin"}`
Sets the label sb-force-delete=true on the bucket. The broker will try to erase all contents before deleting the bucket. Uses plan: 5e6161d2-0202-48be-80c4-1006cce19b9d
.
Provision
{
"force_delete": "true",
"location": "us-west1"
}
Bind
{
"role": "storage.objectAdmin"
}
Cloud Foundry Example
$ cf create-service google-storage regional my-google-storage-example -c `{"force_delete":"true","location":"us-west1"}`
$ cf bind-service my-app my-google-storage-example -c `{"role":"storage.objectAdmin"}`