generated/google/apis/sqladmin_v1beta4/representations.rb in google-api-client-0.10.3 vs generated/google/apis/sqladmin_v1beta4/representations.rb in google-api-client-0.11.0

- old
+ new

@@ -357,11 +357,11 @@ property :enqueued_time, as: 'enqueuedTime', type: DateTime property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance, as: 'instance' property :kind, as: 'kind' property :self_link, as: 'selfLink' property :start_time, as: 'startTime', type: DateTime @@ -384,11 +384,11 @@ class BinLogCoordinates # @private class Representation < Google::Apis::Core::JsonRepresentation property :bin_log_file_name, as: 'binLogFileName' - property :bin_log_position, as: 'binLogPosition' + property :bin_log_position, :numeric_string => true, as: 'binLogPosition' property :kind, as: 'kind' end end class CloneContext @@ -426,22 +426,22 @@ class DatabaseInstance # @private class Representation < Google::Apis::Core::JsonRepresentation property :backend_type, as: 'backendType' property :connection_name, as: 'connectionName' - property :current_disk_size, as: 'currentDiskSize' + property :current_disk_size, :numeric_string => true, as: 'currentDiskSize' property :database_version, as: 'databaseVersion' property :etag, as: 'etag' property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation property :instance_type, as: 'instanceType' collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation property :ipv6_address, as: 'ipv6Address' property :kind, as: 'kind' property :master_instance_name, as: 'masterInstanceName' - property :max_disk_size, as: 'maxDiskSize' + property :max_disk_size, :numeric_string => true, as: 'maxDiskSize' property :name, as: 'name' property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation property :project, as: 'project' property :region, as: 'region' @@ -507,22 +507,22 @@ class FailoverContext # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :settings_version, as: 'settingsVersion' + property :settings_version, :numeric_string => true, as: 'settingsVersion' end end class Flag # @private class Representation < Google::Apis::Core::JsonRepresentation collection :allowed_string_values, as: 'allowedStringValues' collection :applies_to, as: 'appliesTo' property :kind, as: 'kind' - property :max_value, as: 'maxValue' - property :min_value, as: 'minValue' + 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 @@ -668,11 +668,11 @@ property :client_certificate, as: 'clientCertificate' property :client_key, as: 'clientKey' property :connect_retry_interval, as: 'connectRetryInterval' property :dump_file_path, as: 'dumpFilePath' property :kind, as: 'kind' - property :master_heartbeat_period, as: 'masterHeartbeatPeriod' + property :master_heartbeat_period, :numeric_string => true, as: 'masterHeartbeatPeriod' property :password, as: 'password' property :ssl_cipher, as: 'sslCipher' property :username, as: 'username' property :verify_server_certificate, as: 'verifyServerCertificate' end @@ -752,11 +752,11 @@ end class RestoreBackupContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :backup_run_id, as: 'backupRunId' + property :backup_run_id, :numeric_string => true, as: 'backupRunId' property :instance_id, as: 'instanceId' property :kind, as: 'kind' end end @@ -767,11 +767,11 @@ collection :authorized_gae_applications, as: 'authorizedGaeApplications' property :availability_type, as: 'availabilityType' property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled' - property :data_disk_size_gb, as: 'dataDiskSizeGb' + property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb' property :data_disk_type, as: 'dataDiskType' collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation property :database_replication_enabled, as: 'databaseReplicationEnabled' property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation @@ -783,13 +783,13 @@ property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation property :pricing_plan, as: 'pricingPlan' property :replication_type, as: 'replicationType' - property :settings_version, as: 'settingsVersion' + property :settings_version, :numeric_string => true, as: 'settingsVersion' property :storage_auto_resize, as: 'storageAutoResize' - property :storage_auto_resize_limit, as: 'storageAutoResizeLimit' + property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit' property :tier, as: 'tier' end end class SslCert @@ -855,11 +855,11 @@ end class Tier # @private class Representation < Google::Apis::Core::JsonRepresentation - property :disk_quota, as: 'DiskQuota' - property :ram, as: 'RAM' + 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