{@link GenerativeInsights#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.
+ * + * @param location Required. The location of the data. "projects/{project}/locations/{location}" + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest} + * @since 1.13 + */ + protected GenerativeInsights(java.lang.String location, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest content) { + super(Contactcenterinsights.this, "POST", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleLongrunningOperation.class); + this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(), + "Parameter location must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public GenerativeInsights set$Xgafv(java.lang.String $Xgafv) { + return (GenerativeInsights) super.set$Xgafv($Xgafv); + } + + @Override + public GenerativeInsights setAccessToken(java.lang.String accessToken) { + return (GenerativeInsights) super.setAccessToken(accessToken); + } + + @Override + public GenerativeInsights setAlt(java.lang.String alt) { + return (GenerativeInsights) super.setAlt(alt); + } + + @Override + public GenerativeInsights setCallback(java.lang.String callback) { + return (GenerativeInsights) super.setCallback(callback); + } + + @Override + public GenerativeInsights setFields(java.lang.String fields) { + return (GenerativeInsights) super.setFields(fields); + } + + @Override + public GenerativeInsights setKey(java.lang.String key) { + return (GenerativeInsights) super.setKey(key); + } + + @Override + public GenerativeInsights setOauthToken(java.lang.String oauthToken) { + return (GenerativeInsights) super.setOauthToken(oauthToken); + } + + @Override + public GenerativeInsights setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerativeInsights) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerativeInsights setQuotaUser(java.lang.String quotaUser) { + return (GenerativeInsights) super.setQuotaUser(quotaUser); + } + + @Override + public GenerativeInsights setUploadType(java.lang.String uploadType) { + return (GenerativeInsights) super.setUploadType(uploadType); + } + + @Override + public GenerativeInsights setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerativeInsights) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The location of the data. "projects/{project}/locations/{location}" */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Required. The location of the data. "projects/{project}/locations/{location}" + */ + public java.lang.String getLocation() { + return location; + } + + /** Required. The location of the data. "projects/{project}/locations/{location}" */ + public GenerativeInsights setLocation(java.lang.String location) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(), + "Parameter location must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.location = location; + return this; + } + + @Override + public GenerativeInsights set(String parameterName, Object value) { + return (GenerativeInsights) super.set(parameterName, value); + } + } /** * Gets correlation config. * @@ -4741,6 +4875,140 @@ public Delete set(String parameterName, Object value) { return (Delete) super.set(parameterName, value); } } + /** + * Natural language based Insights which powers the next generation of dashboards in Insights. Next + * generation of QueryMetrics. + * + * Create a request for the method "authorizedViews.generativeInsights". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link GenerativeInsights#execute()} method to invoke the remote + * operation. + * + * @param location Required. The location of the data. "projects/{project}/locations/{location}" + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest} + * @return the request + */ + public GenerativeInsights generativeInsights(java.lang.String location, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest content) throws java.io.IOException { + GenerativeInsights result = new GenerativeInsights(location, content); + initialize(result); + return result; + } + + public class GenerativeInsights extends ContactcenterinsightsRequest{@link GenerativeInsights#initialize(com.google.api.client.googleapis + * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.
+ * + * @param location Required. The location of the data. "projects/{project}/locations/{location}" + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest} + * @since 1.13 + */ + protected GenerativeInsights(java.lang.String location, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest content) { + super(Contactcenterinsights.this, "POST", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleLongrunningOperation.class); + this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(), + "Parameter location must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$"); + } + } + + @Override + public GenerativeInsights set$Xgafv(java.lang.String $Xgafv) { + return (GenerativeInsights) super.set$Xgafv($Xgafv); + } + + @Override + public GenerativeInsights setAccessToken(java.lang.String accessToken) { + return (GenerativeInsights) super.setAccessToken(accessToken); + } + + @Override + public GenerativeInsights setAlt(java.lang.String alt) { + return (GenerativeInsights) super.setAlt(alt); + } + + @Override + public GenerativeInsights setCallback(java.lang.String callback) { + return (GenerativeInsights) super.setCallback(callback); + } + + @Override + public GenerativeInsights setFields(java.lang.String fields) { + return (GenerativeInsights) super.setFields(fields); + } + + @Override + public GenerativeInsights setKey(java.lang.String key) { + return (GenerativeInsights) super.setKey(key); + } + + @Override + public GenerativeInsights setOauthToken(java.lang.String oauthToken) { + return (GenerativeInsights) super.setOauthToken(oauthToken); + } + + @Override + public GenerativeInsights setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerativeInsights) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerativeInsights setQuotaUser(java.lang.String quotaUser) { + return (GenerativeInsights) super.setQuotaUser(quotaUser); + } + + @Override + public GenerativeInsights setUploadType(java.lang.String uploadType) { + return (GenerativeInsights) super.setUploadType(uploadType); + } + + @Override + public GenerativeInsights setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerativeInsights) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The location of the data. "projects/{project}/locations/{location}" */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** Required. The location of the data. "projects/{project}/locations/{location}" + */ + public java.lang.String getLocation() { + return location; + } + + /** Required. The location of the data. "projects/{project}/locations/{location}" */ + public GenerativeInsights setLocation(java.lang.String location) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(), + "Parameter location must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/authorizedViewSets/[^/]+/authorizedViews/[^/]+$"); + } + this.location = location; + return this; + } + + @Override + public GenerativeInsights set(String parameterName, Object value) { + return (GenerativeInsights) super.set(parameterName, value); + } + } /** * Get AuthorizedView * @@ -16475,6 +16743,1592 @@ public BulkAnalyze set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Dashboards collection. + * + *The typical use is:
+ *
+ * {@code Contactcenterinsights contactcenterinsights = new Contactcenterinsights(...);}
+ * {@code Contactcenterinsights.Dashboards.List request = contactcenterinsights.dashboards().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Dashboards dashboards() {
+ return new Dashboards();
+ }
+
+ /**
+ * The "dashboards" collection of methods.
+ */
+ public class Dashboards {
+
+ /**
+ * Creates a Dashboard.
+ *
+ * Create a request for the method "dashboards.create".
+ *
+ * This request holds the parameters needed by the contactcenterinsights server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource of the dashboard.
+ * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends ContactcenterinsightsRequest{@link + * Create#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 resource of the dashboard. + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard content) { + super(Contactcenterinsights.this, "POST", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard.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/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The parent resource of the dashboard. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the dashboard. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource of the dashboard. */ + public Create 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/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. A unique ID for the new Dashboard. This ID will become the final component of + * the Dashboard's resource name. If no ID is specified, a server-generated ID will be + * used. This value should be 4-64 characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + @com.google.api.client.util.Key + private java.lang.String dashboardId; + + /** Optional. A unique ID for the new Dashboard. This ID will become the final component of the + Dashboard's resource name. If no ID is specified, a server-generated ID will be used. This value + should be 4-64 characters and must match the regular expression + `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + public java.lang.String getDashboardId() { + return dashboardId; + } + + /** + * Optional. A unique ID for the new Dashboard. This ID will become the final component of + * the Dashboard's resource name. If no ID is specified, a server-generated ID will be + * used. This value should be 4-64 characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + public Create setDashboardId(java.lang.String dashboardId) { + this.dashboardId = dashboardId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a Dashboard. + * + * Create a request for the method "dashboards.delete". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the dashboard to delete. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends ContactcenterinsightsRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the dashboard to delete. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Contactcenterinsights.this, "DELETE", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleProtobufEmpty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the dashboard to delete. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the dashboard to delete. + */ + public java.lang.String getName() { + return name; + } + + /** Required. The name of the dashboard to delete. */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets a Dashboard. + * + * Create a request for the method "dashboards.get". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the dashboard to get. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends ContactcenterinsightsRequest{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the dashboard to get. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Contactcenterinsights.this, "GET", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + } + + @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 Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the dashboard to get. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the dashboard to get. + */ + public java.lang.String getName() { + return name; + } + + /** Required. The name of the dashboard to get. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Dashboards. + * + * Create a request for the method "dashboards.list". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent resource of the dashboards. + * @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 ContactcenterinsightsRequest{@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 resource of the dashboards. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Contactcenterinsights.this, "GET", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1ListDashboardsResponse.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/[^/]+$"); + } + } + + @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 resource of the dashboards. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the dashboards. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource of the dashboards. */ + 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/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. The filter expression to filter dashboards listed in the response. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. The filter expression to filter dashboards listed in the response. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. The filter expression to filter dashboards listed in the response. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. The order by expression to order dashboards listed in the response. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. The order by expression to order dashboards listed in the response. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. The order by expression to order dashboards listed in the response. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of dashboards to return. The service may return fewer than + * this value. The default and maximum value is 100. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of dashboards to return. The service may return fewer than this value. + The default and maximum value is 100. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of dashboards to return. The service may return fewer than + * this value. The default and maximum value is 100. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. The value returned by the last `ListDashboardsResponse`. This value indicates + * that this is a continuation of a prior `ListDashboards` call and that the system should + * return the next page of data. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. The value returned by the last `ListDashboardsResponse`. This value indicates that this + is a continuation of a prior `ListDashboards` call and that the system should return the next page + of data. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. The value returned by the last `ListDashboardsResponse`. This value indicates + * that this is a continuation of a prior `ListDashboards` call and that the system should + * return the next page of data. + */ + 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); + } + } + /** + * Updates a Dashboard. + * + * Create a request for the method "dashboards.patch". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends ContactcenterinsightsRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard content) { + super(Contactcenterinsights.this, "PATCH", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Dashboard.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. Dashboard resource name. Format: + projects/{project}/locations/{location}/dashboards/{dashboard} + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. List of fields to be updated. All possible fields can be updated by passing + * `*`, or a subset of the following updateable fields can be provided: * `display_name` * + * `root_container` + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. List of fields to be updated. All possible fields can be updated by passing `*`, or a + subset of the following updateable fields can be provided: * `display_name` * `root_container` + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. List of fields to be updated. All possible fields can be updated by passing + * `*`, or a subset of the following updateable fields can be provided: * `display_name` * + * `root_container` + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the Charts collection. + * + *The typical use is:
+ *
+ * {@code Contactcenterinsights contactcenterinsights = new Contactcenterinsights(...);}
+ * {@code Contactcenterinsights.Charts.List request = contactcenterinsights.charts().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Charts charts() {
+ return new Charts();
+ }
+
+ /**
+ * The "charts" collection of methods.
+ */
+ public class Charts {
+
+ /**
+ * Creates a Chart.
+ *
+ * Create a request for the method "charts.create".
+ *
+ * This request holds the parameters needed by the contactcenterinsights server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource of the chart.
+ * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends ContactcenterinsightsRequest{@link + * Create#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 resource of the chart. + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart content) { + super(Contactcenterinsights.this, "POST", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart.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/[^/]+/dashboards/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The parent resource of the chart. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the chart. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource of the chart. */ + public Create 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/[^/]+/dashboards/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. A unique ID for the new Chart. This ID will become the final component of + * the Chart's resource name. If no ID is specified, a server-generated ID will be used. + * This value should be 4-64 characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + @com.google.api.client.util.Key + private java.lang.String chartId; + + /** Optional. A unique ID for the new Chart. This ID will become the final component of the Chart's + resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 + characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + public java.lang.String getChartId() { + return chartId; + } + + /** + * Optional. A unique ID for the new Chart. This ID will become the final component of + * the Chart's resource name. If no ID is specified, a server-generated ID will be used. + * This value should be 4-64 characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ + public Create setChartId(java.lang.String chartId) { + this.chartId = chartId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a Chart. + * + * Create a request for the method "charts.delete". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the chart to delete. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends ContactcenterinsightsRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the chart to delete. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Contactcenterinsights.this, "DELETE", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleProtobufEmpty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the chart to delete. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the chart to delete. + */ + public java.lang.String getName() { + return name; + } + + /** Required. The name of the chart to delete. */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets a Chart. + * + * Create a request for the method "charts.get". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the chart to get. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends ContactcenterinsightsRequest{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the chart to get. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Contactcenterinsights.this, "GET", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + } + + @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 Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the chart to get. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the chart to get. + */ + public java.lang.String getName() { + return name; + } + + /** Required. The name of the chart to get. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Charts. + * + * Create a request for the method "charts.list". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent resource of the charts. + * @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 ContactcenterinsightsRequest{@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 resource of the charts. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Contactcenterinsights.this, "GET", REST_PATH, null, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1ListChartsResponse.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/[^/]+/dashboards/[^/]+$"); + } + } + + @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 resource of the charts. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the charts. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource of the charts. */ + 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/[^/]+/dashboards/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates a Chart. + * + * Create a request for the method "charts.patch". + * + * This request holds the parameters needed by the contactcenterinsights server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends ContactcenterinsightsRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @param content the {@link com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart content) { + super(Contactcenterinsights.this, "PATCH", REST_PATH, content, com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1Chart.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. Chart resource name. Format: + projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/dashboards/[^/]+/charts/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. List of fields to be updated. All possible fields can be updated by passing + * `*`, or a subset of the following updateable fields can be provided: * `display_name` + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. List of fields to be updated. All possible fields can be updated by passing `*`, or a + subset of the following updateable fields can be provided: * `display_name` + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. List of fields to be updated. All possible fields can be updated by passing + * `*`, or a subset of the following updateable fields can be provided: * `display_name` + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + } + } /** * An accessor for creating requests from the Datasets collection. * diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Chart.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Chart.java new file mode 100644 index 00000000000..4574e7b9ce8 --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Chart.java @@ -0,0 +1,331 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * Configurable dashboard's widget that displays data as a chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1Chart extends com.google.api.client.json.GenericJson { + + /** + * Output only. Chart type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String chartType; + + /** + * Chart visualization type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String chartVisualizationType; + + /** + * Output only. Chart create time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1ChartDataSource dataSource; + + /** + * Date range config applied to the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig; + + /** + * Chart description + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * User provided display name of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Filter applied to all charts in the container. Should support scope later. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * The height of the chart in grid units. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer height; + + /** + * Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Chart last update time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * The width of the chart in grid units. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer width; + + /** + * Output only. Chart type. + * @return value or {@code null} for none + */ + public java.lang.String getChartType() { + return chartType; + } + + /** + * Output only. Chart type. + * @param chartType chartType or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setChartType(java.lang.String chartType) { + this.chartType = chartType; + return this; + } + + /** + * Chart visualization type. + * @return value or {@code null} for none + */ + public java.lang.String getChartVisualizationType() { + return chartVisualizationType; + } + + /** + * Chart visualization type. + * @param chartVisualizationType chartVisualizationType or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setChartVisualizationType(java.lang.String chartVisualizationType) { + this.chartVisualizationType = chartVisualizationType; + return this; + } + + /** + * Output only. Chart create time. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Chart create time. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1ChartDataSource getDataSource() { + return dataSource; + } + + /** + * @param dataSource dataSource or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setDataSource(GoogleCloudContactcenterinsightsV1ChartDataSource dataSource) { + this.dataSource = dataSource; + return this; + } + + /** + * Date range config applied to the chart. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfig getDateRangeConfig() { + return dateRangeConfig; + } + + /** + * Date range config applied to the chart. + * @param dateRangeConfig dateRangeConfig or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setDateRangeConfig(GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig) { + this.dateRangeConfig = dateRangeConfig; + return this; + } + + /** + * Chart description + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Chart description + * @param description description or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * User provided display name of the chart. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * User provided display name of the chart. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Filter applied to all charts in the container. Should support scope later. + * @return value or {@code null} for none + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Filter applied to all charts in the container. Should support scope later. + * @param filter filter or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * The height of the chart in grid units. + * @return value or {@code null} for none + */ + public java.lang.Integer getHeight() { + return height; + } + + /** + * The height of the chart in grid units. + * @param height height or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setHeight(java.lang.Integer height) { + this.height = height; + return this; + } + + /** + * Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Chart resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @param name name or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Chart last update time. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Chart last update time. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * The width of the chart in grid units. + * @return value or {@code null} for none + */ + public java.lang.Integer getWidth() { + return width; + } + + /** + * The width of the chart in grid units. + * @param width width or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart setWidth(java.lang.Integer width) { + this.width = width; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1Chart set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1Chart) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1Chart clone() { + return (GoogleCloudContactcenterinsightsV1Chart) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1ChartDataSource.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1ChartDataSource.java new file mode 100644 index 00000000000..0fcf2ca816a --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1ChartDataSource.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.contactcenterinsights.v1.model; + +/** + * The request data for visualizing the dataset in the chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1ChartDataSource extends com.google.api.client.json.GenericJson { + + /** + * Use natural language query to generate the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsights generativeInsights; + + /** + * Use the existing QueryMetrics to generate the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1QueryMetrics queryMetrics; + + /** + * Use natural language query to generate the chart. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsights getGenerativeInsights() { + return generativeInsights; + } + + /** + * Use natural language query to generate the chart. + * @param generativeInsights generativeInsights or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1ChartDataSource setGenerativeInsights(GoogleCloudContactcenterinsightsV1GenerativeInsights generativeInsights) { + this.generativeInsights = generativeInsights; + return this; + } + + /** + * Use the existing QueryMetrics to generate the chart. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1QueryMetrics getQueryMetrics() { + return queryMetrics; + } + + /** + * Use the existing QueryMetrics to generate the chart. + * @param queryMetrics queryMetrics or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1ChartDataSource setQueryMetrics(GoogleCloudContactcenterinsightsV1QueryMetrics queryMetrics) { + this.queryMetrics = queryMetrics; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1ChartDataSource set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1ChartDataSource) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1ChartDataSource clone() { + return (GoogleCloudContactcenterinsightsV1ChartDataSource) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Container.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Container.java new file mode 100644 index 00000000000..87245000f59 --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1Container.java @@ -0,0 +1,235 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * Configurable dashboard's container. Container can contain multiple widgets. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1Container extends com.google.api.client.json.GenericJson { + + /** + * Output only. Unique ID for the container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String containerId; + + /** + * Date range config applied to all charts in the container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig; + + /** + * Container description + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * User provided display name of the Container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Filter applied to all charts in the container. Should support scope later. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * The height of the container in grid units. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer height; + + /** + * Widgets in the Container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1Dashboard extends com.google.api.client.json.GenericJson { + + /** + * Output only. Dashboard creation time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Date range config applied to all charts in the dashboard. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig; + + /** + * Dashboard description + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * User provided display name of the dashboard. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Filter applied to all charts in the dashboard. Should support scope later. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and + * cannot be modified by the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean readOnly; + + /** + * The dashboard's root widget container. We want to display the dashboard layout in a tree-like + * structure, where the root container contains other widgets (containers or charts) as children. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1Container rootContainer; + + /** + * Output only. Dashboard last update time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Dashboard creation time. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Dashboard creation time. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Date range config applied to all charts in the dashboard. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfig getDateRangeConfig() { + return dateRangeConfig; + } + + /** + * Date range config applied to all charts in the dashboard. + * @param dateRangeConfig dateRangeConfig or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setDateRangeConfig(GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig) { + this.dateRangeConfig = dateRangeConfig; + return this; + } + + /** + * Dashboard description + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Dashboard description + * @param description description or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * User provided display name of the dashboard. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * User provided display name of the dashboard. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Filter applied to all charts in the dashboard. Should support scope later. + * @return value or {@code null} for none + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Filter applied to all charts in the dashboard. Should support scope later. + * @param filter filter or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Dashboard resource name. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard} + * @param name name or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and + * cannot be modified by the user. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReadOnly() { + return readOnly; + } + + /** + * Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and + * cannot be modified by the user. + * @param readOnly readOnly or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setReadOnly(java.lang.Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * The dashboard's root widget container. We want to display the dashboard layout in a tree-like + * structure, where the root container contains other widgets (containers or charts) as children. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Container getRootContainer() { + return rootContainer; + } + + /** + * The dashboard's root widget container. We want to display the dashboard layout in a tree-like + * structure, where the root container contains other widgets (containers or charts) as children. + * @param rootContainer rootContainer or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setRootContainer(GoogleCloudContactcenterinsightsV1Container rootContainer) { + this.rootContainer = rootContainer; + return this; + } + + /** + * Output only. Dashboard last update time. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Dashboard last update time. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Dashboard setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1Dashboard set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1Dashboard) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1Dashboard clone() { + return (GoogleCloudContactcenterinsightsV1Dashboard) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfig.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfig.java new file mode 100644 index 00000000000..92d26e5c03a --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfig.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.contactcenterinsights.v1.model; + +/** + * Date range configuration for dashboard charts. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1DateRangeConfig extends com.google.api.client.json.GenericJson { + + /** + * An absolute date range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1QueryInterval absoluteDateRange; + + /** + * A relative date range. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange relativeDateRange; + + /** + * An absolute date range. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1QueryInterval getAbsoluteDateRange() { + return absoluteDateRange; + } + + /** + * An absolute date range. + * @param absoluteDateRange absoluteDateRange or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfig setAbsoluteDateRange(GoogleCloudContactcenterinsightsV1QueryInterval absoluteDateRange) { + this.absoluteDateRange = absoluteDateRange; + return this; + } + + /** + * A relative date range. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange getRelativeDateRange() { + return relativeDateRange; + } + + /** + * A relative date range. + * @param relativeDateRange relativeDateRange or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfig setRelativeDateRange(GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange relativeDateRange) { + this.relativeDateRange = relativeDateRange; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1DateRangeConfig set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1DateRangeConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1DateRangeConfig clone() { + return (GoogleCloudContactcenterinsightsV1DateRangeConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange.java new file mode 100644 index 00000000000..06402aff2ca --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange.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.contactcenterinsights.v1.model; + +/** + * Relative date range configuration. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange extends com.google.api.client.json.GenericJson { + + /** + * Required. The quantity of units in the past. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long quantity; + + /** + * Required. The unit of time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unit; + + /** + * Required. The quantity of units in the past. + * @return value or {@code null} for none + */ + public java.lang.Long getQuantity() { + return quantity; + } + + /** + * Required. The quantity of units in the past. + * @param quantity quantity or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange setQuantity(java.lang.Long quantity) { + this.quantity = quantity; + return this; + } + + /** + * Required. The unit of time. + * @return value or {@code null} for none + */ + public java.lang.String getUnit() { + return unit; + } + + /** + * Required. The unit of time. + * @param unit unit or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange setUnit(java.lang.String unit) { + this.unit = unit; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange clone() { + return (GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript.java new file mode 100644 index 00000000000..0022e05c6ee --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript.java @@ -0,0 +1,139 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The conversation transcript for the chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript extends com.google.api.client.json.GenericJson { + + /** + * The conversation id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversationId; + + /** + * Output only. The create time of the conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Ordered list of messages, including user inputs and system responses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage extends com.google.api.client.json.GenericJson { + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * The message id of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String messageId; + + /** + * A wrapper for system messages per turn. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper; + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage userMessage; + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * The message id of the message. + * @return value or {@code null} for none + */ + public java.lang.String getMessageId() { + return messageId; + } + + /** + * The message id of the message. + * @param messageId messageId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage setMessageId(java.lang.String messageId) { + this.messageId = messageId; + return this; + } + + /** + * A wrapper for system messages per turn. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages getSystemMessageWrapper() { + return systemMessageWrapper; + } + + /** + * A wrapper for system messages per turn. + * @param systemMessageWrapper systemMessageWrapper or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage setSystemMessageWrapper(GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper) { + this.systemMessageWrapper = systemMessageWrapper; + return this; + } + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage getUserMessage() { + return userMessage; + } + + /** + * A message from the user that is interacting with the system. + * @param userMessage userMessage or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage setUserMessage(GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage userMessage) { + this.userMessage = userMessage; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage clone() { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage.java new file mode 100644 index 00000000000..48fddf6b2da --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage.java @@ -0,0 +1,164 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * A message from the system in response to the user. This message can also be a message from the + * user as historical context for multiturn conversations with the system. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage extends com.google.api.client.json.GenericJson { + + /** + * Chart spec from LLM + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The parts of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages extends com.google.api.client.json.GenericJson { + + /** + * A message from the system in response to the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage extends com.google.api.client.json.GenericJson { + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * A message from the user that is interacting with the system. + * @param text text or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage clone() { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsights.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsights.java new file mode 100644 index 00000000000..dfa113793d5 --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsights.java @@ -0,0 +1,187 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * Request that use natural language query to generate the chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsights extends com.google.api.client.json.GenericJson { + + /** + * The chart checkpoint used to generate the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint chartCheckpoint; + + /** + * Output only. The chart conversations used to generate the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint extends com.google.api.client.json.GenericJson { + + /** + * The revision id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String revisionId; + + /** + * The session id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionId; + + /** + * The revision id of the chart. + * @return value or {@code null} for none + */ + public java.lang.String getRevisionId() { + return revisionId; + } + + /** + * The revision id of the chart. + * @param revisionId revisionId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint setRevisionId(java.lang.String revisionId) { + this.revisionId = revisionId; + return this; + } + + /** + * The session id of the chart. + * @return value or {@code null} for none + */ + public java.lang.String getSessionId() { + return sessionId; + } + + /** + * The session id of the chart. + * @param sessionId sessionId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint setSessionId(java.lang.String sessionId) { + this.sessionId = sessionId; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint clone() { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.java new file mode 100644 index 00000000000..f1dfc4df3e2 --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.java @@ -0,0 +1,139 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The conversation used to generate the chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation extends com.google.api.client.json.GenericJson { + + /** + * The conversation id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversationId; + + /** + * The create time of the conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Ordered list of messages, including user inputs and system responses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage extends com.google.api.client.json.GenericJson { + + /** + * For user messages, this is the time at which the system received the message. For system + * messages, this is the time at which the system generated the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * The message id of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String messageId; + + /** + * A message from the system in response to the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage systemMessage; + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage userMessage; + + /** + * For user messages, this is the time at which the system received the message. For system + * messages, this is the time at which the system generated the message. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * For user messages, this is the time at which the system received the message. For system + * messages, this is the time at which the system generated the message. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * The message id of the message. + * @return value or {@code null} for none + */ + public java.lang.String getMessageId() { + return messageId; + } + + /** + * The message id of the message. + * @param messageId messageId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage setMessageId(java.lang.String messageId) { + this.messageId = messageId; + return this; + } + + /** + * A message from the system in response to the user. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage getSystemMessage() { + return systemMessage; + } + + /** + * A message from the system in response to the user. + * @param systemMessage systemMessage or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage setSystemMessage(GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage systemMessage) { + this.systemMessage = systemMessage; + return this; + } + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage getUserMessage() { + return userMessage; + } + + /** + * A message from the user that is interacting with the system. + * @param userMessage userMessage or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage setUserMessage(GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage userMessage) { + this.userMessage = userMessage; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage clone() { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage.java new file mode 100644 index 00000000000..f6b2582bd6a --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage.java @@ -0,0 +1,116 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * A message from the system in response to the user. This message can also be a message from the + * user as historical context for multiturn conversations with the system. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage extends com.google.api.client.json.GenericJson { + + /** + * Chart spec from LLM + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The parts of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage extends com.google.api.client.json.GenericJson { + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * A message from the user that is interacting with the system. + * @param text text or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage clone() { + return (GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata.java new file mode 100644 index 00000000000..171f63ac70f --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata.java @@ -0,0 +1,67 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The metadata for generative insights. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata extends com.google.api.client.json.GenericJson { + + /** + * The error message when the generative insights request fails. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest extends com.google.api.client.json.GenericJson { + + /** + * The full name of the chart resource this request corresponds to. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String chart; + + /** + * Optional. Filter for the data that can be specified in addition to the natural language query. + * This `filter` is specifically used for charts where comparisons are possible. For example, + * "compare to last month" or "compare to previous quarter". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String comparisonFilter; + + /** + * Filter for the data that can be specified in addition to the natural language query. Users are + * encouraged to use this field to populate time-windows. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * The natural language query specified by the user. If this field is specified, `sql_query` will + * be ignored. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String naturalLanguageQuery; + + /** + * Optional. The revision id that maps to the state of the chart state revision. When specified, + * the backend will reload the chart with the sql and visual spec from that revision. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String revisionId; + + /** + * Optional. The session id of the conversation. If the session id is not specified, backend will + * generate a random session id. If the session id is specified, will associate user-provided + * user_query with the provided session id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionId; + + /** + * Optional. For charts with comparison, this key will determine the metric that will be compared + * between the current and another dataset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlComparisonKey; + + /** + * Optional. The SQL query specified by the user. This query must be in BigQuery SQL dialect. The + * `filter` field will also be ignored, as it is assumed that any filtering is already included in + * the SQL query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlQuery; + + /** + * Optional. The user provided chart spec for the chart. This will be used to override the visual + * spec generated by the LLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * The full list of generative responses. Each response is ordered by time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse extends com.google.api.client.json.GenericJson { + + /** + * The chart spec for the data. This will be specified in the vega-lite or vega format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The text output from the LLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1ListChartsResponse extends com.google.api.client.json.GenericJson { + + /** + * The charts under the parent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1ListDashboardsResponse extends com.google.api.client.json.GenericJson { + + /** + * The dashboards under the parent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1QueryMetrics extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1Widget extends com.google.api.client.json.GenericJson { + + /** + * A chart widget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1Chart chart; + + /** + * A reference to a chart widget. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String chartReference; + + /** + * A container widget. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1Container container; + + /** + * Filter applied to all charts in the container. Should support scope later. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** + * A chart widget. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Chart getChart() { + return chart; + } + + /** + * A chart widget. + * @param chart chart or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Widget setChart(GoogleCloudContactcenterinsightsV1Chart chart) { + this.chart = chart; + return this; + } + + /** + * A reference to a chart widget. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @return value or {@code null} for none + */ + public java.lang.String getChartReference() { + return chartReference; + } + + /** + * A reference to a chart widget. Format: + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} + * @param chartReference chartReference or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Widget setChartReference(java.lang.String chartReference) { + this.chartReference = chartReference; + return this; + } + + /** + * A container widget. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Container getContainer() { + return container; + } + + /** + * A container widget. + * @param container container or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Widget setContainer(GoogleCloudContactcenterinsightsV1Container container) { + this.container = container; + return this; + } + + /** + * Filter applied to all charts in the container. Should support scope later. + * @return value or {@code null} for none + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Filter applied to all charts in the container. Should support scope later. + * @param filter filter or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1Widget setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1Widget set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1Widget) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1Widget clone() { + return (GoogleCloudContactcenterinsightsV1Widget) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript.java new file mode 100644 index 00000000000..864f23beb4c --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript.java @@ -0,0 +1,139 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The conversation transcript for the chart. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript extends com.google.api.client.json.GenericJson { + + /** + * The conversation id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversationId; + + /** + * Output only. The create time of the conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Ordered list of messages, including user inputs and system responses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage extends com.google.api.client.json.GenericJson { + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * The message id of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String messageId; + + /** + * A wrapper for system messages per turn. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper; + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage userMessage; + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * The message id of the message. + * @return value or {@code null} for none + */ + public java.lang.String getMessageId() { + return messageId; + } + + /** + * The message id of the message. + * @param messageId messageId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage setMessageId(java.lang.String messageId) { + this.messageId = messageId; + return this; + } + + /** + * A wrapper for system messages per turn. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages getSystemMessageWrapper() { + return systemMessageWrapper; + } + + /** + * A wrapper for system messages per turn. + * @param systemMessageWrapper systemMessageWrapper or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage setSystemMessageWrapper(GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper) { + this.systemMessageWrapper = systemMessageWrapper; + return this; + } + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage getUserMessage() { + return userMessage; + } + + /** + * A message from the user that is interacting with the system. + * @param userMessage userMessage or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage setUserMessage(GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage userMessage) { + this.userMessage = userMessage; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage clone() { + return (GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage.java new file mode 100644 index 00000000000..1d79025018b --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage.java @@ -0,0 +1,164 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * A message from the system in response to the user. This message can also be a message from the + * user as historical context for multiturn conversations with the system. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage extends com.google.api.client.json.GenericJson { + + /** + * Chart spec from LLM + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The parts of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages extends com.google.api.client.json.GenericJson { + + /** + * A message from the system in response to the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage extends com.google.api.client.json.GenericJson { + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * A message from the user that is interacting with the system. + * @param text text or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage clone() { + return (GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata.java new file mode 100644 index 00000000000..ab0185ab3ea --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata.java @@ -0,0 +1,67 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The metadata for generative insights. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata extends com.google.api.client.json.GenericJson { + + /** + * The error message when the generative insights request fails. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * The full list of generative responses. Each response is ordered by time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse extends com.google.api.client.json.GenericJson { + + /** + * The chart spec for the data. This will be specified in the vega-lite or vega format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The text output from the LLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript extends com.google.api.client.json.GenericJson { + + /** + * The conversation id of the chart. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String conversationId; + + /** + * Output only. The create time of the conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Ordered list of messages, including user inputs and system responses. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage extends com.google.api.client.json.GenericJson { + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * The message id of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String messageId; + + /** + * A wrapper for system messages per turn. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper; + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage userMessage; + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. For user messages, this is the time at which the system received the message. For + * system messages, this is the time at which the system generated the message. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * The message id of the message. + * @return value or {@code null} for none + */ + public java.lang.String getMessageId() { + return messageId; + } + + /** + * The message id of the message. + * @param messageId messageId or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage setMessageId(java.lang.String messageId) { + this.messageId = messageId; + return this; + } + + /** + * A wrapper for system messages per turn. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages getSystemMessageWrapper() { + return systemMessageWrapper; + } + + /** + * A wrapper for system messages per turn. + * @param systemMessageWrapper systemMessageWrapper or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage setSystemMessageWrapper(GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages systemMessageWrapper) { + this.systemMessageWrapper = systemMessageWrapper; + return this; + } + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage getUserMessage() { + return userMessage; + } + + /** + * A message from the user that is interacting with the system. + * @param userMessage userMessage or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage setUserMessage(GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage userMessage) { + this.userMessage = userMessage; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage clone() { + return (GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage.java new file mode 100644 index 00000000000..0a8304af7a3 --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage.java @@ -0,0 +1,164 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * A message from the system in response to the user. This message can also be a message from the + * user as historical context for multiturn conversations with the system. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage extends com.google.api.client.json.GenericJson { + + /** + * Chart spec from LLM + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The parts of the message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages extends com.google.api.client.json.GenericJson { + + /** + * A message from the system in response to the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage extends com.google.api.client.json.GenericJson { + + /** + * A message from the user that is interacting with the system. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String text; + + /** + * A message from the user that is interacting with the system. + * @return value or {@code null} for none + */ + public java.lang.String getText() { + return text; + } + + /** + * A message from the user that is interacting with the system. + * @param text text or {@code null} for none + */ + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage setText(java.lang.String text) { + this.text = text; + return this; + } + + @Override + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage set(String fieldName, Object value) { + return (GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage) super.set(fieldName, value); + } + + @Override + public GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage clone() { + return (GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage) super.clone(); + } + +} diff --git a/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata.java b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata.java new file mode 100644 index 00000000000..7c80d0c94da --- /dev/null +++ b/clients/google-api-services-contactcenterinsights/v1/2.0.0/com/google/api/services/contactcenterinsights/v1/model/GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata.java @@ -0,0 +1,67 @@ +/* + * 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.contactcenterinsights.v1.model; + +/** + * The metadata for generative insights. + * + *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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata extends com.google.api.client.json.GenericJson { + + /** + * The error message when the generative insights request fails. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse extends com.google.api.client.json.GenericJson { + + /** + * The full list of generative responses. Each response is ordered by time. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis 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 Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse extends com.google.api.client.json.GenericJson { + + /** + * The chart spec for the data. This will be specified in the vega-lite or vega format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput extends com.google.api.client.json.GenericJson { + + /** + * The text output from the LLM. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List