Package-level declarations

Types

Link copied to clipboard
data class AuditConfigArgs(val auditLogConfigs: Output<List<AuditLogConfigArgs>>? = null, val service: Output<String>? = null) : ConvertibleToJava<AuditConfigArgs>

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
Link copied to clipboard
data class AuditLogConfigArgs(val exemptedMembers: Output<List<String>>? = null, val logType: Output<AuditLogConfigLogType>? = null) : ConvertibleToJava<AuditLogConfigArgs>

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
Link copied to clipboard
data class BindingArgs(val condition: Output<ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
Link copied to clipboard
data class CloudSqlConnectionProfileArgs(val settings: Output<CloudSqlSettingsArgs>? = null) : ConvertibleToJava<CloudSqlConnectionProfileArgs>

Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.

Link copied to clipboard
data class CloudSqlSettingsArgs(val activationPolicy: Output<CloudSqlSettingsActivationPolicy>? = null, val autoStorageIncrease: Output<Boolean>? = null, val dataDiskSizeGb: Output<String>? = null, val dataDiskType: Output<CloudSqlSettingsDataDiskType>? = null, val databaseFlags: Output<Map<String, String>>? = null, val databaseVersion: Output<CloudSqlSettingsDatabaseVersion>? = null, val ipConfig: Output<SqlIpConfigArgs>? = null, val rootPassword: Output<String>? = null, val sourceId: Output<String>? = null, val storageAutoResizeLimit: Output<String>? = null, val tier: Output<String>? = null, val userLabels: Output<Map<String, String>>? = null, val zone: Output<String>? = null) : ConvertibleToJava<CloudSqlSettingsArgs>

Settings for creating a Cloud SQL database instance.

Link copied to clipboard
data class DatabaseTypeArgs(val engine: Output<DatabaseTypeEngine>? = null, val provider: Output<DatabaseTypeProvider>? = null) : ConvertibleToJava<DatabaseTypeArgs>

A message defining the database engine and provider.

Link copied to clipboard
Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class GetConnectionProfileIamPolicyPlainArgs(val connectionProfileId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetConnectionProfileIamPolicyPlainArgs>
Link copied to clipboard
data class GetConnectionProfilePlainArgs(val connectionProfileId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetConnectionProfilePlainArgs>
Link copied to clipboard
data class GetMigrationJobIamPolicyPlainArgs(val location: String, val migrationJobId: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetMigrationJobIamPolicyPlainArgs>
Link copied to clipboard
data class GetMigrationJobPlainArgs(val location: String, val migrationJobId: String, val project: String? = null) : ConvertibleToJava<GetMigrationJobPlainArgs>
Link copied to clipboard
data class MySqlConnectionProfileArgs(val cloudSqlId: Output<String>? = null, val host: Output<String>, val password: Output<String>, val port: Output<Int>, val ssl: Output<SslConfigArgs>? = null, val username: Output<String>) : ConvertibleToJava<MySqlConnectionProfileArgs>

Specifies connection parameters required specifically for MySQL databases.

Link copied to clipboard
data class ReverseSshConnectivityArgs(val vm: Output<String>? = null, val vmIp: Output<String>, val vmPort: Output<Int>, val vpc: Output<String>? = null) : ConvertibleToJava<ReverseSshConnectivityArgs>

The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.

Link copied to clipboard
data class SqlAclEntryArgs(val expireTime: Output<String>? = null, val label: Output<String>? = null, val ttl: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<SqlAclEntryArgs>

An entry for an Access Control list.

Link copied to clipboard
Link copied to clipboard
data class SqlIpConfigArgs(val authorizedNetworks: Output<List<SqlAclEntryArgs>>? = null, val enableIpv4: Output<Boolean>? = null, val privateNetwork: Output<String>? = null, val requireSsl: Output<Boolean>? = null) : ConvertibleToJava<SqlIpConfigArgs>

IP Management configuration.

Link copied to clipboard
Link copied to clipboard
data class SslConfigArgs(val caCertificate: Output<String>, val clientCertificate: Output<String>? = null, val clientKey: Output<String>? = null) : ConvertibleToJava<SslConfigArgs>

SSL configuration information.

Link copied to clipboard
Link copied to clipboard
class StaticIpConnectivityArgs : ConvertibleToJava<StaticIpConnectivityArgs>

The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.

Link copied to clipboard
data class VpcPeeringConnectivityArgs(val vpc: Output<String>? = null) : ConvertibleToJava<VpcPeeringConnectivityArgs>

The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.