Skip to content

Commit 81a1758

Browse files
1 parent 11ed676 commit 81a1758

21 files changed

Lines changed: 2130 additions & 0 deletions

src/DiscoveryEngine.php

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class DiscoveryEngine extends \Google\Service
4545
public $projects;
4646
public $projects_locations;
4747
public $projects_locations_cmekConfigs;
48+
public $projects_locations_collections;
4849
public $projects_locations_collections_dataConnector_operations;
4950
public $projects_locations_collections_dataStores;
5051
public $projects_locations_collections_dataStores_branches;
@@ -201,6 +202,34 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
201202
'required' => true,
202203
],
203204
],
205+
],'setUpDataConnector' => [
206+
'path' => 'v1/{+parent}:setUpDataConnector',
207+
'httpMethod' => 'POST',
208+
'parameters' => [
209+
'parent' => [
210+
'location' => 'path',
211+
'type' => 'string',
212+
'required' => true,
213+
],
214+
],
215+
],'setUpDataConnectorV2' => [
216+
'path' => 'v1/{+parent}:setUpDataConnectorV2',
217+
'httpMethod' => 'POST',
218+
'parameters' => [
219+
'parent' => [
220+
'location' => 'path',
221+
'type' => 'string',
222+
'required' => true,
223+
],
224+
'collectionDisplayName' => [
225+
'location' => 'query',
226+
'type' => 'string',
227+
],
228+
'collectionId' => [
229+
'location' => 'query',
230+
'type' => 'string',
231+
],
232+
],
204233
],'updateAclConfig' => [
205234
'path' => 'v1/{+name}',
206235
'httpMethod' => 'PATCH',
@@ -283,6 +312,50 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
283312
]
284313
]
285314
);
315+
$this->projects_locations_collections = new DiscoveryEngine\Resource\ProjectsLocationsCollections(
316+
$this,
317+
$this->serviceName,
318+
'collections',
319+
[
320+
'methods' => [
321+
'delete' => [
322+
'path' => 'v1/{+name}',
323+
'httpMethod' => 'DELETE',
324+
'parameters' => [
325+
'name' => [
326+
'location' => 'path',
327+
'type' => 'string',
328+
'required' => true,
329+
],
330+
],
331+
],'getDataConnector' => [
332+
'path' => 'v1/{+name}',
333+
'httpMethod' => 'GET',
334+
'parameters' => [
335+
'name' => [
336+
'location' => 'path',
337+
'type' => 'string',
338+
'required' => true,
339+
],
340+
],
341+
],'updateDataConnector' => [
342+
'path' => 'v1/{+name}',
343+
'httpMethod' => 'PATCH',
344+
'parameters' => [
345+
'name' => [
346+
'location' => 'path',
347+
'type' => 'string',
348+
'required' => true,
349+
],
350+
'updateMask' => [
351+
'location' => 'query',
352+
'type' => 'string',
353+
],
354+
],
355+
],
356+
]
357+
]
358+
);
286359
$this->projects_locations_collections_dataConnector_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataConnectorOperations(
287360
$this,
288361
$this->serviceName,
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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\DiscoveryEngine;
19+
20+
class GoogleCloudDiscoveryengineV1ActionConfig extends \Google\Model
21+
{
22+
/**
23+
* @var array[]
24+
*/
25+
public $actionParams;
26+
/**
27+
* @var bool
28+
*/
29+
public $isActionConfigured;
30+
/**
31+
* @var string
32+
*/
33+
public $serviceName;
34+
/**
35+
* @var bool
36+
*/
37+
public $useStaticSecrets;
38+
39+
/**
40+
* @param array[]
41+
*/
42+
public function setActionParams($actionParams)
43+
{
44+
$this->actionParams = $actionParams;
45+
}
46+
/**
47+
* @return array[]
48+
*/
49+
public function getActionParams()
50+
{
51+
return $this->actionParams;
52+
}
53+
/**
54+
* @param bool
55+
*/
56+
public function setIsActionConfigured($isActionConfigured)
57+
{
58+
$this->isActionConfigured = $isActionConfigured;
59+
}
60+
/**
61+
* @return bool
62+
*/
63+
public function getIsActionConfigured()
64+
{
65+
return $this->isActionConfigured;
66+
}
67+
/**
68+
* @param string
69+
*/
70+
public function setServiceName($serviceName)
71+
{
72+
$this->serviceName = $serviceName;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getServiceName()
78+
{
79+
return $this->serviceName;
80+
}
81+
/**
82+
* @param bool
83+
*/
84+
public function setUseStaticSecrets($useStaticSecrets)
85+
{
86+
$this->useStaticSecrets = $useStaticSecrets;
87+
}
88+
/**
89+
* @return bool
90+
*/
91+
public function getUseStaticSecrets()
92+
{
93+
return $this->useStaticSecrets;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(GoogleCloudDiscoveryengineV1ActionConfig::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1ActionConfig');
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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\DiscoveryEngine;
19+
20+
class GoogleCloudDiscoveryengineV1AlertPolicyConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'alertEnrollments';
23+
protected $alertEnrollmentsType = GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment::class;
24+
protected $alertEnrollmentsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $alertPolicyName;
29+
30+
/**
31+
* @param GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment[]
32+
*/
33+
public function setAlertEnrollments($alertEnrollments)
34+
{
35+
$this->alertEnrollments = $alertEnrollments;
36+
}
37+
/**
38+
* @return GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment[]
39+
*/
40+
public function getAlertEnrollments()
41+
{
42+
return $this->alertEnrollments;
43+
}
44+
/**
45+
* @param string
46+
*/
47+
public function setAlertPolicyName($alertPolicyName)
48+
{
49+
$this->alertPolicyName = $alertPolicyName;
50+
}
51+
/**
52+
* @return string
53+
*/
54+
public function getAlertPolicyName()
55+
{
56+
return $this->alertPolicyName;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(GoogleCloudDiscoveryengineV1AlertPolicyConfig::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1AlertPolicyConfig');
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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\DiscoveryEngine;
19+
20+
class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $alertId;
26+
/**
27+
* @var string
28+
*/
29+
public $enrollState;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setAlertId($alertId)
35+
{
36+
$this->alertId = $alertId;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getAlertId()
42+
{
43+
return $this->alertId;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setEnrollState($enrollState)
49+
{
50+
$this->enrollState = $enrollState;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getEnrollState()
56+
{
57+
return $this->enrollState;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment');
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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\DiscoveryEngine;
19+
20+
class GoogleCloudDiscoveryengineV1BAPConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'supportedConnectorModes';
23+
/**
24+
* @var string[]
25+
*/
26+
public $supportedConnectorModes;
27+
28+
/**
29+
* @param string[]
30+
*/
31+
public function setSupportedConnectorModes($supportedConnectorModes)
32+
{
33+
$this->supportedConnectorModes = $supportedConnectorModes;
34+
}
35+
/**
36+
* @return string[]
37+
*/
38+
public function getSupportedConnectorModes()
39+
{
40+
return $this->supportedConnectorModes;
41+
}
42+
}
43+
44+
// Adding a class alias for backwards compatibility with the previous class name.
45+
class_alias(GoogleCloudDiscoveryengineV1BAPConfig::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1BAPConfig');

0 commit comments

Comments
 (0)