Skip to content

Commit 42387b8

Browse files
1 parent 80cbe30 commit 42387b8

28 files changed

+1662
-118
lines changed

clients/google-api-services-ces/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-ces</artifactId>
25-
<version>v1-rev20260218-2.0.0</version>
25+
<version>v1-rev20260227-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-ces:v1-rev20260218-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ces:v1-rev20260227-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4687,7 +4687,7 @@ public List set(String parameterName, Object value) {
46874687
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
46884688
*
46894689
* @param name Identifier. The resource name of the deployment. Format:
4690-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
4690+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
46914691
* @param content the {@link com.google.api.services.ces.v1.model.Deployment}
46924692
* @return the request
46934693
*/
@@ -4715,7 +4715,7 @@ public class Patch extends CustomerEngagementSuiteRequest<com.google.api.service
47154715
* be called to initialize this instance immediately after invoking the constructor. </p>
47164716
*
47174717
* @param name Identifier. The resource name of the deployment. Format:
4718-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
4718+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
47194719
* @param content the {@link com.google.api.services.ces.v1.model.Deployment}
47204720
* @since 1.13
47214721
*/
@@ -4786,21 +4786,21 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
47864786

47874787
/**
47884788
* Identifier. The resource name of the deployment. Format:
4789-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
4789+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
47904790
*/
47914791
@com.google.api.client.util.Key
47924792
private java.lang.String name;
47934793

47944794
/** Identifier. The resource name of the deployment. Format:
4795-
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
4795+
`projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
47964796
*/
47974797
public java.lang.String getName() {
47984798
return name;
47994799
}
48004800

48014801
/**
48024802
* Identifier. The resource name of the deployment. Format:
4803-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
4803+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
48044804
*/
48054805
public Patch setName(java.lang.String name) {
48064806
if (!getSuppressPatternChecks()) {
@@ -7627,10 +7627,10 @@ public List set(String parameterName, Object value) {
76277627
* This request holds the parameters needed by the ces server. After setting any optional
76287628
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
76297629
*
7630-
* @param name Identifier. The unique identifier of the tool. Format: -
7631-
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone tools.
7630+
* @param name Identifier. The resource name of the tool. Format: *
7631+
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone tools. *
76327632
* `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}` for
7633-
* tools retrieved from a toolset. These tools are dynamic and output-only, they cannot be
7633+
* tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be
76347634
* referenced directly where a tool is expected.
76357635
* @param content the {@link com.google.api.services.ces.v1.model.Tool}
76367636
* @return the request
@@ -7658,10 +7658,10 @@ public class Patch extends CustomerEngagementSuiteRequest<com.google.api.service
76587658
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
76597659
* be called to initialize this instance immediately after invoking the constructor. </p>
76607660
*
7661-
* @param name Identifier. The unique identifier of the tool. Format: -
7662-
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone tools.
7661+
* @param name Identifier. The resource name of the tool. Format: *
7662+
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone tools. *
76637663
* `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}` for
7664-
* tools retrieved from a toolset. These tools are dynamic and output-only, they cannot be
7664+
* tools retrieved from a toolset. These tools are dynamic and output-only; they cannot be
76657665
* referenced directly where a tool is expected.
76667666
* @param content the {@link com.google.api.services.ces.v1.model.Tool}
76677667
* @since 1.13
@@ -7732,32 +7732,32 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
77327732
}
77337733

77347734
/**
7735-
* Identifier. The unique identifier of the tool. Format: -
7736-
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone
7737-
* tools.
7735+
* Identifier. The resource name of the tool. Format: *
7736+
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone
7737+
* tools. *
77387738
* `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}`
7739-
* for tools retrieved from a toolset. These tools are dynamic and output-only, they
7739+
* for tools retrieved from a toolset. These tools are dynamic and output-only; they
77407740
* cannot be referenced directly where a tool is expected.
77417741
*/
77427742
@com.google.api.client.util.Key
77437743
private java.lang.String name;
77447744

7745-
/** Identifier. The unique identifier of the tool. Format: -
7746-
`projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone tools.
7745+
/** Identifier. The resource name of the tool. Format: *
7746+
`projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone tools. *
77477747
`projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}` for tools
7748-
retrieved from a toolset. These tools are dynamic and output-only, they cannot be referenced
7748+
retrieved from a toolset. These tools are dynamic and output-only; they cannot be referenced
77497749
directly where a tool is expected.
77507750
*/
77517751
public java.lang.String getName() {
77527752
return name;
77537753
}
77547754

77557755
/**
7756-
* Identifier. The unique identifier of the tool. Format: -
7757-
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone
7758-
* tools.
7756+
* Identifier. The resource name of the tool. Format: *
7757+
* `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for standalone
7758+
* tools. *
77597759
* `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}`
7760-
* for tools retrieved from a toolset. These tools are dynamic and output-only, they
7760+
* for tools retrieved from a toolset. These tools are dynamic and output-only; they
77617761
* cannot be referenced directly where a tool is expected.
77627762
*/
77637763
public Patch setName(java.lang.String name) {

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ public final class App extends com.google.api.client.json.GenericJson {
8888
@com.google.api.client.util.Key
8989
private java.lang.String displayName;
9090

91+
/**
92+
* Optional. Error handling settings of the app.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private ErrorHandlingSettings errorHandlingSettings;
97+
9198
/**
9299
* Output only. Etag used to ensure the object hasn't changed during a read-modify-write
93100
* operation. If the etag is empty, the update will overwrite any concurrent changes.
@@ -351,6 +358,23 @@ public App setDisplayName(java.lang.String displayName) {
351358
return this;
352359
}
353360

361+
/**
362+
* Optional. Error handling settings of the app.
363+
* @return value or {@code null} for none
364+
*/
365+
public ErrorHandlingSettings getErrorHandlingSettings() {
366+
return errorHandlingSettings;
367+
}
368+
369+
/**
370+
* Optional. Error handling settings of the app.
371+
* @param errorHandlingSettings errorHandlingSettings or {@code null} for none
372+
*/
373+
public App setErrorHandlingSettings(ErrorHandlingSettings errorHandlingSettings) {
374+
this.errorHandlingSettings = errorHandlingSettings;
375+
return this;
376+
}
377+
354378
/**
355379
* Output only. Etag used to ensure the object hasn't changed during a read-modify-write
356380
* operation. If the etag is empty, the update will overwrite any concurrent changes.

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Chunk.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class Chunk extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private AgentTransfer agentTransfer;
3939

40+
/**
41+
* Optional. Blob data.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private Blob blob;
46+
4047
/**
4148
* A struct represents default variables at the start of the conversation, keyed by variable
4249
* names.
@@ -111,6 +118,23 @@ public Chunk setAgentTransfer(AgentTransfer agentTransfer) {
111118
return this;
112119
}
113120

121+
/**
122+
* Optional. Blob data.
123+
* @return value or {@code null} for none
124+
*/
125+
public Blob getBlob() {
126+
return blob;
127+
}
128+
129+
/**
130+
* Optional. Blob data.
131+
* @param blob blob or {@code null} for none
132+
*/
133+
public Chunk setBlob(Blob blob) {
134+
this.blob = blob;
135+
return this;
136+
}
137+
114138
/**
115139
* A struct represents default variables at the start of the conversation, keyed by variable
116140
* names.

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Deployment.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
public final class Deployment extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* Required. The resource name of the app version to deploy. Format:
36-
* projects/{project}/locations/{location}/apps/{app}/versions/{version}
35+
* Optional. The resource name of the app version to deploy. Format:
36+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}` Use
37+
* `projects/{project}/locations/{location}/apps/{app}/versions/-` to use the draft app.
3738
* The value may be {@code null}.
3839
*/
3940
@com.google.api.client.util.Key
@@ -70,7 +71,7 @@ public final class Deployment extends com.google.api.client.json.GenericJson {
7071

7172
/**
7273
* Identifier. The resource name of the deployment. Format:
73-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
74+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
7475
* The value may be {@code null}.
7576
*/
7677
@com.google.api.client.util.Key
@@ -84,17 +85,19 @@ public final class Deployment extends com.google.api.client.json.GenericJson {
8485
private String updateTime;
8586

8687
/**
87-
* Required. The resource name of the app version to deploy. Format:
88-
* projects/{project}/locations/{location}/apps/{app}/versions/{version}
88+
* Optional. The resource name of the app version to deploy. Format:
89+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}` Use
90+
* `projects/{project}/locations/{location}/apps/{app}/versions/-` to use the draft app.
8991
* @return value or {@code null} for none
9092
*/
9193
public java.lang.String getAppVersion() {
9294
return appVersion;
9395
}
9496

9597
/**
96-
* Required. The resource name of the app version to deploy. Format:
97-
* projects/{project}/locations/{location}/apps/{app}/versions/{version}
98+
* Optional. The resource name of the app version to deploy. Format:
99+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}` Use
100+
* `projects/{project}/locations/{location}/apps/{app}/versions/-` to use the draft app.
98101
* @param appVersion appVersion or {@code null} for none
99102
*/
100103
public Deployment setAppVersion(java.lang.String appVersion) {
@@ -174,7 +177,7 @@ public Deployment setEtag(java.lang.String etag) {
174177

175178
/**
176179
* Identifier. The resource name of the deployment. Format:
177-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
180+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
178181
* @return value or {@code null} for none
179182
*/
180183
public java.lang.String getName() {
@@ -183,7 +186,7 @@ public java.lang.String getName() {
183186

184187
/**
185188
* Identifier. The resource name of the deployment. Format:
186-
* projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
189+
* `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`
187190
* @param name name or {@code null} for none
188191
*/
189192
public Deployment setName(java.lang.String name) {
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.ces.v1.model;
18+
19+
/**
20+
* Defines project/location level endpoint control policy.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a
24+
* detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class EndpointControlPolicy extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The
35+
* enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If
36+
* a port number is not provided, all ports will be allowed. Otherwise, the port number must match
37+
* exactly. For example, "https://example.com" will match "https://example.com:443" and any other
38+
* port. "https://example.com:443" will only match "https://example.com:443".
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.util.List<java.lang.String> allowedOrigins;
43+
44+
/**
45+
* Optional. The scope in which this policy's allowed_origins list is enforced.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String enforcementScope;
50+
51+
/**
52+
* Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The
53+
* enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If
54+
* a port number is not provided, all ports will be allowed. Otherwise, the port number must match
55+
* exactly. For example, "https://example.com" will match "https://example.com:443" and any other
56+
* port. "https://example.com:443" will only match "https://example.com:443".
57+
* @return value or {@code null} for none
58+
*/
59+
public java.util.List<java.lang.String> getAllowedOrigins() {
60+
return allowedOrigins;
61+
}
62+
63+
/**
64+
* Optional. The allowed HTTP(s) origins that tools in the App are able to directly call. The
65+
* enforcement depends on the value of enforcement_scope and the VPC-SC status of the project. If
66+
* a port number is not provided, all ports will be allowed. Otherwise, the port number must match
67+
* exactly. For example, "https://example.com" will match "https://example.com:443" and any other
68+
* port. "https://example.com:443" will only match "https://example.com:443".
69+
* @param allowedOrigins allowedOrigins or {@code null} for none
70+
*/
71+
public EndpointControlPolicy setAllowedOrigins(java.util.List<java.lang.String> allowedOrigins) {
72+
this.allowedOrigins = allowedOrigins;
73+
return this;
74+
}
75+
76+
/**
77+
* Optional. The scope in which this policy's allowed_origins list is enforced.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.String getEnforcementScope() {
81+
return enforcementScope;
82+
}
83+
84+
/**
85+
* Optional. The scope in which this policy's allowed_origins list is enforced.
86+
* @param enforcementScope enforcementScope or {@code null} for none
87+
*/
88+
public EndpointControlPolicy setEnforcementScope(java.lang.String enforcementScope) {
89+
this.enforcementScope = enforcementScope;
90+
return this;
91+
}
92+
93+
@Override
94+
public EndpointControlPolicy set(String fieldName, Object value) {
95+
return (EndpointControlPolicy) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public EndpointControlPolicy clone() {
100+
return (EndpointControlPolicy) super.clone();
101+
}
102+
103+
}

0 commit comments

Comments
 (0)