Skip to content

Commit 8c8f936

Browse files
1 parent 1fdb578 commit 8c8f936

7 files changed

Lines changed: 448 additions & 0 deletions
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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 IncrementalResultStats extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $disabledReason;
26+
/**
27+
* @var string
28+
*/
29+
public $resultSetLastModifyTime;
30+
/**
31+
* @var string
32+
*/
33+
public $resultSetLastReplaceTime;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setDisabledReason($disabledReason)
39+
{
40+
$this->disabledReason = $disabledReason;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getDisabledReason()
46+
{
47+
return $this->disabledReason;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setResultSetLastModifyTime($resultSetLastModifyTime)
53+
{
54+
$this->resultSetLastModifyTime = $resultSetLastModifyTime;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getResultSetLastModifyTime()
60+
{
61+
return $this->resultSetLastModifyTime;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setResultSetLastReplaceTime($resultSetLastReplaceTime)
67+
{
68+
$this->resultSetLastReplaceTime = $resultSetLastReplaceTime;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getResultSetLastReplaceTime()
74+
{
75+
return $this->resultSetLastReplaceTime;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(IncrementalResultStats::class, 'Google_Service_Bigquery_IncrementalResultStats');

src/Bigquery/IndexPruningStats.php

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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 IndexPruningStats extends \Google\Model
21+
{
22+
protected $baseTableType = TableReference::class;
23+
protected $baseTableDataType = '';
24+
/**
25+
* @var string
26+
*/
27+
public $postIndexPruningParallelInputCount;
28+
/**
29+
* @var string
30+
*/
31+
public $preIndexPruningParallelInputCount;
32+
33+
/**
34+
* @param TableReference
35+
*/
36+
public function setBaseTable(TableReference $baseTable)
37+
{
38+
$this->baseTable = $baseTable;
39+
}
40+
/**
41+
* @return TableReference
42+
*/
43+
public function getBaseTable()
44+
{
45+
return $this->baseTable;
46+
}
47+
/**
48+
* @param string
49+
*/
50+
public function setPostIndexPruningParallelInputCount($postIndexPruningParallelInputCount)
51+
{
52+
$this->postIndexPruningParallelInputCount = $postIndexPruningParallelInputCount;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getPostIndexPruningParallelInputCount()
58+
{
59+
return $this->postIndexPruningParallelInputCount;
60+
}
61+
/**
62+
* @param string
63+
*/
64+
public function setPreIndexPruningParallelInputCount($preIndexPruningParallelInputCount)
65+
{
66+
$this->preIndexPruningParallelInputCount = $preIndexPruningParallelInputCount;
67+
}
68+
/**
69+
* @return string
70+
*/
71+
public function getPreIndexPruningParallelInputCount()
72+
{
73+
return $this->preIndexPruningParallelInputCount;
74+
}
75+
}
76+
77+
// Adding a class alias for backwards compatibility with the previous class name.
78+
class_alias(IndexPruningStats::class, 'Google_Service_Bigquery_IndexPruningStats');

src/Bigquery/JobStatistics2.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class JobStatistics2 extends \Google\Collection
6464
protected $exportDataStatisticsDataType = '';
6565
protected $externalServiceCostsType = ExternalServiceCost::class;
6666
protected $externalServiceCostsDataType = 'array';
67+
protected $incrementalResultStatsType = IncrementalResultStats::class;
68+
protected $incrementalResultStatsDataType = '';
6769
protected $loadQueryStatisticsType = LoadQueryStatistics::class;
6870
protected $loadQueryStatisticsDataType = '';
6971
protected $materializedViewStatisticsType = MaterializedViewStatistics::class;
@@ -381,6 +383,20 @@ public function getExternalServiceCosts()
381383
{
382384
return $this->externalServiceCosts;
383385
}
386+
/**
387+
* @param IncrementalResultStats
388+
*/
389+
public function setIncrementalResultStats(IncrementalResultStats $incrementalResultStats)
390+
{
391+
$this->incrementalResultStats = $incrementalResultStats;
392+
}
393+
/**
394+
* @return IncrementalResultStats
395+
*/
396+
public function getIncrementalResultStats()
397+
{
398+
return $this->incrementalResultStats;
399+
}
384400
/**
385401
* @param LoadQueryStatistics
386402
*/

src/Bigquery/PruningStats.php

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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 PruningStats extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $postCmetaPruningParallelInputCount;
26+
/**
27+
* @var string
28+
*/
29+
public $postCmetaPruningPartitionCount;
30+
/**
31+
* @var string
32+
*/
33+
public $preCmetaPruningParallelInputCount;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setPostCmetaPruningParallelInputCount($postCmetaPruningParallelInputCount)
39+
{
40+
$this->postCmetaPruningParallelInputCount = $postCmetaPruningParallelInputCount;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getPostCmetaPruningParallelInputCount()
46+
{
47+
return $this->postCmetaPruningParallelInputCount;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setPostCmetaPruningPartitionCount($postCmetaPruningPartitionCount)
53+
{
54+
$this->postCmetaPruningPartitionCount = $postCmetaPruningPartitionCount;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getPostCmetaPruningPartitionCount()
60+
{
61+
return $this->postCmetaPruningPartitionCount;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setPreCmetaPruningParallelInputCount($preCmetaPruningParallelInputCount)
67+
{
68+
$this->preCmetaPruningParallelInputCount = $preCmetaPruningParallelInputCount;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getPreCmetaPruningParallelInputCount()
74+
{
75+
return $this->preCmetaPruningParallelInputCount;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(PruningStats::class, 'Google_Service_Bigquery_PruningStats');

src/Bigquery/SearchStatistics.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,29 @@
2020
class SearchStatistics extends \Google\Collection
2121
{
2222
protected $collection_key = 'indexUnusedReasons';
23+
protected $indexPruningStatsType = IndexPruningStats::class;
24+
protected $indexPruningStatsDataType = 'array';
2325
protected $indexUnusedReasonsType = IndexUnusedReason::class;
2426
protected $indexUnusedReasonsDataType = 'array';
2527
/**
2628
* @var string
2729
*/
2830
public $indexUsageMode;
2931

32+
/**
33+
* @param IndexPruningStats[]
34+
*/
35+
public function setIndexPruningStats($indexPruningStats)
36+
{
37+
$this->indexPruningStats = $indexPruningStats;
38+
}
39+
/**
40+
* @return IndexPruningStats[]
41+
*/
42+
public function getIndexPruningStats()
43+
{
44+
return $this->indexPruningStats;
45+
}
3046
/**
3147
* @param IndexUnusedReason[]
3248
*/

src/Bigquery/TableMetadataCacheUsage.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class TableMetadataCacheUsage extends \Google\Model
2323
* @var string
2424
*/
2525
public $explanation;
26+
protected $pruningStatsType = PruningStats::class;
27+
protected $pruningStatsDataType = '';
2628
/**
2729
* @var string
2830
*/
@@ -52,6 +54,20 @@ public function getExplanation()
5254
{
5355
return $this->explanation;
5456
}
57+
/**
58+
* @param PruningStats
59+
*/
60+
public function setPruningStats(PruningStats $pruningStats)
61+
{
62+
$this->pruningStats = $pruningStats;
63+
}
64+
/**
65+
* @return PruningStats
66+
*/
67+
public function getPruningStats()
68+
{
69+
return $this->pruningStats;
70+
}
5571
/**
5672
* @param string
5773
*/

0 commit comments

Comments
 (0)