From 4611d9f76233bbaf90730de16dc89289622e25aa Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 16 Jun 2026 18:36:06 -0700 Subject: [PATCH] chore: regenerate discoveryengine client --- .../v1/2.0.0/README.md | 4 +- .../discoveryengine/v1/DiscoveryEngine.java | 87 ++++++ .../GoogleCloudDiscoveryengineV1Engine.java | 36 +-- ...ineV1ProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...gineV1WidgetConfigCollectionComponent.java | 24 ++ ...ngineV1WidgetConfigConnectorAuthState.java | 114 ++++++++ ...scoveryengineV1WidgetConfigUiSettings.java | 36 +-- ...ogleCloudDiscoveryengineV1alphaEngine.java | 36 +-- ...alphaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...oogleCloudDiscoveryengineV1betaEngine.java | 36 +-- ...1betaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1alpha/2.0.0/README.md | 4 +- .../v1alpha/DiscoveryEngine.java | 87 ++++++ .../GoogleCloudDiscoveryengineV1Engine.java | 36 +-- ...ineV1ProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...ogleCloudDiscoveryengineV1alphaEngine.java | 36 +-- ...alphaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...1alphaWidgetConfigCollectionComponent.java | 24 ++ ...V1alphaWidgetConfigConnectorAuthState.java | 114 ++++++++ ...ryengineV1alphaWidgetConfigUiSettings.java | 36 +-- ...oogleCloudDiscoveryengineV1betaEngine.java | 36 +-- ...1betaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ .../v1alpha/2.0.0/pom.xml | 4 +- .../v1alpha/README.md | 4 +- .../v1beta/2.0.0/README.md | 4 +- .../GoogleCloudDiscoveryengineV1Engine.java | 36 +-- ...ineV1ProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...ogleCloudDiscoveryengineV1alphaEngine.java | 36 +-- ...alphaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ ...oogleCloudDiscoveryengineV1betaEngine.java | 36 +-- ...1betaProjectConfigurableBillingStatus.java | 24 ++ ...tusAgentSearchTokenSubscriptionStatus.java | 255 ++++++++++++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../v1beta/README.md | 4 +- 44 files changed, 3177 insertions(+), 216 deletions(-) create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState.java create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState.java create mode 100644 clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java create mode 100644 clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md index 4b490313f5b..3cb9969fb5d 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20260606-2.0.0 + v1-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260614-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java index cb97a076295..2e238682692 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/DiscoveryEngine.java @@ -18557,6 +18557,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -28590,6 +28619,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -42502,6 +42560,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` on + * `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default + * language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` on + * `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default + * language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java index f3c647744b9..3ca7fcb6b63 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java index 15f692e07d8..525cec3409f 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..239db674e0b --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent.java index 6fb62c314ec..5e70a68578e 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent extends com.google.api.client.json.GenericJson { + /** + * Output only. The auth uri of the connector source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState connectorAuthState; + /** * Output only. The icon link of the connector source. * The value may be {@code null}. @@ -83,6 +90,23 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent e @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The auth uri of the connector source. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState getConnectorAuthState() { + return connectorAuthState; + } + + /** + * Output only. The auth uri of the connector source. + * @param connectorAuthState connectorAuthState or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent setConnectorAuthState(GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState connectorAuthState) { + this.connectorAuthState = connectorAuthState; + return this; + } + /** * Output only. The icon link of the connector source. * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState.java new file mode 100644 index 00000000000..9f496b2860c --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState.java @@ -0,0 +1,114 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Read-only connector in CollectionComponent auth state. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState extends com.google.api.client.json.GenericJson { + + /** + * Output only. The authorization state of the data connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authState; + + /** + * Output only. The authorization uri for the data connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authorizationUri; + + /** + * Output only. The authorization state update timestamp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The authorization state of the data connector. + * @return value or {@code null} for none + */ + public java.lang.String getAuthState() { + return authState; + } + + /** + * Output only. The authorization state of the data connector. + * @param authState authState or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState setAuthState(java.lang.String authState) { + this.authState = authState; + return this; + } + + /** + * Output only. The authorization uri for the data connector. + * @return value or {@code null} for none + */ + public java.lang.String getAuthorizationUri() { + return authorizationUri; + } + + /** + * Output only. The authorization uri for the data connector. + * @param authorizationUri authorizationUri or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState setAuthorizationUri(java.lang.String authorizationUri) { + this.authorizationUri = authorizationUri; + return this; + } + + /** + * Output only. The authorization state update timestamp. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The authorization state update timestamp. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState clone() { + return (GoogleCloudDiscoveryengineV1WidgetConfigConnectorAuthState) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java index bdaeecee06d..4fd5d951d66 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java @@ -113,12 +113,12 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings extends co * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -349,12 +349,12 @@ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setEnableVisualContent * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -365,12 +365,12 @@ public java.util.Map getFeatures() { * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 5d7c72659d2..55059a4e372 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -470,12 +470,12 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -487,12 +487,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java index edc1bfbbc5a..ffbb65947be 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingSt @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..094f87cc625 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java index ae21709c9d9..bb49c3d28f8 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java index 3960484c80d..8651fbef0b8 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingSta @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..016105de6db --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml index 991b1d957bd..6b5843c315c 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1-rev20260606-2.0.0 - Discovery Engine API v1-rev20260606-2.0.0 + v1-rev20260614-2.0.0 + Discovery Engine API v1-rev20260614-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1/README.md b/clients/google-api-services-discoveryengine/v1/README.md index 4b490313f5b..3cb9969fb5d 100644 --- a/clients/google-api-services-discoveryengine/v1/README.md +++ b/clients/google-api-services-discoveryengine/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20260606-2.0.0 + v1-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260614-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md index 81634b8067c..912907a194d 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20260606-2.0.0 + v1alpha-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260614-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java index 47aba92d91c..0703ed00766 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java @@ -25198,6 +25198,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -37358,6 +37387,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` + * on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the + * default language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -53569,6 +53627,35 @@ public Get setGetWidgetConfigRequestOptionTurnOffCollectionComponents(java.lang. return this; } + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` on + * `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default + * language (English). + */ + @com.google.api.client.util.Key + private java.lang.String languageCode; + + /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the + response, such as the model selector `display_name` / `description` on + `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language + (English). + */ + public java.lang.String getLanguageCode() { + return languageCode; + } + + /** + * Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable + * strings in the response, such as the model selector `display_name` / `description` on + * `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default + * language (English). + */ + public Get setLanguageCode(java.lang.String languageCode) { + this.languageCode = languageCode; + return this; + } + @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java index 0e03ed19ebb..6430adff208 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java index 456b66e335c..0957a44674e 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..1cb0de2d68f --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1alpha.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 9b52630259a..fa98e9187ba 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -470,12 +470,12 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -487,12 +487,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java index bec390bd875..6da2b1f1668 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingSt @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..740c7f51ecb --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1alpha.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent.java index 6b3c9c48359..a871ca403e9 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent.java @@ -30,6 +30,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent extends com.google.api.client.json.GenericJson { + /** + * Output only. The auth uri of the connector source. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState connectorAuthState; + /** * Output only. The icon link of the connector source. * The value may be {@code null}. @@ -83,6 +90,23 @@ public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionCompon @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The auth uri of the connector source. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState getConnectorAuthState() { + return connectorAuthState; + } + + /** + * Output only. The auth uri of the connector source. + * @param connectorAuthState connectorAuthState or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent setConnectorAuthState(GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState connectorAuthState) { + this.connectorAuthState = connectorAuthState; + return this; + } + /** * Output only. The icon link of the connector source. * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState.java new file mode 100644 index 00000000000..bea59d94722 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState.java @@ -0,0 +1,114 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1alpha.model; + +/** + * Read-only connector in CollectionComponent auth state. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState extends com.google.api.client.json.GenericJson { + + /** + * Output only. The authorization state of the data connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authState; + + /** + * Output only. The authorization uri for the data connector. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authorizationUri; + + /** + * Output only. The authorization state update timestamp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The authorization state of the data connector. + * @return value or {@code null} for none + */ + public java.lang.String getAuthState() { + return authState; + } + + /** + * Output only. The authorization state of the data connector. + * @param authState authState or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState setAuthState(java.lang.String authState) { + this.authState = authState; + return this; + } + + /** + * Output only. The authorization uri for the data connector. + * @return value or {@code null} for none + */ + public java.lang.String getAuthorizationUri() { + return authorizationUri; + } + + /** + * Output only. The authorization uri for the data connector. + * @param authorizationUri authorizationUri or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState setAuthorizationUri(java.lang.String authorizationUri) { + this.authorizationUri = authorizationUri; + return this; + } + + /** + * Output only. The authorization state update timestamp. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The authorization state update timestamp. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState clone() { + return (GoogleCloudDiscoveryengineV1alphaWidgetConfigConnectorAuthState) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java index 038b7904b45..e15b38ebb4b 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java @@ -113,12 +113,12 @@ public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings exten * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -357,12 +357,12 @@ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setEnableVisualCo * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -373,12 +373,12 @@ public java.util.Map getFeatures() { * Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java index 626aeeebf0e..e0fe0dc28a0 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java index 15b68a183e3..50c2bbdcff5 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingSta @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..2ce6ebf6f1e --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1alpha.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml index 9bc93689582..66115a104dc 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1alpha-rev20260606-2.0.0 - Discovery Engine API v1alpha-rev20260606-2.0.0 + v1alpha-rev20260614-2.0.0 + Discovery Engine API v1alpha-rev20260614-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1alpha/README.md b/clients/google-api-services-discoveryengine/v1alpha/README.md index 81634b8067c..912907a194d 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20260606-2.0.0 + v1alpha-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260614-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md index 3dbc47ebbb3..1498e1c4abf 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20260606-2.0.0 + v1beta-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260614-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java index b99817f8867..734e76a424a 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java index 4aa467b0cd8..fecfab767c9 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..ca6ba654247 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 49354523817..89d1e48a515 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -470,12 +470,12 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -487,12 +487,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java index e392cdf87c6..171743f0a6d 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingSt @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..198754be2ca --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java index bf378918eef..0aa2d4a5ebe 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -127,12 +127,12 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -455,12 +455,12 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -472,12 +472,12 @@ public java.util.Map getFeatures() { * `*`: all features, if it's present, all other feature state settings are ignored. * `agent- * gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session- - * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile- - * app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` - * * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * - * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * - * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent- - * orchestration` * `cross-product-intelligence` + * sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app- + * access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * + * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * + * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable- + * end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * + * `cross-product-intelligence` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java index 08bc1d9bbe2..d5c396e933a 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus.java @@ -35,6 +35,13 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus extends com.google.api.client.json.GenericJson { + /** + * Output only. Per-model Agent Search TPM subscription status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List agentSearchTokenSubscriptionStatuses; + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. @@ -92,6 +99,23 @@ public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingSta @com.google.api.client.util.Key private java.lang.String updateType; + /** + * Output only. Per-model Agent Search TPM subscription status. + * @return value or {@code null} for none + */ + public java.util.List getAgentSearchTokenSubscriptionStatuses() { + return agentSearchTokenSubscriptionStatuses; + } + + /** + * Output only. Per-model Agent Search TPM subscription status. + * @param agentSearchTokenSubscriptionStatuses agentSearchTokenSubscriptionStatuses or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus setAgentSearchTokenSubscriptionStatuses(java.util.List agentSearchTokenSubscriptionStatuses) { + this.agentSearchTokenSubscriptionStatuses = agentSearchTokenSubscriptionStatuses; + return this; + } + /** * Optional. The currently effective Indexing Core threshold. This is the threshold against which * Indexing Core usage is compared for overage calculations. diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java new file mode 100644 index 00000000000..730f061627d --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus.java @@ -0,0 +1,255 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Per-model Agent Search TPM subscription status. One entry per active + * `core_subscription.agent_search_token_subscriptions[*]` entry in the customer-provided config; + * populated by UpdateProject and GetProject. The lifecycle scalars on this message (`start_time`, + * `terminate_time`, `update_type`, `tpm_threshold_next_update_time`) are per (project, + * model_version) — siblings of the whole-relationship `start_time` / `terminate_time` / + * `update_type` on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent + * Search TPM subscription instead of to the overall customer-configurable- pricing relationship. + * This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, + * model_version), so each model has its own activation, termination, and deferred-update clock; + * surfacing that on the response gives customers the granularity they need to manage per-model + * commitments independently. QPM / IndexingCore differ — their storage is one row per (project, + * location), so their lifecycle is represented only by the whole- relationship scalars on + * ConfigurableBillingStatus. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus extends com.google.api.client.json.GenericJson { + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long effectiveTpmThreshold; + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modelVersion; + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String terminateTime; + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String tpmThresholdNextUpdateTime; + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String updateType; + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @return value or {@code null} for none + */ + public java.lang.Long getEffectiveTpmThreshold() { + return effectiveTpmThreshold; + } + + /** + * Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale- + * down at the next billing cycle, matching `effective_search_qpm_threshold` semantics. + * @param effectiveTpmThreshold effectiveTpmThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setEffectiveTpmThreshold(java.lang.Long effectiveTpmThreshold) { + this.effectiveTpmThreshold = effectiveTpmThreshold; + return this; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @return value or {@code null} for none + */ + public java.lang.String getModelVersion() { + return modelVersion; + } + + /** + * Output only. The Gemini model version this status corresponds to. Matches + * CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from + * the Gemini Enterprise Agent Platform model-versions registry; see + * https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini- + * models). + * @param modelVersion modelVersion or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setModelVersion(java.lang.String modelVersion) { + this.modelVersion = modelVersion; + return this; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. When this (project, model_version) Agent Search TPM subscription was first + * activated. Set once on first activation of this model version and never moved by subsequent + * threshold updates; on termination + re-activation a new value is recorded. Does NOT move the + * whole-relationship `start_time` on the enclosing ConfigurableBillingStatus, which continues to + * represent the first activation of the overall customer-configurable-pricing relationship. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @return value or {@code null} for none + */ + public String getTerminateTime() { + return terminateTime; + } + + /** + * Output only. If set, the scheduled effective time at which this (project, model_version) Agent + * Search TPM subscription will terminate. Populated when the customer removes this entry from + * `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move the whole-relationship + * `terminate_time` on the enclosing ConfigurableBillingStatus, which is populated only when the + * entire customer-configurable-pricing relationship is being torn down. + * @param terminateTime terminateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTerminateTime(String terminateTime) { + this.terminateTime = terminateTime; + return this; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @return value or {@code null} for none + */ + public String getTpmThresholdNextUpdateTime() { + return tpmThresholdNextUpdateTime; + } + + /** + * Output only. The earliest next update time for the TPM subscription threshold for this + * (project, model_version). Populated only after a successful update. + * @param tpmThresholdNextUpdateTime tpmThresholdNextUpdateTime or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setTpmThresholdNextUpdateTime(String tpmThresholdNextUpdateTime) { + this.tpmThresholdNextUpdateTime = tpmThresholdNextUpdateTime; + return this; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @return value or {@code null} for none + */ + public java.lang.String getUpdateType() { + return updateType; + } + + /** + * Output only. The type of the most recent update to this (project, model_version) subscription, + * as performed by the most recent UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + * model_version was not touched by the most recent UpdateProject (its `effective_tpm_threshold` + * reflects an earlier update). The whole-relationship `update_type` on the enclosing + * ConfigurableBillingStatus continues to summarize the direction of the most recent update across + * all surfaces in the project (QPM, IndexingCore, and Agent Search TPM together). + * @param updateType updateType or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus setUpdateType(java.lang.String updateType) { + this.updateType = updateType; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus clone() { + return (GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatusAgentSearchTokenSubscriptionStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml index 712b408f905..cfa131ec9e6 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1beta-rev20260606-2.0.0 - Discovery Engine API v1beta-rev20260606-2.0.0 + v1beta-rev20260614-2.0.0 + Discovery Engine API v1beta-rev20260614-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1beta/README.md b/clients/google-api-services-discoveryengine/v1beta/README.md index 3dbc47ebbb3..1498e1c4abf 100644 --- a/clients/google-api-services-discoveryengine/v1beta/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20260606-2.0.0 + v1beta-rev20260614-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260606-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260614-2.0.0' } ```