From 4369c47281b827bd2d85d747c028617215005ba4 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 10 Nov 2026 17:03:20 -0800 Subject: [PATCH] chore: regenerate contactcenteraiplatform client --- .../v1alpha1/2.0.0/README.md | 4 +- .../v1alpha1/CCAIPlatform.java | 209 ++++++++++++ .../model/ListPhoneNumbersResponse.java | 91 ++++++ .../v1alpha1/model/PhoneNumber.java | 307 ++++++++++++++++++ .../v1alpha1/2.0.0/pom.xml | 4 +- .../v1alpha1/README.md | 4 +- 6 files changed, 613 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/ListPhoneNumbersResponse.java create mode 100644 clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/PhoneNumber.java diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/README.md b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/README.md index 3179433bcc3..c68e838d853 100644 --- a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/README.md +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-contactcenteraiplatform - v1alpha1-rev20260423-2.9.2 + v1alpha1-rev20261104-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-contactcenteraiplatform:v1alpha1-rev20260423-2.9.2' + implementation 'com.google.apis:google-api-services-contactcenteraiplatform:v1alpha1-rev20261104-2.9.2' } ``` diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/CCAIPlatform.java b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/CCAIPlatform.java index ee1c1081209..9a38762b066 100644 --- a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/CCAIPlatform.java +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/CCAIPlatform.java @@ -1779,6 +1779,215 @@ public Patch set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the PhoneNumbers collection. + * + *

The typical use is:

