Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -18,9 +18,25 @@
class Google_Service_Spanner_Binding extends Google_Collection
{
protected $collection_key = 'members';
protected $conditionType = 'Google_Service_Spanner_Expr';
protected $conditionDataType = '';
public $members;
public $role;
/**
* @param Google_Service_Spanner_Expr
*/
public function setCondition(Google_Service_Spanner_Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Google_Service_Spanner_Expr
*/
public function getCondition()
{
return $this->condition;
}
public function setMembers($members)
{
$this->members = $members;

View File

@@ -23,6 +23,7 @@ class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
public $partitionToken;
public $queryMode;
public $resumeToken;
public $seqno;
public $sql;
protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
protected $transactionDataType = '';
@@ -73,6 +74,14 @@ class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
{
return $this->resumeToken;
}
public function setSeqno($seqno)
{
$this->seqno = $seqno;
}
public function getSeqno()
{
return $this->seqno;
}
public function setSql($sql)
{
$this->sql = $sql;

View File

@@ -0,0 +1,57 @@
<?php
/*
* 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
* 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_Expr extends Google_Model
{
public $description;
public $expression;
public $location;
public $title;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setExpression($expression)
{
$this->expression = $expression;
}
public function getExpression()
{
return $this->expression;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* 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
* 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_PartitionedDml extends Google_Model
{
}

View File

@@ -131,10 +131,6 @@ class Google_Service_Spanner_Resource_ProjectsInstances extends Google_Service_R
* instances is requested. Values are of the form `projects/`.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken If non-empty, `page_token` should contain a
* next_page_token from a previous ListInstancesResponse.
* @opt_param int pageSize Number of instances to be returned in the response.
* If 0 or less, defaults to the server's maximum allowed page size.
* @opt_param string filter An expression for filtering the results of the
* request. Filter rules are case insensitive. The fields eligible for filtering
* are:
@@ -152,6 +148,10 @@ class Google_Service_Spanner_Resource_ProjectsInstances extends Google_Service_R
* * `name:howl labels.env:dev` --> The instance's name contains "howl" and
* it has the label "env" with its value
* containing "dev".
* @opt_param string pageToken If non-empty, `page_token` should contain a
* next_page_token from a previous ListInstancesResponse.
* @opt_param int pageSize Number of instances to be returned in the response.
* If 0 or less, defaults to the server's maximum allowed page size.
* @return Google_Service_Spanner_ListInstancesResponse
*/
public function listProjectsInstances($parent, $optParams = array())

View File

@@ -93,9 +93,9 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations exten
* @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())

View File

@@ -95,8 +95,9 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
return $this->call('create', array($params), "Google_Service_Spanner_Session");
}
/**
* Ends a session, releasing server resources associated with it.
* (sessions.delete)
* Ends a session, releasing server resources associated with it. This will
* asynchronously trigger cancellation of any operations that are running with
* this session. (sessions.delete)
*
* @param string $name Required. The name of the session to delete.
* @param array $optParams Optional parameters.
@@ -202,9 +203,13 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
* 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)
* ExecuteSqlRequests that use the partition tokens.
*
* Partition tokens become invalid when the session used to create them is
* deleted, is idle for too long, begins a new transaction, or becomes too old.
* When any of these happen, it is not possible to resume the query, and the
* whole operation must be restarted from the beginning.
* (sessions.partitionQuery)
*
* @param string $session Required. The session used to create the partitions.
* @param Google_Service_Spanner_PartitionQueryRequest $postBody
@@ -223,8 +228,15 @@ class Google_Service_Spanner_Resource_ProjectsInstancesDatabasesSessions extends
* 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)
* partition tokens. There are no ordering guarantees on rows returned among
* the returned partition tokens, or even within each individual StreamingRead
* call issued with a partition_token.
*
* Partition tokens become invalid when the session used to create them is
* deleted, is idle for too long, begins a new transaction, or becomes too old.
* When any of these happen, it is not possible to resume the read, and the
* whole operation must be restarted from the beginning.
* (sessions.partitionRead)
*
* @param string $session Required. The session used to create the partitions.
* @param Google_Service_Spanner_PartitionReadRequest $postBody

View File

@@ -20,6 +20,8 @@ class Google_Service_Spanner_ResultSetStats extends Google_Model
protected $queryPlanType = 'Google_Service_Spanner_QueryPlan';
protected $queryPlanDataType = '';
public $queryStats;
public $rowCountExact;
public $rowCountLowerBound;
/**
* @param Google_Service_Spanner_QueryPlan
@@ -43,4 +45,20 @@ class Google_Service_Spanner_ResultSetStats extends Google_Model
{
return $this->queryStats;
}
public function setRowCountExact($rowCountExact)
{
$this->rowCountExact = $rowCountExact;
}
public function getRowCountExact()
{
return $this->rowCountExact;
}
public function setRowCountLowerBound($rowCountLowerBound)
{
$this->rowCountLowerBound = $rowCountLowerBound;
}
public function getRowCountLowerBound()
{
return $this->rowCountLowerBound;
}
}

View File

@@ -17,11 +17,27 @@
class Google_Service_Spanner_TransactionOptions extends Google_Model
{
protected $partitionedDmlType = 'Google_Service_Spanner_PartitionedDml';
protected $partitionedDmlDataType = '';
protected $readOnlyType = 'Google_Service_Spanner_ReadOnly';
protected $readOnlyDataType = '';
protected $readWriteType = 'Google_Service_Spanner_ReadWrite';
protected $readWriteDataType = '';
/**
* @param Google_Service_Spanner_PartitionedDml
*/
public function setPartitionedDml(Google_Service_Spanner_PartitionedDml $partitionedDml)
{
$this->partitionedDml = $partitionedDml;
}
/**
* @return Google_Service_Spanner_PartitionedDml
*/
public function getPartitionedDml()
{
return $this->partitionedDml;
}
/**
* @param Google_Service_Spanner_ReadOnly
*/