Skip to content

Commit c8a4476

Browse files
1 parent 39c649d commit c8a4476

8 files changed

Lines changed: 782 additions & 2 deletions

src/CloudDataplex.php

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class CloudDataplex extends \Google\Service
7373
public $projects_locations_lakes_zones_assets_actions;
7474
public $projects_locations_lakes_zones_entities;
7575
public $projects_locations_lakes_zones_entities_partitions;
76+
public $projects_locations_metadataFeeds;
7677
public $projects_locations_metadataJobs;
7778
public $projects_locations_operations;
7879
public $rootUrlTemplate;
@@ -3474,6 +3475,98 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
34743475
]
34753476
]
34763477
);
3478+
$this->projects_locations_metadataFeeds = new CloudDataplex\Resource\ProjectsLocationsMetadataFeeds(
3479+
$this,
3480+
$this->serviceName,
3481+
'metadataFeeds',
3482+
[
3483+
'methods' => [
3484+
'create' => [
3485+
'path' => 'v1/{+parent}/metadataFeeds',
3486+
'httpMethod' => 'POST',
3487+
'parameters' => [
3488+
'parent' => [
3489+
'location' => 'path',
3490+
'type' => 'string',
3491+
'required' => true,
3492+
],
3493+
'metadataFeedId' => [
3494+
'location' => 'query',
3495+
'type' => 'string',
3496+
],
3497+
'validateOnly' => [
3498+
'location' => 'query',
3499+
'type' => 'boolean',
3500+
],
3501+
],
3502+
],'delete' => [
3503+
'path' => 'v1/{+name}',
3504+
'httpMethod' => 'DELETE',
3505+
'parameters' => [
3506+
'name' => [
3507+
'location' => 'path',
3508+
'type' => 'string',
3509+
'required' => true,
3510+
],
3511+
],
3512+
],'get' => [
3513+
'path' => 'v1/{+name}',
3514+
'httpMethod' => 'GET',
3515+
'parameters' => [
3516+
'name' => [
3517+
'location' => 'path',
3518+
'type' => 'string',
3519+
'required' => true,
3520+
],
3521+
],
3522+
],'list' => [
3523+
'path' => 'v1/{+parent}/metadataFeeds',
3524+
'httpMethod' => 'GET',
3525+
'parameters' => [
3526+
'parent' => [
3527+
'location' => 'path',
3528+
'type' => 'string',
3529+
'required' => true,
3530+
],
3531+
'filter' => [
3532+
'location' => 'query',
3533+
'type' => 'string',
3534+
],
3535+
'orderBy' => [
3536+
'location' => 'query',
3537+
'type' => 'string',
3538+
],
3539+
'pageSize' => [
3540+
'location' => 'query',
3541+
'type' => 'integer',
3542+
],
3543+
'pageToken' => [
3544+
'location' => 'query',
3545+
'type' => 'string',
3546+
],
3547+
],
3548+
],'patch' => [
3549+
'path' => 'v1/{+name}',
3550+
'httpMethod' => 'PATCH',
3551+
'parameters' => [
3552+
'name' => [
3553+
'location' => 'path',
3554+
'type' => 'string',
3555+
'required' => true,
3556+
],
3557+
'updateMask' => [
3558+
'location' => 'query',
3559+
'type' => 'string',
3560+
],
3561+
'validateOnly' => [
3562+
'location' => 'query',
3563+
'type' => 'boolean',
3564+
],
3565+
],
3566+
],
3567+
]
3568+
]
3569+
);
34773570
$this->projects_locations_metadataJobs = new CloudDataplex\Resource\ProjectsLocationsMetadataJobs(
34783571
$this,
34793572
$this->serviceName,

src/CloudDataplex/GoogleCloudDataplexV1DataDocumentationSpec.php

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,24 @@
1717

1818
namespace Google\Service\CloudDataplex;
1919

20-
class GoogleCloudDataplexV1DataDocumentationSpec extends \Google\Model
20+
class GoogleCloudDataplexV1DataDocumentationSpec extends \Google\Collection
2121
{
22+
protected $collection_key = 'generationScopes';
2223
/**
2324
* Optional. Whether to publish result to Dataplex Catalog.
2425
*
2526
* @var bool
2627
*/
2728
public $catalogPublishingEnabled;
29+
/**
30+
* Optional. Specifies which components of the data documentation to generate.
31+
* Any component that is required to generate the specified components will
32+
* also be generated. If no generation scope is specified, all available
33+
* documentation components will be generated.
34+
*
35+
* @var string[]
36+
*/
37+
public $generationScopes;
2838

2939
/**
3040
* Optional. Whether to publish result to Dataplex Catalog.
@@ -42,6 +52,25 @@ public function getCatalogPublishingEnabled()
4252
{
4353
return $this->catalogPublishingEnabled;
4454
}
55+
/**
56+
* Optional. Specifies which components of the data documentation to generate.
57+
* Any component that is required to generate the specified components will
58+
* also be generated. If no generation scope is specified, all available
59+
* documentation components will be generated.
60+
*
61+
* @param string[] $generationScopes
62+
*/
63+
public function setGenerationScopes($generationScopes)
64+
{
65+
$this->generationScopes = $generationScopes;
66+
}
67+
/**
68+
* @return string[]
69+
*/
70+
public function getGenerationScopes()
71+
{
72+
return $this->generationScopes;
73+
}
4574
}
4675

4776
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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 GoogleCloudDataplexV1ListMetadataFeedsResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'unreachable';
23+
protected $metadataFeedsType = GoogleCloudDataplexV1MetadataFeed::class;
24+
protected $metadataFeedsDataType = 'array';
25+
/**
26+
* A token to retrieve the next page of results. If there are no more results
27+
* in the list, the value is empty.
28+
*
29+
* @var string
30+
*/
31+
public $nextPageToken;
32+
/**
33+
* Unordered list. Locations that the service couldn't reach.
34+
*
35+
* @var string[]
36+
*/
37+
public $unreachable;
38+
39+
/**
40+
* List of metadata feeds under the specified parent location.
41+
*
42+
* @param GoogleCloudDataplexV1MetadataFeed[] $metadataFeeds
43+
*/
44+
public function setMetadataFeeds($metadataFeeds)
45+
{
46+
$this->metadataFeeds = $metadataFeeds;
47+
}
48+
/**
49+
* @return GoogleCloudDataplexV1MetadataFeed[]
50+
*/
51+
public function getMetadataFeeds()
52+
{
53+
return $this->metadataFeeds;
54+
}
55+
/**
56+
* A token to retrieve the next page of results. If there are no more results
57+
* in the list, the value is empty.
58+
*
59+
* @param string $nextPageToken
60+
*/
61+
public function setNextPageToken($nextPageToken)
62+
{
63+
$this->nextPageToken = $nextPageToken;
64+
}
65+
/**
66+
* @return string
67+
*/
68+
public function getNextPageToken()
69+
{
70+
return $this->nextPageToken;
71+
}
72+
/**
73+
* Unordered list. Locations that the service couldn't reach.
74+
*
75+
* @param string[] $unreachable
76+
*/
77+
public function setUnreachable($unreachable)
78+
{
79+
$this->unreachable = $unreachable;
80+
}
81+
/**
82+
* @return string[]
83+
*/
84+
public function getUnreachable()
85+
{
86+
return $this->unreachable;
87+
}
88+
}
89+
90+
// Adding a class alias for backwards compatibility with the previous class name.
91+
class_alias(GoogleCloudDataplexV1ListMetadataFeedsResponse::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1ListMetadataFeedsResponse');

0 commit comments

Comments
 (0)