Skip to content

Commit 1f8f304

Browse files
1 parent 0afa6d2 commit 1f8f304

21 files changed

Lines changed: 1393 additions & 0 deletions

src/DiscoveryEngine.php

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class DiscoveryEngine extends \Google\Service
8888
public $projects_locations_dataStores_suggestionDenyListEntries;
8989
public $projects_locations_dataStores_userEvents;
9090
public $projects_locations_groundingConfigs;
91+
public $projects_locations_identityMappingStores;
9192
public $projects_locations_identityMappingStores_operations;
9293
public $projects_locations_operations;
9394
public $projects_locations_rankingConfigs;
@@ -3042,6 +3043,114 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
30423043
]
30433044
]
30443045
);
3046+
$this->projects_locations_identityMappingStores = new DiscoveryEngine\Resource\ProjectsLocationsIdentityMappingStores(
3047+
$this,
3048+
$this->serviceName,
3049+
'identityMappingStores',
3050+
[
3051+
'methods' => [
3052+
'create' => [
3053+
'path' => 'v1/{+parent}/identityMappingStores',
3054+
'httpMethod' => 'POST',
3055+
'parameters' => [
3056+
'parent' => [
3057+
'location' => 'path',
3058+
'type' => 'string',
3059+
'required' => true,
3060+
],
3061+
'cmekConfigName' => [
3062+
'location' => 'query',
3063+
'type' => 'string',
3064+
],
3065+
'disableCmek' => [
3066+
'location' => 'query',
3067+
'type' => 'boolean',
3068+
],
3069+
'identityMappingStoreId' => [
3070+
'location' => 'query',
3071+
'type' => 'string',
3072+
],
3073+
],
3074+
],'delete' => [
3075+
'path' => 'v1/{+name}',
3076+
'httpMethod' => 'DELETE',
3077+
'parameters' => [
3078+
'name' => [
3079+
'location' => 'path',
3080+
'type' => 'string',
3081+
'required' => true,
3082+
],
3083+
],
3084+
],'get' => [
3085+
'path' => 'v1/{+name}',
3086+
'httpMethod' => 'GET',
3087+
'parameters' => [
3088+
'name' => [
3089+
'location' => 'path',
3090+
'type' => 'string',
3091+
'required' => true,
3092+
],
3093+
],
3094+
],'importIdentityMappings' => [
3095+
'path' => 'v1/{+identityMappingStore}:importIdentityMappings',
3096+
'httpMethod' => 'POST',
3097+
'parameters' => [
3098+
'identityMappingStore' => [
3099+
'location' => 'path',
3100+
'type' => 'string',
3101+
'required' => true,
3102+
],
3103+
],
3104+
],'list' => [
3105+
'path' => 'v1/{+parent}/identityMappingStores',
3106+
'httpMethod' => 'GET',
3107+
'parameters' => [
3108+
'parent' => [
3109+
'location' => 'path',
3110+
'type' => 'string',
3111+
'required' => true,
3112+
],
3113+
'pageSize' => [
3114+
'location' => 'query',
3115+
'type' => 'integer',
3116+
],
3117+
'pageToken' => [
3118+
'location' => 'query',
3119+
'type' => 'string',
3120+
],
3121+
],
3122+
],'listIdentityMappings' => [
3123+
'path' => 'v1/{+identityMappingStore}:listIdentityMappings',
3124+
'httpMethod' => 'GET',
3125+
'parameters' => [
3126+
'identityMappingStore' => [
3127+
'location' => 'path',
3128+
'type' => 'string',
3129+
'required' => true,
3130+
],
3131+
'pageSize' => [
3132+
'location' => 'query',
3133+
'type' => 'integer',
3134+
],
3135+
'pageToken' => [
3136+
'location' => 'query',
3137+
'type' => 'string',
3138+
],
3139+
],
3140+
],'purgeIdentityMappings' => [
3141+
'path' => 'v1/{+identityMappingStore}:purgeIdentityMappings',
3142+
'httpMethod' => 'POST',
3143+
'parameters' => [
3144+
'identityMappingStore' => [
3145+
'location' => 'path',
3146+
'type' => 'string',
3147+
'required' => true,
3148+
],
3149+
],
3150+
],
3151+
]
3152+
]
3153+
);
30453154
$this->projects_locations_identityMappingStores_operations = new DiscoveryEngine\Resource\ProjectsLocationsIdentityMappingStoresOperations(
30463155
$this,
30473156
$this->serviceName,

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1ControlBoostAction.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class GoogleCloudDiscoveryengineV1ControlBoostAction extends \Google\Model
3535
* @var float
3636
*/
3737
public $fixedBoost;
38+
protected $interpolationBoostSpecType = GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec::class;
39+
protected $interpolationBoostSpecDataType = '';
3840

3941
/**
4042
* @param float
@@ -92,6 +94,20 @@ public function getFixedBoost()
9294
{
9395
return $this->fixedBoost;
9496
}
97+
/**
98+
* @param GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec
99+
*/
100+
public function setInterpolationBoostSpec(GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec $interpolationBoostSpec)
101+
{
102+
$this->interpolationBoostSpec = $interpolationBoostSpec;
103+
}
104+
/**
105+
* @return GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec
106+
*/
107+
public function getInterpolationBoostSpec()
108+
{
109+
return $this->interpolationBoostSpec;
110+
}
95111
}
96112

