Skip to content

Commit fc3f8c9

Browse files
committed
Updated SQLAdmin.php
This change has been generated by a script that has detected changes in the discovery doc of the API. Check http://developers.google.com/discovery for more info.
1 parent f922b44 commit fc3f8c9

File tree

1 file changed

+189
-0
lines changed

1 file changed

+189
-0
lines changed

src/Google/Service/SQLAdmin.php

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,8 +1865,12 @@ class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
18651865
public $masterInstanceName;
18661866
public $maxDiskSize;
18671867
public $name;
1868+
protected $onPremisesConfigurationType = 'Google_Service_SQLAdmin_OnPremisesConfiguration';
1869+
protected $onPremisesConfigurationDataType = '';
18681870
public $project;
18691871
public $region;
1872+
protected $replicaConfigurationType = 'Google_Service_SQLAdmin_ReplicaConfiguration';
1873+
protected $replicaConfigurationDataType = '';
18701874
public $replicaNames;
18711875
public $selfLink;
18721876
protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
@@ -1957,6 +1961,14 @@ public function getName()
19571961
{
19581962
return $this->name;
19591963
}
1964+
public function setOnPremisesConfiguration(Google_Service_SQLAdmin_OnPremisesConfiguration $onPremisesConfiguration)
1965+
{
1966+
$this->onPremisesConfiguration = $onPremisesConfiguration;
1967+
}
1968+
public function getOnPremisesConfiguration()
1969+
{
1970+
return $this->onPremisesConfiguration;
1971+
}
19601972
public function setProject($project)
19611973
{
19621974
$this->project = $project;
@@ -1973,6 +1985,14 @@ public function getRegion()
19731985
{
19741986
return $this->region;
19751987
}
1988+
public function setReplicaConfiguration(Google_Service_SQLAdmin_ReplicaConfiguration $replicaConfiguration)
1989+
{
1990+
$this->replicaConfiguration = $replicaConfiguration;
1991+
}
1992+
public function getReplicaConfiguration()
1993+
{
1994+
return $this->replicaConfiguration;
1995+
}
19761996
public function setReplicaNames($replicaNames)
19771997
{
19781998
$this->replicaNames = $replicaNames;
@@ -2539,6 +2559,139 @@ public function getZone()
25392559
}
25402560
}
25412561

