diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md index 3714bca431d..8c206da9cb0 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20261013-2.0.0 + v1-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261022-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibility.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibility.java new file mode 100644 index 00000000000..405a388a851 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibility.java @@ -0,0 +1,121 @@ +/* + * 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; + +/** + * Profile describing the visibility restriction of an MCP tool. Key: + * "google.com/tool.profiles/visibility.restriction" + * + *

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 ApiservingMcpMcpToolVisibility extends com.google.api.client.json.GenericJson { + + /** + * A list of field-level visibility restrictions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldVisibility; + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityEnforcementStrategy; + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityRestriction; + + /** + * A list of field-level visibility restrictions. + * @return value or {@code null} for none + */ + public java.util.List getFieldVisibility() { + return fieldVisibility; + } + + /** + * A list of field-level visibility restrictions. + * @param fieldVisibility fieldVisibility or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setFieldVisibility(java.util.List fieldVisibility) { + this.fieldVisibility = fieldVisibility; + return this; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityEnforcementStrategy() { + return visibilityEnforcementStrategy; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @param visibilityEnforcementStrategy visibilityEnforcementStrategy or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityEnforcementStrategy(java.lang.String visibilityEnforcementStrategy) { + this.visibilityEnforcementStrategy = visibilityEnforcementStrategy; + return this; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityRestriction() { + return visibilityRestriction; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @param visibilityRestriction visibilityRestriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityRestriction(java.lang.String visibilityRestriction) { + this.visibilityRestriction = visibilityRestriction; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibility clone() { + return (ApiservingMcpMcpToolVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java new file mode 100644 index 00000000000..e1a26c60a45 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Visibility rules for individual tool parameters (fields). This allows producers to hide specific + * fields in tools/list and tools/call. + * + *

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 ApiservingMcpMcpToolVisibilityFieldVisibility extends com.google.api.client.json.GenericJson { + + /** + * The visibility restriction labels for this field (comma-separated). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String restriction; + + /** + * The name of the parameter in the input_schema or output_schema. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String selector; + + /** + * The visibility restriction labels for this field (comma-separated). + * @return value or {@code null} for none + */ + public java.lang.String getRestriction() { + return restriction; + } + + /** + * The visibility restriction labels for this field (comma-separated). + * @param restriction restriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setRestriction(java.lang.String restriction) { + this.restriction = restriction; + return this; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @return value or {@code null} for none + */ + public java.lang.String getSelector() { + return selector; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @param selector selector or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setSelector(java.lang.String selector) { + this.selector = selector; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility clone() { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.java index bd5d487a461..bd1fc064ba3 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.java @@ -40,8 +40,9 @@ public final class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforce private java.util.List policyResults; /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,8 +77,9 @@ public GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult s } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @return value or {@code null} for none */ public java.lang.String getVerdict() { @@ -85,8 +87,9 @@ public java.lang.String getVerdict() { } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @param verdict verdict or {@code null} for none */ public GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult setVerdict(java.lang.String verdict) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Assistant.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Assistant.java index 1e9eb9e60ef..c8b27cd003c 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Assistant.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Assistant.java @@ -73,13 +73,13 @@ public final class GoogleCloudDiscoveryengineV1Assistant extends com.google.api. private java.lang.String displayName; /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,13 +217,13 @@ public GoogleCloudDiscoveryengineV1Assistant setDisplayName(java.lang.String dis } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @return value or {@code null} for none */ public java.util.Map getEnabledTools() { @@ -231,13 +231,13 @@ public java.util.Map getE } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @param enabledTools enabledTools or {@code null} for none */ public GoogleCloudDiscoveryengineV1Assistant setEnabledTools(java.util.Map enabledTools) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java index 9637470e095..e19853071e2 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Feedback.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Feedback.java index e8d2dea9a89..79152119cc9 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Feedback.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Feedback.java @@ -31,7 +31,7 @@ public final class GoogleCloudDiscoveryengineV1Feedback extends com.google.api.client.json.GenericJson { /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -67,8 +67,7 @@ public final class GoogleCloudDiscoveryengineV1Feedback extends com.google.api.c private java.lang.String feedbackSource; /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -82,14 +81,21 @@ public final class GoogleCloudDiscoveryengineV1Feedback extends com.google.api.c private java.lang.String llmModelVersion; /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo modelArmorDisputeInfo; + + /** + * Optional. The reasons why the user gives feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List reasons; /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @return value or {@code null} for none */ public java.lang.String getComment() { @@ -97,7 +103,7 @@ public java.lang.String getComment() { } /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @param comment comment or {@code null} for none */ public GoogleCloudDiscoveryengineV1Feedback setComment(java.lang.String comment) { @@ -176,8 +182,7 @@ public GoogleCloudDiscoveryengineV1Feedback setFeedbackSource(java.lang.String f } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @return value or {@code null} for none */ public java.lang.String getFeedbackType() { @@ -185,8 +190,7 @@ public java.lang.String getFeedbackType() { } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @param feedbackType feedbackType or {@code null} for none */ public GoogleCloudDiscoveryengineV1Feedback setFeedbackType(java.lang.String feedbackType) { @@ -212,7 +216,24 @@ public GoogleCloudDiscoveryengineV1Feedback setLlmModelVersion(java.lang.String } /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo getModelArmorDisputeInfo() { + return modelArmorDisputeInfo; + } + + /** + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @param modelArmorDisputeInfo modelArmorDisputeInfo or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1Feedback setModelArmorDisputeInfo(GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo modelArmorDisputeInfo) { + this.modelArmorDisputeInfo = modelArmorDisputeInfo; + return this; + } + + /** + * Optional. The reasons why the user gives feedback. * @return value or {@code null} for none */ public java.util.List getReasons() { @@ -220,7 +241,7 @@ public java.util.List getReasons() { } /** - * Optional. The reason if user gives a thumb down. + * Optional. The reasons why the user gives feedback. * @param reasons reasons or {@code null} for none */ public GoogleCloudDiscoveryengineV1Feedback setReasons(java.util.List reasons) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo.java new file mode 100644 index 00000000000..57322816db8 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo.java @@ -0,0 +1,120 @@ +/* + * 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; + +/** + * Information submitted when a user disputes a Model Armor `BLOCK` or `FLAG` verdict. + * + *

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 GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expectedLabel; + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sanitizationResultJson; + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String templateName; + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @return value or {@code null} for none + */ + public java.lang.String getExpectedLabel() { + return expectedLabel; + } + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @param expectedLabel expectedLabel or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo setExpectedLabel(java.lang.String expectedLabel) { + this.expectedLabel = expectedLabel; + return this; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @return value or {@code null} for none + */ + public java.lang.String getSanitizationResultJson() { + return sanitizationResultJson; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @param sanitizationResultJson sanitizationResultJson or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo setSanitizationResultJson(java.lang.String sanitizationResultJson) { + this.sanitizationResultJson = sanitizationResultJson; + return this; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @return value or {@code null} for none + */ + public java.lang.String getTemplateName() { + return templateName; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @param templateName templateName or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo setTemplateName(java.lang.String templateName) { + this.templateName = templateName; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo clone() { + return (GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProvisionProjectRequest.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProvisionProjectRequest.java index faf3f8e65aa..4056ab60cb4 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProvisionProjectRequest.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1ProvisionProjectRequest.java @@ -46,6 +46,14 @@ public final class GoogleCloudDiscoveryengineV1ProvisionProjectRequest extends c @com.google.api.client.util.Key private java.lang.String dataUseTermsVersion; + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1IdpConfig idpConfig; + /** * Optional. Parameters for Agentspace. * The value may be {@code null}. @@ -93,6 +101,25 @@ public GoogleCloudDiscoveryengineV1ProvisionProjectRequest setDataUseTermsVersio return this; } + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1IdpConfig getIdpConfig() { + return idpConfig; + } + + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @param idpConfig idpConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1ProvisionProjectRequest setIdpConfig(GoogleCloudDiscoveryengineV1IdpConfig idpConfig) { + this.idpConfig = idpConfig; + return this; + } + /** * Optional. Parameters for Agentspace. * @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/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java index 85203e98e55..b07f33c254d 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 @@ -120,7 +120,7 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings extends co * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -394,7 +394,7 @@ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setEnableVisualContent * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -412,7 +412,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java index acfc7c8f196..9b37b24b39f 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java @@ -40,8 +40,9 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEn private java.util.List policyResults; /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,8 +77,9 @@ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementRes } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @return value or {@code null} for none */ public java.lang.String getVerdict() { @@ -85,8 +87,9 @@ public java.lang.String getVerdict() { } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @param verdict verdict or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult setVerdict(java.lang.String verdict) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 723c901b2ed..2d0c99f721c 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -513,7 +513,7 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java index cd70bd00999..40eb7437c78 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 @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml index db12204a50a..1f484dc7d58 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1-rev20261013-2.0.0 - Discovery Engine API v1-rev20261013-2.0.0 + v1-rev20261022-2.0.0 + Discovery Engine API v1-rev20261022-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1/README.md b/clients/google-api-services-discoveryengine/v1/README.md index 3714bca431d..8c206da9cb0 100644 --- a/clients/google-api-services-discoveryengine/v1/README.md +++ b/clients/google-api-services-discoveryengine/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20261013-2.0.0 + v1-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261022-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md index 76ca6944726..5833a3d335c 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20261013-2.0.0 + v1alpha-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261022-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibility.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibility.java new file mode 100644 index 00000000000..0ff1623acb6 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibility.java @@ -0,0 +1,121 @@ +/* + * 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; + +/** + * Profile describing the visibility restriction of an MCP tool. Key: + * "google.com/tool.profiles/visibility.restriction" + * + *

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 ApiservingMcpMcpToolVisibility extends com.google.api.client.json.GenericJson { + + /** + * A list of field-level visibility restrictions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldVisibility; + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityEnforcementStrategy; + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityRestriction; + + /** + * A list of field-level visibility restrictions. + * @return value or {@code null} for none + */ + public java.util.List getFieldVisibility() { + return fieldVisibility; + } + + /** + * A list of field-level visibility restrictions. + * @param fieldVisibility fieldVisibility or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setFieldVisibility(java.util.List fieldVisibility) { + this.fieldVisibility = fieldVisibility; + return this; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityEnforcementStrategy() { + return visibilityEnforcementStrategy; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @param visibilityEnforcementStrategy visibilityEnforcementStrategy or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityEnforcementStrategy(java.lang.String visibilityEnforcementStrategy) { + this.visibilityEnforcementStrategy = visibilityEnforcementStrategy; + return this; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityRestriction() { + return visibilityRestriction; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @param visibilityRestriction visibilityRestriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityRestriction(java.lang.String visibilityRestriction) { + this.visibilityRestriction = visibilityRestriction; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibility clone() { + return (ApiservingMcpMcpToolVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java new file mode 100644 index 00000000000..43749f99a4d --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * Visibility rules for individual tool parameters (fields). This allows producers to hide specific + * fields in tools/list and tools/call. + * + *

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 ApiservingMcpMcpToolVisibilityFieldVisibility extends com.google.api.client.json.GenericJson { + + /** + * The visibility restriction labels for this field (comma-separated). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String restriction; + + /** + * The name of the parameter in the input_schema or output_schema. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String selector; + + /** + * The visibility restriction labels for this field (comma-separated). + * @return value or {@code null} for none + */ + public java.lang.String getRestriction() { + return restriction; + } + + /** + * The visibility restriction labels for this field (comma-separated). + * @param restriction restriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setRestriction(java.lang.String restriction) { + this.restriction = restriction; + return this; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @return value or {@code null} for none + */ + public java.lang.String getSelector() { + return selector; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @param selector selector or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setSelector(java.lang.String selector) { + this.selector = selector; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility clone() { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Assistant.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Assistant.java index a923303ef54..1c64c2766ea 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Assistant.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Assistant.java @@ -73,13 +73,13 @@ public final class GoogleCloudDiscoveryengineV1Assistant extends com.google.api. private java.lang.String displayName; /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,13 +217,13 @@ public GoogleCloudDiscoveryengineV1Assistant setDisplayName(java.lang.String dis } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @return value or {@code null} for none */ public java.util.Map getEnabledTools() { @@ -231,13 +231,13 @@ public java.util.Map getE } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @param enabledTools enabledTools or {@code null} for none */ public GoogleCloudDiscoveryengineV1Assistant setEnabledTools(java.util.Map enabledTools) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java index 39182e6bdb6..237ab6b3d0e 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java index f198855f208..6065530caba 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java @@ -40,8 +40,9 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEn private java.util.List policyResults; /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,8 +77,9 @@ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementRes } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @return value or {@code null} for none */ public java.lang.String getVerdict() { @@ -85,8 +87,9 @@ public java.lang.String getVerdict() { } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @param verdict verdict or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult setVerdict(java.lang.String verdict) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistant.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistant.java index 86bd65b1049..e75fbd23cb5 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistant.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAssistant.java @@ -81,13 +81,13 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistant extends com.google private java.lang.String displayName; /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -253,13 +253,13 @@ public GoogleCloudDiscoveryengineV1alphaAssistant setDisplayName(java.lang.Strin } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @return value or {@code null} for none */ public java.util.Map getEnabledTools() { @@ -267,13 +267,13 @@ public java.util.Map } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @param enabledTools enabledTools or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaAssistant setEnabledTools(java.util.Map enabledTools) { 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 22eafce5e4e..31945b174d2 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 @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -513,7 +513,7 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedback.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedback.java index 840049a5292..618518714bc 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedback.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedback.java @@ -31,7 +31,7 @@ public final class GoogleCloudDiscoveryengineV1alphaFeedback extends com.google.api.client.json.GenericJson { /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -67,8 +67,7 @@ public final class GoogleCloudDiscoveryengineV1alphaFeedback extends com.google. private java.lang.String feedbackSource; /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -82,14 +81,21 @@ public final class GoogleCloudDiscoveryengineV1alphaFeedback extends com.google. private java.lang.String llmModelVersion; /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo modelArmorDisputeInfo; + + /** + * Optional. The reasons why the user gives feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List reasons; /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @return value or {@code null} for none */ public java.lang.String getComment() { @@ -97,7 +103,7 @@ public java.lang.String getComment() { } /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @param comment comment or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaFeedback setComment(java.lang.String comment) { @@ -176,8 +182,7 @@ public GoogleCloudDiscoveryengineV1alphaFeedback setFeedbackSource(java.lang.Str } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @return value or {@code null} for none */ public java.lang.String getFeedbackType() { @@ -185,8 +190,7 @@ public java.lang.String getFeedbackType() { } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @param feedbackType feedbackType or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaFeedback setFeedbackType(java.lang.String feedbackType) { @@ -212,7 +216,24 @@ public GoogleCloudDiscoveryengineV1alphaFeedback setLlmModelVersion(java.lang.St } /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo getModelArmorDisputeInfo() { + return modelArmorDisputeInfo; + } + + /** + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @param modelArmorDisputeInfo modelArmorDisputeInfo or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFeedback setModelArmorDisputeInfo(GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo modelArmorDisputeInfo) { + this.modelArmorDisputeInfo = modelArmorDisputeInfo; + return this; + } + + /** + * Optional. The reasons why the user gives feedback. * @return value or {@code null} for none */ public java.util.List getReasons() { @@ -220,7 +241,7 @@ public java.util.List getReasons() { } /** - * Optional. The reason if user gives a thumb down. + * Optional. The reasons why the user gives feedback. * @param reasons reasons or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaFeedback setReasons(java.util.List reasons) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo.java new file mode 100644 index 00000000000..3728952435a --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo.java @@ -0,0 +1,120 @@ +/* + * 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; + +/** + * Information submitted when a user disputes a Model Armor `BLOCK` or `FLAG` verdict. + * + *

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 GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expectedLabel; + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sanitizationResultJson; + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String templateName; + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @return value or {@code null} for none + */ + public java.lang.String getExpectedLabel() { + return expectedLabel; + } + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @param expectedLabel expectedLabel or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo setExpectedLabel(java.lang.String expectedLabel) { + this.expectedLabel = expectedLabel; + return this; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @return value or {@code null} for none + */ + public java.lang.String getSanitizationResultJson() { + return sanitizationResultJson; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @param sanitizationResultJson sanitizationResultJson or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo setSanitizationResultJson(java.lang.String sanitizationResultJson) { + this.sanitizationResultJson = sanitizationResultJson; + return this; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @return value or {@code null} for none + */ + public java.lang.String getTemplateName() { + return templateName; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @param templateName templateName or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo setTemplateName(java.lang.String templateName) { + this.templateName = templateName; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo clone() { + return (GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.java index fca33bfb43d..6de51e4ff62 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest.java @@ -46,6 +46,14 @@ public final class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest exte @com.google.api.client.util.Key private java.lang.String dataUseTermsVersion; + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaIdpConfig idpConfig; + /** * Optional. Parameters for Agentspace. * The value may be {@code null}. @@ -93,6 +101,25 @@ public GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest setDataUseTermsV return this; } + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaIdpConfig getIdpConfig() { + return idpConfig; + } + + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @param idpConfig idpConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest setIdpConfig(GoogleCloudDiscoveryengineV1alphaIdpConfig idpConfig) { + this.idpConfig = idpConfig; + return this; + } + /** * Optional. Parameters for Agentspace. * @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/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java index 27d2716bd84..1950ba62b97 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 @@ -120,7 +120,7 @@ public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings exten * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -394,7 +394,7 @@ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setEnableVisualCo * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -412,7 +412,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java index 464c1abc986..56e24662915 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml index fba94bb5a58..f1f67eb2a9d 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1alpha-rev20261013-2.0.0 - Discovery Engine API v1alpha-rev20261013-2.0.0 + v1alpha-rev20261022-2.0.0 + Discovery Engine API v1alpha-rev20261022-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1alpha/README.md b/clients/google-api-services-discoveryengine/v1alpha/README.md index 76ca6944726..5833a3d335c 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20261013-2.0.0 + v1alpha-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261022-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md index 9b601219932..74fd3301fdb 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20261013-2.0.0 + v1beta-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261022-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibility.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibility.java new file mode 100644 index 00000000000..a0f149e7faa --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibility.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Profile describing the visibility restriction of an MCP tool. Key: + * "google.com/tool.profiles/visibility.restriction" + * + *

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 ApiservingMcpMcpToolVisibility extends com.google.api.client.json.GenericJson { + + /** + * A list of field-level visibility restrictions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List fieldVisibility; + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityEnforcementStrategy; + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String visibilityRestriction; + + /** + * A list of field-level visibility restrictions. + * @return value or {@code null} for none + */ + public java.util.List getFieldVisibility() { + return fieldVisibility; + } + + /** + * A list of field-level visibility restrictions. + * @param fieldVisibility fieldVisibility or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setFieldVisibility(java.util.List fieldVisibility) { + this.fieldVisibility = fieldVisibility; + return this; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityEnforcementStrategy() { + return visibilityEnforcementStrategy; + } + + /** + * The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet + * implemented. + * @param visibilityEnforcementStrategy visibilityEnforcementStrategy or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityEnforcementStrategy(java.lang.String visibilityEnforcementStrategy) { + this.visibilityEnforcementStrategy = visibilityEnforcementStrategy; + return this; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @return value or {@code null} for none + */ + public java.lang.String getVisibilityRestriction() { + return visibilityRestriction; + } + + /** + * The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). + * Multiple labels can be provided as a comma-separated string. + * @param visibilityRestriction visibilityRestriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibility setVisibilityRestriction(java.lang.String visibilityRestriction) { + this.visibilityRestriction = visibilityRestriction; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibility clone() { + return (ApiservingMcpMcpToolVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java new file mode 100644 index 00000000000..a0b44f82d56 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/ApiservingMcpMcpToolVisibilityFieldVisibility.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Visibility rules for individual tool parameters (fields). This allows producers to hide specific + * fields in tools/list and tools/call. + * + *

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 ApiservingMcpMcpToolVisibilityFieldVisibility extends com.google.api.client.json.GenericJson { + + /** + * The visibility restriction labels for this field (comma-separated). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String restriction; + + /** + * The name of the parameter in the input_schema or output_schema. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String selector; + + /** + * The visibility restriction labels for this field (comma-separated). + * @return value or {@code null} for none + */ + public java.lang.String getRestriction() { + return restriction; + } + + /** + * The visibility restriction labels for this field (comma-separated). + * @param restriction restriction or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setRestriction(java.lang.String restriction) { + this.restriction = restriction; + return this; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @return value or {@code null} for none + */ + public java.lang.String getSelector() { + return selector; + } + + /** + * The name of the parameter in the input_schema or output_schema. + * @param selector selector or {@code null} for none + */ + public ApiservingMcpMcpToolVisibilityFieldVisibility setSelector(java.lang.String selector) { + this.selector = selector; + return this; + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility set(String fieldName, Object value) { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.set(fieldName, value); + } + + @Override + public ApiservingMcpMcpToolVisibilityFieldVisibility clone() { + return (ApiservingMcpMcpToolVisibilityFieldVisibility) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Assistant.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Assistant.java index 939de2b6ecb..cd4660fef30 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Assistant.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Assistant.java @@ -73,13 +73,13 @@ public final class GoogleCloudDiscoveryengineV1Assistant extends com.google.api. private java.lang.String displayName; /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,13 +217,13 @@ public GoogleCloudDiscoveryengineV1Assistant setDisplayName(java.lang.String dis } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @return value or {@code null} for none */ public java.util.Map getEnabledTools() { @@ -231,13 +231,13 @@ public java.util.Map getE } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @param enabledTools enabledTools or {@code null} for none */ public GoogleCloudDiscoveryengineV1Assistant setEnabledTools(java.util.Map enabledTools) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java index 28f2c7cb0b7..2ed2804620e 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java index 5044c3dec45..8199fec0443 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult.java @@ -40,8 +40,9 @@ public final class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEn private java.util.List policyResults; /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,8 +77,9 @@ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementRes } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @return value or {@code null} for none */ public java.lang.String getVerdict() { @@ -85,8 +87,9 @@ public java.lang.String getVerdict() { } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @param verdict verdict or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult setVerdict(java.lang.String verdict) { 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 a10c1f4f747..6c27cf64af9 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 @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -513,7 +513,7 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult.java index 3d7834f0557..32a4dfe0c9a 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult.java @@ -40,8 +40,9 @@ public final class GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnf private java.util.List policyResults; /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,8 +77,9 @@ public GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResu } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @return value or {@code null} for none */ public java.lang.String getVerdict() { @@ -85,8 +87,9 @@ public java.lang.String getVerdict() { } /** - * Final verdict of the customer policy enforcement. If only one policy blocked the processing, - * the verdict is BLOCK. + * Final verdict of the customer policy enforcement. If at least one policy blocked the + * processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged + * it, the verdict is FLAG. * @param verdict verdict or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult setVerdict(java.lang.String verdict) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistant.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistant.java index 2c0fbbb4399..106767f7512 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistant.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaAssistant.java @@ -73,13 +73,13 @@ public final class GoogleCloudDiscoveryengineV1betaAssistant extends com.google. private java.lang.String displayName; /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,13 +217,13 @@ public GoogleCloudDiscoveryengineV1betaAssistant setDisplayName(java.lang.String } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @return value or {@code null} for none */ public java.util.Map getEnabledTools() { @@ -231,13 +231,13 @@ public java.util.Map } /** - * Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this - * assistant. The keys are connector name, for example - * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The - * values consist of admin enabled tools towards the connector instance. Admin can selectively - * enable multiple tools on any of the connector instances that they created in the project. For - * example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], - * "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * Optional. The enabled tools on this assistant. The keys are data connector resource names, in + * the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. + * The values are the tools that the admin enabled on that connector. Admins can selectively + * enable tools on any of the connectors that they created in the project. For example: ``` { + * "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { + * "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": + * "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` * @param enabledTools enabledTools or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaAssistant setEnabledTools(java.util.Map enabledTools) { 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 1ad1f13d749..fe6a92c35d2 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 @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @return value or {@code null} for none */ public java.util.Map getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map getFeatures() { * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent- * orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` - * * `in-app-notifications` * `code-extraction` + * * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` * @param features features or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedback.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedback.java index 9605f847cb3..fc66d062e2e 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedback.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedback.java @@ -31,7 +31,7 @@ public final class GoogleCloudDiscoveryengineV1betaFeedback extends com.google.api.client.json.GenericJson { /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -67,8 +67,7 @@ public final class GoogleCloudDiscoveryengineV1betaFeedback extends com.google.a private java.lang.String feedbackSource; /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -82,14 +81,21 @@ public final class GoogleCloudDiscoveryengineV1betaFeedback extends com.google.a private java.lang.String llmModelVersion; /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo modelArmorDisputeInfo; + + /** + * Optional. The reasons why the user gives feedback. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List reasons; /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @return value or {@code null} for none */ public java.lang.String getComment() { @@ -97,7 +103,7 @@ public java.lang.String getComment() { } /** - * Optional. The additional user comment of the feedback if user gives a thumb down. + * Optional. The additional user comment of the feedback. * @param comment comment or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaFeedback setComment(java.lang.String comment) { @@ -176,8 +182,7 @@ public GoogleCloudDiscoveryengineV1betaFeedback setFeedbackSource(java.lang.Stri } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @return value or {@code null} for none */ public java.lang.String getFeedbackType() { @@ -185,8 +190,7 @@ public java.lang.String getFeedbackType() { } /** - * Required. Indicate whether the user gives a positive or negative feedback. If the user gives a - * negative feedback, there might be more feedback details. + * Required. Indicates whether the user gives a positive or negative feedback. * @param feedbackType feedbackType or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaFeedback setFeedbackType(java.lang.String feedbackType) { @@ -212,7 +216,24 @@ public GoogleCloudDiscoveryengineV1betaFeedback setLlmModelVersion(java.lang.Str } /** - * Optional. The reason if user gives a thumb down. + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo getModelArmorDisputeInfo() { + return modelArmorDisputeInfo; + } + + /** + * Optional. Optional Model Armor false-positive dispute metadata attached to feedback. + * @param modelArmorDisputeInfo modelArmorDisputeInfo or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaFeedback setModelArmorDisputeInfo(GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo modelArmorDisputeInfo) { + this.modelArmorDisputeInfo = modelArmorDisputeInfo; + return this; + } + + /** + * Optional. The reasons why the user gives feedback. * @return value or {@code null} for none */ public java.util.List getReasons() { @@ -220,7 +241,7 @@ public java.util.List getReasons() { } /** - * Optional. The reason if user gives a thumb down. + * Optional. The reasons why the user gives feedback. * @param reasons reasons or {@code null} for none */ public GoogleCloudDiscoveryengineV1betaFeedback setReasons(java.util.List reasons) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo.java new file mode 100644 index 00000000000..06a0a4291de --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Information submitted when a user disputes a Model Armor `BLOCK` or `FLAG` verdict. + * + *

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 GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo extends com.google.api.client.json.GenericJson { + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String expectedLabel; + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sanitizationResultJson; + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String templateName; + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @return value or {@code null} for none + */ + public java.lang.String getExpectedLabel() { + return expectedLabel; + } + + /** + * Optional. The expected-label reason chip selected by the user (for example, "Everyday question" + * or "Legitimate work-related query"). + * @param expectedLabel expectedLabel or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo setExpectedLabel(java.lang.String expectedLabel) { + this.expectedLabel = expectedLabel; + return this; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @return value or {@code null} for none + */ + public java.lang.String getSanitizationResultJson() { + return sanitizationResultJson; + } + + /** + * Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. + * @param sanitizationResultJson sanitizationResultJson or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo setSanitizationResultJson(java.lang.String sanitizationResultJson) { + this.sanitizationResultJson = sanitizationResultJson; + return this; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @return value or {@code null} for none + */ + public java.lang.String getTemplateName() { + return templateName; + } + + /** + * Optional. Resource name of the Model Armor template that produced the sanitization result, in + * the format `projects/{project}/locations/{location}/templates/{id}`. + * @param templateName templateName or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo setTemplateName(java.lang.String templateName) { + this.templateName = templateName; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo clone() { + return (GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest.java index f05a77859d4..76a620ec4d0 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest.java @@ -46,6 +46,14 @@ public final class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest exten @com.google.api.client.util.Key private java.lang.String dataUseTermsVersion; + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaIdpConfig idpConfig; + /** * Optional. Parameters for Agentspace. * The value may be {@code null}. @@ -93,6 +101,25 @@ public GoogleCloudDiscoveryengineV1betaProvisionProjectRequest setDataUseTermsVe return this; } + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaIdpConfig getIdpConfig() { + return idpConfig; + } + + /** + * Optional. The identity provider for this location. When provided, the location's AclConfig is + * set from it as part of provisioning. + * @param idpConfig idpConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaProvisionProjectRequest setIdpConfig(GoogleCloudDiscoveryengineV1betaIdpConfig idpConfig) { + this.idpConfig = idpConfig; + return this; + } + /** * Optional. Parameters for Agentspace. * @return value or {@code null} for none 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 5930e0e3cbd..c8ad2dbfba3 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1beta-rev20261013-2.0.0 - Discovery Engine API v1beta-rev20261013-2.0.0 + v1beta-rev20261022-2.0.0 + Discovery Engine API v1beta-rev20261022-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1beta/README.md b/clients/google-api-services-discoveryengine/v1beta/README.md index 9b601219932..74fd3301fdb 100644 --- a/clients/google-api-services-discoveryengine/v1beta/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20261013-2.0.0 + v1beta-rev20261022-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261013-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261022-2.0.0' } ```