+ *
+         *   {@code CCAIPlatform contactcenteraiplatform = new CCAIPlatform(...);}
+         *   {@code CCAIPlatform.PhoneNumbers.List request = contactcenteraiplatform.phoneNumbers().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public PhoneNumbers phoneNumbers() { + return new PhoneNumbers(); + } + + /** + * The "phoneNumbers" collection of methods. + */ + public class PhoneNumbers { + + /** + * Lists phone numbers allocated to a single ContactCenter. + * + * Create a request for the method "phoneNumbers.list". + * + * This request holds the parameters needed by the contactcenteraiplatform server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent ContactCenter resource name. Format: + * projects/{project}/locations/{location}/contactCenters/{contact_center} + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends CCAIPlatformRequest { + + private static final String REST_PATH = "v1alpha1/{+parent}/phoneNumbers"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$"); + + /** + * Lists phone numbers allocated to a single ContactCenter. + * + * Create a request for the method "phoneNumbers.list". + * + * This request holds the parameters needed by the the contactcenteraiplatform server. After + * setting any optional parameters, call the {@link List#execute()} method to invoke the remote + * operation.

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent ContactCenter resource name. Format: + * projects/{project}/locations/{location}/contactCenters/{contact_center} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(CCAIPlatform.this, "GET", REST_PATH, null, com.google.api.services.contactcenteraiplatform.v1alpha1.model.ListPhoneNumbersResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent ContactCenter resource name. Format: + * projects/{project}/locations/{location}/contactCenters/{contact_center} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent ContactCenter resource name. Format: + projects/{project}/locations/{location}/contactCenters/{contact_center} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent ContactCenter resource name. Format: + * projects/{project}/locations/{location}/contactCenters/{contact_center} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Requested page size. The maximum value is 1000; values above 1000 will be + * coerced to 1000. If unspecified, the default page size is 500. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. The maximum value is 1000; values above 1000 will be coerced to + 1000. If unspecified, the default page size is 500. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. The maximum value is 1000; values above 1000 will be + * coerced to 1000. If unspecified, the default page size is 500. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. Page token from a previous ListPhoneNumbers call. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. Page token from a previous ListPhoneNumbers call. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. Page token from a previous ListPhoneNumbers call. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Operations collection. diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/ListPhoneNumbersResponse.java b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/ListPhoneNumbersResponse.java new file mode 100644 index 00000000000..7a85db0ba4a --- /dev/null +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/ListPhoneNumbersResponse.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.contactcenteraiplatform.v1alpha1.model; + +/** + * Response message for ListPhoneNumbers. + * + *

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 Contact Center AI Platform 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 ListPhoneNumbersResponse extends com.google.api.client.json.GenericJson { + + /** + * Token identifying the next page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of phone numbers allocated to the ContactCenter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List phoneNumbers; + + /** + * Token identifying the next page of results. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * Token identifying the next page of results. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListPhoneNumbersResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of phone numbers allocated to the ContactCenter. + * @return value or {@code null} for none + */ + public java.util.List getPhoneNumbers() { + return phoneNumbers; + } + + /** + * The list of phone numbers allocated to the ContactCenter. + * @param phoneNumbers phoneNumbers or {@code null} for none + */ + public ListPhoneNumbersResponse setPhoneNumbers(java.util.List phoneNumbers) { + this.phoneNumbers = phoneNumbers; + return this; + } + + @Override + public ListPhoneNumbersResponse set(String fieldName, Object value) { + return (ListPhoneNumbersResponse) super.set(fieldName, value); + } + + @Override + public ListPhoneNumbersResponse clone() { + return (ListPhoneNumbersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/PhoneNumber.java b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/PhoneNumber.java new file mode 100644 index 00000000000..d3ad894da5f --- /dev/null +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/model/PhoneNumber.java @@ -0,0 +1,307 @@ +/* + * 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.contactcenteraiplatform.v1alpha1.model; + +/** + * Message describing a phone number allocated to a ContactCenter tenant. + * + *

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 Contact Center AI Platform 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 PhoneNumber extends com.google.api.client.json.GenericJson { + + /** + * Output only. Current assignment and lifecycle state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assignmentState; + + /** + * Output only. Underlying carrier hosting the number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String carrier; + + /** + * Output only. Regulatory compliance state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String complianceState; + + /** + * Output only. ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "IT"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String countryCode; + + /** + * Output only. Timestamp when the phone number was added to the tenant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. Tariff and routing classification. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String numberType; + + /** + * Output only. E.164 formatted phone number (e.g., "+16502530000"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String phoneNumber; + + /** + * Output only. Reference ID for the country-specific regulatory bundle, or "LEGACY_VERIFIED". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regulatoryBundleId; + + /** + * Output only. SMS capability state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String smsState; + + /** + * Output only. Timestamp when the phone number record was last modified. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Whether voice capabilities are enabled for this phone number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean voiceEnabled; + + /** + * Output only. Current assignment and lifecycle state. + * @return value or {@code null} for none + */ + public java.lang.String getAssignmentState() { + return assignmentState; + } + + /** + * Output only. Current assignment and lifecycle state. + * @param assignmentState assignmentState or {@code null} for none + */ + public PhoneNumber setAssignmentState(java.lang.String assignmentState) { + this.assignmentState = assignmentState; + return this; + } + + /** + * Output only. Underlying carrier hosting the number. + * @return value or {@code null} for none + */ + public java.lang.String getCarrier() { + return carrier; + } + + /** + * Output only. Underlying carrier hosting the number. + * @param carrier carrier or {@code null} for none + */ + public PhoneNumber setCarrier(java.lang.String carrier) { + this.carrier = carrier; + return this; + } + + /** + * Output only. Regulatory compliance state. + * @return value or {@code null} for none + */ + public java.lang.String getComplianceState() { + return complianceState; + } + + /** + * Output only. Regulatory compliance state. + * @param complianceState complianceState or {@code null} for none + */ + public PhoneNumber setComplianceState(java.lang.String complianceState) { + this.complianceState = complianceState; + return this; + } + + /** + * Output only. ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "IT"). + * @return value or {@code null} for none + */ + public java.lang.String getCountryCode() { + return countryCode; + } + + /** + * Output only. ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "IT"). + * @param countryCode countryCode or {@code null} for none + */ + public PhoneNumber setCountryCode(java.lang.String countryCode) { + this.countryCode = countryCode; + return this; + } + + /** + * Output only. Timestamp when the phone number was added to the tenant. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Timestamp when the phone number was added to the tenant. + * @param createTime createTime or {@code null} for none + */ + public PhoneNumber setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. Tariff and routing classification. + * @return value or {@code null} for none + */ + public java.lang.String getNumberType() { + return numberType; + } + + /** + * Output only. Tariff and routing classification. + * @param numberType numberType or {@code null} for none + */ + public PhoneNumber setNumberType(java.lang.String numberType) { + this.numberType = numberType; + return this; + } + + /** + * Output only. E.164 formatted phone number (e.g., "+16502530000"). + * @return value or {@code null} for none + */ + public java.lang.String getPhoneNumber() { + return phoneNumber; + } + + /** + * Output only. E.164 formatted phone number (e.g., "+16502530000"). + * @param phoneNumber phoneNumber or {@code null} for none + */ + public PhoneNumber setPhoneNumber(java.lang.String phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Output only. Reference ID for the country-specific regulatory bundle, or "LEGACY_VERIFIED". + * @return value or {@code null} for none + */ + public java.lang.String getRegulatoryBundleId() { + return regulatoryBundleId; + } + + /** + * Output only. Reference ID for the country-specific regulatory bundle, or "LEGACY_VERIFIED". + * @param regulatoryBundleId regulatoryBundleId or {@code null} for none + */ + public PhoneNumber setRegulatoryBundleId(java.lang.String regulatoryBundleId) { + this.regulatoryBundleId = regulatoryBundleId; + return this; + } + + /** + * Output only. SMS capability state. + * @return value or {@code null} for none + */ + public java.lang.String getSmsState() { + return smsState; + } + + /** + * Output only. SMS capability state. + * @param smsState smsState or {@code null} for none + */ + public PhoneNumber setSmsState(java.lang.String smsState) { + this.smsState = smsState; + return this; + } + + /** + * Output only. Timestamp when the phone number record was last modified. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Timestamp when the phone number record was last modified. + * @param updateTime updateTime or {@code null} for none + */ + public PhoneNumber setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Output only. Whether voice capabilities are enabled for this phone number. + * @return value or {@code null} for none + */ + public java.lang.Boolean getVoiceEnabled() { + return voiceEnabled; + } + + /** + * Output only. Whether voice capabilities are enabled for this phone number. + * @param voiceEnabled voiceEnabled or {@code null} for none + */ + public PhoneNumber setVoiceEnabled(java.lang.Boolean voiceEnabled) { + this.voiceEnabled = voiceEnabled; + return this; + } + + @Override + public PhoneNumber set(String fieldName, Object value) { + return (PhoneNumber) super.set(fieldName, value); + } + + @Override + public PhoneNumber clone() { + return (PhoneNumber) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/pom.xml b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/pom.xml index f81fb9cd799..c14ed2a3b54 100644 --- a/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/pom.xml +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-contactcenteraiplatform - v1alpha1-rev20260423-2.9.2 - Contact Center AI Platform API v1alpha1-rev20260423-2.9.2 + v1alpha1-rev20261104-2.9.2 + Contact Center AI Platform API v1alpha1-rev20261104-2.9.2 jar 2011 diff --git a/clients/google-api-services-contactcenteraiplatform/v1alpha1/README.md b/clients/google-api-services-contactcenteraiplatform/v1alpha1/README.md index 3179433bcc3..c68e838d853 100644 --- a/clients/google-api-services-contactcenteraiplatform/v1alpha1/README.md +++ b/clients/google-api-services-contactcenteraiplatform/v1alpha1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-contactcenteraiplatform - v1alpha1-rev20260423-2.9.2 + v1alpha1-rev20261104-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-contactcenteraiplatform:v1alpha1-rev20260423-2.9.2' + implementation 'com.google.apis:google-api-services-contactcenteraiplatform:v1alpha1-rev20261104-2.9.2' } ```