Skip to content

Commit 9740158

Browse files
1 parent d1f3b5d commit 9740158

15 files changed

+549
-70
lines changed

src/CloudDataplex.php

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class CloudDataplex extends \Google\Service
7171
public $projects_locations_governanceRules;
7272
public $projects_locations_lakes;
7373
public $projects_locations_lakes_actions;
74-
public $projects_locations_lakes_environments;
7574
public $projects_locations_lakes_tasks;
7675
public $projects_locations_lakes_tasks_jobs;
7776
public $projects_locations_lakes_zones;
@@ -403,6 +402,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
403402
'type' => 'string',
404403
],
405404
],
405+
],'modifyEntry' => [
406+
'path' => 'v1/{+name}:modifyEntry',
407+
'httpMethod' => 'POST',
408+
'parameters' => [
409+
'name' => [
410+
'location' => 'path',
411+
'type' => 'string',
412+
'required' => true,
413+
],
414+
],
406415
],'searchEntries' => [
407416
'path' => 'v1/{+name}:searchEntries',
408417
'httpMethod' => 'POST',
@@ -2531,50 +2540,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
25312540
]
25322541
]
25332542
);
2534-
$this->projects_locations_lakes_environments = new CloudDataplex\Resource\ProjectsLocationsLakesEnvironments(
2535-
$this,
2536-
$this->serviceName,
2537-
'environments',
2538-
[
2539-
'methods' => [
2540-
'getIamPolicy' => [
2541-
'path' => 'v1/{+resource}:getIamPolicy',
2542-
'httpMethod' => 'GET',
2543-
'parameters' => [
2544-
'resource' => [
2545-
'location' => 'path',
2546-
'type' => 'string',
2547-
'required' => true,
2548-
],
2549-
'options.requestedPolicyVersion' => [
2550-
'location' => 'query',
2551-
'type' => 'integer',
2552-
],
2553-
],
2554-
],'setIamPolicy' => [
2555-
'path' => 'v1/{+resource}:setIamPolicy',
2556-
'httpMethod' => 'POST',
2557-
'parameters' => [
2558-
'resource' => [
2559-
'location' => 'path',
2560-
'type' => 'string',
2561-
'required' => true,
2562-
],
2563-
],
2564-
],'testIamPermissions' => [
2565-
'path' => 'v1/{+resource}:testIamPermissions',
2566-
'httpMethod' => 'POST',
2567-
'parameters' => [
2568-
'resource' => [
2569-
'location' => 'path',
2570-
'type' => 'string',
2571-
'required' => true,
2572-
],
2573-
],
2574-
],
2575-
]
2576-
]
2577-
);
25782543
$this->projects_locations_lakes_tasks = new CloudDataplex\Resource\ProjectsLocationsLakesTasks(
25792544
$this,
25802545
$this->serviceName,

src/CloudDataplex/GoogleCloudDataplexV1DataDiscoverySpecStorageConfig.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ class GoogleCloudDataplexV1DataDiscoverySpecStorageConfig extends \Google\Collec
4545
public $includePatterns;
4646
protected $jsonOptionsType = GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions::class;
4747
protected $jsonOptionsDataType = '';
48+
protected $unstructuredDataOptionsType = GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions::class;
49+
protected $unstructuredDataOptionsDataType = '';
4850

4951
/**
5052
* Optional. Configuration for CSV data.
@@ -119,6 +121,22 @@ public function getJsonOptions()
119121
{
120122
return $this->jsonOptions;
121123
}
124+
/**
125+
* Optional. Specifies configuration for unstructured data discovery.
126+
*
127+
* @param GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions $unstructuredDataOptions
128+
*/
129+
public function setUnstructuredDataOptions(GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions $unstructuredDataOptions)
130+
{
131+
$this->unstructuredDataOptions = $unstructuredDataOptions;
132+
}
133+
/**
134+
* @return GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions
135+
*/
136+
public function getUnstructuredDataOptions()
137+
{
138+
return $this->unstructuredDataOptions;
139+
}
122140
}
123141

