Skip to content

Commit 774be2f

Browse files
1 parent 0600436 commit 774be2f

9 files changed

Lines changed: 506 additions & 14 deletions

src/CloudDataplex.php

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class CloudDataplex extends \Google\Service
5353
public $projects_locations_aspectTypes;
5454
public $projects_locations_changeRequests;
5555
public $projects_locations_dataAttributeBindings;
56+
public $projects_locations_dataDomains;
5657
public $projects_locations_dataProducts;
5758
public $projects_locations_dataProducts_dataAssets;
5859
public $projects_locations_dataScans;
@@ -744,6 +745,50 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
744745
]
745746
]
746747
);
748+
$this->projects_locations_dataDomains = new CloudDataplex\Resource\ProjectsLocationsDataDomains(
749+
$this,
750+
$this->serviceName,
751+
'dataDomains',
752+
[
753+
'methods' => [
754+
'getIamPolicy' => [
755+
'path' => 'v1/{+resource}:getIamPolicy',
756+
'httpMethod' => 'GET',
757+
'parameters' => [
758+
'resource' => [
759+
'location' => 'path',
760+
'type' => 'string',
761+
'required' => true,
762+
],
763+
'options.requestedPolicyVersion' => [
764+
'location' => 'query',
765+
'type' => 'integer',
766+
],
767+
],
768+
],'setIamPolicy' => [
769+
'path' => 'v1/{+resource}:setIamPolicy',
770+
'httpMethod' => 'POST',
771+
'parameters' => [
772+
'resource' => [
773+
'location' => 'path',
774+
'type' => 'string',
775+
'required' => true,
776+
],
777+
],
778+
],'testIamPermissions' => [
779+
'path' => 'v1/{+resource}:testIamPermissions',
780+
'httpMethod' => 'POST',
781+
'parameters' => [
782+
'resource' => [
783+
'location' => 'path',
784+
'type' => 'string',
785+
'required' => true,
786+
],
787+
],
788+
],
789+
]
790+
]
791+
);
747792
$this->projects_locations_dataProducts = new CloudDataplex\Resource\ProjectsLocationsDataProducts(
748793
$this,
749794
$this->serviceName,

src/CloudDataplex/GoogleCloudDataplexV1DataDocumentationResult.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,29 @@
1919

2020
class GoogleCloudDataplexV1DataDocumentationResult extends \Google\Model
2121
{
22+
protected $datasetResultType = GoogleCloudDataplexV1DataDocumentationResultDatasetResult::class;
23+
protected $datasetResultDataType = '';
2224
protected $tableResultType = GoogleCloudDataplexV1DataDocumentationResultTableResult::class;
2325
protected $tableResultDataType = '';
2426

2527
/**
26-
* Output only. Table result for insights.
28+
* Output only. Insights for a Dataset resource.
29+
*
30+
* @param GoogleCloudDataplexV1DataDocumentationResultDatasetResult $datasetResult
31+
*/
32+
public function setDatasetResult(GoogleCloudDataplexV1DataDocumentationResultDatasetResult $datasetResult)
33+
{
34+
$this->datasetResult = $datasetResult;
35+
}
36+
/**
37+
* @return GoogleCloudDataplexV1DataDocumentationResultDatasetResult
38+
*/
39+
public function getDatasetResult()
40+
{
41+
return $this->datasetResult;
42+
}
43+
/**
44+
* Output only. Insights for a Table resource.
2745
*
2846
* @param GoogleCloudDataplexV1DataDocumentationResultTableResult $tableResult
2947
*/
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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\CloudDataplex;
19+
20+
class GoogleCloudDataplexV1DataDocumentationResultDatasetResult extends \Google\Collection
21+
{
22+
protected $collection_key = 'tableResults';
23+
/**
24+
* Output only. Generated Dataset description.
25+
*
26+
* @var string
27+
*/
28+
public $overview;
29+
protected $queriesType = GoogleCloudDataplexV1DataDocumentationResultQuery::class;
30+
protected $queriesDataType = 'array';
31+
protected $schemaRelationshipsType = GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship::class;
32+
protected $schemaRelationshipsDataType = 'array';
33+
protected $tableResultsType = GoogleCloudDataplexV1DataDocumentationResultTableResult::class;
34+
protected $tableResultsDataType = 'array';
35+
36+
/**
37+
* Output only. Generated Dataset description.
38+
*
39+
* @param string $overview
40+
*/
41+
public function setOverview($overview)
42+
{
43+
$this->overview = $overview;
44+
}
45+
/**
46+
* @return string
47+
*/
48+
public function getOverview()
49+
{
50+
return $this->overview;
51+
}
52+
/**
53+
* Output only. Sample SQL queries for the dataset.
54+
*
55+
* @param GoogleCloudDataplexV1DataDocumentationResultQuery[] $queries
56+
*/
57+
public function setQueries($queries)
58+
{
59+
$this->queries = $queries;
60+
}
61+
/**
62+
* @return GoogleCloudDataplexV1DataDocumentationResultQuery[]
63+
*/
64+
public function getQueries()
65+
{
66+
return $this->queries;
67+
}
68+
/**
69+
* Output only. Relationships suggesting how tables in the dataset are related
70+
* to each other, based on their schema.
71+
*
72+
* @param GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship[] $schemaRelationships
73+
*/
74+
public function setSchemaRelationships($schemaRelationships)
75+
{
76+
$this->schemaRelationships = $schemaRelationships;
77+
}
78+
/**
79+
* @return GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship[]
80+
*/
81+
public function getSchemaRelationships()
82+
{
83+
return $this->schemaRelationships;
84+
}
85+
/**
86+
* Output only. Generated table and column descriptions for each table in the
87+
* dataset.
88+
*
89+
* @param GoogleCloudDataplexV1DataDocumentationResultTableResult[] $tableResults
90+
*/
91+
public function setTableResults($tableResults)
92+
{
93+
$this->tableResults = $tableResults;
94+
}
95+
/**
96+
* @return GoogleCloudDataplexV1DataDocumentationResultTableResult[]
97+
*/
98+
public function getTableResults()
99+
{
100+
return $this->tableResults;
101+
}
102+
}
103+
104+
// Adding a class alias for backwards compatibility with the previous class name.
105+
class_alias(GoogleCloudDataplexV1DataDocumentationResultDatasetResult::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataDocumentationResultDatasetResult');
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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\CloudDataplex;
19+
20+
class GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship extends \Google\Collection
21+
{
22+
/**
23+
* The type of the schema relationship is unspecified.
24+
*/
25+
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
26+
/**
27+
* Indicates a join relationship between the schema fields.
28+
*/
29+
public const TYPE_SCHEMA_JOIN = 'SCHEMA_JOIN';
30+
protected $collection_key = 'sources';
31+
protected $leftSchemaPathsType = GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths::class;
32+
protected $leftSchemaPathsDataType = '';
33+
protected $rightSchemaPathsType = GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths::class;
34+
protected $rightSchemaPathsDataType = '';
35+
/**
36+
* Output only. Sources which generated the schema relation edge.
37+
*
38+
* @var string[]
39+
*/
40+
public $sources;
41+
/**
42+
* Output only. The type of relationship between the schema paths.
43+
*
44+
* @var string
45+
*/
46+
public $type;
47+
48+
/**
49+
* Output only. An ordered list of fields for the join from the first table.
50+
* The size of this list must be the same as right_schema_paths. Each field at
51+
* index i in this list must correspond to a field at the same index in the
52+
* right_schema_paths list.
53+
*
54+
* @param GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths $leftSchemaPaths
55+
*/
56+
public function setLeftSchemaPaths(GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths $leftSchemaPaths)
57+
{
58+
$this->leftSchemaPaths = $leftSchemaPaths;
59+
}
60+
/**
61+
* @return GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths
62+
*/
63+
public function getLeftSchemaPaths()
64+
{
65+
return $this->leftSchemaPaths;
66+
}
67+
/**
68+
* Output only. An ordered list of fields for the join from the second table.
69+
* The size of this list must be the same as left_schema_paths. Each field at
70+
* index i in this list must correspond to a field at the same index in the
71+
* left_schema_paths list.
72+
*
73+
* @param GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths $rightSchemaPaths
74+
*/
75+
public function setRightSchemaPaths(GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths $rightSchemaPaths)
76+
{
77+
$this->rightSchemaPaths = $rightSchemaPaths;
78+
}
79+
/**
80+
* @return GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths
81+
*/
82+
public function getRightSchemaPaths()
83+
{
84+
return $this->rightSchemaPaths;
85+
}
86+
/**
87+
* Output only. Sources which generated the schema relation edge.
88+
*
89+
* @param string[] $sources
90+
*/
91+
public function setSources($sources)
92+
{
93+
$this->sources = $sources;
94+
}
95+
/**
96+
* @return string[]
97+
*/
98+
public function getSources()
99+
{
100+
return $this->sources;
101+
}
102+
/**
103+
* Output only. The type of relationship between the schema paths.
104+
*
105+
* Accepted values: TYPE_UNSPECIFIED, SCHEMA_JOIN
106+
*
107+
* @param self::TYPE_* $type
108+
*/
109+
public function setType($type)
110+
{
111+
$this->type = $type;
112+
}
113+
/**
114+
* @return self::TYPE_*
115+
*/
116+
public function getType()
117+
{
118+
return $this->type;
119+
}
120+
}
121+
122+
// Adding a class alias for backwards compatibility with the previous class name.
123+
class_alias(GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship');

0 commit comments

Comments
 (0)