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.MapThis 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.MapThis 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 @@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.MapThis 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.MapThis 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 @@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.MapThis 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.MapThis 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 @@