google-api-ruby-client/generated/google/apis/sqladmin_v1beta4/representations.rb

1039 lines
39 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module SqladminV1beta4
class AclEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ApiWarning
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class BackupConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class BackupRun
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListBackupRunsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class BinLogCoordinates
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class CloneContext
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Database
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class DatabaseFlags
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class DatabaseInstance
class Representation < Google::Apis::Core::JsonRepresentation; end
2015-12-03 01:10:07 +00:00
class FailoverReplica
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListDatabasesResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
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
2015-06-23 23:05:46 +00:00
class ExportContext
class Representation < Google::Apis::Core::JsonRepresentation; end
class CsvExportOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
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
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class FailoverContext
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2015-06-23 23:05:46 +00:00
class Flag
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListFlagsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ImportContext
class Representation < Google::Apis::Core::JsonRepresentation; end
class CsvImportOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class CloneInstancesRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InstancesDemoteMasterRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExportInstancesRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class InstancesFailoverRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class ImportInstancesRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListInstancesResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InstancesListServerCasResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RestoreInstancesBackupRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InstancesRotateServerCaRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-01-13 23:04:35 +00:00
class InstancesTruncateLogRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class IpConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class IpMapping
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class LocationPreference
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class MaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2015-06-23 23:05:46 +00:00
class MySqlReplicaConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class OnPremisesConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class OperationError
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class OperationErrors
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListOperationsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ReplicaConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class RestoreBackupContext
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class RotateServerCaContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class Settings
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class SslCert
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class SslCertDetail
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class SslCertsCreateEphemeralRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class InsertSslCertsRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class InsertSslCertsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListSslCertsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Tier
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListTiersResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2017-01-13 23:04:35 +00:00
class TruncateLogContext
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class User
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListUsersResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class AclEntry
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :expiration_time, as: 'expirationTime', type: DateTime
property :kind, as: 'kind'
property :name, as: 'name'
property :value, as: 'value'
end
end
class ApiWarning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :message, as: 'message'
end
end
2015-06-23 23:05:46 +00:00
class BackupConfiguration
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :binary_log_enabled, as: 'binaryLogEnabled'
property :enabled, as: 'enabled'
property :kind, as: 'kind'
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
2015-06-23 23:05:46 +00:00
property :start_time, as: 'startTime'
end
end
class BackupRun
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2016-08-08 20:25:38 +00:00
property :description, as: 'description'
2015-06-23 23:05:46 +00:00
property :end_time, as: 'endTime', type: DateTime
property :enqueued_time, as: 'enqueuedTime', type: DateTime
property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
2017-04-03 20:18:48 +00:00
property :id, :numeric_string => true, as: 'id'
2015-06-23 23:05:46 +00:00
property :instance, as: 'instance'
property :kind, as: 'kind'
property :self_link, as: 'selfLink'
property :start_time, as: 'startTime', type: DateTime
property :status, as: 'status'
2016-08-08 20:25:38 +00:00
property :type, as: 'type'
2015-06-23 23:05:46 +00:00
property :window_start_time, as: 'windowStartTime', type: DateTime
end
end
class ListBackupRunsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::BackupRun, decorator: Google::Apis::SqladminV1beta4::BackupRun::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class BinLogCoordinates
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :bin_log_file_name, as: 'binLogFileName'
2017-04-03 20:18:48 +00:00
property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
end
end
class CloneContext
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :bin_log_coordinates, as: 'binLogCoordinates', class: Google::Apis::SqladminV1beta4::BinLogCoordinates, decorator: Google::Apis::SqladminV1beta4::BinLogCoordinates::Representation
property :destination_instance_name, as: 'destinationInstanceName'
property :kind, as: 'kind'
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
2015-06-23 23:05:46 +00:00
end
end
class Database
# @private
2015-06-23 23:05:46 +00:00
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'
end
end
class DatabaseFlags
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
end
end
class DatabaseInstance
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2016-02-25 23:16:53 +00:00
property :backend_type, as: 'backendType'
2016-10-12 22:52:51 +00:00
property :connection_name, as: 'connectionName'
2017-04-03 20:18:48 +00:00
property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
2015-06-23 23:05:46 +00:00
property :database_version, as: 'databaseVersion'
property :etag, as: 'etag'
2015-12-03 01:10:07 +00:00
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
Autogenerated update (2017-08-25) Add: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - cloudtrace_v2 - clouduseraccounts_vm_alpha - consumersurveys_v2 - dlp_v2beta1 - oslogin_v1alpha - playcustomapp_v1 - playmoviespartner_v1 - safebrowsing_v4 - spectrum_v1explorer - speech_v1 - streetviewpublish_v1 - vault_v1 - videointelligence_v1beta1 Update: - acceleratedmobilepageurl_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_4 - adsense_v1_4 - adsensehost_v4_1 - analytics_v3 - analyticsreporting_v4 - androidenterprise_v1 - androidpublisher_v2 - appengine_v1 - appsactivity_v1 - appstate_v1 - bigquery_v2 - calendar_v3 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudfunctions_v1 - cloudkms_v1 - cloudmonitoring_v2beta2 - cloudresourcemanager_v1 - compute_beta - compute_v1 - container_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - datastore_v1 - deploymentmanager_v2 - dfareporting_v2_8 - dns_v1 - doubleclicksearch_v2 - drive_v3 - firebasedynamiclinks_v1 - firebaserules_v1 - fitness_v1 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - gmail_v1 - iam_v1 - identitytoolkit_v3 - language_v1 - logging_v2 - manufacturers_v1 - ml_v1 - monitoring_v3 - oauth2_v2 - partners_v2 - people_v1 - plus_domains_v1 - plus_v1 - proximitybeacon_v1beta1 - pubsub_v1 - runtimeconfig_v1 - script_v1 - searchconsole_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - sheets_v4 - slides_v1 - sourcerepo_v1 - spanner_v1 - sqladmin_v1beta4 - storage_v1 - storagetransfer_v1 - toolresults_v1beta3 - vision_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_partner_v1 - youtubereporting_v1
2017-08-25 19:54:22 +00:00
property :gce_zone, as: 'gceZone'
2015-06-23 23:05:46 +00:00
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'
2017-04-03 20:18:48 +00:00
property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
2015-06-23 23:05:46 +00:00
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'
property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
collection :replica_names, as: 'replicaNames'
property :self_link, as: 'selfLink'
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
property :service_account_email_address, as: 'serviceAccountEmailAddress'
property :settings, as: 'settings', class: Google::Apis::SqladminV1beta4::Settings, decorator: Google::Apis::SqladminV1beta4::Settings::Representation
property :state, as: 'state'
2016-02-25 23:16:53 +00:00
collection :suspension_reason, as: 'suspensionReason'
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class FailoverReplica
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :available, as: 'available'
property :name, as: 'name'
end
end
2015-06-23 23:05:46 +00:00
end
class ListDatabasesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Database, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1beta4::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
2015-06-23 23:05:46 +00:00
class ExportContext
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :csv_export_options, as: 'csvExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions::Representation
collection :databases, as: 'databases'
property :file_type, as: 'fileType'
property :kind, as: 'kind'
property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::Representation
property :uri, as: 'uri'
end
class CsvExportOptions
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :select_query, as: 'selectQuery'
end
end
class SqlExportOptions
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :mysql_export_options, as: 'mysqlExportOptions', class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions, decorator: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions::Representation
2015-12-03 01:10:07 +00:00
property :schema_only, as: 'schemaOnly'
2015-06-23 23:05:46 +00:00
collection :tables, as: 'tables'
end
class MysqlExportOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :master_data, as: 'masterData'
end
end
2015-06-23 23:05:46 +00:00
end
end
2015-12-03 01:10:07 +00:00
class FailoverContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
2017-04-03 20:18:48 +00:00
property :settings_version, :numeric_string => true, as: 'settingsVersion'
2015-12-03 01:10:07 +00:00
end
end
2015-06-23 23:05:46 +00:00
class Flag
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_string_values, as: 'allowedStringValues'
collection :applies_to, as: 'appliesTo'
property :kind, as: 'kind'
2017-04-03 20:18:48 +00:00
property :max_value, :numeric_string => true, as: 'maxValue'
property :min_value, :numeric_string => true, as: 'minValue'
2015-06-23 23:05:46 +00:00
property :name, as: 'name'
2015-12-03 01:10:07 +00:00
property :requires_restart, as: 'requiresRestart'
2015-06-23 23:05:46 +00:00
property :type, as: 'type'
end
end
class ListFlagsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Flag, decorator: Google::Apis::SqladminV1beta4::Flag::Representation
property :kind, as: 'kind'
end
end
class ImportContext
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions::Representation
property :database, as: 'database'
property :file_type, as: 'fileType'
2017-05-26 16:44:32 +00:00
property :import_user, as: 'importUser'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
property :uri, as: 'uri'
end
class CsvImportOptions
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :columns, as: 'columns'
property :table, as: 'table'
end
end
end
class CloneInstancesRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :clone_context, as: 'cloneContext', class: Google::Apis::SqladminV1beta4::CloneContext, decorator: Google::Apis::SqladminV1beta4::CloneContext::Representation
end
end
class InstancesDemoteMasterRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :demote_master_context, as: 'demoteMasterContext', class: Google::Apis::SqladminV1beta4::DemoteMasterContext, decorator: Google::Apis::SqladminV1beta4::DemoteMasterContext::Representation
end
end
class ExportInstancesRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1beta4::ExportContext, decorator: Google::Apis::SqladminV1beta4::ExportContext::Representation
end
end
2015-12-03 01:10:07 +00:00
class InstancesFailoverRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :failover_context, as: 'failoverContext', class: Google::Apis::SqladminV1beta4::FailoverContext, decorator: Google::Apis::SqladminV1beta4::FailoverContext::Representation
end
end
class ImportInstancesRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :import_context, as: 'importContext', class: Google::Apis::SqladminV1beta4::ImportContext, decorator: Google::Apis::SqladminV1beta4::ImportContext::Representation
end
end
class ListInstancesResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1beta4::ApiWarning, decorator: Google::Apis::SqladminV1beta4::ApiWarning::Representation
2015-06-23 23:05:46 +00:00
end
end
class InstancesListServerCasResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :active_version, as: 'activeVersion'
collection :certs, as: 'certs', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
property :kind, as: 'kind'
end
end
class RestoreInstancesBackupRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1beta4::RestoreBackupContext, decorator: Google::Apis::SqladminV1beta4::RestoreBackupContext::Representation
end
end
class InstancesRotateServerCaRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :rotate_server_ca_context, as: 'rotateServerCaContext', class: Google::Apis::SqladminV1beta4::RotateServerCaContext, decorator: Google::Apis::SqladminV1beta4::RotateServerCaContext::Representation
end
end
2017-01-13 23:04:35 +00:00
class InstancesTruncateLogRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1beta4::TruncateLogContext, decorator: Google::Apis::SqladminV1beta4::TruncateLogContext::Representation
end
end
2015-06-23 23:05:46 +00:00
class IpConfiguration
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::AclEntry::Representation
property :ipv4_enabled, as: 'ipv4Enabled'
Autogenerated update (2018-07-10) Update: - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appsactivity_v1 - appstate_v1 - bigquery_v2 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - civicinfo_v2 - cloudiot_v1 - compute_alpha - compute_beta - compute_v1 - content_v2sandbox - customsearch_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - identitytoolkit_v3 - licensing_v1 - mirror_v1 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - script_v1 - site_verification_v1 - slides_v1 - spectrum_v1explorer - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - toolresults_v1beta3 - urlshortener_v1 - webfonts_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_v3
2018-07-10 00:36:20 +00:00
property :private_network, as: 'privateNetwork'
2015-06-23 23:05:46 +00:00
property :require_ssl, as: 'requireSsl'
end
end
class IpMapping
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :time_to_retire, as: 'timeToRetire', type: DateTime
2017-01-13 23:04:35 +00:00
property :type, as: 'type'
2015-06-23 23:05:46 +00:00
end
end
class LocationPreference
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :follow_gae_application, as: 'followGaeApplication'
property :kind, as: 'kind'
property :zone, as: 'zone'
end
end
2015-12-03 01:10:07 +00:00
class MaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :hour, as: 'hour'
property :kind, as: 'kind'
property :update_track, as: 'updateTrack'
end
end
2015-06-23 23:05:46 +00:00
class MySqlReplicaConfiguration
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :ca_certificate, as: 'caCertificate'
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'
2017-04-03 20:18:48 +00:00
property :master_heartbeat_period, :numeric_string => true, as: 'masterHeartbeatPeriod'
2015-06-23 23:05:46 +00:00
property :password, as: 'password'
property :ssl_cipher, as: 'sslCipher'
property :username, as: 'username'
property :verify_server_certificate, as: 'verifyServerCertificate'
end
end
class OnPremisesConfiguration
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :host_port, as: 'hostPort'
property :kind, as: 'kind'
end
end
class Operation
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time, as: 'endTime', type: DateTime
property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationErrors, decorator: Google::Apis::SqladminV1beta4::OperationErrors::Representation
property :export_context, as: 'exportContext', class: Google::Apis::SqladminV1beta4::ExportContext, decorator: Google::Apis::SqladminV1beta4::ExportContext::Representation
property :import_context, as: 'importContext', class: Google::Apis::SqladminV1beta4::ImportContext, decorator: Google::Apis::SqladminV1beta4::ImportContext::Representation
property :insert_time, as: 'insertTime', type: DateTime
property :kind, as: 'kind'
property :name, as: 'name'
property :operation_type, as: 'operationType'
property :self_link, as: 'selfLink'
property :start_time, as: 'startTime', type: DateTime
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
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :kind, as: 'kind'
property :message, as: 'message'
end
end
class OperationErrors
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :errors, as: 'errors', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
property :kind, as: 'kind'
end
end
class ListOperationsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Operation, decorator: Google::Apis::SqladminV1beta4::Operation::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class ReplicaConfiguration
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2015-12-03 01:10:07 +00:00
property :failover_target, as: 'failoverTarget'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
property :mysql_replica_configuration, as: 'mysqlReplicaConfiguration', class: Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration::Representation
end
end
class RestoreBackupContext
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :backup_run_id, :numeric_string => true, as: 'backupRunId'
2015-06-23 23:05:46 +00:00
property :instance_id, as: 'instanceId'
property :kind, as: 'kind'
end
end
class RotateServerCaContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :next_version, as: 'nextVersion'
end
end
2015-06-23 23:05:46 +00:00
class Settings
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :activation_policy, as: 'activationPolicy'
collection :authorized_gae_applications, as: 'authorizedGaeApplications'
property :availability_type, as: 'availabilityType'
2015-06-23 23:05:46 +00:00
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
2017-04-03 20:18:48 +00:00
property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
2015-12-03 01:10:07 +00:00
property :data_disk_type, as: 'dataDiskType'
2015-06-23 23:05:46 +00:00
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
property :kind, as: 'kind'
property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1beta4::LocationPreference, decorator: Google::Apis::SqladminV1beta4::LocationPreference::Representation
2015-12-03 01:10:07 +00:00
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation
2015-06-23 23:05:46 +00:00
property :pricing_plan, as: 'pricingPlan'
property :replication_type, as: 'replicationType'
2017-04-03 20:18:48 +00:00
property :settings_version, :numeric_string => true, as: 'settingsVersion'
property :storage_auto_resize, as: 'storageAutoResize'
2017-04-03 20:18:48 +00:00
property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
2015-06-23 23:05:46 +00:00
property :tier, as: 'tier'
hash :user_labels, as: 'userLabels'
2015-06-23 23:05:46 +00:00
end
end
class SslCert
# @private
2015-06-23 23:05:46 +00:00
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', type: DateTime
property :expiration_time, as: 'expirationTime', type: DateTime
property :instance, as: 'instance'
property :kind, as: 'kind'
property :self_link, as: 'selfLink'
property :sha1_fingerprint, as: 'sha1Fingerprint'
end
end
class SslCertDetail
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :cert_info, as: 'certInfo', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
property :cert_private_key, as: 'certPrivateKey'
end
end
2015-12-03 01:10:07 +00:00
class SslCertsCreateEphemeralRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :public_key, as: 'public_key'
end
end
class InsertSslCertsRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :common_name, as: 'commonName'
end
end
class InsertSslCertsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :client_cert, as: 'clientCert', class: Google::Apis::SqladminV1beta4::SslCertDetail, decorator: Google::Apis::SqladminV1beta4::SslCertDetail::Representation
property :kind, as: 'kind'
property :operation, as: 'operation', class: Google::Apis::SqladminV1beta4::Operation, decorator: Google::Apis::SqladminV1beta4::Operation::Representation
2015-06-23 23:05:46 +00:00
property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
end
end
class ListSslCertsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
property :kind, as: 'kind'
end
end
class Tier
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :disk_quota, :numeric_string => true, as: 'DiskQuota'
property :ram, :numeric_string => true, as: 'RAM'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
collection :region, as: 'region'
property :tier, as: 'tier'
end
end
class ListTiersResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::Tier, decorator: Google::Apis::SqladminV1beta4::Tier::Representation
property :kind, as: 'kind'
end
end
2017-01-13 23:04:35 +00:00
class TruncateLogContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :log_type, as: 'logType'
end
end
2015-06-23 23:05:46 +00:00
class User
# @private
2015-06-23 23:05:46 +00:00
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'
end
end
class ListUsersResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::SqladminV1beta4::User, decorator: Google::Apis::SqladminV1beta4::User::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
end
end
end