Skip to content

Commit b0a5f52

Browse files
1 parent 36fb4f6 commit b0a5f52

5 files changed

Lines changed: 455 additions & 1 deletion

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.php

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,38 @@ class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus extends \Goog
3535
* @var string
3636
*/
3737
public $effectiveSearchQpmThreshold;
38+
/**
39+
* Output only. The earliest next update time for the indexing core
40+
* subscription threshold. This is based on the next_update_time returned by
41+
* the underlying Cloud Billing Subscription V3 API. This field is populated
42+
* only if an update indexing core subscription threshold request is
43+
* succeeded.
44+
*
45+
* @var string
46+
*/
47+
public $indexingCoreThresholdNextUpdateTime;
48+
/**
49+
* Output only. The earliest next update time for the search QPM subscription
50+
* threshold. This is based on the next_update_time returned by the underlying
51+
* Cloud Billing Subscription V3 API. This field is populated only if an
52+
* update QPM subscription threshold request is succeeded.
53+
*
54+
* @var string
55+
*/
56+
public $searchQpmThresholdNextUpdateTime;
3857
/**
3958
* Optional. The start time of the currently active billing subscription.
4059
*
4160
* @var string
4261
*/
4362
public $startTime;
63+
/**
64+
* Output only. The latest terminate effective time of search qpm and indexing
65+
* core subscriptions.
66+
*
67+
* @var string
68+
*/
69+
public $terminateTime;
4470

