1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_BigQueryConnectionService_CloudSqlProperties extends Google_Model 19{ 20 protected $credentialType = 'Google_Service_BigQueryConnectionService_CloudSqlCredential'; 21 protected $credentialDataType = ''; 22 public $database; 23 public $instanceId; 24 public $type; 25 26 /** 27 * @param Google_Service_BigQueryConnectionService_CloudSqlCredential 28 */ 29 public function setCredential(Google_Service_BigQueryConnectionService_CloudSqlCredential $credential) 30 { 31 $this->credential = $credential; 32 } 33 /** 34 * @return Google_Service_BigQueryConnectionService_CloudSqlCredential 35 */ 36 public function getCredential() 37 { 38 return $this->credential; 39 } 40 public function setDatabase($database) 41 { 42 $this->database = $database; 43 } 44 public function getDatabase() 45 { 46 return $this->database; 47 } 48 public function setInstanceId($instanceId) 49 { 50 $this->instanceId = $instanceId; 51 } 52 public function getInstanceId() 53 { 54 return $this->instanceId; 55 } 56 public function setType($type) 57 { 58 $this->type = $type; 59 } 60 public function getType() 61 { 62 return $this->type; 63 } 64} 65