Skip to content

Commit 86480e4

Browse files
1 parent c0a15ab commit 86480e4

43 files changed

Lines changed: 2230 additions & 113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/DiscoveryEngine.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,6 +1858,20 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
18581858
'required' => true,
18591859
],
18601860
],
1861+
],'getIamPolicy' => [
1862+
'path' => 'v1/{+resource}:getIamPolicy',
1863+
'httpMethod' => 'GET',
1864+
'parameters' => [
1865+
'resource' => [
1866+
'location' => 'path',
1867+
'type' => 'string',
1868+
'required' => true,
1869+
],
1870+
'options.requestedPolicyVersion' => [
1871+
'location' => 'query',
1872+
'type' => 'integer',
1873+
],
1874+
],
18611875
],'list' => [
18621876
'path' => 'v1/{+parent}/engines',
18631877
'httpMethod' => 'GET',
@@ -1894,6 +1908,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
18941908
'type' => 'string',
18951909
],
18961910
],
1911+
],'setIamPolicy' => [
1912+
'path' => 'v1/{+resource}:setIamPolicy',
1913+
'httpMethod' => 'POST',
1914+
'parameters' => [
1915+
'resource' => [
1916+
'location' => 'path',
1917+
'type' => 'string',
1918+
'required' => true,
1919+
],
1920+
],
18971921
],
18981922
]
18991923
]

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1Control.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ class GoogleCloudDiscoveryengineV1Control extends \Google\Collection
4141
* `SOLUTION_TYPE_CHAT` solution.
4242
*/
4343
public const SOLUTION_TYPE_SOLUTION_TYPE_GENERATIVE_CHAT = 'SOLUTION_TYPE_GENERATIVE_CHAT';
44+
/**
45+
* Used for AI Mode.
46+
*/
47+
public const SOLUTION_TYPE_SOLUTION_TYPE_AI_MODE = 'SOLUTION_TYPE_AI_MODE';
4448
protected $collection_key = 'useCases';
4549
/**
4650
* Output only. List of all ServingConfig IDs this control is attached to. May
@@ -234,7 +238,8 @@ public function getRedirectAction()
234238
* is thrown.
235239
*
236240
* Accepted values: SOLUTION_TYPE_UNSPECIFIED, SOLUTION_TYPE_RECOMMENDATION,
237-
* SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_CHAT
241+
* SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_CHAT,
242+
* SOLUTION_TYPE_AI_MODE
238243
*
239244
* @param self::SOLUTION_TYPE_* $solutionType
240245
*/

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1DataConnector.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ class GoogleCloudDiscoveryengineV1DataConnector extends \Google\Collection
108108
* Google Chat connector.
109109
*/
110110
public const CONNECTOR_TYPE_GOOGLE_CHAT = 'GOOGLE_CHAT';
111+
/**
112+
* Google Sites connector.
113+
*/
114+
public const CONNECTOR_TYPE_GOOGLE_SITES = 'GOOGLE_SITES';
111115
/**
112116
* Default value.
113117
*/
@@ -577,7 +581,7 @@ public function getConnectorModes()
577581
* Accepted values: CONNECTOR_TYPE_UNSPECIFIED, THIRD_PARTY, GCP_FHIR,
578582
* BIG_QUERY, GCS, GOOGLE_MAIL, GOOGLE_CALENDAR, GOOGLE_DRIVE,
579583
* NATIVE_CLOUD_IDENTITY, THIRD_PARTY_FEDERATED, THIRD_PARTY_EUA, GCNV,
580-
* GOOGLE_CHAT
584+
* GOOGLE_CHAT, GOOGLE_SITES
581585
*
582586
* @param self::CONNECTOR_TYPE_* $connectorType
583587
*/

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1Engine.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ class GoogleCloudDiscoveryengineV1Engine extends \Google\Collection
7575
* `SOLUTION_TYPE_CHAT` solution.
7676
*/
7777
public const SOLUTION_TYPE_SOLUTION_TYPE_GENERATIVE_CHAT = 'SOLUTION_TYPE_GENERATIVE_CHAT';
78+
/**
79+
* Used for AI Mode.
80+
*/
81+
public const SOLUTION_TYPE_SOLUTION_TYPE_AI_MODE = 'SOLUTION_TYPE_AI_MODE';
7882
protected $collection_key = 'dataStoreIds';
7983
/**
8084
* Optional. Immutable. This the application type which this engine resource
@@ -531,7 +535,8 @@ public function getSearchEngineConfig()
531535
* Required. The solutions of the engine.
532536
*
533537
* Accepted values: SOLUTION_TYPE_UNSPECIFIED, SOLUTION_TYPE_RECOMMENDATION,
534-
* SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_CHAT
538+
* SOLUTION_TYPE_SEARCH, SOLUTION_TYPE_CHAT, SOLUTION_TYPE_GENERATIVE_CHAT,
539+
* SOLUTION_TYPE_AI_MODE
535540
*
536541
* @param self::SOLUTION_TYPE_* $solutionType
537542
*/

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1EngineSearchEngineConfig.php

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig extends \Google\Colle
2424
*/
2525
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_UNSPECIFIED = 'SUBSCRIPTION_TIER_UNSPECIFIED';
2626
/**
27-
* Search tier. Search tier can access VAIS search features and NotebookLM
28-
* features.
27+
* Search tier. Search tier can access Vertex AI Search features and
28+
* NotebookLM features.
2929
*/
3030
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_SEARCH = 'SUBSCRIPTION_TIER_SEARCH';
3131
/**
32-
* Search + assistant tier. Search + assistant tier can access VAIS search
33-
* features, NotebookLM features and assistant features.
32+
* Gemini Enterprise Plus tier.
3433
*/
3534
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT = 'SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT';
3635
/**
@@ -39,39 +38,43 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig extends \Google\Colle
3938
*/
4039
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_NOTEBOOK_LM = 'SUBSCRIPTION_TIER_NOTEBOOK_LM';
4140
/**
42-
* Frontline worker tier.
41+
* Gemini Frontline worker tier.
4342
*/
4443
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_FRONTLINE_WORKER = 'SUBSCRIPTION_TIER_FRONTLINE_WORKER';
4544
/**
46-
* Agentspace Starter tier.
45+
* Gemini Business Starter tier.
4746
*/
4847
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_AGENTSPACE_STARTER = 'SUBSCRIPTION_TIER_AGENTSPACE_STARTER';
4948
/**
50-
* Agentspace Business tier.
49+
* Gemini Business tier.
5150
*/
5251
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS = 'SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS';
5352
/**
54-
* Enterprise tier.
53+
* Gemini Enterprise Standard tier.
5554
*/
5655
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_ENTERPRISE = 'SUBSCRIPTION_TIER_ENTERPRISE';
5756
/**
58-
* EDU tier.
57+
* Gemini Enterprise Standard tier for emerging markets.
58+
*/
59+
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_ENTERPRISE_EMERGING = 'SUBSCRIPTION_TIER_ENTERPRISE_EMERGING';
60+
/**
61+
* Gemini Enterprise EDU tier.
5962
*/
6063
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU = 'SUBSCRIPTION_TIER_EDU';
6164
/**
62-
* EDU Pro tier.
65+
* Gemini Enterprise EDU Pro tier.
6366
*/
6467
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_PRO = 'SUBSCRIPTION_TIER_EDU_PRO';
6568
/**
66-
* EDU emerging market tier.
69+
* Gemini Enterprise EDU tier for emerging market only.
6770
*/
6871
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_EMERGING = 'SUBSCRIPTION_TIER_EDU_EMERGING';
6972
/**
70-
* EDU Pro emerging market tier.
73+
* Gemini Enterprise EDU Pro tier for emerging market.
7174
*/
7275
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_PRO_EMERGING = 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING';
7376
/**
74-
* Frontline starter tier.
77+
* Gemini Frontline Starter tier.
7578
*/
7679
public const REQUIRED_SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_FRONTLINE_STARTER = 'SUBSCRIPTION_TIER_FRONTLINE_STARTER';
7780
/**
@@ -121,9 +124,9 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig extends \Google\Colle
121124
* SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT, SUBSCRIPTION_TIER_NOTEBOOK_LM,
122125
* SUBSCRIPTION_TIER_FRONTLINE_WORKER, SUBSCRIPTION_TIER_AGENTSPACE_STARTER,
123126
* SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS, SUBSCRIPTION_TIER_ENTERPRISE,
124-
* SUBSCRIPTION_TIER_EDU, SUBSCRIPTION_TIER_EDU_PRO,
125-
* SUBSCRIPTION_TIER_EDU_EMERGING, SUBSCRIPTION_TIER_EDU_PRO_EMERGING,
126-
* SUBSCRIPTION_TIER_FRONTLINE_STARTER
127+
* SUBSCRIPTION_TIER_ENTERPRISE_EMERGING, SUBSCRIPTION_TIER_EDU,
128+
* SUBSCRIPTION_TIER_EDU_PRO, SUBSCRIPTION_TIER_EDU_EMERGING,
129+
* SUBSCRIPTION_TIER_EDU_PRO_EMERGING, SUBSCRIPTION_TIER_FRONTLINE_STARTER
127130
*
128131
* @param self::REQUIRED_SUBSCRIPTION_TIER_* $requiredSubscriptionTier
129132
*/

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1LicenseConfig.php