4571
/**
4672
* Optional. The currently effective Indexing Core threshold. This is the
@@ -78,6 +104,45 @@ public function getEffectiveSearchQpmThreshold()
78104
{
79105
return $this->effectiveSearchQpmThreshold;
80106
}
107+
/**
108+
* Output only. The earliest next update time for the indexing core
109+
* subscription threshold. This is based on the next_update_time returned by
110+
* the underlying Cloud Billing Subscription V3 API. This field is populated
111+
* only if an update indexing core subscription threshold request is
112+
* succeeded.
113+
*
114+
* @param string $indexingCoreThresholdNextUpdateTime
115+
*/
116+
public function setIndexingCoreThresholdNextUpdateTime($indexingCoreThresholdNextUpdateTime)
117+
{
118+
$this->indexingCoreThresholdNextUpdateTime = $indexingCoreThresholdNextUpdateTime;
119+
}
120+
/**
121+
* @return string
122+
*/
123+
public function getIndexingCoreThresholdNextUpdateTime()
124+
{
125+
return $this->indexingCoreThresholdNextUpdateTime;
126+
}
127+
/**
128+
* Output only. The earliest next update time for the search QPM subscription
129+
* threshold. This is based on the next_update_time returned by the underlying
130+
* Cloud Billing Subscription V3 API. This field is populated only if an
131+
* update QPM subscription threshold request is succeeded.
132+
*
133+
* @param string $searchQpmThresholdNextUpdateTime
134+
*/
135+
public function setSearchQpmThresholdNextUpdateTime($searchQpmThresholdNextUpdateTime)
136+
{
137+
$this->searchQpmThresholdNextUpdateTime = $searchQpmThresholdNextUpdateTime;
138+
}
139+
/**
140+
* @return string
141+
*/
142+
public function getSearchQpmThresholdNextUpdateTime()
143+
{
144+
return $this->searchQpmThresholdNextUpdateTime;
145+
}
81146
/**
82147
* Optional. The start time of the currently active billing subscription.
83148
*
@@ -94,6 +159,23 @@ public function getStartTime()
94159
{
95160
return $this->startTime;
96161
}
162+
/**
163+
* Output only. The latest terminate effective time of search qpm and indexing
164+
* core subscriptions.
165+
*
166+
* @param string $terminateTime
167+
*/
168+
public function setTerminateTime($terminateTime)
169+
{
170+
$this->terminateTime = $terminateTime;
171+
}
172+
/**
173+
* @return string
174+
*/
175+
public function getTerminateTime()
176+
{
177+
return $this->terminateTime;
178+
}
97179
}
98180

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

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1WidgetConfig.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfig extends \Google\Collection
9191
* `SOLUTION_TYPE_CHAT` solution.
9292
*/
9393
public const SOLUTION_TYPE_SOLUTION_TYPE_GENERATIVE_CHAT = 'SOLUTION_TYPE_GENERATIVE_CHAT';
94-
protected $collection_key = 'facetField';
94+
protected $collection_key = 'nodes';
9595
protected $accessSettingsType = GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings::class;
9696
protected $accessSettingsDataType = '';
9797
/**
@@ -266,6 +266,8 @@ class GoogleCloudDiscoveryengineV1WidgetConfig extends \Google\Collection
266266
* @var string
267267
*/
268268
public $name;
269+
protected $nodesType = GoogleCloudDiscoveryengineV1WidgetConfigNode::class;
270+
protected $nodesDataType = 'array';
269271
/**
270272
* The type of snippet to display in UCS widget. -
271273
* RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-
@@ -850,6 +852,22 @@ public function getName()
850852
{
851853
return $this->name;
852854
}
855+
/**
856+
* Output only. The nodes associated with the Widget Config.
857+
*
858+
* @param GoogleCloudDiscoveryengineV1WidgetConfigNode[] $nodes
859+
*/
860+
public function setNodes($nodes)
861+
{
862+
$this->nodes = $nodes;
863+
}
864+
/**
865+
* @return GoogleCloudDiscoveryengineV1WidgetConfigNode[]
866+
*/
867+
public function getNodes()
868+
{
869+
return $this->nodes;
870+
}
853871
/**
854872
* The type of snippet to display in UCS widget. -
855873
* RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
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 GoogleCloudDiscoveryengineV1WidgetConfigNode extends \Google\Model
21+
{
22+
/**
23+
* Unspecified type.
24+
*/
25+
public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
26+
/**
27+
* Trigger type.
28+
*/
29+
public const TYPE_TRIGGER = 'TRIGGER';
30+
/**
31+
* Flow type.
32+
*/
33+
public const TYPE_FLOW = 'FLOW';
34+
/**
35+
* Connector type.
36+
*/
37+
public const TYPE_CONNECTOR = 'CONNECTOR';
38+
/**
39+
* Output only. A detailed description of what the node does.
40+
*
41+
* @var string
42+
*/
43+
public $description;
44+
/**
45+
* Output only. A human readable name for the node.
46+
*
47+
* @var string
48+
*/
49+
public $displayName;
50+
/**
51+
* Output only. An identifier or URL pointing to an icon representing this
52+
* node type.
53+
*
54+
* @var string
55+
*/
56+
public $iconUrl;
57+
/**
58+
* Output only. The output schema of the tool. This schema is expected to
59+
* conform to the OpenAPI Schema standard (see
60+
* https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the
61+
* structure of the output produced by this node.
62+
*
63+
* @var array[]
64+
*/
65+
public $outputSchema;
66+
/**
67+
* Output only. The parameter schema of the tool. This schema is expected to
68+
* conform to the OpenAPI Schema standard (see
69+
* https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the
70+
* expected structure of the parameters that this node accepts.
71+
*
72+
* @var array[]
73+
*/
74+
public $parameterSchema;
75+
/**
76+
* Output only. The type of the node.
77+
*
78+
* @var string
79+
*/
80+
public $type;
81+
82+
/**
83+
* Output only. A detailed description of what the node does.
84+
*
85+
* @param string $description
86+
*/
87+
public function setDescription($description)
88+
{
89+
$this->description = $description;
90+
}
91+
/**
92+
* @return string
93+
*/
94+
public function getDescription()
95+
{
96+
return $this->description;
97+
}
98+
/**
99+
* Output only. A human readable name for the node.
100+
*
101+
* @param string $displayName
102+
*/
103+
public function setDisplayName($displayName)
104+
{
105+
$this->displayName = $displayName;
106+
}
107+
/**
108+
* @return string
109+
*/
110+
public function getDisplayName()
111+
{
112+
return $this->displayName;
113+
}
114+
/**
115+
* Output only. An identifier or URL pointing to an icon representing this
116+
* node type.
117+
*
118+
* @param string $iconUrl
119+
*/
120+
public function setIconUrl($iconUrl)
121+
{
122+
$this->iconUrl = $iconUrl;
123+
}
124+
/**
125+
* @return string
126+
*/
127+
public function getIconUrl()
128+
{
129+
return $this->iconUrl;
130+
}
131+
/**
132+
* Output only. The output schema of the tool. This schema is expected to
133+
* conform to the OpenAPI Schema standard (see
134+
* https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the
135+
* structure of the output produced by this node.
136+
*
137+
* @param array[] $outputSchema
138+
*/
139+
public function setOutputSchema($outputSchema)
140+
{
141+
$this->outputSchema = $outputSchema;
142+
}
143+
/**
144+
* @return array[]
145+
*/
146+
public function getOutputSchema()
147+
{
148+
return $this->outputSchema;
149+
}
150+
/**
151+
* Output only. The parameter schema of the tool. This schema is expected to
152+
* conform to the OpenAPI Schema standard (see
153+
* https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the
154+
* expected structure of the parameters that this node accepts.
155+
*
156+
* @param array[] $parameterSchema
157+
*/
158+
public function setParameterSchema($parameterSchema)
159+
{
160+
$this->parameterSchema = $parameterSchema;
161+
}
162+
/**
163+
* @return array[]
164+
*/
165+
public function getParameterSchema()
166+
{
167+
return $this->parameterSchema;
168+
}
169+
/**
170+
* Output only. The type of the node.
171+
*
172+
* Accepted values: TYPE_UNSPECIFIED, TRIGGER, FLOW, CONNECTOR
173+
*
174+
* @param self::TYPE_* $type
175+
*/
176+
public function setType($type)
177+
{
178+
$this->type = $type;
179+
}
180+
/**
181+
* @return self::TYPE_*
182+
*/
183+
public function getType()
184+
{
185+
return $this->type;
186+
}
187+
}
188+
189+
// Adding a class alias for backwards compatibility with the previous class name.
190+
class_alias(GoogleCloudDiscoveryengineV1WidgetConfigNode::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1WidgetConfigNode');

0 commit comments

Comments
 (0)