124142
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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 GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions extends \Google\Model
21+
{
22+
/**
23+
* Optional. Deprecated: Use semantic_inference_enabled instead. Specifies
24+
* whether deeper entity inference over the objects' contents using GenAI is
25+
* enabled.
26+
*
27+
* @deprecated
28+
* @var bool
29+
*/
30+
public $entityInferenceEnabled;
31+
/**
32+
* Optional. Specifies whether deeper semantic inference over the objects'
33+
* contents using GenAI is enabled.
34+
*
35+
* @var bool
36+
*/
37+
public $semanticInferenceEnabled;
38+
39+
/**
40+
* Optional. Deprecated: Use semantic_inference_enabled instead. Specifies
41+
* whether deeper entity inference over the objects' contents using GenAI is
42+
* enabled.
43+
*
44+
* @deprecated
45+
* @param bool $entityInferenceEnabled
46+
*/
47+
public function setEntityInferenceEnabled($entityInferenceEnabled)
48+
{
49+
$this->entityInferenceEnabled = $entityInferenceEnabled;
50+
}
51+
/**
52+
* @deprecated
53+
* @return bool
54+
*/
55+
public function getEntityInferenceEnabled()
56+
{
57+
return $this->entityInferenceEnabled;
58+
}
59+
/**
60+
* Optional. Specifies whether deeper semantic inference over the objects'
61+
* contents using GenAI is enabled.
62+
*
63+
* @param bool $semanticInferenceEnabled
64+
*/
65+
public function setSemanticInferenceEnabled($semanticInferenceEnabled)
66+
{
67+
$this->semanticInferenceEnabled = $semanticInferenceEnabled;
68+
}
69+
/**
70+
* @return bool
71+
*/
72+
public function getSemanticInferenceEnabled()
73+
{
74+
return $this->semanticInferenceEnabled;
75+
}
76+
}
77+
78+
// Adding a class alias for backwards compatibility with the previous class name.
79+
class_alias(GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataDiscoverySpecStorageConfigUnstructuredDataOptions');

src/CloudDataplex/GoogleCloudDataplexV1DataDocumentationResultDatasetResult.php

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class GoogleCloudDataplexV1DataDocumentationResultDatasetResult extends \Google\Collection
2121
{
22-
protected $collection_key = 'tableResults';
22+
protected $collection_key = 'schemaRelationships';
2323
/**
2424
* Output only. Generated Dataset description.
2525
*
@@ -30,8 +30,6 @@ class GoogleCloudDataplexV1DataDocumentationResultDatasetResult extends \Google\
3030
protected $queriesDataType = 'array';
3131
protected $schemaRelationshipsType = GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship::class;
3232
protected $schemaRelationshipsDataType = 'array';
33-
protected $tableResultsType = GoogleCloudDataplexV1DataDocumentationResultTableResult::class;
34-
protected $tableResultsDataType = 'array';
3533

3634
/**
3735
* Output only. Generated Dataset description.
@@ -82,23 +80,6 @@ public function getSchemaRelationships()
8280
{
8381
return $this->schemaRelationships;
8482
}
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-
}
10283
}
10384

10485
// Adding a class alias for backwards compatibility with the previous class name.

src/CloudDataplex/GoogleCloudDataplexV1DataProfileSpec.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@
1919

2020
class GoogleCloudDataplexV1DataProfileSpec extends \Google\Model
2121
{
22+
/**
23+
* Default value. This value is unused.
24+
*/
25+
public const MODE_MODE_UNSPECIFIED = 'MODE_UNSPECIFIED';
26+
/**
27+
* Performs standard profiling. The behavior is controlled by other fields
28+
* such as sampling_percent, row_filter, and column filters. This mode allows
29+
* for full scans or custom sampling.
30+
*/
31+
public const MODE_STANDARD = 'STANDARD';
32+
/**
33+
* Specifies lightweight profiling mode. This mode is optimized for low-
34+
* latency low-fidelity profiling.When this mode is selected, the following
35+
* fields must not be set: - sampling_percent - row_filter - include_fields -
36+
* exclude_fields
37+
*/
38+
public const MODE_LIGHTWEIGHT = 'LIGHTWEIGHT';
2239
/**
2340
* Optional. If set, the latest DataScan job result will be published as
2441
* Dataplex Universal Catalog metadata.
@@ -30,6 +47,12 @@ class GoogleCloudDataplexV1DataProfileSpec extends \Google\Model
3047
protected $excludeFieldsDataType = '';
3148
protected $includeFieldsType = GoogleCloudDataplexV1DataProfileSpecSelectedFields::class;
3249
protected $includeFieldsDataType = '';
50+
/**
51+
* Optional. The execution mode for the profile scan.
52+
*
53+
* @var string
54+
*/
55+
public $mode;
3356
protected $postScanActionsType = GoogleCloudDataplexV1DataProfileSpecPostScanActions::class;
3457
protected $postScanActionsDataType = '';
3558
/**
@@ -102,6 +125,24 @@ public function getIncludeFields()
102125
{
103126
return $this->includeFields;
104127
}
128+
/**
129+
* Optional. The execution mode for the profile scan.
130+
*
131+
* Accepted values: MODE_UNSPECIFIED, STANDARD, LIGHTWEIGHT
132+
*
133+
* @param self::MODE_* $mode
134+
*/
135+
public function setMode($mode)
136+
{
137+
$this->mode = $mode;
138+
}
139+
/**
140+
* @return self::MODE_*
141+
*/
142+
public function getMode()
143+
{
144+
return $this->mode;
145+
}
105146
/**
106147
* Optional. Actions to take upon job completion..
107148
*

src/CloudDataplex/GoogleCloudDataplexV1DataScan.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ class GoogleCloudDataplexV1DataScan extends \Google\Model
9595
* @var string
9696
*/
9797
public $displayName;
98+
protected $executionIdentityType = GoogleCloudDataplexV1ExecutionIdentity::class;
99+
protected $executionIdentityDataType = '';
98100
protected $executionSpecType = GoogleCloudDataplexV1DataScanExecutionSpec::class;
99101
protected $executionSpecDataType = '';
100102
protected $executionStatusType = GoogleCloudDataplexV1DataScanExecutionStatus::class;
@@ -332,6 +334,23 @@ public function getDisplayName()
332334
{
333335
return $this->displayName;
334336
}
337+
/**
338+
* Optional. Immutable. The identity to run the datascan. If not specified,
339+
* defaults to the Dataplex Service Agent.
340+
*
341+
* @param GoogleCloudDataplexV1ExecutionIdentity $executionIdentity
342+
*/
343+
public function setExecutionIdentity(GoogleCloudDataplexV1ExecutionIdentity $executionIdentity)
344+
{
345+
$this->executionIdentity = $executionIdentity;
346+
}
347+
/**
348+
* @return GoogleCloudDataplexV1ExecutionIdentity
349+
*/
350+
public function getExecutionIdentity()
351+
{
352+
return $this->executionIdentity;
353+
}
335354
/**
336355
* Optional. DataScan execution settings.If not specified, the fields in it
337356
* will use their default values.

src/CloudDataplex/GoogleCloudDataplexV1DataScanJob.php

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ class GoogleCloudDataplexV1DataScanJob extends \Google\Model
4747
* The DataScanJob has been created but not started to run yet.
4848
*/
4949
public const STATE_PENDING = 'PENDING';
50+
/**
51+
* The DataScanJob succeeded with errors.
52+
*/
53+
public const STATE_SUCCEEDED_WITH_ERRORS = 'SUCCEEDED_WITH_ERRORS';
5054
/**
5155
* The data scan type is unspecified.
5256
*/
@@ -110,6 +114,12 @@ class GoogleCloudDataplexV1DataScanJob extends \Google\Model
110114
* @var string
111115
*/
112116
public $name;
117+
/**
118+
* Output only. A message indicating partial failure details.
119+
*
120+
* @var string
121+
*/
122+
public $partialFailureMessage;
113123
/**
114124
* Output only. The time when the DataScanJob was started.
115125
*
@@ -330,6 +340,22 @@ public function getName()
330340
{
331341
return $this->name;
332342
}
343+
/**
344+
* Output only. A message indicating partial failure details.
345+
*
346+
* @param string $partialFailureMessage
347+
*/
348+
public function setPartialFailureMessage($partialFailureMessage)
349+
{
350+
$this->partialFailureMessage = $partialFailureMessage;
351+
}
352+
/**
353+
* @return string
354+
*/
355+
public function getPartialFailureMessage()
356+
{
357+
return $this->partialFailureMessage;
358+
}
333359
/**
334360
* Output only. The time when the DataScanJob was started.
335361
*
@@ -350,7 +376,7 @@ public function getStartTime()
350376
* Output only. Execution state for the DataScanJob.
351377
*
352378
* Accepted values: STATE_UNSPECIFIED, RUNNING, CANCELING, CANCELLED,
353-
* SUCCEEDED, FAILED, PENDING
379+
* SUCCEEDED, FAILED, PENDING, SUCCEEDED_WITH_ERRORS
354380
*
355381
* @param self::STATE_* $state
356382
*/

0 commit comments

Comments
 (0)