Skip to content

Commit 75d5a31

Browse files
Regenerate dataform client (#6587)
1 parent cda8949 commit 75d5a31

18 files changed

Lines changed: 796 additions & 6 deletions

src/Dataform/ActionErrorTable.php

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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\Dataform;
19+
20+
class ActionErrorTable extends \Google\Model
21+
{
22+
/**
23+
* @var int
24+
*/
25+
public $retentionDays;
26+
protected $targetType = Target::class;
27+
protected $targetDataType = '';
28+
29+
/**
30+
* @param int
31+
*/
32+
public function setRetentionDays($retentionDays)
33+
{
34+
$this->retentionDays = $retentionDays;
35+
}
36+
/**
37+
* @return int
38+
*/
39+
public function getRetentionDays()
40+
{
41+
return $this->retentionDays;
42+
}
43+
/**
44+
* @param Target
45+
*/
46+
public function setTarget(Target $target)
47+
{
48+
$this->target = $target;
49+
}
50+
/**
51+
* @return Target
52+
*/
53+
public function getTarget()
54+
{
55+
return $this->target;
56+
}
57+
}
58+
59+
// Adding a class alias for backwards compatibility with the previous class name.
60+
class_alias(ActionErrorTable::class, 'Google_Service_Dataform_ActionErrorTable');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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\Dataform;
19+
20+
class ActionIncrementalLoadMode extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $column;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setColumn($column)
31+
{
32+
$this->column = $column;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getColumn()
38+
{
39+
return $this->column;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(ActionIncrementalLoadMode::class, 'Google_Service_Dataform_ActionIncrementalLoadMode');

src/Dataform/ActionLoadConfig.php

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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\Dataform;
19+
20+
class ActionLoadConfig extends \Google\Model
21+
{
22+
protected $appendType = ActionSimpleLoadMode::class;
23+
protected $appendDataType = '';
24+
protected $maximumType = ActionIncrementalLoadMode::class;
25+
protected $maximumDataType = '';
26+
protected $replaceType = ActionSimpleLoadMode::class;
27+
protected $replaceDataType = '';
28+
protected $uniqueType = ActionIncrementalLoadMode::class;
29+
protected $uniqueDataType = '';
30+
31+
/**
32+
* @param ActionSimpleLoadMode
33+
*/
34+
public function setAppend(ActionSimpleLoadMode $append)
35+
{
36+
$this->append = $append;
37+
}
38+
/**
39+
* @return ActionSimpleLoadMode
40+
*/
41+
public function getAppend()
42+
{
43+
return $this->append;
44+
}
45+
/**
46+
* @param ActionIncrementalLoadMode
47+
*/
48+
public function setMaximum(ActionIncrementalLoadMode $maximum)
49+
{
50+
$this->maximum = $maximum;
51+
}
52+
/**
53+
* @return ActionIncrementalLoadMode
54+
*/
55+
public function getMaximum()
56+
{
57+
return $this->maximum;
58+
}
59+
/**
60+
* @param ActionSimpleLoadMode
61+
*/
62+
public function setReplace(ActionSimpleLoadMode $replace)
63+
{
64+
$this->replace = $replace;
65+
}
66+
/**
67+
* @return ActionSimpleLoadMode
68+
*/
69+
public function getReplace()
70+
{
71+
return $this->replace;
72+
}
73+
/**
74+
* @param ActionIncrementalLoadMode
75+
*/
76+
public function setUnique(ActionIncrementalLoadMode $unique)
77+
{
78+
$this->unique = $unique;
79+
}
80+
/**
81+
* @return ActionIncrementalLoadMode
82+
*/
83+
public function getUnique()
84+
{
85+
return $this->unique;
86+
}
87+
}
88+
89+
// Adding a class alias for backwards compatibility with the previous class name.
90+
class_alias(ActionLoadConfig::class, 'Google_Service_Dataform_ActionLoadConfig');
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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\Dataform;
19+
20+
class ActionSimpleLoadMode extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(ActionSimpleLoadMode::class, 'Google_Service_Dataform_ActionSimpleLoadMode');
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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\Dataform;
19+
20+
class ActionSqlDefinition extends \Google\Model
21+
{
22+
protected $errorTableType = ActionErrorTable::class;
23+
protected $errorTableDataType = '';
24+
protected $loadConfigType = ActionLoadConfig::class;
25+
protected $loadConfigDataType = '';
26+
/**
27+
* @var string
28+
*/
29+
public $query;
30+
31+
/**
32+
* @param ActionErrorTable
33+
*/
34+
public function setErrorTable(ActionErrorTable $errorTable)
35+
{
36+
$this->errorTable = $errorTable;
37+
}
38+
/**
39+
* @return ActionErrorTable
40+
*/
41+
public function getErrorTable()
42+
{
43+
return $this->errorTable;
44+
}
45+
/**
46+
* @param ActionLoadConfig
47+
*/
48+
public function setLoadConfig(ActionLoadConfig $loadConfig)
49+
{
50+
$this->loadConfig = $loadConfig;
51+
}
52+
/**
53+
* @return ActionLoadConfig
54+
*/
55+
public function getLoadConfig()
56+
{
57+
return $this->loadConfig;
58+
}
59+
/**
60+
* @param string
61+
*/
62+
public function setQuery($query)
63+
{
64+
$this->query = $query;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getQuery()
70+
{
71+
return $this->query;
72+
}
73+
}
74+
75+
// Adding a class alias for backwards compatibility with the previous class name.
76+
class_alias(ActionSqlDefinition::class, 'Google_Service_Dataform_ActionSqlDefinition');

src/Dataform/CodeCompilationConfig.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class CodeCompilationConfig extends \Google\Model
2323
* @var string
2424
*/
2525
public $assertionSchema;
26+
/**
27+
* @var string
28+
*/
29+
public $builtinAssertionNamePrefix;
2630
/**
2731
* @var string
2832
*/
@@ -68,6 +72,20 @@ public function getAssertionSchema()
6872
{
6973
return $this->assertionSchema;
7074
}
75+
/**
76+
* @param string
77+
*/
78+
public function setBuiltinAssertionNamePrefix($builtinAssertionNamePrefix)
79+
{
80+
$this->builtinAssertionNamePrefix = $builtinAssertionNamePrefix;
81+
}
82+
/**
83+
* @return string
84+
*/
85+
public function getBuiltinAssertionNamePrefix()
86+
{
87+
return $this->builtinAssertionNamePrefix;
88+
}
7189
/**
7290
* @param string
7391
*/

src/Dataform/CompilationResultAction.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class CompilationResultAction extends \Google\Model
2323
protected $assertionDataType = '';
2424
protected $canonicalTargetType = Target::class;
2525
protected $canonicalTargetDataType = '';
26+
protected $dataPreparationType = DataPreparation::class;
27+
protected $dataPreparationDataType = '';
2628
protected $declarationType = Declaration::class;
2729
protected $declarationDataType = '';
2830
/**
@@ -70,6 +72,20 @@ public function getCanonicalTarget()
7072
{
7173
return $this->canonicalTarget;
7274
}
75+
/**
76+
* @param DataPreparation
77+
*/
78+
public function setDataPreparation(DataPreparation $dataPreparation)
79+
{
80+
$this->dataPreparation = $dataPreparation;
81+
}
82+
/**
83+
* @return DataPreparation
84+
*/
85+
public function getDataPreparation()
86+
{
87+
return $this->dataPreparation;
88+
}
7389
/**
7490
* @param Declaration
7591
*/

0 commit comments

Comments
 (0)