lib/google/apis/sqladmin_v1/representations.rb in google-apis-sqladmin_v1-0.3.0 vs lib/google/apis/sqladmin_v1/representations.rb in google-apis-sqladmin_v1-0.4.0

- old
+ new

@@ -230,10 +230,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class InstanceReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstancesCloneRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -320,10 +326,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MySqlSyncConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OnPremisesConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -398,10 +410,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SqlInstancesStartExternalSyncRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SqlInstancesVerifyExternalSyncSettingsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SqlInstancesVerifyExternalSyncSettingsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -464,10 +488,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SyncFlags + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Tier class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -643,10 +673,11 @@ class DatabaseInstance # @private class Representation < Google::Apis::Core::JsonRepresentation property :backend_type, as: 'backendType' property :connection_name, as: 'connectionName' + property :create_time, as: 'createTime' property :current_disk_size, :numeric_string => true, as: 'currentDiskSize' property :database_version, as: 'databaseVersion' property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation @@ -719,10 +750,11 @@ class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :master_instance_name, as: 'masterInstanceName' property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterConfiguration::Representation + property :skip_replication_setup, as: 'skipReplicationSetup' property :verify_gtid_consistency, as: 'verifyGtidConsistency' end end class DemoteMasterMySqlReplicaConfiguration @@ -900,10 +932,19 @@ property :record_application_tags, as: 'recordApplicationTags' property :record_client_address, as: 'recordClientAddress' end end + class InstanceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :project, as: 'project' + property :region, as: 'region' + end + end + class InstancesCloneRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1::CloneContext, decorator: Google::Apis::SqladminV1::CloneContext::Representation @@ -989,10 +1030,11 @@ end class IpConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allocated_ip_range, as: 'allocatedIpRange' collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation property :ipv4_enabled, as: 'ipv4Enabled' property :private_network, as: 'privateNetwork' property :require_ssl, as: 'requireSsl' @@ -1043,20 +1085,30 @@ property :username, as: 'username' property :verify_server_certificate, as: 'verifyServerCertificate' end end + class MySqlSyncConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :initial_sync_flags, as: 'initialSyncFlags', class: Google::Apis::SqladminV1::SyncFlags, decorator: Google::Apis::SqladminV1::SyncFlags::Representation + + end + end + class OnPremisesConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation property :ca_certificate, as: 'caCertificate' property :client_certificate, as: 'clientCertificate' property :client_key, as: 'clientKey' property :dump_file_path, as: 'dumpFilePath' property :host_port, as: 'hostPort' property :kind, as: 'kind' property :password, as: 'password' + property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation + property :username, as: 'username' end end class Operation @@ -1210,10 +1262,30 @@ property :reschedule, as: 'reschedule', class: Google::Apis::SqladminV1::Reschedule, decorator: Google::Apis::SqladminV1::Reschedule::Representation end end + class SqlInstancesStartExternalSyncRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation + + property :skip_verification, as: 'skipVerification' + property :sync_mode, as: 'syncMode' + end + end + + class SqlInstancesVerifyExternalSyncSettingsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation + + property :sync_mode, as: 'syncMode' + property :verify_connection_only, as: 'verifyConnectionOnly' + end + end + class SqlInstancesVerifyExternalSyncSettingsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :errors, as: 'errors', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation @@ -1313,9 +1385,17 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation property :kind, as: 'kind' + end + end + + class SyncFlags + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' end end class Tier # @private