Skip to content

Commit 027cc7f

Browse files
1 parent 88cd1a3 commit 027cc7f

File tree

4 files changed

+172
-0
lines changed

4 files changed

+172
-0
lines changed

src/Bigquery/QueryParameterType.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ class QueryParameterType extends \Google\Collection
2626
public $arrayType;
2727
protected $arrayTypeType = QueryParameterType::class;
2828
protected $arrayTypeDataType = '';
29+
/**
30+
* @var QueryParameterType
31+
*/
32+
public $rangeElementType;
33+
protected $rangeElementTypeType = QueryParameterType::class;
34+
protected $rangeElementTypeDataType = '';
2935
/**
3036
* @var QueryParameterTypeStructTypes[]
3137
*/
@@ -51,6 +57,20 @@ public function getArrayType()
5157
{
5258
return $this->arrayType;
5359
}
60+
/**
61+
* @param QueryParameterType
62+
*/
63+
public function setRangeElementType(QueryParameterType $rangeElementType)
64+
{
65+
$this->rangeElementType = $rangeElementType;
66+
}
67+
/**
68+
* @return QueryParameterType
69+
*/
70+
public function getRangeElementType()
71+
{
72+
return $this->rangeElementType;
73+
}
5474
/**
5575
* @param QueryParameterTypeStructTypes[]
5676
*/

src/Bigquery/QueryParameterValue.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ class QueryParameterValue extends \Google\Collection
2626
public $arrayValues;
2727
protected $arrayValuesType = QueryParameterValue::class;
2828
protected $arrayValuesDataType = 'array';
29+
/**
30+
* @var QueryParameterValueRangeValue
31+
*/
32+
public $rangeValue;
33+
protected $rangeValueType = QueryParameterValueRangeValue::class;
34+
protected $rangeValueDataType = '';
2935
/**
3036
* @var QueryParameterValue[]
3137
*/
@@ -51,6 +57,20 @@ public function getArrayValues()
5157
{
5258
return $this->arrayValues;
5359
}
60+
/**
61+
* @param QueryParameterValueRangeValue
62+
*/
63+
public function setRangeValue(QueryParameterValueRangeValue $rangeValue)
64+
{
65+
$this->rangeValue = $rangeValue;
66+
}
67+
/**
68+
* @return QueryParameterValueRangeValue
69+
*/
70+
public function getRangeValue()
71+
{
72+
return $this->rangeValue;
73+
}
5474
/**
5575
* @param QueryParameterValue[]
5676
*/
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
18+
namespace Google\Service\Bigquery;
19+
20+
class QueryParameterValueRangeValue extends \Google\Model
21+
{
22+
/**
23+
* @var QueryParameterValue
24+
*/
25+
public $end;
26+
protected $endType = QueryParameterValue::class;
27+
protected $endDataType = '';
28+
/**
29+
* @var QueryParameterValue
30+
*/
31+
public $start;
32+
protected $startType = QueryParameterValue::class;
33+
protected $startDataType = '';
34+
35+
/**
36+
* @param QueryParameterValue
37+
*/
38+
public function setEnd(QueryParameterValue $end)
39+
{
40+
$this->end = $end;
41+
}
42+
/**
43+
* @return QueryParameterValue
44+
*/
45+
public function getEnd()
46+
{
47+
return $this->end;
48+
}
49+
/**
50+
* @param QueryParameterValue
51+
*/
52+
public function setStart(QueryParameterValue $start)
53+
{
54+
$this->start = $start;
55+
}
56+
/**
57+
* @return QueryParameterValue
58+
*/
59+
public function getStart()
60+
{
61+
return $this->start;
62+
}
63+
}
64+
65+
// Adding a class alias for backwards compatibility with the previous class name.
66+
class_alias(QueryParameterValueRangeValue::class, 'Google_Service_Bigquery_QueryParameterValueRangeValue');

src/Bigquery/RangeValue.php

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
18+
namespace Google\Service\Bigquery;
19+
20+
class RangeValue extends \Google\Model
21+
{
22+
/**
23+
* @var QueryParameterValue
24+
*/
25+
public $end;
26+
protected $endType = QueryParameterValue::class;
27+
protected $endDataType = '';
28+
/**
29+
* @var QueryParameterValue
30+
*/
31+
public $start;
32+
protected $startType = QueryParameterValue::class;
33+
protected $startDataType = '';
34+
35+
/**
36+
* @param QueryParameterValue
37+
*/
38+
public function setEnd(QueryParameterValue $end)
39+
{
40+
$this->end = $end;
41+
}
42+
/**
43+
* @return QueryParameterValue
44+
*/
45+
public function getEnd()
46+
{
47+
return $this->end;
48+
}
49+
/**
50+
* @param QueryParameterValue
51+
*/
52+
public function setStart(QueryParameterValue $start)
53+
{
54+
$this->start = $start;
55+
}
56+
/**
57+
* @return QueryParameterValue
58+
*/
59+
public function getStart()
60+
{
61+
return $this->start;
62+
}
63+
}
64+
65+
// Adding a class alias for backwards compatibility with the previous class name.
66+
class_alias(RangeValue::class, 'Google_Service_Bigquery_RangeValue');

0 commit comments

Comments
 (0)