lib/google/apis/sqladmin_v1/representations.rb in google-apis-sqladmin_v1-0.2.0 vs lib/google/apis/sqladmin_v1/representations.rb in google-apis-sqladmin_v1-0.3.0
- old
+ new
@@ -38,22 +38,58 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class BackupContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class BackupRetentionSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class BackupRun
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class BackupRunsListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class BinLogCoordinates
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CloneContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ConnectSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Database
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class DatabaseFlags
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -68,10 +104,34 @@
end
include Google::Apis::Core::JsonObjectSupport
end
+ class DatabasesListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DemoteMasterConfiguration
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DemoteMasterContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class DemoteMasterMySqlReplicaConfiguration
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class DenyMaintenancePeriod
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -86,10 +146,52 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ExportContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class CsvExportOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SqlExportOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class MysqlExportOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class FailoverContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class Flag
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class FlagsListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class GenerateEphemeralCertRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -98,28 +200,100 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ImportContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class BakImportOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ class EncryptionOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class CsvImportOptions
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class InsightsConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
- class InstanceReference
+ class InstancesCloneRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class InstancesDemoteMasterRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesExportRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesFailoverRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesImportRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class InstancesListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class InstancesListServerCasResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesRestoreBackupRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesRotateServerCaRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class InstancesTruncateLogRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class IpConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -152,16 +326,58 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Operation
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class OperationError
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class OperationErrors
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class OperationsListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class ReplicaConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class Reschedule
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RestoreBackupContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class RotateServerCaContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Settings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -170,10 +386,28 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class SqlExternalSyncSettingError
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SqlInstancesRescheduleMaintenanceRequestBody
+ 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
+
class SqlOutOfDiskReport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -182,22 +416,88 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class SqlServerDatabaseDetails
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SqlServerUserDetails
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class SslCert
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class SslCertDetail
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class SslCertsCreateEphemeralRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class SslCertsInsertRequest
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SslCertsInsertResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class SslCertsListResponse
+ 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
+
+ class TiersListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class TruncateLogContext
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class User
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
+ class UsersListResponse
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class AclEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :expiration_time, as: 'expirationTime'
property :kind, as: 'kind'
@@ -229,18 +529,82 @@
property :start_time, as: 'startTime'
property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
end
end
+ class BackupContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backup_id, :numeric_string => true, as: 'backupId'
+ property :kind, as: 'kind'
+ end
+ end
+
class BackupRetentionSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :retained_backups, as: 'retainedBackups'
property :retention_unit, as: 'retentionUnit'
end
end
+ class BackupRun
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backup_kind, as: 'backupKind'
+ property :description, as: 'description'
+ 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
+
+ property :end_time, as: 'endTime'
+ property :enqueued_time, as: 'enqueuedTime'
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
+
+ property :id, :numeric_string => true, as: 'id'
+ property :instance, as: 'instance'
+ property :kind, as: 'kind'
+ property :location, as: 'location'
+ property :self_link, as: 'selfLink'
+ property :start_time, as: 'startTime'
+ property :status, as: 'status'
+ property :type, as: 'type'
+ property :window_start_time, as: 'windowStartTime'
+ end
+ end
+
+ class BackupRunsListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::BackupRun, decorator: Google::Apis::SqladminV1::BackupRun::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
+ class BinLogCoordinates
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bin_log_file_name, as: 'binLogFileName'
+ property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
+ property :kind, as: 'kind'
+ end
+ end
+
+ class CloneContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1::BinLogCoordinates, decorator: Google::Apis::SqladminV1::BinLogCoordinates::Representation
+
+ property :destination_instance_name, as: 'destinationInstanceName'
+ property :kind, as: 'kind'
+ property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
+ property :point_in_time, as: 'pointInTime'
+ end
+ end
+
class ConnectSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backend_type, as: 'backendType'
property :database_version, as: 'databaseVersion'
@@ -250,10 +614,26 @@
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
end
end
+ class Database
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :charset, as: 'charset'
+ property :collation, as: 'collation'
+ property :etag, as: 'etag'
+ property :instance, as: 'instance'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :project, as: 'project'
+ property :self_link, as: 'selfLink'
+ property :sqlserver_database_details, as: 'sqlserverDatabaseDetails', class: Google::Apis::SqladminV1::SqlServerDatabaseDetails, decorator: Google::Apis::SqladminV1::SqlServerDatabaseDetails::Representation
+
+ end
+ end
+
class DatabaseFlags
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
@@ -269,24 +649,19 @@
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
- property :encrypted_root_password, :base64 => true, as: 'encryptedRootPassword'
property :etag, as: 'etag'
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
property :gce_zone, as: 'gceZone'
- property :installed_version, as: 'installedVersion'
property :instance_type, as: 'instanceType'
- property :instance_uid, as: 'instanceUid'
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
property :ipv6_address, as: 'ipv6Address'
property :kind, as: 'kind'
- property :master_instance, as: 'masterInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
-
property :master_instance_name, as: 'masterInstanceName'
property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
property :name, as: 'name'
property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1::OnPremisesConfiguration::Representation
@@ -294,12 +669,10 @@
property :project, as: 'project'
property :region, as: 'region'
property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
- collection :replica_instances, as: 'replicaInstances', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
-
collection :replica_names, as: 'replicaNames'
property :root_password, as: 'rootPassword'
property :satisfies_pzs, as: 'satisfiesPzs'
property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1::SqlScheduledMaintenance::Representation
@@ -316,17 +689,56 @@
class FailoverReplica
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :available, as: 'available'
- property :failover_instance, as: 'failoverInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
-
property :name, as: 'name'
end
end
end
+ class DatabasesListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Database, decorator: Google::Apis::SqladminV1::Database::Representation
+
+ property :kind, as: 'kind'
+ end
+ end
+
+ class DemoteMasterConfiguration
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :kind, as: 'kind'
+ property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1::DemoteMasterMySqlReplicaConfiguration::Representation
+
+ end
+ end
+
+ class DemoteMasterContext
+ # @private
+ 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 :verify_gtid_consistency, as: 'verifyGtidConsistency'
+ end
+ end
+
+ class DemoteMasterMySqlReplicaConfiguration
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :ca_certificate, as: 'caCertificate'
+ property :client_certificate, as: 'clientCertificate'
+ property :client_key, as: 'clientKey'
+ property :kind, as: 'kind'
+ property :password, as: 'password'
+ property :username, as: 'username'
+ end
+ end
+
class DenyMaintenancePeriod
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_date, as: 'endDate'
property :start_date, as: 'startDate'
@@ -348,10 +760,82 @@
property :kind, as: 'kind'
property :kms_key_version_name, as: 'kmsKeyVersionName'
end
end
+ class ExportContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::CsvExportOptions::Representation
+
+ collection :databases, as: 'databases'
+ property :file_type, as: 'fileType'
+ property :kind, as: 'kind'
+ property :offload, as: 'offload'
+ property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::Representation
+
+ property :uri, as: 'uri'
+ end
+
+ class CsvExportOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :select_query, as: 'selectQuery'
+ end
+ end
+
+ class SqlExportOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
+
+ property :schema_only, as: 'schemaOnly'
+ collection :tables, as: 'tables'
+ end
+
+ class MysqlExportOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :master_data, as: 'masterData'
+ end
+ end
+ end
+ end
+
+ class FailoverContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :kind, as: 'kind'
+ property :settings_version, :numeric_string => true, as: 'settingsVersion'
+ end
+ end
+
+ class Flag
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :allowed_int_values, as: 'allowedIntValues'
+ collection :allowed_string_values, as: 'allowedStringValues'
+ collection :applies_to, as: 'appliesTo'
+ property :in_beta, as: 'inBeta'
+ property :kind, as: 'kind'
+ property :max_value, :numeric_string => true, as: 'maxValue'
+ property :min_value, :numeric_string => true, as: 'minValue'
+ property :name, as: 'name'
+ property :requires_restart, as: 'requiresRestart'
+ property :type, as: 'type'
+ end
+ end
+
+ class FlagsListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Flag, decorator: Google::Apis::SqladminV1::Flag::Representation
+
+ property :kind, as: 'kind'
+ end
+ end
+
class GenerateEphemeralCertRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :access_token, as: 'access_token'
property :public_key, as: 'public_key'
@@ -365,10 +849,50 @@
property :ephemeral_cert, as: 'ephemeralCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
end
end
+ class ImportContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :bak_import_options, as: 'bakImportOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::Representation
+
+ property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1::ImportContext::CsvImportOptions::Representation
+
+ property :database, as: 'database'
+ property :file_type, as: 'fileType'
+ property :import_user, as: 'importUser'
+ property :kind, as: 'kind'
+ property :uri, as: 'uri'
+ end
+
+ class BakImportOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions::Representation
+
+ end
+
+ class EncryptionOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cert_path, as: 'certPath'
+ property :pvk_password, as: 'pvkPassword'
+ property :pvk_path, as: 'pvkPath'
+ end
+ end
+ end
+
+ class CsvImportOptions
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :columns, as: 'columns'
+ property :table, as: 'table'
+ end
+ end
+ end
+
class InsightsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :query_insights_enabled, as: 'queryInsightsEnabled'
property :query_plans_per_minute, as: 'queryPlansPerMinute'
@@ -376,18 +900,50 @@
property :record_application_tags, as: 'recordApplicationTags'
property :record_client_address, as: 'recordClientAddress'
end
end
- class InstanceReference
+ class InstancesCloneRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
- property :name, as: 'name'
- property :region, as: 'region'
+ property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1::CloneContext, decorator: Google::Apis::SqladminV1::CloneContext::Representation
+
end
end
+ class InstancesDemoteMasterRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :demote_master_context, as: 'demoteMasterContext', class: Google::Apis::SqladminV1::DemoteMasterContext, decorator: Google::Apis::SqladminV1::DemoteMasterContext::Representation
+
+ end
+ end
+
+ class InstancesExportRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
+
+ end
+ end
+
+ class InstancesFailoverRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :failover_context, as: 'failoverContext', class: Google::Apis::SqladminV1::FailoverContext, decorator: Google::Apis::SqladminV1::FailoverContext::Representation
+
+ end
+ end
+
+ class InstancesImportRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
+
+ end
+ end
+
class InstancesListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::DatabaseInstance::Representation
@@ -396,10 +952,44 @@
collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1::ApiWarning, decorator: Google::Apis::SqladminV1::ApiWarning::Representation
end
end
+ class InstancesListServerCasResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :active_version, as: 'activeVersion'
+ collection :certs, as: 'certs', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
+
+ property :kind, as: 'kind'
+ end
+ end
+
+ class InstancesRestoreBackupRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1::RestoreBackupContext, decorator: Google::Apis::SqladminV1::RestoreBackupContext::Representation
+
+ end
+ end
+
+ class InstancesRotateServerCaRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1::RotateServerCaContext, decorator: Google::Apis::SqladminV1::RotateServerCaContext::Representation
+
+ end
+ end
+
+ class InstancesTruncateLogRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1::TruncateLogContext, decorator: Google::Apis::SqladminV1::TruncateLogContext::Representation
+
+ end
+ end
+
class IpConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
@@ -419,10 +1009,11 @@
end
class LocationPreference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+ property :follow_gae_application, as: 'followGaeApplication'
property :kind, as: 'kind'
property :secondary_zone, as: 'secondaryZone'
property :zone, as: 'zone'
end
end
@@ -466,26 +1057,107 @@
property :password, as: 'password'
property :username, as: 'username'
end
end
+ class Operation
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1::BackupContext, decorator: Google::Apis::SqladminV1::BackupContext::Representation
+
+ property :end_time, as: 'endTime'
+ property :error, as: 'error', class: Google::Apis::SqladminV1::OperationErrors, decorator: Google::Apis::SqladminV1::OperationErrors::Representation
+
+ property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1::ExportContext, decorator: Google::Apis::SqladminV1::ExportContext::Representation
+
+ property :import_context, as: 'importContext', class: Google::Apis::SqladminV1::ImportContext, decorator: Google::Apis::SqladminV1::ImportContext::Representation
+
+ property :insert_time, as: 'insertTime'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :operation_type, as: 'operationType'
+ property :self_link, as: 'selfLink'
+ property :start_time, as: 'startTime'
+ property :status, as: 'status'
+ property :target_id, as: 'targetId'
+ property :target_link, as: 'targetLink'
+ property :target_project, as: 'targetProject'
+ property :user, as: 'user'
+ end
+ end
+
+ class OperationError
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :code, as: 'code'
+ property :kind, as: 'kind'
+ property :message, as: 'message'
+ end
+ end
+
+ class OperationErrors
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :errors, as: 'errors', class: Google::Apis::SqladminV1::OperationError, decorator: Google::Apis::SqladminV1::OperationError::Representation
+
+ property :kind, as: 'kind'
+ end
+ end
+
+ class OperationsListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
+ end
+ end
+
class ReplicaConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :failover_target, as: 'failoverTarget'
property :kind, as: 'kind'
property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1::MySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1::MySqlReplicaConfiguration::Representation
end
end
+ class Reschedule
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :reschedule_type, as: 'rescheduleType'
+ property :schedule_time, as: 'scheduleTime'
+ end
+ end
+
+ class RestoreBackupContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :backup_run_id, :numeric_string => true, as: 'backupRunId'
+ property :instance_id, as: 'instanceId'
+ property :kind, as: 'kind'
+ property :project, as: 'project'
+ end
+ end
+
+ class RotateServerCaContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :kind, as: 'kind'
+ property :next_version, as: 'nextVersion'
+ end
+ end
+
class Settings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :activation_policy, as: 'activationPolicy'
property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1::SqlActiveDirectoryConfig::Representation
+ collection :authorized_gae_applications, as: 'authorizedGaeApplications'
property :availability_type, as: 'availabilityType'
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
property :collation, as: 'collation'
property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
@@ -521,10 +1193,38 @@
property :domain, as: 'domain'
property :kind, as: 'kind'
end
end
+ class SqlExternalSyncSettingError
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :detail, as: 'detail'
+ property :kind, as: 'kind'
+ property :type, as: 'type'
+ end
+ end
+
+ class SqlInstancesRescheduleMaintenanceRequestBody
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :reschedule, as: 'reschedule', class: Google::Apis::SqladminV1::Reschedule, decorator: Google::Apis::SqladminV1::Reschedule::Representation
+
+ 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
+
+ property :kind, as: 'kind'
+ collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1::SqlExternalSyncSettingError::Representation
+
+ end
+ end
+
class SqlOutOfDiskReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :sql_min_recommended_increase_size_gb, as: 'sqlMinRecommendedIncreaseSizeGb'
property :sql_out_of_disk_state, as: 'sqlOutOfDiskState'
@@ -539,28 +1239,137 @@
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
property :start_time, as: 'startTime'
end
end
+ class SqlServerDatabaseDetails
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :compatibility_level, as: 'compatibilityLevel'
+ property :recovery_model, as: 'recoveryModel'
+ end
+ end
+
+ class SqlServerUserDetails
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :disabled, as: 'disabled'
+ collection :server_roles, as: 'serverRoles'
+ end
+ end
+
class SslCert
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cert, as: 'cert'
property :cert_serial_number, as: 'certSerialNumber'
property :common_name, as: 'commonName'
property :create_time, as: 'createTime'
property :expiration_time, as: 'expirationTime'
property :instance, as: 'instance'
property :kind, as: 'kind'
+ property :self_link, as: 'selfLink'
property :sha1_fingerprint, as: 'sha1Fingerprint'
end
end
+ class SslCertDetail
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :cert_info, as: 'certInfo', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
+
+ property :cert_private_key, as: 'certPrivateKey'
+ end
+ end
+
class SslCertsCreateEphemeralRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :access_token, as: 'access_token'
property :public_key, as: 'public_key'
+ end
+ end
+
+ class SslCertsInsertRequest
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :common_name, as: 'commonName'
+ end
+ end
+
+ class SslCertsInsertResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :client_cert, as: 'clientCert', class: Google::Apis::SqladminV1::SslCertDetail, decorator: Google::Apis::SqladminV1::SslCertDetail::Representation
+
+ property :kind, as: 'kind'
+ property :operation, as: 'operation', class: Google::Apis::SqladminV1::Operation, decorator: Google::Apis::SqladminV1::Operation::Representation
+
+ property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
+
+ end
+ end
+
+ class SslCertsListResponse
+ # @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 Tier
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :disk_quota, :numeric_string => true, as: 'DiskQuota'
+ property :ram, :numeric_string => true, as: 'RAM'
+ property :kind, as: 'kind'
+ collection :region, as: 'region'
+ property :tier, as: 'tier'
+ end
+ end
+
+ class TiersListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::Tier, decorator: Google::Apis::SqladminV1::Tier::Representation
+
+ property :kind, as: 'kind'
+ end
+ end
+
+ class TruncateLogContext
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :kind, as: 'kind'
+ property :log_type, as: 'logType'
+ end
+ end
+
+ class User
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :etag, as: 'etag'
+ property :host, as: 'host'
+ property :instance, as: 'instance'
+ property :kind, as: 'kind'
+ property :name, as: 'name'
+ property :password, as: 'password'
+ property :project, as: 'project'
+ property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqladminV1::SqlServerUserDetails, decorator: Google::Apis::SqladminV1::SqlServerUserDetails::Representation
+
+ property :type, as: 'type'
+ end
+ end
+
+ class UsersListResponse
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ collection :items, as: 'items', class: Google::Apis::SqladminV1::User, decorator: Google::Apis::SqladminV1::User::Representation
+
+ property :kind, as: 'kind'
+ property :next_page_token, as: 'nextPageToken'
end
end
end
end
end