Skip to content

Commit

Permalink
Regenerate bigquery client (#4249)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jan 15, 2024
1 parent 88cd1a3 commit 027cc7f
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Bigquery/QueryParameterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ class QueryParameterType extends \Google\Collection
public $arrayType;
protected $arrayTypeType = QueryParameterType::class;
protected $arrayTypeDataType = '';
/**
* @var QueryParameterType
*/
public $rangeElementType;
protected $rangeElementTypeType = QueryParameterType::class;
protected $rangeElementTypeDataType = '';
/**
* @var QueryParameterTypeStructTypes[]
*/
Expand All @@ -51,6 +57,20 @@ public function getArrayType()
{
return $this->arrayType;
}
/**
* @param QueryParameterType
*/
public function setRangeElementType(QueryParameterType $rangeElementType)
{
$this->rangeElementType = $rangeElementType;
}
/**
* @return QueryParameterType
*/
public function getRangeElementType()
{
return $this->rangeElementType;
}
/**
* @param QueryParameterTypeStructTypes[]
*/
Expand Down
20 changes: 20 additions & 0 deletions src/Bigquery/QueryParameterValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ class QueryParameterValue extends \Google\Collection
public $arrayValues;
protected $arrayValuesType = QueryParameterValue::class;
protected $arrayValuesDataType = 'array';
/**
* @var QueryParameterValueRangeValue
*/
public $rangeValue;
protected $rangeValueType = QueryParameterValueRangeValue::class;
protected $rangeValueDataType = '';
/**
* @var QueryParameterValue[]
*/
Expand All @@ -51,6 +57,20 @@ public function getArrayValues()
{
return $this->arrayValues;
}
/**
* @param QueryParameterValueRangeValue
*/
public function setRangeValue(QueryParameterValueRangeValue $rangeValue)
{
$this->rangeValue = $rangeValue;
}
/**
* @return QueryParameterValueRangeValue
*/
public function getRangeValue()
{
return $this->rangeValue;
}
/**
* @param QueryParameterValue[]
*/
Expand Down
66 changes: 66 additions & 0 deletions src/Bigquery/QueryParameterValueRangeValue.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?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.
*/

namespace Google\Service\Bigquery;

class QueryParameterValueRangeValue extends \Google\Model
{
/**
* @var QueryParameterValue
*/
public $end;
protected $endType = QueryParameterValue::class;
protected $endDataType = '';
/**
* @var QueryParameterValue
*/
public $start;
protected $startType = QueryParameterValue::class;
protected $startDataType = '';

/**
* @param QueryParameterValue
*/
public function setEnd(QueryParameterValue $end)
{
$this->end = $end;
}
/**
* @return QueryParameterValue
*/
public function getEnd()
{
return $this->end;
}
/**
* @param QueryParameterValue
*/
public function setStart(QueryParameterValue $start)
{
$this->start = $start;
}
/**
* @return QueryParameterValue
*/
public function getStart()
{
return $this->start;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryParameterValueRangeValue::class, 'Google_Service_Bigquery_QueryParameterValueRangeValue');
66 changes: 66 additions & 0 deletions src/Bigquery/RangeValue.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?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.
*/

namespace Google\Service\Bigquery;

class RangeValue extends \Google\Model
{
/**
* @var QueryParameterValue
*/
public $end;
protected $endType = QueryParameterValue::class;
protected $endDataType = '';
/**
* @var QueryParameterValue
*/
public $start;
protected $startType = QueryParameterValue::class;
protected $startDataType = '';

/**
* @param QueryParameterValue
*/
public function setEnd(QueryParameterValue $end)
{
$this->end = $end;
}
/**
* @return QueryParameterValue
*/
public function getEnd()
{
return $this->end;
}
/**
* @param QueryParameterValue
*/
public function setStart(QueryParameterValue $start)
{
$this->start = $start;
}
/**
* @return QueryParameterValue
*/
public function getStart()
{
return $this->start;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RangeValue::class, 'Google_Service_Bigquery_RangeValue');

0 comments on commit 027cc7f

Please sign in to comment.