2562+
class Google_Service_SQLAdmin_MySqlReplicaConfiguration extends Google_Model
2563+
{
2564+
protected $internal_gapi_mappings = array(
2565+
);
2566+
public $caCertificate;
2567+
public $clientCertificate;
2568+
public $clientKey;
2569+
public $connectRetryInterval;
2570+
public $dumpFilePath;
2571+
public $kind;
2572+
public $masterHeartbeatPeriod;
2573+
public $password;
2574+
public $sslCipher;
2575+
public $username;
2576+
public $verifyServerCertificate;
2577+
2578+
2579+
public function setCaCertificate($caCertificate)
2580+
{
2581+
$this->caCertificate = $caCertificate;
2582+
}
2583+
public function getCaCertificate()
2584+
{
2585+
return $this->caCertificate;
2586+
}
2587+
public function setClientCertificate($clientCertificate)
2588+
{
2589+
$this->clientCertificate = $clientCertificate;
2590+
}
2591+
public function getClientCertificate()
2592+
{
2593+
return $this->clientCertificate;
2594+
}
2595+
public function setClientKey($clientKey)
2596+
{
2597+
$this->clientKey = $clientKey;
2598+
}
2599+
public function getClientKey()
2600+
{
2601+
return $this->clientKey;
2602+
}
2603+
public function setConnectRetryInterval($connectRetryInterval)
2604+
{
2605+
$this->connectRetryInterval = $connectRetryInterval;
2606+
}
2607+
public function getConnectRetryInterval()
2608+
{
2609+
return $this->connectRetryInterval;
2610+
}
2611+
public function setDumpFilePath($dumpFilePath)
2612+
{
2613+
$this->dumpFilePath = $dumpFilePath;
2614+
}
2615+
public function getDumpFilePath()
2616+
{
2617+
return $this->dumpFilePath;
2618+
}
2619+
public function setKind($kind)
2620+
{
2621+
$this->kind = $kind;
2622+
}
2623+
public function getKind()
2624+
{
2625+
return $this->kind;
2626+
}
2627+
public function setMasterHeartbeatPeriod($masterHeartbeatPeriod)
2628+
{
2629+
$this->masterHeartbeatPeriod = $masterHeartbeatPeriod;
2630+
}
2631+
public function getMasterHeartbeatPeriod()
2632+
{
2633+
return $this->masterHeartbeatPeriod;
2634+
}
2635+
public function setPassword($password)
2636+
{
2637+
$this->password = $password;
2638+
}
2639+
public function getPassword()
2640+
{
2641+
return $this->password;
2642+
}
2643+
public function setSslCipher($sslCipher)
2644+
{
2645+
$this->sslCipher = $sslCipher;
2646+
}
2647+
public function getSslCipher()
2648+
{
2649+
return $this->sslCipher;
2650+
}
2651+
public function setUsername($username)
2652+
{
2653+
$this->username = $username;
2654+
}
2655+
public function getUsername()
2656+
{
2657+
return $this->username;
2658+
}
2659+
public function setVerifyServerCertificate($verifyServerCertificate)
2660+
{
2661+
$this->verifyServerCertificate = $verifyServerCertificate;
2662+
}
2663+
public function getVerifyServerCertificate()
2664+
{
2665+
return $this->verifyServerCertificate;
2666+
}
2667+
}
2668+
2669+
class Google_Service_SQLAdmin_OnPremisesConfiguration extends Google_Model
2670+
{
2671+
protected $internal_gapi_mappings = array(
2672+
);
2673+
public $hostPort;
2674+
public $kind;
2675+
2676+
2677+
public function setHostPort($hostPort)
2678+
{
2679+
$this->hostPort = $hostPort;
2680+
}
2681+
public function getHostPort()
2682+
{
2683+
return $this->hostPort;
2684+
}
2685+
public function setKind($kind)
2686+
{
2687+
$this->kind = $kind;
2688+
}
2689+
public function getKind()
2690+
{
2691+
return $this->kind;
2692+
}
2693+
}
2694+
25422695
class Google_Service_SQLAdmin_Operation extends Google_Model
25432696
{
25442697
protected $internal_gapi_mappings = array(
@@ -2776,6 +2929,33 @@ public function getNextPageToken()
27762929
}
27772930
}
27782931

2932+
class Google_Service_SQLAdmin_ReplicaConfiguration extends Google_Model
2933+
{
2934+
protected $internal_gapi_mappings = array(
2935+
);
2936+
public $kind;
2937+
protected $mysqlReplicaConfigurationType = 'Google_Service_SQLAdmin_MySqlReplicaConfiguration';
2938+
protected $mysqlReplicaConfigurationDataType = '';
2939+
2940+
2941+
public function setKind($kind)
2942+
{
2943+
$this->kind = $kind;
2944+
}
2945+
public function getKind()
2946+
{
2947+
return $this->kind;
2948+
}
2949+
public function setMysqlReplicaConfiguration(Google_Service_SQLAdmin_MySqlReplicaConfiguration $mysqlReplicaConfiguration)
2950+
{
2951+
$this->mysqlReplicaConfiguration = $mysqlReplicaConfiguration;
2952+
}
2953+
public function getMysqlReplicaConfiguration()
2954+
{
2955+
return $this->mysqlReplicaConfiguration;
2956+
}
2957+
}
2958+
27792959
class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
27802960
{
27812961
protected $internal_gapi_mappings = array(
@@ -2811,6 +2991,7 @@ class Google_Service_SQLAdmin_Settings extends Google_Collection
28112991
public $authorizedGaeApplications;
28122992
protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
28132993
protected $backupConfigurationDataType = '';
2994+
public $crashSafeReplicationEnabled;
28142995
protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
28152996
protected $databaseFlagsDataType = 'array';
28162997
public $databaseReplicationEnabled;
@@ -2849,6 +3030,14 @@ public function getBackupConfiguration()
28493030
{
28503031
return $this->backupConfiguration;
28513032
}
3033+
public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled)
3034+
{
3035+
$this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled;
3036+
}
3037+
public function getCrashSafeReplicationEnabled()
3038+
{
3039+
return $this->crashSafeReplicationEnabled;
3040+
}
28523041
public function setDatabaseFlags($databaseFlags)
28533042
{
28543043
$this->databaseFlags = $databaseFlags;

0 commit comments

Comments
 (0)