Skip to content

Commit f3d3b59

Browse files
1 parent 70d376e commit f3d3b59

9 files changed

Lines changed: 415 additions & 14 deletions

src/CustomerEngagementSuite/Deployment.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class Deployment extends \Google\Model
5050
* @var string
5151
*/
5252
public $etag;
53+
protected $experimentConfigType = ExperimentConfig::class;
54+
protected $experimentConfigDataType = '';
5355
/**
5456
* Identifier. The resource name of the deployment. Format: `projects/{project
5557
* }/locations/{location}/apps/{app}/deployments/{deployment}`
@@ -149,6 +151,22 @@ public function getEtag()
149151
{
150152
return $this->etag;
151153
}
154+
/**
155+
* Optional. Experiment configuration for the deployment.
156+
*
157+
* @param ExperimentConfig $experimentConfig
158+
*/
159+
public function setExperimentConfig(ExperimentConfig $experimentConfig)
160+
{
161+
$this->experimentConfig = $experimentConfig;
162+
}
163+
/**
164+
* @return ExperimentConfig
165+
*/
166+
public function getExperimentConfig()
167+
{
168+
return $this->experimentConfig;
169+
}
152170
/**
153171
* Identifier. The resource name of the deployment. Format: `projects/{project
154172
* }/locations/{location}/apps/{app}/deployments/{deployment}`
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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\CustomerEngagementSuite;
19+
20+
class ExperimentConfig extends \Google\Model
21+
{
22+
protected $versionReleaseType = ExperimentConfigVersionRelease::class;
23+
protected $versionReleaseDataType = '';
24+
25+
/**
26+
* Optional. Version release for the experiment.
27+
*
28+
* @param ExperimentConfigVersionRelease $versionRelease
29+
*/
30+
public function setVersionRelease(ExperimentConfigVersionRelease $versionRelease)
31+
{
32+
$this->versionRelease = $versionRelease;
33+
}
34+
/**
35+
* @return ExperimentConfigVersionRelease
36+
*/
37+
public function getVersionRelease()
38+
{
39+
return $this->versionRelease;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(ExperimentConfig::class, 'Google_Service_CustomerEngagementSuite_ExperimentConfig');
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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\CustomerEngagementSuite;
19+
20+
class ExperimentConfigVersionRelease extends \Google\Collection
21+
{
22+
/**
23+
* Unspecified state.
24+
*/
25+
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
26+
/**
27+
* Pending state. Experiment is pending and not valid.
28+
*/
29+
public const STATE_PENDING = 'PENDING';
30+
/**
31+
* Running state. Experiment is running and valid.
32+
*/
33+
public const STATE_RUNNING = 'RUNNING';
34+
/**
35+
* Done state. Experiment is done and no longer valid.
36+
*/
37+
public const STATE_DONE = 'DONE';
38+
/**
39+
* Expired state. Experiment is expired and no longer valid.
40+
*/
41+
public const STATE_EXPIRED = 'EXPIRED';
42+
protected $collection_key = 'trafficAllocations';
43+
/**
44+
* Optional. State of the version release.
45+
*
46+
* @var string
47+
*/
48+
public $state;
49+
protected $trafficAllocationsType = ExperimentConfigVersionReleaseTrafficAllocation::class;
50+
protected $trafficAllocationsDataType = 'array';
51+
52+
/**
53+
* Optional. State of the version release.
54+
*
55+
* Accepted values: STATE_UNSPECIFIED, PENDING, RUNNING, DONE, EXPIRED
56+
*
57+
* @param self::STATE_* $state
58+
*/
59+
public function setState($state)
60+
{
61+
$this->state = $state;
62+
}
63+
/**
64+
* @return self::STATE_*
65+
*/
66+
public function getState()
67+
{
68+
return $this->state;
69+
}
70+
/**
71+
* Optional. Traffic allocations for the version release.
72+
*
73+
* @param ExperimentConfigVersionReleaseTrafficAllocation[] $trafficAllocations
74+
*/
75+
public function setTrafficAllocations($trafficAllocations)
76+
{
77+
$this->trafficAllocations = $trafficAllocations;
78+
}
79+
/**
80+
* @return ExperimentConfigVersionReleaseTrafficAllocation[]
81+
*/
82+
public function getTrafficAllocations()
83+
{
84+
return $this->trafficAllocations;
85+
}
86+
}
87+
88+
// Adding a class alias for backwards compatibility with the previous class name.
89+
class_alias(ExperimentConfigVersionRelease::class, 'Google_Service_CustomerEngagementSuite_ExperimentConfigVersionRelease');
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\CustomerEngagementSuite;
19+
20+
class ExperimentConfigVersionReleaseTrafficAllocation extends \Google\Model
21+
{
22+
/**
23+
* Optional. App version of the traffic allocation. Format:
24+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
25+
*
26+
* @var string
27+
*/
28+
public $appVersion;
29+
/**
30+
* Optional. Id of the traffic allocation. Free format string, up to 128
31+
* characters.
32+
*
33+
* @var string
34+
*/
35+
public $id;
36+
/**
37+
* Optional. Traffic percentage of the traffic allocation. Must be between 0
38+
* and 100.
39+
*
40+
* @var int
41+
*/
42+
public $trafficPercentage;
43+
44+
/**
45+
* Optional. App version of the traffic allocation. Format:
46+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
47+
*
48+
* @param string $appVersion
49+
*/
50+
public function setAppVersion($appVersion)
51+
{
52+
$this->appVersion = $appVersion;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getAppVersion()
58+
{
59+
return $this->appVersion;
60+
}
61+
/**
62+
* Optional. Id of the traffic allocation. Free format string, up to 128
63+
* characters.
64+
*
65+
* @param string $id
66+
*/
67+
public function setId($id)
68+
{
69+
$this->id = $id;
70+
}
71+
/**
72+
* @return string
73+
*/
74+
public function getId()
75+
{
76+
return $this->id;
77+
}
78+
/**
79+
* Optional. Traffic percentage of the traffic allocation. Must be between 0
80+
* and 100.
81+
*
82+
* @param int $trafficPercentage
83+
*/
84+
public function setTrafficPercentage($trafficPercentage)
85+
{
86+
$this->trafficPercentage = $trafficPercentage;
87+
}
88+
/**
89+
* @return int
90+
*/
91+
public function getTrafficPercentage()
92+
{
93+
return $this->trafficPercentage;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(ExperimentConfigVersionReleaseTrafficAllocation::class, 'Google_Service_CustomerEngagementSuite_ExperimentConfigVersionReleaseTrafficAllocation');

src/CustomerEngagementSuite/LoggingSettings.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class LoggingSettings extends \Google\Model
3333
protected $metricAnalysisSettingsDataType = '';
3434
protected $redactionConfigType = RedactionConfig::class;
3535
protected $redactionConfigDataType = '';
36+
protected $unredactedAudioRecordingConfigType = AudioRecordingConfig::class;
37+
protected $unredactedAudioRecordingConfigDataType = '';
3638

3739
/**
3840
* Optional. Configuration for how audio interactions should be recorded.
@@ -151,6 +153,24 @@ public function getRedactionConfig()
151153
{
152154
return $this->redactionConfig;
153155
}
156+
/**
157+
* Optional. Configures recording of unredacted audio. Use this to maintain a
158+
* raw backup with restricted access when audio redaction is enabled,
159+
* typically for auditing or monitoring purposes.
160+
*
161+
* @param AudioRecordingConfig $unredactedAudioRecordingConfig
162+
*/
163+
public function setUnredactedAudioRecordingConfig(AudioRecordingConfig $unredactedAudioRecordingConfig)
164+
{
165+
$this->unredactedAudioRecordingConfig = $unredactedAudioRecordingConfig;
166+
}
167+
/**
168+
* @return AudioRecordingConfig
169+
*/
170+
public function getUnredactedAudioRecordingConfig()
171+
{
172+
return $this->unredactedAudioRecordingConfig;
173+
}
154174
}
155175

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

src/CustomerEngagementSuite/MockedToolCall.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class MockedToolCall extends \Google\Model
3535
*/
3636
public $mockResponse;
3737
/**
38-
* Required. Deprecated. Use tool_identifier instead.
38+
* Optional. Deprecated. Use tool_identifier instead.
3939
*
4040
* @deprecated
4141
* @var string
@@ -87,7 +87,7 @@ public function getMockResponse()
8787
return $this->mockResponse;
8888
}
8989
/**
90-
* Required. Deprecated. Use tool_identifier instead.
90+
* Optional. Deprecated. Use tool_identifier instead.
9191
*
9292
* @deprecated
9393
* @param string $tool

src/CustomerEngagementSuite/Resource/ProjectsLocations.php

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,22 @@ public function get($name, $optParams = [])
4747
/**
4848
* Lists information about the supported locations for this service. This method
4949
* lists locations based on the resource scope provided in the
50-
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51-
* empty, the method lists the public locations available to all projects. *
52-
* **Project-specific locations**: If `name` follows the format
53-
* `projects/{project}`, the method lists locations visible to that specific
54-
* project. This includes public, private, or other project-specific locations
55-
* enabled for the project. For gRPC and client library implementations, the
56-
* resource name is passed as the `name` field. For direct service calls, the
57-
* resource name is incorporated into the request path based on the specific
58-
* service implementation and version. (locations.listProjectsLocations)
50+
* ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
51+
* the method lists the public locations available to all projects. * **Project-
52+
* specific locations**: If `name` follows the format `projects/{project}`, the
53+
* method lists locations visible to that specific project. This includes
54+
* public, private, or other project-specific locations enabled for the project.
55+
* For gRPC and client library implementations, the resource name is passed as
56+
* the `name` field. For direct service calls, the resource name is incorporated
57+
* into the request path based on the specific service implementation and
58+
* version. (locations.listProjectsLocations)
5959
*
6060
* @param string $name The resource that owns the locations collection, if
6161
* applicable.
6262
* @param array $optParams Optional parameters.
6363
*
64-
* @opt_param string extraLocationTypes Optional. Do not use this field. It is
65-
* unsupported and is ignored unless explicitly documented otherwise. This is
66-
* primarily for internal usage.
64+
* @opt_param string extraLocationTypes Optional. Do not use this field unless
65+
* explicitly documented otherwise. This is primarily for internal usage.
6766
* @opt_param string filter A filter to narrow down results to a preferred
6867
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
6968
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

src/CustomerEngagementSuite/WidgetTool.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ class WidgetTool extends \Google\Model
8787
public $name;
8888
protected $parametersType = Schema::class;
8989
protected $parametersDataType = '';
90+
protected $textResponseConfigType = WidgetToolTextResponseConfig::class;
91+
protected $textResponseConfigDataType = '';
9092
/**
9193
* Optional. Configuration for rendering the widget.
9294
*
@@ -166,6 +168,22 @@ public function getParameters()
166168
{
167169
return $this->parameters;
168170
}
171+
/**
172+
* Optional. Configuration for always-included text responses.
173+
*
174+
* @param WidgetToolTextResponseConfig $textResponseConfig
175+
*/
176+
public function setTextResponseConfig(WidgetToolTextResponseConfig $textResponseConfig)
177+
{
178+
$this->textResponseConfig = $textResponseConfig;
179+
}
180+
/**
181+
* @return WidgetToolTextResponseConfig
182+
*/
183+
public function getTextResponseConfig()
184+
{
185+
return $this->textResponseConfig;
186+
}
169187
/**
170188
* Optional. Configuration for rendering the widget.
171189
*

0 commit comments

Comments
 (0)