Lines changed: 78 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ class GoogleCloudDiscoveryengineV1LicenseConfig extends \Google\Model
3636
* future.
3737
*/
3838
public const STATE_NOT_STARTED = 'NOT_STARTED';
39+
/**
40+
* This is when a sub license config has returned all its seats back to
41+
* BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.
42+
*/
43+
public const STATE_WITHDRAWN = 'WITHDRAWN';
44+
/**
45+
* The license config is terminated earlier than the expiration date and it is
46+
* deactivating. The customer will still have access in this state. It will be
47+
* converted to EXPIRED after the deactivating period ends (14 days) or when
48+
* the end date is reached, whichever comes first.
49+
*/
50+
public const STATE_DEACTIVATING = 'DEACTIVATING';
3951
/**
4052
* Default value, do not use.
4153
*/
@@ -57,13 +69,12 @@ class GoogleCloudDiscoveryengineV1LicenseConfig extends \Google\Model
5769
*/
5870
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_UNSPECIFIED = 'SUBSCRIPTION_TIER_UNSPECIFIED';
5971
/**
60-
* Search tier. Search tier can access VAIS search features and NotebookLM
61-
* features.
72+
* Search tier. Search tier can access Vertex AI Search features and
73+
* NotebookLM features.
6274
*/
6375
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_SEARCH = 'SUBSCRIPTION_TIER_SEARCH';
6476
/**
65-
* Search + assistant tier. Search + assistant tier can access VAIS search
66-
* features, NotebookLM features and assistant features.
77+
* Gemini Enterprise Plus tier.
6778
*/
6879
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT = 'SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT';
6980
/**
@@ -72,39 +83,43 @@ class GoogleCloudDiscoveryengineV1LicenseConfig extends \Google\Model
7283
*/
7384
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_NOTEBOOK_LM = 'SUBSCRIPTION_TIER_NOTEBOOK_LM';
7485
/**
75-
* Frontline worker tier.
86+
* Gemini Frontline worker tier.
7687
*/
7788
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_FRONTLINE_WORKER = 'SUBSCRIPTION_TIER_FRONTLINE_WORKER';
7889
/**
79-
* Agentspace Starter tier.
90+
* Gemini Business Starter tier.
8091
*/
8192
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_AGENTSPACE_STARTER = 'SUBSCRIPTION_TIER_AGENTSPACE_STARTER';
8293
/**
83-
* Agentspace Business tier.
94+
* Gemini Business tier.
8495
*/
8596
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS = 'SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS';
8697
/**
87-
* Enterprise tier.
98+
* Gemini Enterprise Standard tier.
8899
*/
89100
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_ENTERPRISE = 'SUBSCRIPTION_TIER_ENTERPRISE';
90101
/**
91-
* EDU tier.
102+
* Gemini Enterprise Standard tier for emerging markets.
103+
*/
104+
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_ENTERPRISE_EMERGING = 'SUBSCRIPTION_TIER_ENTERPRISE_EMERGING';
105+
/**
106+
* Gemini Enterprise EDU tier.
92107
*/
93108
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU = 'SUBSCRIPTION_TIER_EDU';
94109
/**
95-
* EDU Pro tier.
110+
* Gemini Enterprise EDU Pro tier.
96111
*/
97112
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_PRO = 'SUBSCRIPTION_TIER_EDU_PRO';
98113
/**
99-
* EDU emerging market tier.
114+
* Gemini Enterprise EDU tier for emerging market only.
100115
*/
101116
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_EMERGING = 'SUBSCRIPTION_TIER_EDU_EMERGING';
102117
/**
103-
* EDU Pro emerging market tier.
118+
* Gemini Enterprise EDU Pro tier for emerging market.
104119
*/
105120
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_EDU_PRO_EMERGING = 'SUBSCRIPTION_TIER_EDU_PRO_EMERGING';
106121
/**
107-
* Frontline starter tier.
122+
* Gemini Frontline Starter tier.
108123
*/
109124
public const SUBSCRIPTION_TIER_SUBSCRIPTION_TIER_FRONTLINE_STARTER = 'SUBSCRIPTION_TIER_FRONTLINE_STARTER';
110125
/**
@@ -114,6 +129,16 @@ class GoogleCloudDiscoveryengineV1LicenseConfig extends \Google\Model
114129
* @var bool
115130
*/
116131
public $autoRenew;
132+
/**
133+
* Output only. Indication of whether the subscription is terminated earlier
134+
* than the expiration date. This is usually terminated by pipeline once the
135+
* subscription gets terminated from subsv3.
136+
*
137+
* @var bool
138+
*/
139+
public $earlyTerminated;
140+
protected $earlyTerminationDateType = GoogleTypeDate::class;
141+
protected $earlyTerminationDateDataType = '';
117142
protected $endDateType = GoogleTypeDate::class;
118143
protected $endDateDataType = '';
119144
/**
@@ -180,6 +205,41 @@ public function getAutoRenew()
180205
{
181206
return $this->autoRenew;
182207
}
208+
/**
209+
* Output only. Indication of whether the subscription is terminated earlier
210+
* than the expiration date. This is usually terminated by pipeline once the
211+
* subscription gets terminated from subsv3.
212+
*
213+
* @param bool $earlyTerminated
214+
*/
215+
public function setEarlyTerminated($earlyTerminated)
216+
{
217+
$this->earlyTerminated = $earlyTerminated;
218+
}
219+
/**
220+
* @return bool
221+
*/
222+
public function getEarlyTerminated()
223+
{
224+
return $this->earlyTerminated;
225+
}
226+
/**
227+
* Output only. The date when the subscription is terminated earlier than the
228+
* expiration date.
229+
*
230+
* @param GoogleTypeDate $earlyTerminationDate
231+
*/
232+
public function setEarlyTerminationDate(GoogleTypeDate $earlyTerminationDate)
233+
{
234+
$this->earlyTerminationDate = $earlyTerminationDate;
235+
}
236+
/**
237+
* @return GoogleTypeDate
238+
*/
239+
public function getEarlyTerminationDate()
240+
{
241+
return $this->earlyTerminationDate;
242+
}
183243
/**
184244
* Optional. The planed end date.
185245
*
@@ -281,7 +341,8 @@ public function getStartDate()
281341
/**
282342
* Output only. The state of the license config.
283343
*
284-
* Accepted values: STATE_UNSPECIFIED, ACTIVE, EXPIRED, NOT_STARTED
344+
* Accepted values: STATE_UNSPECIFIED, ACTIVE, EXPIRED, NOT_STARTED,
345+
* WITHDRAWN, DEACTIVATING
285346
*
286347
* @param self::STATE_* $state
287348
*/
@@ -323,9 +384,9 @@ public function getSubscriptionTerm()
323384
* SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT, SUBSCRIPTION_TIER_NOTEBOOK_LM,
324385
* SUBSCRIPTION_TIER_FRONTLINE_WORKER, SUBSCRIPTION_TIER_AGENTSPACE_STARTER,
325386
* SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS, SUBSCRIPTION_TIER_ENTERPRISE,
326-
* SUBSCRIPTION_TIER_EDU, SUBSCRIPTION_TIER_EDU_PRO,
327-
* SUBSCRIPTION_TIER_EDU_EMERGING, SUBSCRIPTION_TIER_EDU_PRO_EMERGING,
328-
* SUBSCRIPTION_TIER_FRONTLINE_STARTER
387+
* SUBSCRIPTION_TIER_ENTERPRISE_EMERGING, SUBSCRIPTION_TIER_EDU,
388+
* SUBSCRIPTION_TIER_EDU_PRO, SUBSCRIPTION_TIER_EDU_EMERGING,
389+
* SUBSCRIPTION_TIER_EDU_PRO_EMERGING, SUBSCRIPTION_TIER_FRONTLINE_STARTER
329390
*
330391
* @param self::SUBSCRIPTION_TIER_* $subscriptionTier
331392
*/

src/DiscoveryEngine/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig extends \Google\Model
2121
{
22+
protected $dataProtectionPolicyType = GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy::class;
23+
protected $dataProtectionPolicyDataType = '';
2224
protected $modelArmorConfigType = GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::class;
2325
protected $modelArmorConfigDataType = '';
2426
protected $observabilityConfigType = GoogleCloudDiscoveryengineV1ObservabilityConfig::class;
@@ -31,6 +33,22 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
3133
*/
3234
public $optOutNotebookSharing;
3335

36+
/**
37+
* Optional. Specifies the data protection policy for NotebookLM.
38+
*
39+
* @param GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy $dataProtectionPolicy
40+
*/
41+
public function setDataProtectionPolicy(GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy $dataProtectionPolicy)
42+
{
43+
$this->dataProtectionPolicy = $dataProtectionPolicy;
44+
}
45+
/**
46+
* @return GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy
47+
*/
48+
public function getDataProtectionPolicy()
49+
{
50+
return $this->dataProtectionPolicy;
51+
}
3452
/**
3553
* Model Armor configuration to be used for sanitizing user prompts and LLM
3654
* responses.

0 commit comments

Comments
 (0)