Skip to content

Commit 7865605

Browse files
chore: regenerate contactcenterinsights client
1 parent a5225dd commit 7865605

12 files changed

+1038
-6
lines changed

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

+2-2
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-contactcenterinsights</artifactId>
25-
<version>v1-rev20240701-2.0.0</version>
25+
<version>v1-rev20240723-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-contactcenterinsights:v1-rev20240701-2.0.0'
38+
implementation 'com.google.apis:google-api-services-contactcenterinsights:v1-rev20240723-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/Contactcenterinsights.java

+308
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,146 @@ public Locations locations() {
173173
*/
174174
public class Locations {
175175

176+
/**
177+
* Gets location-level encryption key specification.
178+
*
179+
* Create a request for the method "locations.getEncryptionSpec".
180+
*
181+
* This request holds the parameters needed by the contactcenterinsights server. After setting any
182+
* optional parameters, call the {@link GetEncryptionSpec#execute()} method to invoke the remote
183+
* operation.
184+
*
185+
* @param name Required. The name of the encryption spec resource to get.
186+
* @return the request
187+
*/
188+
public GetEncryptionSpec getEncryptionSpec(java.lang.String name) throws java.io.IOException {
189+
GetEncryptionSpec result = new GetEncryptionSpec(name);
190+
initialize(result);
191+
return result;
192+
}
193+
194+
public class GetEncryptionSpec extends ContactcenterinsightsRequest<com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1EncryptionSpec> {
195+
196+
private static final String REST_PATH = "v1/{+name}";
197+
198+
private final java.util.regex.Pattern NAME_PATTERN =
199+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/encryptionSpec$");
200+
201+
/**
202+
* Gets location-level encryption key specification.
203+
*
204+
* Create a request for the method "locations.getEncryptionSpec".
205+
*
206+
* This request holds the parameters needed by the the contactcenterinsights server. After
207+
* setting any optional parameters, call the {@link GetEncryptionSpec#execute()} method to invoke
208+
* the remote operation. <p> {@link GetEncryptionSpec#initialize(com.google.api.client.googleapis.
209+
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
210+
* after invoking the constructor. </p>
211+
*
212+
* @param name Required. The name of the encryption spec resource to get.
213+
* @since 1.13
214+
*/
215+
protected GetEncryptionSpec(java.lang.String name) {
216+
super(Contactcenterinsights.this, "GET", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1EncryptionSpec.class);
217+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
218+
if (!getSuppressPatternChecks()) {
219+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
220+
"Parameter name must conform to the pattern " +
221+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
222+
}
223+
}
224+
225+
@Override
226+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
227+
return super.executeUsingHead();
228+
}
229+
230+
@Override
231+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
232+
return super.buildHttpRequestUsingHead();
233+
}
234+
235+
@Override
236+
public GetEncryptionSpec set$Xgafv(java.lang.String $Xgafv) {
237+
return (GetEncryptionSpec) super.set$Xgafv($Xgafv);
238+
}
239+
240+
@Override
241+
public GetEncryptionSpec setAccessToken(java.lang.String accessToken) {
242+
return (GetEncryptionSpec) super.setAccessToken(accessToken);
243+
}
244+
245+
@Override
246+
public GetEncryptionSpec setAlt(java.lang.String alt) {
247+
return (GetEncryptionSpec) super.setAlt(alt);
248+
}
249+
250+
@Override
251+
public GetEncryptionSpec setCallback(java.lang.String callback) {
252+
return (GetEncryptionSpec) super.setCallback(callback);
253+
}
254+
255+
@Override
256+
public GetEncryptionSpec setFields(java.lang.String fields) {
257+
return (GetEncryptionSpec) super.setFields(fields);
258+
}
259+
260+
@Override
261+
public GetEncryptionSpec setKey(java.lang.String key) {
262+
return (GetEncryptionSpec) super.setKey(key);
263+
}
264+
265+
@Override
266+
public GetEncryptionSpec setOauthToken(java.lang.String oauthToken) {
267+
return (GetEncryptionSpec) super.setOauthToken(oauthToken);
268+
}
269+
270+
@Override
271+
public GetEncryptionSpec setPrettyPrint(java.lang.Boolean prettyPrint) {
272+
return (GetEncryptionSpec) super.setPrettyPrint(prettyPrint);
273+
}
274+
275+
@Override
276+
public GetEncryptionSpec setQuotaUser(java.lang.String quotaUser) {
277+
return (GetEncryptionSpec) super.setQuotaUser(quotaUser);
278+
}
279+
280+
@Override
281+
public GetEncryptionSpec setUploadType(java.lang.String uploadType) {
282+
return (GetEncryptionSpec) super.setUploadType(uploadType);
283+
}
284+
285+
@Override
286+
public GetEncryptionSpec setUploadProtocol(java.lang.String uploadProtocol) {
287+
return (GetEncryptionSpec) super.setUploadProtocol(uploadProtocol);
288+
}
289+
290+
/** Required. The name of the encryption spec resource to get. */
291+
@com.google.api.client.util.Key
292+
private java.lang.String name;
293+
294+
/** Required. The name of the encryption spec resource to get.
295+
*/
296+
public java.lang.String getName() {
297+
return name;
298+
}
299+
300+
/** Required. The name of the encryption spec resource to get. */
301+
public GetEncryptionSpec setName(java.lang.String name) {
302+
if (!getSuppressPatternChecks()) {
303+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
304+
"Parameter name must conform to the pattern " +
305+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
306+
}
307+
this.name = name;
308+
return this;
309+
}
310+
311+
@Override
312+
public GetEncryptionSpec set(String parameterName, Object value) {
313+
return (GetEncryptionSpec) super.set(parameterName, value);
314+
}
315+
}
176316
/**
177317
* Gets project-level settings.
178318
*
@@ -2731,6 +2871,174 @@ public List set(String parameterName, Object value) {
27312871

27322872
}
27332873
}
2874+
/**
2875+
* An accessor for creating requests from the EncryptionSpec collection.
2876+
*
2877+
* <p>The typical use is:</p>
2878+
* <pre>
2879+
* {@code Contactcenterinsights contactcenterinsights = new Contactcenterinsights(...);}
2880+
* {@code Contactcenterinsights.EncryptionSpec.List request = contactcenterinsights.encryptionSpec().list(parameters ...)}
2881+
* </pre>
2882+
*
2883+
* @return the resource collection
2884+
*/
2885+
public EncryptionSpec encryptionSpec() {
2886+
return new EncryptionSpec();
2887+
}
2888+
2889+
/**
2890+
* The "encryptionSpec" collection of methods.
2891+
*/
2892+
public class EncryptionSpec {
2893+
2894+
/**
2895+
* Initializes a location-level encryption key specification. An error will be thrown if the
2896+
* location has resources already created before the initialization. Once the encryption
2897+
* specification is initialized at a location, it is immutable and all newly created resources under
2898+
* the location will be encrypted with the existing specification.
2899+
*
2900+
* Create a request for the method "encryptionSpec.initialize".
2901+
*
2902+
* This request holds the parameters needed by the contactcenterinsights server. After setting any
2903+
* optional parameters, call the {@link Initialize#execute()} method to invoke the remote operation.
2904+
*
2905+
* @param name Immutable. The resource name of the encryption key specification resource. Format:
2906+
* projects/{project}/locations/{location}/encryptionSpec
2907+
* @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest}
2908+
* @return the request
2909+
*/
2910+
public Initialize initialize(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest content) throws java.io.IOException {
2911+
Initialize result = new Initialize(name, content);
2912+
initialize(result);
2913+
return result;
2914+
}
2915+
2916+
public class Initialize extends ContactcenterinsightsRequest<com.google.api.services.contactcenterinsights.v1.model.GoogleLongrunningOperation> {
2917+
2918+
private static final String REST_PATH = "v1/{+name}:initialize";
2919+
2920+
private final java.util.regex.Pattern NAME_PATTERN =
2921+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/encryptionSpec$");
2922+
2923+
/**
2924+
* Initializes a location-level encryption key specification. An error will be thrown if the
2925+
* location has resources already created before the initialization. Once the encryption
2926+
* specification is initialized at a location, it is immutable and all newly created resources
2927+
* under the location will be encrypted with the existing specification.
2928+
*
2929+
* Create a request for the method "encryptionSpec.initialize".
2930+
*
2931+
* This request holds the parameters needed by the the contactcenterinsights server. After
2932+
* setting any optional parameters, call the {@link Initialize#execute()} method to invoke the
2933+
* remote operation. <p> {@link
2934+
* Initialize#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
2935+
* must be called to initialize this instance immediately after invoking the constructor. </p>
2936+
*
2937+
* @param name Immutable. The resource name of the encryption key specification resource. Format:
2938+
* projects/{project}/locations/{location}/encryptionSpec
2939+
* @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest}
2940+
* @since 1.13
2941+
*/
2942+
protected Initialize(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest content) {
2943+
super(Contactcenterinsights.this, "POST", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleLongrunningOperation.class);
2944+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
2945+
if (!getSuppressPatternChecks()) {
2946+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2947+
"Parameter name must conform to the pattern " +
2948+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
2949+
}
2950+
}
2951+
2952+
@Override
2953+
public Initialize set$Xgafv(java.lang.String $Xgafv) {
2954+
return (Initialize) super.set$Xgafv($Xgafv);
2955+
}
2956+
2957+
@Override
2958+
public Initialize setAccessToken(java.lang.String accessToken) {
2959+
return (Initialize) super.setAccessToken(accessToken);
2960+
}
2961+
2962+
@Override
2963+
public Initialize setAlt(java.lang.String alt) {
2964+
return (Initialize) super.setAlt(alt);
2965+
}
2966+
2967+
@Override
2968+
public Initialize setCallback(java.lang.String callback) {
2969+
return (Initialize) super.setCallback(callback);
2970+
}
2971+
2972+
@Override
2973+
public Initialize setFields(java.lang.String fields) {
2974+
return (Initialize) super.setFields(fields);
2975+
}
2976+
2977+
@Override
2978+
public Initialize setKey(java.lang.String key) {
2979+
return (Initialize) super.setKey(key);
2980+
}
2981+
2982+
@Override
2983+
public Initialize setOauthToken(java.lang.String oauthToken) {
2984+
return (Initialize) super.setOauthToken(oauthToken);
2985+
}
2986+
2987+
@Override
2988+
public Initialize setPrettyPrint(java.lang.Boolean prettyPrint) {
2989+
return (Initialize) super.setPrettyPrint(prettyPrint);
2990+
}
2991+
2992+
@Override
2993+
public Initialize setQuotaUser(java.lang.String quotaUser) {
2994+
return (Initialize) super.setQuotaUser(quotaUser);
2995+
}
2996+
2997+
@Override
2998+
public Initialize setUploadType(java.lang.String uploadType) {
2999+
return (Initialize) super.setUploadType(uploadType);
3000+
}
3001+
3002+
@Override
3003+
public Initialize setUploadProtocol(java.lang.String uploadProtocol) {
3004+
return (Initialize) super.setUploadProtocol(uploadProtocol);
3005+
}
3006+
3007+
/**
3008+
* Immutable. The resource name of the encryption key specification resource. Format:
3009+
* projects/{project}/locations/{location}/encryptionSpec
3010+
*/
3011+
@com.google.api.client.util.Key
3012+
private java.lang.String name;
3013+
3014+
/** Immutable. The resource name of the encryption key specification resource. Format:
3015+
projects/{project}/locations/{location}/encryptionSpec
3016+
*/
3017+
public java.lang.String getName() {
3018+
return name;
3019+
}
3020+
3021+
/**
3022+
* Immutable. The resource name of the encryption key specification resource. Format:
3023+
* projects/{project}/locations/{location}/encryptionSpec
3024+
*/
3025+
public Initialize setName(java.lang.String name) {
3026+
if (!getSuppressPatternChecks()) {
3027+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
3028+
"Parameter name must conform to the pattern " +
3029+
"^projects/[^/]+/locations/[^/]+/encryptionSpec$");
3030+
}
3031+
this.name = name;
3032+
return this;
3033+
}
3034+
3035+
@Override
3036+
public Initialize set(String parameterName, Object value) {
3037+
return (Initialize) super.set(parameterName, value);
3038+
}
3039+
}
3040+
3041+
}
27343042
/**
27353043
* An accessor for creating requests from the Insightsdata collection.
27363044
*

0 commit comments

Comments
 (0)