Package-level declarations

Types

Link copied to clipboard
data class AlloyDbConnectionProfileArgs(val clusterId: Output<String>, val settings: Output<AlloyDbSettingsArgs>? = null) : ConvertibleToJava<AlloyDbConnectionProfileArgs>

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.

Link copied to clipboard
data class AlloyDbSettingsArgs(val encryptionConfig: Output<EncryptionConfigArgs>? = null, val initialUser: Output<UserPasswordArgs>, val labels: Output<Map<String, String>>? = null, val primaryInstanceSettings: Output<PrimaryInstanceSettingsArgs>? = null, val vpcNetwork: Output<String>) : ConvertibleToJava<AlloyDbSettingsArgs>

Settings for creating an AlloyDB cluster.

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 availabilityType: Output<CloudSqlSettingsAvailabilityType>? = null, val cmekKeyName: Output<String>? = null, val collation: Output<String>? = 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 secondaryZone: 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 ConversionWorkspaceInfoArgs(val commitId: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<ConversionWorkspaceInfoArgs>

A conversion workspace's version.

Link copied to clipboard
data class DatabaseEngineInfoArgs(val engine: Output<DatabaseEngineInfoEngine>, val version: Output<String>) : ConvertibleToJava<DatabaseEngineInfoArgs>

The type and version of a source or destination database.

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 DumpFlagArgs(val name: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<DumpFlagArgs>

Dump flag definition.

Link copied to clipboard
Link copied to clipboard
data class DumpFlagsArgs(val dumpFlags: Output<List<DumpFlagArgs>>? = null) : ConvertibleToJava<DumpFlagsArgs>

Dump flags definition.

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

EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key).

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 ForwardSshTunnelConnectivityArgs(val hostname: Output<String>, val password: Output<String>? = null, val port: Output<Int>? = null, val privateKey: Output<String>? = null, val username: Output<String>) : ConvertibleToJava<ForwardSshTunnelConnectivityArgs>

Forward SSH Tunnel connectivity.

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 GetConversionWorkspaceIamPolicyPlainArgs(val conversionWorkspaceId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetConversionWorkspaceIamPolicyPlainArgs>
Link copied to clipboard
data class GetConversionWorkspacePlainArgs(val conversionWorkspaceId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetConversionWorkspacePlainArgs>
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 GetPrivateConnectionIamPolicyPlainArgs(val location: String, val optionsRequestedPolicyVersion: Int? = null, val privateConnectionId: String, val project: String? = null) : ConvertibleToJava<GetPrivateConnectionIamPolicyPlainArgs>
Link copied to clipboard
data class GetPrivateConnectionPlainArgs(val location: String, val privateConnectionId: String, val project: String? = null) : ConvertibleToJava<GetPrivateConnectionPlainArgs>
Link copied to clipboard
data class MachineConfigArgs(val cpuCount: Output<Int>? = null) : ConvertibleToJava<MachineConfigArgs>

MachineConfig describes the configuration of a machine.

Link copied to clipboard
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 OracleConnectionProfileArgs(val databaseService: Output<String>, val forwardSshConnectivity: Output<ForwardSshTunnelConnectivityArgs>? = null, val host: Output<String>, val password: Output<String>, val port: Output<Int>, val privateConnectivity: Output<PrivateConnectivityArgs>? = null, val staticServiceIpConnectivity: Output<StaticServiceIpConnectivityArgs>? = null, val username: Output<String>) : ConvertibleToJava<OracleConnectionProfileArgs>

Specifies connection parameters required specifically for Oracle databases.

Link copied to clipboard
data class PostgreSqlConnectionProfileArgs(val cloudSqlId: Output<String>? = null, val host: Output<String>, val password: Output<String>, val port: Output<Int>, val privateServiceConnectConnectivity: Output<PrivateServiceConnectConnectivityArgs>? = null, val ssl: Output<SslConfigArgs>? = null, val staticIpConnectivity: Output<StaticIpConnectivityArgs>? = null, val username: Output<String>) : ConvertibleToJava<PostgreSqlConnectionProfileArgs>

Specifies connection parameters required specifically for PostgreSQL databases.

Link copied to clipboard
data class PrimaryInstanceSettingsArgs(val databaseFlags: Output<Map<String, String>>? = null, val id: Output<String>, val labels: Output<Map<String, String>>? = null, val machineConfig: Output<MachineConfigArgs>? = null) : ConvertibleToJava<PrimaryInstanceSettingsArgs>

Settings for the cluster's primary instance

Link copied to clipboard
data class PrivateConnectivityArgs(val privateConnection: Output<String>) : ConvertibleToJava<PrivateConnectivityArgs>

Private Connectivity.

Link copied to clipboard
data class PrivateServiceConnectConnectivityArgs(val serviceAttachment: Output<String>) : ConvertibleToJava<PrivateServiceConnectConnectivityArgs>

Private Service Connect connectivity (https://cloud.google.com/vpc/docs/private-service-connect#service-attachments)

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/v1/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 allocatedIpRange: Output<String>? = null, 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 public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.

Link copied to clipboard
class StaticServiceIpConnectivityArgs : ConvertibleToJava<StaticServiceIpConnectivityArgs>

Static IP address connectivity configured on service project.

Link copied to clipboard
data class UserPasswordArgs(val password: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<UserPasswordArgs>

The username/password for a database user. Used for specifying initial users at cluster creation time.

Link copied to clipboard
Link copied to clipboard
data class VpcPeeringConfigArgs(val subnet: Output<String>, val vpcName: Output<String>) : ConvertibleToJava<VpcPeeringConfigArgs>

The VPC peering configuration is used to create VPC peering with the consumer's VPC.

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.