Mise à jour des librairies vendor
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_AuditConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'exemptedMembers';
|
||||
protected $auditLogConfigsType = 'Google_Service_Spanner_AuditLogConfig';
|
||||
protected $auditLogConfigsDataType = 'array';
|
||||
public $exemptedMembers;
|
||||
public $service;
|
||||
|
||||
public function setAuditLogConfigs($auditLogConfigs)
|
||||
{
|
||||
$this->auditLogConfigs = $auditLogConfigs;
|
||||
}
|
||||
public function getAuditLogConfigs()
|
||||
{
|
||||
return $this->auditLogConfigs;
|
||||
}
|
||||
public function setExemptedMembers($exemptedMembers)
|
||||
{
|
||||
$this->exemptedMembers = $exemptedMembers;
|
||||
}
|
||||
public function getExemptedMembers()
|
||||
{
|
||||
return $this->exemptedMembers;
|
||||
}
|
||||
public function setService($service)
|
||||
{
|
||||
$this->service = $service;
|
||||
}
|
||||
public function getService()
|
||||
{
|
||||
return $this->service;
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_AuditLogConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'exemptedMembers';
|
||||
public $exemptedMembers;
|
||||
public $logType;
|
||||
|
||||
public function setExemptedMembers($exemptedMembers)
|
||||
{
|
||||
$this->exemptedMembers = $exemptedMembers;
|
||||
}
|
||||
public function getExemptedMembers()
|
||||
{
|
||||
return $this->exemptedMembers;
|
||||
}
|
||||
public function setLogType($logType)
|
||||
{
|
||||
$this->logType = $logType;
|
||||
}
|
||||
public function getLogType()
|
||||
{
|
||||
return $this->logType;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -20,10 +20,16 @@ class Google_Service_Spanner_BeginTransactionRequest extends Google_Model
|
||||
protected $optionsType = 'Google_Service_Spanner_TransactionOptions';
|
||||
protected $optionsDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function setOptions(Google_Service_Spanner_TransactionOptions $options)
|
||||
{
|
||||
$this->options = $options;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function getOptions()
|
||||
{
|
||||
return $this->options;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_CloudAuditOptions extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -24,18 +24,30 @@ class Google_Service_Spanner_CommitRequest extends Google_Collection
|
||||
protected $singleUseTransactionDataType = '';
|
||||
public $transactionId;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Mutation
|
||||
*/
|
||||
public function setMutations($mutations)
|
||||
{
|
||||
$this->mutations = $mutations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Mutation
|
||||
*/
|
||||
public function getMutations()
|
||||
{
|
||||
return $this->mutations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function setSingleUseTransaction(Google_Service_Spanner_TransactionOptions $singleUseTransaction)
|
||||
{
|
||||
$this->singleUseTransaction = $singleUseTransaction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function getSingleUseTransaction()
|
||||
{
|
||||
return $this->singleUseTransaction;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_Condition extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'values';
|
||||
public $iam;
|
||||
public $op;
|
||||
public $svc;
|
||||
public $sys;
|
||||
public $value;
|
||||
public $values;
|
||||
|
||||
public function setIam($iam)
|
||||
{
|
||||
$this->iam = $iam;
|
||||
}
|
||||
public function getIam()
|
||||
{
|
||||
return $this->iam;
|
||||
}
|
||||
public function setOp($op)
|
||||
{
|
||||
$this->op = $op;
|
||||
}
|
||||
public function getOp()
|
||||
{
|
||||
return $this->op;
|
||||
}
|
||||
public function setSvc($svc)
|
||||
{
|
||||
$this->svc = $svc;
|
||||
}
|
||||
public function getSvc()
|
||||
{
|
||||
return $this->svc;
|
||||
}
|
||||
public function setSys($sys)
|
||||
{
|
||||
$this->sys = $sys;
|
||||
}
|
||||
public function getSys()
|
||||
{
|
||||
return $this->sys;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
public function setValues($values)
|
||||
{
|
||||
$this->values = $values;
|
||||
}
|
||||
public function getValues()
|
||||
{
|
||||
return $this->values;
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_CounterOptions extends Google_Model
|
||||
{
|
||||
public $field;
|
||||
public $metric;
|
||||
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
public function setMetric($metric)
|
||||
{
|
||||
$this->metric = $metric;
|
||||
}
|
||||
public function getMetric()
|
||||
{
|
||||
return $this->metric;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -39,10 +39,16 @@ class Google_Service_Spanner_CreateInstanceMetadata extends Google_Model
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function setInstance(Google_Service_Spanner_Instance $instance)
|
||||
{
|
||||
$this->instance = $instance;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function getInstance()
|
||||
{
|
||||
return $this->instance;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Spanner_CreateInstanceRequest extends Google_Model
|
||||
protected $instanceDataType = '';
|
||||
public $instanceId;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function setInstance(Google_Service_Spanner_Instance $instance)
|
||||
{
|
||||
$this->instance = $instance;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function getInstance()
|
||||
{
|
||||
return $this->instance;
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_DataAccessOptions extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Spanner_Delete extends Google_Model
|
||||
protected $keySetDataType = '';
|
||||
public $table;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_KeySet
|
||||
*/
|
||||
public function setKeySet(Google_Service_Spanner_KeySet $keySet)
|
||||
{
|
||||
$this->keySet = $keySet;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_KeySet
|
||||
*/
|
||||
public function getKeySet()
|
||||
{
|
||||
return $this->keySet;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -20,16 +20,23 @@ class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
|
||||
protected $paramTypesType = 'Google_Service_Spanner_Type';
|
||||
protected $paramTypesDataType = 'map';
|
||||
public $params;
|
||||
public $partitionToken;
|
||||
public $queryMode;
|
||||
public $resumeToken;
|
||||
public $sql;
|
||||
protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
|
||||
protected $transactionDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Type
|
||||
*/
|
||||
public function setParamTypes($paramTypes)
|
||||
{
|
||||
$this->paramTypes = $paramTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Type
|
||||
*/
|
||||
public function getParamTypes()
|
||||
{
|
||||
return $this->paramTypes;
|
||||
@@ -42,6 +49,14 @@ class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
|
||||
{
|
||||
return $this->params;
|
||||
}
|
||||
public function setPartitionToken($partitionToken)
|
||||
{
|
||||
$this->partitionToken = $partitionToken;
|
||||
}
|
||||
public function getPartitionToken()
|
||||
{
|
||||
return $this->partitionToken;
|
||||
}
|
||||
public function setQueryMode($queryMode)
|
||||
{
|
||||
$this->queryMode = $queryMode;
|
||||
@@ -66,10 +81,16 @@ class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
|
||||
{
|
||||
return $this->sql;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionSelector
|
||||
*/
|
||||
public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction)
|
||||
{
|
||||
$this->transaction = $transaction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionSelector
|
||||
*/
|
||||
public function getTransaction()
|
||||
{
|
||||
return $this->transaction;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -29,10 +29,16 @@ class Google_Service_Spanner_Field extends Google_Model
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Type
|
||||
*/
|
||||
public function setType(Google_Service_Spanner_Type $type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Type
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -39,10 +39,16 @@ class Google_Service_Spanner_KeySet extends Google_Collection
|
||||
{
|
||||
return $this->keys;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_KeyRange
|
||||
*/
|
||||
public function setRanges($ranges)
|
||||
{
|
||||
$this->ranges = $ranges;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_KeyRange
|
||||
*/
|
||||
public function getRanges()
|
||||
{
|
||||
return $this->ranges;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Spanner_ListDatabasesResponse extends Google_Collection
|
||||
protected $databasesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Database
|
||||
*/
|
||||
public function setDatabases($databases)
|
||||
{
|
||||
$this->databases = $databases;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Database
|
||||
*/
|
||||
public function getDatabases()
|
||||
{
|
||||
return $this->databases;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Spanner_ListInstanceConfigsResponse extends Google_Collecti
|
||||
protected $instanceConfigsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_InstanceConfig
|
||||
*/
|
||||
public function setInstanceConfigs($instanceConfigs)
|
||||
{
|
||||
$this->instanceConfigs = $instanceConfigs;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_InstanceConfig
|
||||
*/
|
||||
public function getInstanceConfigs()
|
||||
{
|
||||
return $this->instanceConfigs;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Spanner_ListInstancesResponse extends Google_Collection
|
||||
protected $instancesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function setInstances($instances)
|
||||
{
|
||||
$this->instances = $instances;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function getInstances()
|
||||
{
|
||||
return $this->instances;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -30,10 +30,16 @@ class Google_Service_Spanner_ListOperationsResponse extends Google_Collection
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Operation
|
||||
*/
|
||||
public function setOperations($operations)
|
||||
{
|
||||
$this->operations = $operations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Operation
|
||||
*/
|
||||
public function getOperations()
|
||||
{
|
||||
return $this->operations;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_LogConfig extends Google_Model
|
||||
{
|
||||
protected $cloudAuditType = 'Google_Service_Spanner_CloudAuditOptions';
|
||||
protected $cloudAuditDataType = '';
|
||||
protected $counterType = 'Google_Service_Spanner_CounterOptions';
|
||||
protected $counterDataType = '';
|
||||
protected $dataAccessType = 'Google_Service_Spanner_DataAccessOptions';
|
||||
protected $dataAccessDataType = '';
|
||||
|
||||
public function setCloudAudit(Google_Service_Spanner_CloudAuditOptions $cloudAudit)
|
||||
{
|
||||
$this->cloudAudit = $cloudAudit;
|
||||
}
|
||||
public function getCloudAudit()
|
||||
{
|
||||
return $this->cloudAudit;
|
||||
}
|
||||
public function setCounter(Google_Service_Spanner_CounterOptions $counter)
|
||||
{
|
||||
$this->counter = $counter;
|
||||
}
|
||||
public function getCounter()
|
||||
{
|
||||
return $this->counter;
|
||||
}
|
||||
public function setDataAccess(Google_Service_Spanner_DataAccessOptions $dataAccess)
|
||||
{
|
||||
$this->dataAccess = $dataAccess;
|
||||
}
|
||||
public function getDataAccess()
|
||||
{
|
||||
return $this->dataAccess;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -28,42 +28,72 @@ class Google_Service_Spanner_Mutation extends Google_Model
|
||||
protected $updateType = 'Google_Service_Spanner_Write';
|
||||
protected $updateDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Delete
|
||||
*/
|
||||
public function setDelete(Google_Service_Spanner_Delete $delete)
|
||||
{
|
||||
$this->delete = $delete;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Delete
|
||||
*/
|
||||
public function getDelete()
|
||||
{
|
||||
return $this->delete;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Write
|
||||
*/
|
||||
public function setInsert(Google_Service_Spanner_Write $insert)
|
||||
{
|
||||
$this->insert = $insert;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Write
|
||||
*/
|
||||
public function getInsert()
|
||||
{
|
||||
return $this->insert;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Write
|
||||
*/
|
||||
public function setInsertOrUpdate(Google_Service_Spanner_Write $insertOrUpdate)
|
||||
{
|
||||
$this->insertOrUpdate = $insertOrUpdate;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Write
|
||||
*/
|
||||
public function getInsertOrUpdate()
|
||||
{
|
||||
return $this->insertOrUpdate;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Write
|
||||
*/
|
||||
public function setReplace(Google_Service_Spanner_Write $replace)
|
||||
{
|
||||
$this->replace = $replace;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Write
|
||||
*/
|
||||
public function getReplace()
|
||||
{
|
||||
return $this->replace;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Write
|
||||
*/
|
||||
public function setUpdate(Google_Service_Spanner_Write $update)
|
||||
{
|
||||
$this->update = $update;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Write
|
||||
*/
|
||||
public function getUpdate()
|
||||
{
|
||||
return $this->update;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -32,10 +32,16 @@ class Google_Service_Spanner_Operation extends Google_Model
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Status
|
||||
*/
|
||||
public function setError(Google_Service_Spanner_Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Status
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -34,10 +34,16 @@ class Google_Service_Spanner_PartialResultSet extends Google_Collection
|
||||
{
|
||||
return $this->chunkedValue;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_ResultSetMetadata
|
||||
*/
|
||||
public function setMetadata(Google_Service_Spanner_ResultSetMetadata $metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ResultSetMetadata
|
||||
*/
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
@@ -50,10 +56,16 @@ class Google_Service_Spanner_PartialResultSet extends Google_Collection
|
||||
{
|
||||
return $this->resumeToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_ResultSetStats
|
||||
*/
|
||||
public function setStats(Google_Service_Spanner_ResultSetStats $stats)
|
||||
{
|
||||
$this->stats = $stats;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ResultSetStats
|
||||
*/
|
||||
public function getStats()
|
||||
{
|
||||
return $this->stats;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -28,10 +28,16 @@ class Google_Service_Spanner_PlanNode extends Google_Collection
|
||||
protected $shortRepresentationType = 'Google_Service_Spanner_ShortRepresentation';
|
||||
protected $shortRepresentationDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_ChildLink
|
||||
*/
|
||||
public function setChildLinks($childLinks)
|
||||
{
|
||||
$this->childLinks = $childLinks;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ChildLink
|
||||
*/
|
||||
public function getChildLinks()
|
||||
{
|
||||
return $this->childLinks;
|
||||
@@ -76,10 +82,16 @@ class Google_Service_Spanner_PlanNode extends Google_Collection
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_ShortRepresentation
|
||||
*/
|
||||
public function setShortRepresentation(Google_Service_Spanner_ShortRepresentation $shortRepresentation)
|
||||
{
|
||||
$this->shortRepresentation = $shortRepresentation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ShortRepresentation
|
||||
*/
|
||||
public function getShortRepresentation()
|
||||
{
|
||||
return $this->shortRepresentation;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -17,29 +17,22 @@
|
||||
|
||||
class Google_Service_Spanner_Policy extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'rules';
|
||||
protected $auditConfigsType = 'Google_Service_Spanner_AuditConfig';
|
||||
protected $auditConfigsDataType = 'array';
|
||||
protected $collection_key = 'bindings';
|
||||
protected $bindingsType = 'Google_Service_Spanner_Binding';
|
||||
protected $bindingsDataType = 'array';
|
||||
public $etag;
|
||||
public $iamOwned;
|
||||
protected $rulesType = 'Google_Service_Spanner_Rule';
|
||||
protected $rulesDataType = 'array';
|
||||
public $version;
|
||||
|
||||
public function setAuditConfigs($auditConfigs)
|
||||
{
|
||||
$this->auditConfigs = $auditConfigs;
|
||||
}
|
||||
public function getAuditConfigs()
|
||||
{
|
||||
return $this->auditConfigs;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Binding
|
||||
*/
|
||||
public function setBindings($bindings)
|
||||
{
|
||||
$this->bindings = $bindings;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Binding
|
||||
*/
|
||||
public function getBindings()
|
||||
{
|
||||
return $this->bindings;
|
||||
@@ -52,22 +45,6 @@ class Google_Service_Spanner_Policy extends Google_Collection
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setIamOwned($iamOwned)
|
||||
{
|
||||
$this->iamOwned = $iamOwned;
|
||||
}
|
||||
public function getIamOwned()
|
||||
{
|
||||
return $this->iamOwned;
|
||||
}
|
||||
public function setRules($rules)
|
||||
{
|
||||
$this->rules = $rules;
|
||||
}
|
||||
public function getRules()
|
||||
{
|
||||
return $this->rules;
|
||||
}
|
||||
public function setVersion($version)
|
||||
{
|
||||
$this->version = $version;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Spanner_QueryPlan extends Google_Collection
|
||||
protected $planNodesType = 'Google_Service_Spanner_PlanNode';
|
||||
protected $planNodesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_PlanNode
|
||||
*/
|
||||
public function setPlanNodes($planNodes)
|
||||
{
|
||||
$this->planNodes = $planNodes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_PlanNode
|
||||
*/
|
||||
public function getPlanNodes()
|
||||
{
|
||||
return $this->planNodes;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -23,6 +23,7 @@ class Google_Service_Spanner_ReadRequest extends Google_Collection
|
||||
protected $keySetType = 'Google_Service_Spanner_KeySet';
|
||||
protected $keySetDataType = '';
|
||||
public $limit;
|
||||
public $partitionToken;
|
||||
public $resumeToken;
|
||||
public $table;
|
||||
protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
|
||||
@@ -44,10 +45,16 @@ class Google_Service_Spanner_ReadRequest extends Google_Collection
|
||||
{
|
||||
return $this->index;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_KeySet
|
||||
*/
|
||||
public function setKeySet(Google_Service_Spanner_KeySet $keySet)
|
||||
{
|
||||
$this->keySet = $keySet;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_KeySet
|
||||
*/
|
||||
public function getKeySet()
|
||||
{
|
||||
return $this->keySet;
|
||||
@@ -60,6 +67,14 @@ class Google_Service_Spanner_ReadRequest extends Google_Collection
|
||||
{
|
||||
return $this->limit;
|
||||
}
|
||||
public function setPartitionToken($partitionToken)
|
||||
{
|
||||
$this->partitionToken = $partitionToken;
|
||||
}
|
||||
public function getPartitionToken()
|
||||
{
|
||||
return $this->partitionToken;
|
||||
}
|
||||
public function setResumeToken($resumeToken)
|
||||
{
|
||||
$this->resumeToken = $resumeToken;
|
||||
@@ -76,10 +91,16 @@ class Google_Service_Spanner_ReadRequest extends Google_Collection
|
||||
{
|
||||
return $this->table;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionSelector
|
||||
*/
|
||||
public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction)
|
||||
{
|
||||
$this->transaction = $transaction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionSelector
|
||||
*/
|
||||
public function getTransaction()
|
||||
{
|
||||
return $this->transaction;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -139,16 +139,17 @@ class Google_Service_Spanner_Resource_ProjectsInstances extends Google_Service_R
|
||||
* request. Filter rules are case insensitive. The fields eligible for filtering
|
||||
* are:
|
||||
*
|
||||
* * name * display_name * labels.key where key is the name of a label
|
||||
* * `name` * `display_name` * `labels.key` where key is the name of a
|
||||
* label
|
||||
*
|
||||
* Some examples of using filters are:
|
||||
*
|
||||
* * name:* --> The instance has a name. * name:Howl --> The instance's name
|
||||
* contains the string "howl". * name:HOWL --> Equivalent to above. *
|
||||
* NAME:howl --> Equivalent to above. * labels.env:* --> The instance has the
|
||||
* label "env". * labels.env:dev --> The instance has the label "env" and the
|
||||
* value of the label contains the string "dev". *
|
||||
* name:howl labels.env:dev --> The instance's name contains "howl" and
|
||||
* * `name:*` --> The instance has a name. * `name:Howl` --> The instance's
|
||||
* name contains the string "howl". * `name:HOWL` --> Equivalent to above. *
|
||||
* `NAME:howl` --> Equivalent to above. * `labels.env:*` --> The instance has
|
||||
* the label "env". * `labels.env:dev` --> The instance has the label "env"
|
||||
* and the value of the label contains the string "dev".
|
||||
* * `name:howl labels.env:dev` --> The instance's name contains "howl" and
|
||||
* it has the label "env" with its value
|
||||
* containing "dev".
|
||||
* @return Google_Service_Spanner_ListInstancesResponse
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -81,16 +81,21 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations exten
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
*
|
||||
* NOTE: the `name` binding below allows API services to override the binding to
|
||||
* use different resource name schemes, such as `users/operations`.
|
||||
* NOTE: the `name` binding allows API services to override the binding to use
|
||||
* different resource name schemes, such as `users/operations`. To override the
|
||||
* binding, API services can add a binding such as
|
||||
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
|
||||
* compatibility, the default name includes the operations collection id,
|
||||
* however overriding users must ensure the name binding is the parent resource,
|
||||
* without the operations collection id.
|
||||
* (operations.listProjectsInstancesDatabasesOperations)
|
||||
*
|
||||
* @param string $name The name of the operation collection.
|
||||
* @param string $name The name of the operation's parent resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken The standard list page token.
|
||||
* @opt_param int pageSize The standard list page size.
|
||||
* @opt_param string filter The standard list filter.
|
||||
* @opt_param string pageToken The standard list page token.
|
||||
* @return Google_Service_Spanner_ListOperationsResponse
|
||||
*/
|
||||
public function listProjectsInstancesDatabasesOperations($name, $optParams = array())
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -76,20 +76,21 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
|
||||
* Cloud Spanner limits the number of sessions that can exist at any given time;
|
||||
* thus, it is a good idea to delete idle and/or unneeded sessions. Aside from
|
||||
* explicit deletes, Cloud Spanner can delete sessions for which no operations
|
||||
* are sent for more than an hour, or due to internal errors. If a session is
|
||||
* deleted, requests to it return `NOT_FOUND`.
|
||||
* are sent for more than an hour. If a session is deleted, requests to it
|
||||
* return `NOT_FOUND`.
|
||||
*
|
||||
* Idle sessions can be kept alive by sending a trivial SQL query periodically,
|
||||
* e.g., `"SELECT 1"`. (sessions.create)
|
||||
*
|
||||
* @param string $database Required. The database in which the new session is
|
||||
* created.
|
||||
* @param Google_Service_Spanner_CreateSessionRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Spanner_Session
|
||||
*/
|
||||
public function create($database, $optParams = array())
|
||||
public function create($database, Google_Service_Spanner_CreateSessionRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('database' => $database);
|
||||
$params = array('database' => $database, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Spanner_Session");
|
||||
}
|
||||
@@ -108,11 +109,12 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
|
||||
return $this->call('delete', array($params), "Google_Service_Spanner_SpannerEmpty");
|
||||
}
|
||||
/**
|
||||
* Executes an SQL query, returning all rows in a single reply. This method
|
||||
* cannot be used to return a result set larger than 10 MiB; if the query yields
|
||||
* more data than that, the query fails with a `FAILED_PRECONDITION` error.
|
||||
* Executes an SQL statement, returning all results in a single reply. This
|
||||
* method cannot be used to return a result set larger than 10 MiB; if the query
|
||||
* yields more data than that, the query fails with a `FAILED_PRECONDITION`
|
||||
* error.
|
||||
*
|
||||
* Queries inside read-write transactions might return `ABORTED`. If this
|
||||
* Operations inside read-write transactions might return `ABORTED`. If this
|
||||
* occurs, the application should restart the transaction from the beginning.
|
||||
* See Transaction for more details.
|
||||
*
|
||||
@@ -164,6 +166,77 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Spanner_Session");
|
||||
}
|
||||
/**
|
||||
* Lists all sessions in a given database.
|
||||
* (sessions.listProjectsInstancesDatabasesSessions)
|
||||
*
|
||||
* @param string $database Required. The database in which to list sessions.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter An expression for filtering the results of the
|
||||
* request. Filter rules are case insensitive. The fields eligible for filtering
|
||||
* are:
|
||||
*
|
||||
* * `labels.key` where key is the name of a label
|
||||
*
|
||||
* Some examples of using filters are:
|
||||
*
|
||||
* * `labels.env:*` --> The session has the label "env". * `labels.env:dev`
|
||||
* --> The session has the label "env" and the value of
|
||||
* the label contains the string "dev".
|
||||
* @opt_param string pageToken If non-empty, `page_token` should contain a
|
||||
* next_page_token from a previous ListSessionsResponse.
|
||||
* @opt_param int pageSize Number of sessions to be returned in the response. If
|
||||
* 0 or less, defaults to the server's maximum allowed page size.
|
||||
* @return Google_Service_Spanner_ListSessionsResponse
|
||||
*/
|
||||
public function listProjectsInstancesDatabasesSessions($database, $optParams = array())
|
||||
{
|
||||
$params = array('database' => $database);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Spanner_ListSessionsResponse");
|
||||
}
|
||||
/**
|
||||
* Creates a set of partition tokens that can be used to execute a query
|
||||
* operation in parallel. Each of the returned partition tokens can be used by
|
||||
* ExecuteStreamingSql to specify a subset of the query result to read. The
|
||||
* same session and read-only transaction must be used by the
|
||||
* PartitionQueryRequest used to create the partition tokens and the
|
||||
* ExecuteSqlRequests that use the partition tokens. Partition tokens become
|
||||
* invalid when the session used to create them is deleted or begins a new
|
||||
* transaction. (sessions.partitionQuery)
|
||||
*
|
||||
* @param string $session Required. The session used to create the partitions.
|
||||
* @param Google_Service_Spanner_PartitionQueryRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Spanner_PartitionResponse
|
||||
*/
|
||||
public function partitionQuery($session, Google_Service_Spanner_PartitionQueryRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('session' => $session, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('partitionQuery', array($params), "Google_Service_Spanner_PartitionResponse");
|
||||
}
|
||||
/**
|
||||
* Creates a set of partition tokens that can be used to execute a read
|
||||
* operation in parallel. Each of the returned partition tokens can be used by
|
||||
* StreamingRead to specify a subset of the read result to read. The same
|
||||
* session and read-only transaction must be used by the PartitionReadRequest
|
||||
* used to create the partition tokens and the ReadRequests that use the
|
||||
* partition tokens. Partition tokens become invalid when the session used to
|
||||
* create them is deleted or begins a new transaction. (sessions.partitionRead)
|
||||
*
|
||||
* @param string $session Required. The session used to create the partitions.
|
||||
* @param Google_Service_Spanner_PartitionReadRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Spanner_PartitionResponse
|
||||
*/
|
||||
public function partitionRead($session, Google_Service_Spanner_PartitionReadRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('session' => $session, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('partitionRead', array($params), "Google_Service_Spanner_PartitionResponse");
|
||||
}
|
||||
/**
|
||||
* Reads rows from the database using key lookups and scans, as a simple
|
||||
* key/value style alternative to ExecuteSql. This method cannot be used to
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -81,11 +81,16 @@ class Google_Service_Spanner_Resource_ProjectsInstancesOperations extends Google
|
||||
* Lists operations that match the specified filter in the request. If the
|
||||
* server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
*
|
||||
* NOTE: the `name` binding below allows API services to override the binding to
|
||||
* use different resource name schemes, such as `users/operations`.
|
||||
* NOTE: the `name` binding allows API services to override the binding to use
|
||||
* different resource name schemes, such as `users/operations`. To override the
|
||||
* binding, API services can add a binding such as
|
||||
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
|
||||
* compatibility, the default name includes the operations collection id,
|
||||
* however overriding users must ensure the name binding is the parent resource,
|
||||
* without the operations collection id.
|
||||
* (operations.listProjectsInstancesOperations)
|
||||
*
|
||||
* @param string $name The name of the operation collection.
|
||||
* @param string $name The name of the operation's parent resource.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string filter The standard list filter.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -24,10 +24,16 @@ class Google_Service_Spanner_ResultSet extends Google_Collection
|
||||
protected $statsType = 'Google_Service_Spanner_ResultSetStats';
|
||||
protected $statsDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_ResultSetMetadata
|
||||
*/
|
||||
public function setMetadata(Google_Service_Spanner_ResultSetMetadata $metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ResultSetMetadata
|
||||
*/
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
@@ -40,10 +46,16 @@ class Google_Service_Spanner_ResultSet extends Google_Collection
|
||||
{
|
||||
return $this->rows;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_ResultSetStats
|
||||
*/
|
||||
public function setStats(Google_Service_Spanner_ResultSetStats $stats)
|
||||
{
|
||||
$this->stats = $stats;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ResultSetStats
|
||||
*/
|
||||
public function getStats()
|
||||
{
|
||||
return $this->stats;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -22,18 +22,30 @@ class Google_Service_Spanner_ResultSetMetadata extends Google_Model
|
||||
protected $transactionType = 'Google_Service_Spanner_Transaction';
|
||||
protected $transactionDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_StructType
|
||||
*/
|
||||
public function setRowType(Google_Service_Spanner_StructType $rowType)
|
||||
{
|
||||
$this->rowType = $rowType;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_StructType
|
||||
*/
|
||||
public function getRowType()
|
||||
{
|
||||
return $this->rowType;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Transaction
|
||||
*/
|
||||
public function setTransaction(Google_Service_Spanner_Transaction $transaction)
|
||||
{
|
||||
$this->transaction = $transaction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Transaction
|
||||
*/
|
||||
public function getTransaction()
|
||||
{
|
||||
return $this->transaction;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Spanner_ResultSetStats extends Google_Model
|
||||
protected $queryPlanDataType = '';
|
||||
public $queryStats;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_QueryPlan
|
||||
*/
|
||||
public function setQueryPlan(Google_Service_Spanner_QueryPlan $queryPlan)
|
||||
{
|
||||
$this->queryPlan = $queryPlan;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_QueryPlan
|
||||
*/
|
||||
public function getQueryPlan()
|
||||
{
|
||||
return $this->queryPlan;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Spanner_Rule extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'permissions';
|
||||
public $action;
|
||||
protected $conditionsType = 'Google_Service_Spanner_Condition';
|
||||
protected $conditionsDataType = 'array';
|
||||
public $description;
|
||||
public $in;
|
||||
protected $logConfigType = 'Google_Service_Spanner_LogConfig';
|
||||
protected $logConfigDataType = 'array';
|
||||
public $notIn;
|
||||
public $permissions;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setConditions($conditions)
|
||||
{
|
||||
$this->conditions = $conditions;
|
||||
}
|
||||
public function getConditions()
|
||||
{
|
||||
return $this->conditions;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setIn($in)
|
||||
{
|
||||
$this->in = $in;
|
||||
}
|
||||
public function getIn()
|
||||
{
|
||||
return $this->in;
|
||||
}
|
||||
public function setLogConfig($logConfig)
|
||||
{
|
||||
$this->logConfig = $logConfig;
|
||||
}
|
||||
public function getLogConfig()
|
||||
{
|
||||
return $this->logConfig;
|
||||
}
|
||||
public function setNotIn($notIn)
|
||||
{
|
||||
$this->notIn = $notIn;
|
||||
}
|
||||
public function getNotIn()
|
||||
{
|
||||
return $this->notIn;
|
||||
}
|
||||
public function setPermissions($permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -17,8 +17,35 @@
|
||||
|
||||
class Google_Service_Spanner_Session extends Google_Model
|
||||
{
|
||||
public $approximateLastUseTime;
|
||||
public $createTime;
|
||||
public $labels;
|
||||
public $name;
|
||||
|
||||
public function setApproximateLastUseTime($approximateLastUseTime)
|
||||
{
|
||||
$this->approximateLastUseTime = $approximateLastUseTime;
|
||||
}
|
||||
public function getApproximateLastUseTime()
|
||||
{
|
||||
return $this->approximateLastUseTime;
|
||||
}
|
||||
public function setCreateTime($createTime)
|
||||
{
|
||||
$this->createTime = $createTime;
|
||||
}
|
||||
public function getCreateTime()
|
||||
{
|
||||
return $this->createTime;
|
||||
}
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -19,22 +19,19 @@ class Google_Service_Spanner_SetIamPolicyRequest extends Google_Model
|
||||
{
|
||||
protected $policyType = 'Google_Service_Spanner_Policy';
|
||||
protected $policyDataType = '';
|
||||
public $updateMask;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Policy
|
||||
*/
|
||||
public function setPolicy(Google_Service_Spanner_Policy $policy)
|
||||
{
|
||||
$this->policy = $policy;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Policy
|
||||
*/
|
||||
public function getPolicy()
|
||||
{
|
||||
return $this->policy;
|
||||
}
|
||||
public function setUpdateMask($updateMask)
|
||||
{
|
||||
$this->updateMask = $updateMask;
|
||||
}
|
||||
public function getUpdateMask()
|
||||
{
|
||||
return $this->updateMask;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Spanner_StructType extends Google_Collection
|
||||
protected $fieldsType = 'Google_Service_Spanner_Field';
|
||||
protected $fieldsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Field
|
||||
*/
|
||||
public function setFields($fields)
|
||||
{
|
||||
$this->fields = $fields;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Field
|
||||
*/
|
||||
public function getFields()
|
||||
{
|
||||
return $this->fields;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -22,18 +22,30 @@ class Google_Service_Spanner_TransactionOptions extends Google_Model
|
||||
protected $readWriteType = 'Google_Service_Spanner_ReadWrite';
|
||||
protected $readWriteDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_ReadOnly
|
||||
*/
|
||||
public function setReadOnly(Google_Service_Spanner_ReadOnly $readOnly)
|
||||
{
|
||||
$this->readOnly = $readOnly;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ReadOnly
|
||||
*/
|
||||
public function getReadOnly()
|
||||
{
|
||||
return $this->readOnly;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_ReadWrite
|
||||
*/
|
||||
public function setReadWrite(Google_Service_Spanner_ReadWrite $readWrite)
|
||||
{
|
||||
$this->readWrite = $readWrite;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_ReadWrite
|
||||
*/
|
||||
public function getReadWrite()
|
||||
{
|
||||
return $this->readWrite;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -23,10 +23,16 @@ class Google_Service_Spanner_TransactionSelector extends Google_Model
|
||||
protected $singleUseType = 'Google_Service_Spanner_TransactionOptions';
|
||||
protected $singleUseDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function setBegin(Google_Service_Spanner_TransactionOptions $begin)
|
||||
{
|
||||
$this->begin = $begin;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function getBegin()
|
||||
{
|
||||
return $this->begin;
|
||||
@@ -39,10 +45,16 @@ class Google_Service_Spanner_TransactionSelector extends Google_Model
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function setSingleUse(Google_Service_Spanner_TransactionOptions $singleUse)
|
||||
{
|
||||
$this->singleUse = $singleUse;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_TransactionOptions
|
||||
*/
|
||||
public function getSingleUse()
|
||||
{
|
||||
return $this->singleUse;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -23,10 +23,16 @@ class Google_Service_Spanner_Type extends Google_Model
|
||||
protected $structTypeType = 'Google_Service_Spanner_StructType';
|
||||
protected $structTypeDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Spanner_Type
|
||||
*/
|
||||
public function setArrayElementType(Google_Service_Spanner_Type $arrayElementType)
|
||||
{
|
||||
$this->arrayElementType = $arrayElementType;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Type
|
||||
*/
|
||||
public function getArrayElementType()
|
||||
{
|
||||
return $this->arrayElementType;
|
||||
@@ -39,10 +45,16 @@ class Google_Service_Spanner_Type extends Google_Model
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_StructType
|
||||
*/
|
||||
public function setStructType(Google_Service_Spanner_StructType $structType)
|
||||
{
|
||||
$this->structType = $structType;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_StructType
|
||||
*/
|
||||
public function getStructType()
|
||||
{
|
||||
return $this->structType;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -39,10 +39,16 @@ class Google_Service_Spanner_UpdateInstanceMetadata extends Google_Model
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function setInstance(Google_Service_Spanner_Instance $instance)
|
||||
{
|
||||
$this->instance = $instance;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function getInstance()
|
||||
{
|
||||
return $this->instance;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
@@ -29,10 +29,16 @@ class Google_Service_Spanner_UpdateInstanceRequest extends Google_Model
|
||||
{
|
||||
return $this->fieldMask;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function setInstance(Google_Service_Spanner_Instance $instance)
|
||||
{
|
||||
$this->instance = $instance;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Spanner_Instance
|
||||
*/
|
||||
public function getInstance()
|
||||
{
|
||||
return $this->instance;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 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
|
||||
|
||||
Reference in New Issue
Block a user