97113
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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 GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec extends \Google\Collection
21+
{
22+
protected $collection_key = 'controlPoints';
23+
/**
24+
* @var string
25+
*/
26+
public $attributeType;
27+
protected $controlPointsType = GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint::class;
28+
protected $controlPointsDataType = 'array';
29+
/**
30+
* @var string
31+
*/
32+
public $fieldName;
33+
/**
34+
* @var string
35+
*/
36+
public $interpolationType;
37+
38+
/**
39+
* @param string
40+
*/
41+
public function setAttributeType($attributeType)
42+
{
43+
$this->attributeType = $attributeType;
44+
}
45+
/**
46+
* @return string
47+
*/
48+
public function getAttributeType()
49+
{
50+
return $this->attributeType;
51+
}
52+
/**
53+
* @param GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[]
54+
*/
55+
public function setControlPoints($controlPoints)
56+
{
57+
$this->controlPoints = $controlPoints;
58+
}
59+
/**
60+
* @return GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint[]
61+
*/
62+
public function getControlPoints()
63+
{
64+
return $this->controlPoints;
65+
}
66+
/**
67+
* @param string
68+
*/
69+
public function setFieldName($fieldName)
70+
{
71+
$this->fieldName = $fieldName;
72+
}
73+
/**
74+
* @return string
75+
*/
76+
public function getFieldName()
77+
{
78+
return $this->fieldName;
79+
}
80+
/**
81+
* @param string
82+
*/
83+
public function setInterpolationType($interpolationType)
84+
{
85+
$this->interpolationType = $interpolationType;
86+
}
87+
/**
88+
* @return string
89+
*/
90+
public function getInterpolationType()
91+
{
92+
return $this->interpolationType;
93+
}
94+
}
95+
96+
// Adding a class alias for backwards compatibility with the previous class name.
97+
class_alias(GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec');
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 GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $attributeValue;
26+
/**
27+
* @var float
28+
*/
29+
public $boostAmount;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setAttributeValue($attributeValue)
35+
{
36+
$this->attributeValue = $attributeValue;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getAttributeValue()
42+
{
43+
return $this->attributeValue;
44+
}
45+
/**
46+
* @param float
47+
*/
48+
public function setBoostAmount($boostAmount)
49+
{
50+
$this->boostAmount = $boostAmount;
51+
}
52+
/**
53+
* @return float
54+
*/
55+
public function getBoostAmount()
56+
{
57+
return $this->boostAmount;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint');
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 GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $createTime;
26+
/**
27+
* @var string
28+
*/
29+
public $updateTime;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setCreateTime($createTime)
35+
{
36+
$this->createTime = $createTime;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getCreateTime()
42+
{
43+
return $this->createTime;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setUpdateTime($updateTime)
49+
{
50+
$this->updateTime = $updateTime;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getUpdateTime()
56+
{
57+
return $this->updateTime;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata');

0 commit comments

Comments
 (0)