diff --git a/clients/google-api-services-integrations/v2/2.0.0/README.md b/clients/google-api-services-integrations/v2/2.0.0/README.md new file mode 100644 index 00000000000..d53433f5b5d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/README.md @@ -0,0 +1,44 @@ +# Application Integration API Client Library for Java + + + +This page contains information about getting started with the Application Integration API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Application Integration API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Application Integration API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-integrations + v2-rev20260927-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-integrations:v2-rev20260927-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-integrations/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/integrations/v1/ diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/Integrations.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/Integrations.java new file mode 100644 index 00000000000..b24108bf798 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/Integrations.java @@ -0,0 +1,1977 @@ +/* + * 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.integrations.v2; + +/** + * Service definition for Integrations (v2). + * + *

+ * + *

+ * + *

+ * For more information about this service, see the + * API Documentation + *

+ * + *

+ * This service uses {@link IntegrationsRequestInitializer} to initialize global parameters via its + * {@link Builder}. + *

+ * + * @since 1.3 + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public class Integrations extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient { + + // Note: Leave this static initializer at the top of the file. + static { + com.google.api.client.util.Preconditions.checkState( + (com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION == 1 && + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION >= 32 || + (com.google.api.client.googleapis.GoogleUtils.MINOR_VERSION == 31 && + com.google.api.client.googleapis.GoogleUtils.BUGFIX_VERSION >= 1))) || + com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION >= 2, + "You are currently running with version %s of google-api-client. " + + "You need at least version 1.31.1 of google-api-client to run version " + + "2.0.0 of the Application Integration API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); + } + + /** + * The default encoded root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_ROOT_URL = "https://integrations.googleapis.com/"; + + /** + * The default encoded mTLS root URL of the service. This is determined when the library is generated + * and normally should not be changed. + * + * @since 1.31 + */ + public static final String DEFAULT_MTLS_ROOT_URL = "https://integrations.mtls.googleapis.com/"; + + /** + * The default encoded service path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.7 + */ + public static final String DEFAULT_SERVICE_PATH = ""; + + /** + * The default encoded batch path of the service. This is determined when the library is + * generated and normally should not be changed. + * + * @since 1.23 + */ + public static final String DEFAULT_BATCH_PATH = "batch"; + + /** + * The default encoded base URL of the service. This is determined when the library is generated + * and normally should not be changed. + */ + public static final String DEFAULT_BASE_URL = DEFAULT_ROOT_URL + DEFAULT_SERVICE_PATH; + + /** + * Constructor. + * + *

+ * Use {@link Builder} if you need to specify any of the optional parameters. + *

+ * + * @param transport HTTP transport, which should normally be: + * + * @param jsonFactory JSON factory, which may be: + * + * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public Integrations(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + this(new Builder(transport, jsonFactory, httpRequestInitializer)); + } + + /** + * @param builder builder + */ + Integrations(Builder builder) { + super(builder); + } + + @Override + protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest httpClientRequest) throws java.io.IOException { + super.initialize(httpClientRequest); + } + + /** + * An accessor for creating requests from the Projects collection. + * + *

The typical use is:

+ *
+   *   {@code Integrations integrations = new Integrations(...);}
+   *   {@code Integrations.Projects.List request = integrations.projects().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public Projects projects() { + return new Projects(); + } + + /** + * The "projects" collection of methods. + */ + public class Projects { + + /** + * An accessor for creating requests from the Locations collection. + * + *

The typical use is:

+ *
+     *   {@code Integrations integrations = new Integrations(...);}
+     *   {@code Integrations.Locations.List request = integrations.locations().list(parameters ...)}
+     * 
+ * + * @return the resource collection + */ + public Locations locations() { + return new Locations(); + } + + /** + * The "locations" collection of methods. + */ + public class Locations { + + /** + * Generates an integration skeleton based on a natural language prompt. + * + * Create a request for the method "locations.generateIntegration". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link GenerateIntegration#execute()} method to invoke the remote operation. + * + * @param parent Required. The location in which the integration will be generated. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest} + * @return the request + */ + public GenerateIntegration generateIntegration(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest content) throws java.io.IOException { + GenerateIntegration result = new GenerateIntegration(parent, content); + initialize(result); + return result; + } + + public class GenerateIntegration extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:generateIntegration"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Generates an integration skeleton based on a natural language prompt. + * + * Create a request for the method "locations.generateIntegration". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link GenerateIntegration#execute()} method to invoke the remote + * operation.

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

+ * + * @param parent Required. The location in which the integration will be generated. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest} + * @since 1.13 + */ + protected GenerateIntegration(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse.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 GenerateIntegration set$Xgafv(java.lang.String $Xgafv) { + return (GenerateIntegration) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateIntegration setAccessToken(java.lang.String accessToken) { + return (GenerateIntegration) super.setAccessToken(accessToken); + } + + @Override + public GenerateIntegration setAlt(java.lang.String alt) { + return (GenerateIntegration) super.setAlt(alt); + } + + @Override + public GenerateIntegration setCallback(java.lang.String callback) { + return (GenerateIntegration) super.setCallback(callback); + } + + @Override + public GenerateIntegration setFields(java.lang.String fields) { + return (GenerateIntegration) super.setFields(fields); + } + + @Override + public GenerateIntegration setKey(java.lang.String key) { + return (GenerateIntegration) super.setKey(key); + } + + @Override + public GenerateIntegration setOauthToken(java.lang.String oauthToken) { + return (GenerateIntegration) super.setOauthToken(oauthToken); + } + + @Override + public GenerateIntegration setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateIntegration) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateIntegration setQuotaUser(java.lang.String quotaUser) { + return (GenerateIntegration) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateIntegration setUploadType(java.lang.String uploadType) { + return (GenerateIntegration) super.setUploadType(uploadType); + } + + @Override + public GenerateIntegration setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateIntegration) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The location in which the integration will be generated. Format: + * `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The location in which the integration will be generated. Format: + `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The location in which the integration will be generated. Format: + * `projects/{project}/locations/{location}` + */ + public GenerateIntegration 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; + } + + @Override + public GenerateIntegration set(String parameterName, Object value) { + return (GenerateIntegration) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the IntegrationsOperations collection. + * + *

The typical use is:

+ *
+       *   {@code Integrations integrations = new Integrations(...);}
+       *   {@code Integrations.IntegrationsOperations.List request = integrations.integrations().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public IntegrationsOperations integrations() { + return new IntegrationsOperations(); + } + + /** + * The "integrations" collection of methods. + */ + public class IntegrationsOperations { + + /** + * Executes integrations synchronously. The response is not returned until the requested execution + * is either fulfilled or experienced an error. Only one integration can be executed. Request format + * URL: https://integrations.googleapis.com/v2/projects/$PROJECT/locations/$LOCATION/integrations/$I + * NTEGRATION_NAME:execute Request payload: (the entire payload is optional unless input variables + * need to be set.) {"variable1": "hello world", "variable2": 1, "variable3": {"my_json_key": "my + * json string value" } + * + * Create a request for the method "integrations.execute". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link Execute#execute()} method to invoke the remote operation. + * + * @param parent Required. The integration resource name. + * @param content the {@link com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Execute.ExecuteRequestContent} + * @return the request + */ + public Execute execute(java.lang.String parent, com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Execute.ExecuteRequestContent content) throws java.io.IOException { + Execute result = new Execute(parent, content); + initialize(result); + return result; + } + + public class Execute extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:execute"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Executes integrations synchronously. The response is not returned until the requested execution + * is either fulfilled or experienced an error. Only one integration can be executed. Request + * format URL: https://integrations.googleapis.com/v2/projects/$PROJECT/locations/$LOCATION/integr + * ations/$INTEGRATION_NAME:execute Request payload: (the entire payload is optional unless input + * variables need to be set.) {"variable1": "hello world", "variable2": 1, "variable3": + * {"my_json_key": "my json string value" } + * + * Create a request for the method "integrations.execute". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link Execute#execute()} method to invoke the remote operation. + *

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

+ * + * @param parent Required. The integration resource name. + * @param content the {@link com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Execute.ExecuteRequestContent} + * @since 1.13 + */ + protected Execute(java.lang.String parent, com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Execute.ExecuteRequestContent content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleApiHttpBody.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public Execute set$Xgafv(java.lang.String $Xgafv) { + return (Execute) super.set$Xgafv($Xgafv); + } + + @Override + public Execute setAccessToken(java.lang.String accessToken) { + return (Execute) super.setAccessToken(accessToken); + } + + @Override + public Execute setAlt(java.lang.String alt) { + return (Execute) super.setAlt(alt); + } + + @Override + public Execute setCallback(java.lang.String callback) { + return (Execute) super.setCallback(callback); + } + + @Override + public Execute setFields(java.lang.String fields) { + return (Execute) super.setFields(fields); + } + + @Override + public Execute setKey(java.lang.String key) { + return (Execute) super.setKey(key); + } + + @Override + public Execute setOauthToken(java.lang.String oauthToken) { + return (Execute) super.setOauthToken(oauthToken); + } + + @Override + public Execute setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Execute) super.setPrettyPrint(prettyPrint); + } + + @Override + public Execute setQuotaUser(java.lang.String quotaUser) { + return (Execute) super.setQuotaUser(quotaUser); + } + + @Override + public Execute setUploadType(java.lang.String uploadType) { + return (Execute) super.setUploadType(uploadType); + } + + @Override + public Execute setUploadProtocol(java.lang.String uploadProtocol) { + return (Execute) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The integration resource name. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The integration resource name. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The integration resource name. */ + public Execute 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was + * detected, the response from the previous execution is returned. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. This is used to de-dup incoming request: if the duplicate request was detected, the + response from the previous execution is returned. + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was + * detected, the response from the previous execution is returned. + */ + public Execute setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Required. The API trigger id associated with the integration. An integration can have + * multiple trigger_id. This field is required to disambiguate which trigger should be + * invoked. + */ + @com.google.api.client.util.Key + private java.lang.String triggerId; + + /** Required. The API trigger id associated with the integration. An integration can have multiple + trigger_id. This field is required to disambiguate which trigger should be invoked. + */ + public java.lang.String getTriggerId() { + return triggerId; + } + + /** + * Required. The API trigger id associated with the integration. An integration can have + * multiple trigger_id. This field is required to disambiguate which trigger should be + * invoked. + */ + public Execute setTriggerId(java.lang.String triggerId) { + this.triggerId = triggerId; + return this; + } + + @Override + public Execute set(String parameterName, Object value) { + return (Execute) super.set(parameterName, value); + } + } + /** + * Generates an integration branch. + * + * Create a request for the method "integrations.generateIntegrationBranch". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link GenerateIntegrationBranch#execute()} method to invoke the remote + * operation. + * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest} + * @return the request + */ + public GenerateIntegrationBranch generateIntegrationBranch(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest content) throws java.io.IOException { + GenerateIntegrationBranch result = new GenerateIntegrationBranch(parent, content); + initialize(result); + return result; + } + + public class GenerateIntegrationBranch extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:generateIntegrationBranch"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Generates an integration branch. + * + * Create a request for the method "integrations.generateIntegrationBranch". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link GenerateIntegrationBranch#execute()} method to invoke the + * remote operation.

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

+ * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest} + * @since 1.13 + */ + protected GenerateIntegrationBranch(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public GenerateIntegrationBranch set$Xgafv(java.lang.String $Xgafv) { + return (GenerateIntegrationBranch) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateIntegrationBranch setAccessToken(java.lang.String accessToken) { + return (GenerateIntegrationBranch) super.setAccessToken(accessToken); + } + + @Override + public GenerateIntegrationBranch setAlt(java.lang.String alt) { + return (GenerateIntegrationBranch) super.setAlt(alt); + } + + @Override + public GenerateIntegrationBranch setCallback(java.lang.String callback) { + return (GenerateIntegrationBranch) super.setCallback(callback); + } + + @Override + public GenerateIntegrationBranch setFields(java.lang.String fields) { + return (GenerateIntegrationBranch) super.setFields(fields); + } + + @Override + public GenerateIntegrationBranch setKey(java.lang.String key) { + return (GenerateIntegrationBranch) super.setKey(key); + } + + @Override + public GenerateIntegrationBranch setOauthToken(java.lang.String oauthToken) { + return (GenerateIntegrationBranch) super.setOauthToken(oauthToken); + } + + @Override + public GenerateIntegrationBranch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateIntegrationBranch) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateIntegrationBranch setQuotaUser(java.lang.String quotaUser) { + return (GenerateIntegrationBranch) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateIntegrationBranch setUploadType(java.lang.String uploadType) { + return (GenerateIntegrationBranch) super.setUploadType(uploadType); + } + + @Override + public GenerateIntegrationBranch setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateIntegrationBranch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public GenerateIntegrationBranch 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public GenerateIntegrationBranch set(String parameterName, Object value) { + return (GenerateIntegrationBranch) super.set(parameterName, value); + } + } + /** + * Generates documentation for an integration version. + * + * Create a request for the method "integrations.generateIntegrationDocument". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link GenerateIntegrationDocument#execute()} method to invoke the remote + * operation. + * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest} + * @return the request + */ + public GenerateIntegrationDocument generateIntegrationDocument(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest content) throws java.io.IOException { + GenerateIntegrationDocument result = new GenerateIntegrationDocument(parent, content); + initialize(result); + return result; + } + + public class GenerateIntegrationDocument extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:generateIntegrationDocument"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Generates documentation for an integration version. + * + * Create a request for the method "integrations.generateIntegrationDocument". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link GenerateIntegrationDocument#execute()} method to invoke + * the remote operation.

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

+ * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest} + * @since 1.13 + */ + protected GenerateIntegrationDocument(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public GenerateIntegrationDocument set$Xgafv(java.lang.String $Xgafv) { + return (GenerateIntegrationDocument) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateIntegrationDocument setAccessToken(java.lang.String accessToken) { + return (GenerateIntegrationDocument) super.setAccessToken(accessToken); + } + + @Override + public GenerateIntegrationDocument setAlt(java.lang.String alt) { + return (GenerateIntegrationDocument) super.setAlt(alt); + } + + @Override + public GenerateIntegrationDocument setCallback(java.lang.String callback) { + return (GenerateIntegrationDocument) super.setCallback(callback); + } + + @Override + public GenerateIntegrationDocument setFields(java.lang.String fields) { + return (GenerateIntegrationDocument) super.setFields(fields); + } + + @Override + public GenerateIntegrationDocument setKey(java.lang.String key) { + return (GenerateIntegrationDocument) super.setKey(key); + } + + @Override + public GenerateIntegrationDocument setOauthToken(java.lang.String oauthToken) { + return (GenerateIntegrationDocument) super.setOauthToken(oauthToken); + } + + @Override + public GenerateIntegrationDocument setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateIntegrationDocument) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateIntegrationDocument setQuotaUser(java.lang.String quotaUser) { + return (GenerateIntegrationDocument) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateIntegrationDocument setUploadType(java.lang.String uploadType) { + return (GenerateIntegrationDocument) super.setUploadType(uploadType); + } + + @Override + public GenerateIntegrationDocument setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateIntegrationDocument) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public GenerateIntegrationDocument 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public GenerateIntegrationDocument set(String parameterName, Object value) { + return (GenerateIntegrationDocument) super.set(parameterName, value); + } + } + /** + * Generates Javascript code for data mapping. + * + * Create a request for the method "integrations.generateJavascript". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link GenerateJavascript#execute()} method to invoke the remote operation. + * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest} + * @return the request + */ + public GenerateJavascript generateJavascript(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest content) throws java.io.IOException { + GenerateJavascript result = new GenerateJavascript(parent, content); + initialize(result); + return result; + } + + public class GenerateJavascript extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:generateJavascript"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Generates Javascript code for data mapping. + * + * Create a request for the method "integrations.generateJavascript". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link GenerateJavascript#execute()} method to invoke the remote + * operation.

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

+ * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest} + * @since 1.13 + */ + protected GenerateJavascript(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public GenerateJavascript set$Xgafv(java.lang.String $Xgafv) { + return (GenerateJavascript) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateJavascript setAccessToken(java.lang.String accessToken) { + return (GenerateJavascript) super.setAccessToken(accessToken); + } + + @Override + public GenerateJavascript setAlt(java.lang.String alt) { + return (GenerateJavascript) super.setAlt(alt); + } + + @Override + public GenerateJavascript setCallback(java.lang.String callback) { + return (GenerateJavascript) super.setCallback(callback); + } + + @Override + public GenerateJavascript setFields(java.lang.String fields) { + return (GenerateJavascript) super.setFields(fields); + } + + @Override + public GenerateJavascript setKey(java.lang.String key) { + return (GenerateJavascript) super.setKey(key); + } + + @Override + public GenerateJavascript setOauthToken(java.lang.String oauthToken) { + return (GenerateJavascript) super.setOauthToken(oauthToken); + } + + @Override + public GenerateJavascript setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateJavascript) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateJavascript setQuotaUser(java.lang.String quotaUser) { + return (GenerateJavascript) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateJavascript setUploadType(java.lang.String uploadType) { + return (GenerateJavascript) super.setUploadType(uploadType); + } + + @Override + public GenerateJavascript setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateJavascript) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public GenerateJavascript 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public GenerateJavascript set(String parameterName, Object value) { + return (GenerateJavascript) super.set(parameterName, value); + } + } + /** + * Recommends tasks to replace a selected task. + * + * Create a request for the method "integrations.recommendTasks". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link RecommendTasks#execute()} method to invoke the remote operation. + * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetRecommendTasksRequest} + * @return the request + */ + public RecommendTasks recommendTasks(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetRecommendTasksRequest content) throws java.io.IOException { + RecommendTasks result = new RecommendTasks(parent, content); + initialize(result); + return result; + } + + public class RecommendTasks extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:recommendTasks"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Recommends tasks to replace a selected task. + * + * Create a request for the method "integrations.recommendTasks". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link RecommendTasks#execute()} method to invoke the remote + * operation.

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

+ * + * @param parent Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + * @param content the {@link com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetRecommendTasksRequest} + * @since 1.13 + */ + protected RecommendTasks(java.lang.String parent, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetRecommendTasksRequest content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetRecommendTasksResponse.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public RecommendTasks set$Xgafv(java.lang.String $Xgafv) { + return (RecommendTasks) super.set$Xgafv($Xgafv); + } + + @Override + public RecommendTasks setAccessToken(java.lang.String accessToken) { + return (RecommendTasks) super.setAccessToken(accessToken); + } + + @Override + public RecommendTasks setAlt(java.lang.String alt) { + return (RecommendTasks) super.setAlt(alt); + } + + @Override + public RecommendTasks setCallback(java.lang.String callback) { + return (RecommendTasks) super.setCallback(callback); + } + + @Override + public RecommendTasks setFields(java.lang.String fields) { + return (RecommendTasks) super.setFields(fields); + } + + @Override + public RecommendTasks setKey(java.lang.String key) { + return (RecommendTasks) super.setKey(key); + } + + @Override + public RecommendTasks setOauthToken(java.lang.String oauthToken) { + return (RecommendTasks) super.setOauthToken(oauthToken); + } + + @Override + public RecommendTasks setPrettyPrint(java.lang.Boolean prettyPrint) { + return (RecommendTasks) super.setPrettyPrint(prettyPrint); + } + + @Override + public RecommendTasks setQuotaUser(java.lang.String quotaUser) { + return (RecommendTasks) super.setQuotaUser(quotaUser); + } + + @Override + public RecommendTasks setUploadType(java.lang.String uploadType) { + return (RecommendTasks) super.setUploadType(uploadType); + } + + @Override + public RecommendTasks setUploadProtocol(java.lang.String uploadProtocol) { + return (RecommendTasks) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Format: `projects/{project}/locations/{location}/integrations/{integration}` + */ + public RecommendTasks 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public RecommendTasks set(String parameterName, Object value) { + return (RecommendTasks) super.set(parameterName, value); + } + } + /** + * Schedules an integration for execution. + * + * Create a request for the method "integrations.schedule". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link Schedule#execute()} method to invoke the remote operation. + * + * @param parent Required. The integration resource name. + * @param content the {@link com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Schedule.ScheduleRequestContent} + * @return the request + */ + public Schedule schedule(java.lang.String parent, com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Schedule.ScheduleRequestContent content) throws java.io.IOException { + Schedule result = new Schedule(parent, content); + initialize(result); + return result; + } + + public class Schedule extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}:schedule"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Schedules an integration for execution. + * + * Create a request for the method "integrations.schedule". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link Schedule#execute()} method to invoke the remote operation. + *

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

+ * + * @param parent Required. The integration resource name. + * @param content the {@link com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Schedule.ScheduleRequestContent} + * @since 1.13 + */ + protected Schedule(java.lang.String parent, com.google.api.services.integrations.v2.model.Integrations.Projects.Locations.IntegrationsOperations.Schedule.ScheduleRequestContent content) { + super(Integrations.this, "POST", REST_PATH, content, com.google.api.services.integrations.v2.model.GoogleApiHttpBody.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/[^/]+/integrations/[^/]+$"); + } + } + + @Override + public Schedule set$Xgafv(java.lang.String $Xgafv) { + return (Schedule) super.set$Xgafv($Xgafv); + } + + @Override + public Schedule setAccessToken(java.lang.String accessToken) { + return (Schedule) super.setAccessToken(accessToken); + } + + @Override + public Schedule setAlt(java.lang.String alt) { + return (Schedule) super.setAlt(alt); + } + + @Override + public Schedule setCallback(java.lang.String callback) { + return (Schedule) super.setCallback(callback); + } + + @Override + public Schedule setFields(java.lang.String fields) { + return (Schedule) super.setFields(fields); + } + + @Override + public Schedule setKey(java.lang.String key) { + return (Schedule) super.setKey(key); + } + + @Override + public Schedule setOauthToken(java.lang.String oauthToken) { + return (Schedule) super.setOauthToken(oauthToken); + } + + @Override + public Schedule setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Schedule) super.setPrettyPrint(prettyPrint); + } + + @Override + public Schedule setQuotaUser(java.lang.String quotaUser) { + return (Schedule) super.setQuotaUser(quotaUser); + } + + @Override + public Schedule setUploadType(java.lang.String uploadType) { + return (Schedule) super.setUploadType(uploadType); + } + + @Override + public Schedule setUploadProtocol(java.lang.String uploadProtocol) { + return (Schedule) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The integration resource name. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The integration resource name. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The integration resource name. */ + public Schedule 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was + * detected, the response from the previous execution is returned. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. This is used to de-dup incoming request: if the duplicate request was detected, the + response from the previous execution is returned. + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was + * detected, the response from the previous execution is returned. + */ + public Schedule setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Optional. The time that the integration should be executed. If the time is less or + * equal to the current time, the integration is executed immediately. + */ + @com.google.api.client.util.Key + private String scheduleTime; + + /** Optional. The time that the integration should be executed. If the time is less or equal to the + current time, the integration is executed immediately. + */ + public String getScheduleTime() { + return scheduleTime; + } + + /** + * Optional. The time that the integration should be executed. If the time is less or + * equal to the current time, the integration is executed immediately. + */ + public Schedule setScheduleTime(String scheduleTime) { + this.scheduleTime = scheduleTime; + return this; + } + + /** + * Required. The API trigger id associated with the integration. An integration can have + * multiple trigger_id. This field is required to disambiguate which trigger should be + * invoked + */ + @com.google.api.client.util.Key + private java.lang.String triggerId; + + /** Required. The API trigger id associated with the integration. An integration can have multiple + trigger_id. This field is required to disambiguate which trigger should be invoked + */ + public java.lang.String getTriggerId() { + return triggerId; + } + + /** + * Required. The API trigger id associated with the integration. An integration can have + * multiple trigger_id. This field is required to disambiguate which trigger should be + * invoked + */ + public Schedule setTriggerId(java.lang.String triggerId) { + this.triggerId = triggerId; + return this; + } + + @Override + public Schedule set(String parameterName, Object value) { + return (Schedule) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the Executions collection. + * + *

The typical use is:

+ *
+         *   {@code Integrations integrations = new Integrations(...);}
+         *   {@code Integrations.Executions.List request = integrations.executions().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public Executions executions() { + return new Executions(); + } + + /** + * The "executions" collection of methods. + */ + public class Executions { + + /** + * Lists the results of all the integration executions. The response includes the same information + * as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the + * Integration UI. + * + * Create a request for the method "executions.list". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. parent resource name of integration execution. + * @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 IntegrationsRequest { + + private static final String REST_PATH = "v2/{+parent}/executions"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+$"); + + /** + * Lists the results of all the integration executions. The response includes the same information + * as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in + * the Integration UI. + * + * Create a request for the method "executions.list". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

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

+ * + * @param parent Required. parent resource name of integration execution. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Integrations.this, "GET", REST_PATH, null, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2ListExecutionsResponse.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/[^/]+/integrations/[^/]+$"); + } + } + + @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. parent resource name of integration execution. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. parent resource name of integration execution. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. parent resource name of integration execution. */ + 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/[^/]+/integrations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Standard filter field, we support filtering on following fields: + * integration_name: the name of the integration. create_time: the execution created + * time. update_time: the execution last update time. state: the state of the + * executions. execution_id: the id of the execution. trigger_id: the id of the trigger. + * All fields support for EQUALS, in additional: create_time and update_time support for + * LESS_THAN, GREATER_THAN Also supports operators like AND, OR, NOT For example: + * trigger_id=\"id1\" AND integration_name=\"testIntegration\" + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Standard filter field, we support filtering on following fields: integration_name: the + name of the integration. create_time: the execution created time. update_time: the execution last + update time. state: the state of the executions. execution_id: the id of the execution. trigger_id: + the id of the trigger. All fields support for EQUALS, in additional: create_time and update_time + support for LESS_THAN, GREATER_THAN Also supports operators like AND, OR, NOT For example: + trigger_id=\"id1\" AND integration_name=\"testIntegration\" + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Standard filter field, we support filtering on following fields: + * integration_name: the name of the integration. create_time: the execution created + * time. update_time: the execution last update time. state: the state of the + * executions. execution_id: the id of the execution. trigger_id: the id of the trigger. + * All fields support for EQUALS, in additional: create_time and update_time support for + * LESS_THAN, GREATER_THAN Also supports operators like AND, OR, NOT For example: + * trigger_id=\"id1\" AND integration_name=\"testIntegration\" + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. The size of entries in the response. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The size of entries in the response. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. The size of entries in the response. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. The token returned in the previous response. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. The token returned in the previous response. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. The token returned in the previous response. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Optional. View mask for the response data. If set, only the field specified will be + * returned as part of the result. If not set, all fields in execution info will be + * filled and returned. + */ + @com.google.api.client.util.Key + private String readMask; + + /** Optional. View mask for the response data. If set, only the field specified will be returned as + part of the result. If not set, all fields in execution info will be filled and returned. + */ + public String getReadMask() { + return readMask; + } + + /** + * Optional. View mask for the response data. If set, only the field specified will be + * returned as part of the result. If not set, all fields in execution info will be + * filled and returned. + */ + public List setReadMask(String readMask) { + this.readMask = readMask; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * View detailed explanation of why an integration execution failed, using LLM + * + * Create a request for the method "executions.troubleshoot". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link Troubleshoot#execute()} method to invoke the remote operation. + * + * @param name Required. Execution resource name. Format: + * `projects/{project}/locations/{location}/integrations/{integration}/executions/{execution_ + * id}` + * @return the request + */ + public Troubleshoot troubleshoot(java.lang.String name) throws java.io.IOException { + Troubleshoot result = new Troubleshoot(name); + initialize(result); + return result; + } + + public class Troubleshoot extends IntegrationsRequest { + + private static final String REST_PATH = "v2/{+name}:troubleshoot"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$"); + + /** + * View detailed explanation of why an integration execution failed, using LLM + * + * Create a request for the method "executions.troubleshoot". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link Troubleshoot#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. Execution resource name. Format: + * `projects/{project}/locations/{location}/integrations/{integration}/executions/{execution_ + * id}` + * @since 1.13 + */ + protected Troubleshoot(java.lang.String name) { + super(Integrations.this, "GET", REST_PATH, null, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse.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/[^/]+/integrations/[^/]+/executions/[^/]+$"); + } + } + + @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 Troubleshoot set$Xgafv(java.lang.String $Xgafv) { + return (Troubleshoot) super.set$Xgafv($Xgafv); + } + + @Override + public Troubleshoot setAccessToken(java.lang.String accessToken) { + return (Troubleshoot) super.setAccessToken(accessToken); + } + + @Override + public Troubleshoot setAlt(java.lang.String alt) { + return (Troubleshoot) super.setAlt(alt); + } + + @Override + public Troubleshoot setCallback(java.lang.String callback) { + return (Troubleshoot) super.setCallback(callback); + } + + @Override + public Troubleshoot setFields(java.lang.String fields) { + return (Troubleshoot) super.setFields(fields); + } + + @Override + public Troubleshoot setKey(java.lang.String key) { + return (Troubleshoot) super.setKey(key); + } + + @Override + public Troubleshoot setOauthToken(java.lang.String oauthToken) { + return (Troubleshoot) super.setOauthToken(oauthToken); + } + + @Override + public Troubleshoot setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Troubleshoot) super.setPrettyPrint(prettyPrint); + } + + @Override + public Troubleshoot setQuotaUser(java.lang.String quotaUser) { + return (Troubleshoot) super.setQuotaUser(quotaUser); + } + + @Override + public Troubleshoot setUploadType(java.lang.String uploadType) { + return (Troubleshoot) super.setUploadType(uploadType); + } + + @Override + public Troubleshoot setUploadProtocol(java.lang.String uploadProtocol) { + return (Troubleshoot) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Execution resource name. Format: `projects/{project}/locations/{location}/i + * ntegrations/{integration}/executions/{execution_id}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Execution resource name. Format: + `projects/{project}/locations/{location}/integrations/{integration}/executions/{execution_id}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Execution resource name. Format: `projects/{project}/locations/{location}/i + * ntegrations/{integration}/executions/{execution_id}` + */ + public Troubleshoot 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/[^/]+/integrations/[^/]+/executions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Troubleshoot set(String parameterName, Object value) { + return (Troubleshoot) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the TaskExecutions collection. + * + *

The typical use is:

+ *
+           *   {@code Integrations integrations = new Integrations(...);}
+           *   {@code Integrations.TaskExecutions.List request = integrations.taskExecutions().list(parameters ...)}
+           * 
+ * + * @return the resource collection + */ + public TaskExecutions taskExecutions() { + return new TaskExecutions(); + } + + /** + * The "taskExecutions" collection of methods. + */ + public class TaskExecutions { + + /** + * Get a TaskExecution in the specified project. + * + * Create a request for the method "taskExecutions.get". + * + * This request holds the parameters needed by the integrations server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The TaskExecution to retrieve. Format: projects/{project}/locations/{location}/integration + * s/{integration}/executions/{execution}/taskExecutions/{task_execution} + * @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 IntegrationsRequest { + + private static final String REST_PATH = "v2/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/taskExecutions/[^/]+$"); + + /** + * Get a TaskExecution in the specified project. + * + * Create a request for the method "taskExecutions.get". + * + * This request holds the parameters needed by the the integrations server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@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 TaskExecution to retrieve. Format: projects/{project}/locations/{location}/integration + * s/{integration}/executions/{execution}/taskExecutions/{task_execution} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Integrations.this, "GET", REST_PATH, null, com.google.api.services.integrations.v2.model.GoogleCloudIntegrationsV2TaskExecution.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/[^/]+/integrations/[^/]+/executions/[^/]+/taskExecutions/[^/]+$"); + } + } + + @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 TaskExecution to retrieve. Format: projects/{project}/locations/{loca + * tion}/integrations/{integration}/executions/{execution}/taskExecutions/{task_execut + * ion} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The TaskExecution to retrieve. Format: projects/{project}/locations/{location}/integratio + ns/{integration}/executions/{execution}/taskExecutions/{task_execution} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The TaskExecution to retrieve. Format: projects/{project}/locations/{loca + * tion}/integrations/{integration}/executions/{execution}/taskExecutions/{task_execut + * ion} + */ + 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/[^/]+/integrations/[^/]+/executions/[^/]+/taskExecutions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + + } + } + } + } + } + + /** + * Builder for {@link Integrations}. + * + *

+ * Implementation is not thread-safe. + *

+ * + * @since 1.3.0 + */ + public static final class Builder extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder { + + private static String chooseEndpoint(com.google.api.client.http.HttpTransport transport) { + // If the GOOGLE_API_USE_MTLS_ENDPOINT environment variable value is "always", use mTLS endpoint. + // If the env variable is "auto", use mTLS endpoint if and only if the transport is mTLS. + // Use the regular endpoint for all other cases. + String useMtlsEndpoint = System.getenv("GOOGLE_API_USE_MTLS_ENDPOINT"); + useMtlsEndpoint = useMtlsEndpoint == null ? "auto" : useMtlsEndpoint; + if ("always".equals(useMtlsEndpoint) || ("auto".equals(useMtlsEndpoint) && transport != null && transport.isMtls())) { + return DEFAULT_MTLS_ROOT_URL; + } + return DEFAULT_ROOT_URL; + } + + /** + * Returns an instance of a new builder. + * + * @param transport HTTP transport, which should normally be: + *
    + *
  • Google App Engine: + * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
  • + *
  • Android: {@code newCompatibleTransport} from + * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • + *
+ * @param jsonFactory JSON factory, which may be: + *
    + *
  • Jackson: {@code com.google.api.client.json.jackson2.JacksonFactory}
  • + *
  • Google GSON: {@code com.google.api.client.json.gson.GsonFactory}
  • + *
  • Android Honeycomb or higher: + * {@code com.google.api.client.extensions.android.json.AndroidJsonFactory}
  • + *
+ * @param httpRequestInitializer HTTP request initializer or {@code null} for none + * @since 1.7 + */ + public Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, + com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + super( + transport, + jsonFactory, + Builder.chooseEndpoint(transport), + DEFAULT_SERVICE_PATH, + httpRequestInitializer, + false); + setBatchPath(DEFAULT_BATCH_PATH); + } + + /** Builds a new instance of {@link Integrations}. */ + @Override + public Integrations build() { + return new Integrations(this); + } + + @Override + public Builder setRootUrl(String rootUrl) { + return (Builder) super.setRootUrl(rootUrl); + } + + @Override + public Builder setServicePath(String servicePath) { + return (Builder) super.setServicePath(servicePath); + } + + @Override + public Builder setBatchPath(String batchPath) { + return (Builder) super.setBatchPath(batchPath); + } + + @Override + public Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) { + return (Builder) super.setHttpRequestInitializer(httpRequestInitializer); + } + + @Override + public Builder setApplicationName(String applicationName) { + return (Builder) super.setApplicationName(applicationName); + } + + @Override + public Builder setSuppressPatternChecks(boolean suppressPatternChecks) { + return (Builder) super.setSuppressPatternChecks(suppressPatternChecks); + } + + @Override + public Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) { + return (Builder) super.setSuppressRequiredParameterChecks(suppressRequiredParameterChecks); + } + + @Override + public Builder setSuppressAllChecks(boolean suppressAllChecks) { + return (Builder) super.setSuppressAllChecks(suppressAllChecks); + } + + /** + * Set the {@link IntegrationsRequestInitializer}. + * + * @since 1.12 + */ + public Builder setIntegrationsRequestInitializer( + IntegrationsRequestInitializer integrationsRequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(integrationsRequestInitializer); + } + + @Override + public Builder setGoogleClientRequestInitializer( + com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) { + return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer); + } + + @Override + public Builder setUniverseDomain(String universeDomain) { + return (Builder) super.setUniverseDomain(universeDomain); + } + } +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequest.java new file mode 100644 index 00000000000..91a3da82ce9 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequest.java @@ -0,0 +1,267 @@ +/* + * 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.integrations.v2; + +/** + * Integrations request. + * + * @since 1.3 + */ +@SuppressWarnings("javadoc") +public abstract class IntegrationsRequest extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest { + + /** + * @param client Google client + * @param method HTTP Method + * @param uriTemplate URI template for the path relative to the base URL. If it starts with a "/" + * the base path from the base URL will be stripped out. The URI template can also be a + * full URL. URI template expansion is done using + * {@link com.google.api.client.http.UriTemplate#expand(String, String, Object, boolean)} + * @param content A POJO that can be serialized into JSON or {@code null} for none + * @param responseClass response class to parse into + */ + public IntegrationsRequest( + Integrations client, String method, String uriTemplate, Object content, Class responseClass) { + super( + client, + method, + uriTemplate, + content, + responseClass); + } + + /** V1 error format. */ + @com.google.api.client.util.Key("$.xgafv") + private java.lang.String $Xgafv; + + /** + * V1 error format. + */ + public java.lang.String get$Xgafv() { + return $Xgafv; + } + + /** V1 error format. */ + public IntegrationsRequest set$Xgafv(java.lang.String $Xgafv) { + this.$Xgafv = $Xgafv; + return this; + } + + /** OAuth access token. */ + @com.google.api.client.util.Key("access_token") + private java.lang.String accessToken; + + /** + * OAuth access token. + */ + public java.lang.String getAccessToken() { + return accessToken; + } + + /** OAuth access token. */ + public IntegrationsRequest setAccessToken(java.lang.String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** Data format for response. */ + @com.google.api.client.util.Key + private java.lang.String alt; + + /** + * Data format for response. [default: json] + */ + public java.lang.String getAlt() { + return alt; + } + + /** Data format for response. */ + public IntegrationsRequest setAlt(java.lang.String alt) { + this.alt = alt; + return this; + } + + /** JSONP */ + @com.google.api.client.util.Key + private java.lang.String callback; + + /** + * JSONP + */ + public java.lang.String getCallback() { + return callback; + } + + /** JSONP */ + public IntegrationsRequest setCallback(java.lang.String callback) { + this.callback = callback; + return this; + } + + /** Selector specifying which fields to include in a partial response. */ + @com.google.api.client.util.Key + private java.lang.String fields; + + /** + * Selector specifying which fields to include in a partial response. + */ + public java.lang.String getFields() { + return fields; + } + + /** Selector specifying which fields to include in a partial response. */ + public IntegrationsRequest setFields(java.lang.String fields) { + this.fields = fields; + return this; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public java.lang.String getKey() { + return key; + } + + /** + * API key. Your API key identifies your project and provides you with API access, quota, and + * reports. Required unless you provide an OAuth 2.0 token. + */ + public IntegrationsRequest setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** OAuth 2.0 token for the current user. */ + @com.google.api.client.util.Key("oauth_token") + private java.lang.String oauthToken; + + /** + * OAuth 2.0 token for the current user. + */ + public java.lang.String getOauthToken() { + return oauthToken; + } + + /** OAuth 2.0 token for the current user. */ + public IntegrationsRequest setOauthToken(java.lang.String oauthToken) { + this.oauthToken = oauthToken; + return this; + } + + /** Returns response with indentations and line breaks. */ + @com.google.api.client.util.Key + private java.lang.Boolean prettyPrint; + + /** + * Returns response with indentations and line breaks. [default: true] + */ + public java.lang.Boolean getPrettyPrint() { + return prettyPrint; + } + + /** Returns response with indentations and line breaks. */ + public IntegrationsRequest setPrettyPrint(java.lang.Boolean prettyPrint) { + this.prettyPrint = prettyPrint; + return this; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + @com.google.api.client.util.Key + private java.lang.String quotaUser; + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public java.lang.String getQuotaUser() { + return quotaUser; + } + + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string + * assigned to a user, but should not exceed 40 characters. + */ + public IntegrationsRequest setQuotaUser(java.lang.String quotaUser) { + this.quotaUser = quotaUser; + return this; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + @com.google.api.client.util.Key + private java.lang.String uploadType; + + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + public java.lang.String getUploadType() { + return uploadType; + } + + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + public IntegrationsRequest setUploadType(java.lang.String uploadType) { + this.uploadType = uploadType; + return this; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + @com.google.api.client.util.Key("upload_protocol") + private java.lang.String uploadProtocol; + + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + public java.lang.String getUploadProtocol() { + return uploadProtocol; + } + + /** Upload protocol for media (e.g. "raw", "multipart"). */ + public IntegrationsRequest setUploadProtocol(java.lang.String uploadProtocol) { + this.uploadProtocol = uploadProtocol; + return this; + } + + @Override + public final Integrations getAbstractGoogleClient() { + return (Integrations) super.getAbstractGoogleClient(); + } + + @Override + public IntegrationsRequest setDisableGZipContent(boolean disableGZipContent) { + return (IntegrationsRequest) super.setDisableGZipContent(disableGZipContent); + } + + @Override + public IntegrationsRequest setRequestHeaders(com.google.api.client.http.HttpHeaders headers) { + return (IntegrationsRequest) super.setRequestHeaders(headers); + } + + @Override + public IntegrationsRequest set(String parameterName, Object value) { + return (IntegrationsRequest) super.set(parameterName, value); + } +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequestInitializer.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequestInitializer.java new file mode 100644 index 00000000000..a0259c1028a --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsRequestInitializer.java @@ -0,0 +1,119 @@ +/* + * 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.integrations.v2; + +/** + * Integrations request initializer for setting properties like key and userIp. + * + *

+ * The simplest usage is to use it to set the key parameter: + *

+ * + *
+  public static final GoogleClientRequestInitializer KEY_INITIALIZER =
+      new IntegrationsRequestInitializer(KEY);
+ * 
+ * + *

+ * There is also a constructor to set both the key and userIp parameters: + *

+ * + *
+  public static final GoogleClientRequestInitializer INITIALIZER =
+      new IntegrationsRequestInitializer(KEY, USER_IP);
+ * 
+ * + *

+ * If you want to implement custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer extends IntegrationsRequestInitializer {
+
+    {@literal @}Override
+    public void initializeIntegrationsRequest(IntegrationsRequest{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Finally, to set the key and userIp parameters and insert custom logic, extend it like this: + *

+ * + *
+  public static class MyRequestInitializer2 extends IntegrationsRequestInitializer {
+
+    public MyKeyRequestInitializer() {
+      super(KEY, USER_IP);
+    }
+
+    {@literal @}Override
+    public void initializeIntegrationsRequest(IntegrationsRequest{@literal <}?{@literal >} request)
+        throws IOException {
+      // custom logic
+    }
+  }
+ * 
+ * + *

+ * Subclasses should be thread-safe. + *

+ * + * @since 1.12 + */ +public class IntegrationsRequestInitializer extends com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializer { + + public IntegrationsRequestInitializer() { + super(); + } + + /** + * @param key API key or {@code null} to leave it unchanged + */ + public IntegrationsRequestInitializer(String key) { + super(key); + } + + /** + * @param key API key or {@code null} to leave it unchanged + * @param userIp user IP or {@code null} to leave it unchanged + */ + public IntegrationsRequestInitializer(String key, String userIp) { + super(key, userIp); + } + + @Override + public final void initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest request) throws java.io.IOException { + super.initializeJsonRequest(request); + initializeIntegrationsRequest((IntegrationsRequest) request); + } + + /** + * Initializes Integrations request. + * + *

+ * Default implementation does nothing. Called from + * {@link #initializeJsonRequest(com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest)}. + *

+ * + * @throws java.io.IOException I/O exception + */ + protected void initializeIntegrationsRequest(IntegrationsRequest request) throws java.io.IOException { + } +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsScopes.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsScopes.java new file mode 100644 index 00000000000..652da1cba86 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/IntegrationsScopes.java @@ -0,0 +1,42 @@ +/* + * 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.integrations.v2; + +/** + * Available OAuth 2.0 scopes for use with the Application Integration API. + * + * @since 1.4 + */ +public class IntegrationsScopes { + + /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ + public static final String CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + + /** + * Returns an unmodifiable set that contains all scopes declared by this class. + * + * @since 1.16 + */ + public static java.util.Set all() { + java.util.Set set = new java.util.HashSet(); + set.add(CLOUD_PLATFORM); + return java.util.Collections.unmodifiableSet(set); + } + + private IntegrationsScopes() { + } +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam.java new file mode 100644 index 00000000000..81502a34c81 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam.java @@ -0,0 +1,160 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam. + * + *

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 Application Integration 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 EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam extends com.google.api.client.json.GenericJson { + + /** + * Defines the credential types to be supported as Task may restrict specific types to use, e.g. + * Cloud SQL Task will use username/password type only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List allowedCredentialTypes; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowedServiceAccountInContext; + + /** + * UUID of the AuthConfig. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authConfigId; + + /** + * A space-delimited list of requested scope permissions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scope; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useServiceAccountInContext; + + /** + * Defines the credential types to be supported as Task may restrict specific types to use, e.g. + * Cloud SQL Task will use username/password type only. + * @return value or {@code null} for none + */ + public java.util.List getAllowedCredentialTypes() { + return allowedCredentialTypes; + } + + /** + * Defines the credential types to be supported as Task may restrict specific types to use, e.g. + * Cloud SQL Task will use username/password type only. + * @param allowedCredentialTypes allowedCredentialTypes or {@code null} for none + */ + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam setAllowedCredentialTypes(java.util.List allowedCredentialTypes) { + this.allowedCredentialTypes = allowedCredentialTypes; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowedServiceAccountInContext() { + return allowedServiceAccountInContext; + } + + /** + * @param allowedServiceAccountInContext allowedServiceAccountInContext or {@code null} for none + */ + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam setAllowedServiceAccountInContext(java.lang.Boolean allowedServiceAccountInContext) { + this.allowedServiceAccountInContext = allowedServiceAccountInContext; + return this; + } + + /** + * UUID of the AuthConfig. + * @return value or {@code null} for none + */ + public java.lang.String getAuthConfigId() { + return authConfigId; + } + + /** + * UUID of the AuthConfig. + * @param authConfigId authConfigId or {@code null} for none + */ + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam setAuthConfigId(java.lang.String authConfigId) { + this.authConfigId = authConfigId; + return this; + } + + /** + * A space-delimited list of requested scope permissions. + * @return value or {@code null} for none + */ + public java.lang.String getScope() { + return scope; + } + + /** + * A space-delimited list of requested scope permissions. + * @param scope scope or {@code null} for none + */ + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam setScope(java.lang.String scope) { + this.scope = scope; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseServiceAccountInContext() { + return useServiceAccountInContext; + } + + /** + * @param useServiceAccountInContext useServiceAccountInContext or {@code null} for none + */ + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam setUseServiceAccountInContext(java.lang.Boolean useServiceAccountInContext) { + this.useServiceAccountInContext = useServiceAccountInContext; + return this; + } + + @Override + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam set(String fieldName, Object value) { + return (EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam clone() { + return (EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoAddress.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoAddress.java new file mode 100644 index 00000000000..93a0a9a27fe --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoAddress.java @@ -0,0 +1,111 @@ +/* + * 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.integrations.v2.model; + +/** + * Email address along with optional name and tokens. These tokens will be substituted for the + * variables in the form of [{var_name}], where var_name could be any string of no more than 32 + * bytes. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoAddress extends com.google.api.client.json.GenericJson { + + /** + * Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tokens; + + /** + * Required. + * @return value or {@code null} for none + */ + public java.lang.String getEmail() { + return email; + } + + /** + * Required. + * @param email email or {@code null} for none + */ + public EnterpriseCrmEventbusProtoAddress setEmail(java.lang.String email) { + this.email = email; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * @param name name or {@code null} for none + */ + public EnterpriseCrmEventbusProtoAddress setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.List getTokens() { + return tokens; + } + + /** + * @param tokens tokens or {@code null} for none + */ + public EnterpriseCrmEventbusProtoAddress setTokens(java.util.List tokens) { + this.tokens = tokens; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoAddress set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoAddress) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoAddress clone() { + return (EnterpriseCrmEventbusProtoAddress) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseFunction.java new file mode 100644 index 00000000000..1ea7a855bf3 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBaseFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBaseFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBaseFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBaseFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBaseFunction clone() { + return (EnterpriseCrmEventbusProtoBaseFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseValue.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseValue.java new file mode 100644 index 00000000000..9b4f31adfe8 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBaseValue.java @@ -0,0 +1,118 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBaseValue. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBaseValue extends com.google.api.client.json.GenericJson { + + /** + * Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, + * Exists, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoFunction baseFunction; + + /** + * Start with a literal value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterValueType literalValue; + + /** + * Start with a reference value to dereference. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String referenceValue; + + /** + * Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, + * Exists, etc. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunction getBaseFunction() { + return baseFunction; + } + + /** + * Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, + * Exists, etc. + * @param baseFunction baseFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseValue setBaseFunction(EnterpriseCrmEventbusProtoFunction baseFunction) { + this.baseFunction = baseFunction; + return this; + } + + /** + * Start with a literal value. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType getLiteralValue() { + return literalValue; + } + + /** + * Start with a literal value. + * @param literalValue literalValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseValue setLiteralValue(EnterpriseCrmEventbusProtoParameterValueType literalValue) { + this.literalValue = literalValue; + return this; + } + + /** + * Start with a reference value to dereference. + * @return value or {@code null} for none + */ + public java.lang.String getReferenceValue() { + return referenceValue; + } + + /** + * Start with a reference value to dereference. + * @param referenceValue referenceValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseValue setReferenceValue(java.lang.String referenceValue) { + this.referenceValue = referenceValue; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBaseValue set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBaseValue) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBaseValue clone() { + return (EnterpriseCrmEventbusProtoBaseValue) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanArrayFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanArrayFunction.java new file mode 100644 index 00000000000..4e370afa80c --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanArrayFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBooleanArrayFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBooleanArrayFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanArrayFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBooleanArrayFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBooleanArrayFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBooleanArrayFunction clone() { + return (EnterpriseCrmEventbusProtoBooleanArrayFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanFunction.java new file mode 100644 index 00000000000..03d24ed8cde --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBooleanFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBooleanFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBooleanFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBooleanFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBooleanFunction clone() { + return (EnterpriseCrmEventbusProtoBooleanFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanParameterArray.java new file mode 100644 index 00000000000..206a3b83c5b --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBooleanParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBooleanParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBooleanParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List booleanValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getBooleanValues() { + return booleanValues; + } + + /** + * @param booleanValues booleanValues or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanParameterArray setBooleanValues(java.util.List booleanValues) { + this.booleanValues = booleanValues; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBooleanParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBooleanParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBooleanParameterArray clone() { + return (EnterpriseCrmEventbusProtoBooleanParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBuganizerNotification.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBuganizerNotification.java new file mode 100644 index 00000000000..379f41d70d6 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoBuganizerNotification.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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoBuganizerNotification. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoBuganizerNotification extends com.google.api.client.json.GenericJson { + + /** + * Whom to assign the new bug. Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assigneeEmailAddress; + + /** + * ID of the buganizer component within which to create a new issue. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long componentId; + + /** + * ID of the buganizer template to use. Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long templateId; + + /** + * Title of the issue to be created. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String title; + + /** + * Whom to assign the new bug. Optional. + * @return value or {@code null} for none + */ + public java.lang.String getAssigneeEmailAddress() { + return assigneeEmailAddress; + } + + /** + * Whom to assign the new bug. Optional. + * @param assigneeEmailAddress assigneeEmailAddress or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBuganizerNotification setAssigneeEmailAddress(java.lang.String assigneeEmailAddress) { + this.assigneeEmailAddress = assigneeEmailAddress; + return this; + } + + /** + * ID of the buganizer component within which to create a new issue. Required. + * @return value or {@code null} for none + */ + public java.lang.Long getComponentId() { + return componentId; + } + + /** + * ID of the buganizer component within which to create a new issue. Required. + * @param componentId componentId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBuganizerNotification setComponentId(java.lang.Long componentId) { + this.componentId = componentId; + return this; + } + + /** + * ID of the buganizer template to use. Optional. + * @return value or {@code null} for none + */ + public java.lang.Long getTemplateId() { + return templateId; + } + + /** + * ID of the buganizer template to use. Optional. + * @param templateId templateId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBuganizerNotification setTemplateId(java.lang.Long templateId) { + this.templateId = templateId; + return this; + } + + /** + * Title of the issue to be created. Required. + * @return value or {@code null} for none + */ + public java.lang.String getTitle() { + return title; + } + + /** + * Title of the issue to be created. Required. + * @param title title or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBuganizerNotification setTitle(java.lang.String title) { + this.title = title; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoBuganizerNotification set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoBuganizerNotification) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoBuganizerNotification clone() { + return (EnterpriseCrmEventbusProtoBuganizerNotification) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCloudKmsConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCloudKmsConfig.java new file mode 100644 index 00000000000..7b26f16cae9 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCloudKmsConfig.java @@ -0,0 +1,208 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoCloudKmsConfig. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoCloudKmsConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is + * stored in the same GCP project defined in Client (tag 14). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcpProjectId; + + /** + * A Cloud KMS key is a named object containing one or more key versions, along with metadata for + * the key. A key exists on exactly one key ring tied to a specific location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyName; + + /** + * A key ring organizes keys in a specific Google Cloud location and allows you to manage access + * control on groups of keys. A key ring's name does not need to be unique across a Google Cloud + * project, but must be unique within a given location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyRingName; + + /** + * Optional. Each version of a key contains key material used for encryption or signing. A key's + * version is represented by an integer, starting at 1. To decrypt data or verify a signature, you + * must use the same key version that was used to encrypt or sign the data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyVersionName; + + /** + * Location name of the key ring, e.g. "us-west1". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String locationName; + + /** + * Optional. The service account used for authentication of this KMS key. If this is not provided, + * the service account in Client.clientSource will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceAccount; + + /** + * Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is + * stored in the same GCP project defined in Client (tag 14). + * @return value or {@code null} for none + */ + public java.lang.String getGcpProjectId() { + return gcpProjectId; + } + + /** + * Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is + * stored in the same GCP project defined in Client (tag 14). + * @param gcpProjectId gcpProjectId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setGcpProjectId(java.lang.String gcpProjectId) { + this.gcpProjectId = gcpProjectId; + return this; + } + + /** + * A Cloud KMS key is a named object containing one or more key versions, along with metadata for + * the key. A key exists on exactly one key ring tied to a specific location. + * @return value or {@code null} for none + */ + public java.lang.String getKeyName() { + return keyName; + } + + /** + * A Cloud KMS key is a named object containing one or more key versions, along with metadata for + * the key. A key exists on exactly one key ring tied to a specific location. + * @param keyName keyName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setKeyName(java.lang.String keyName) { + this.keyName = keyName; + return this; + } + + /** + * A key ring organizes keys in a specific Google Cloud location and allows you to manage access + * control on groups of keys. A key ring's name does not need to be unique across a Google Cloud + * project, but must be unique within a given location. + * @return value or {@code null} for none + */ + public java.lang.String getKeyRingName() { + return keyRingName; + } + + /** + * A key ring organizes keys in a specific Google Cloud location and allows you to manage access + * control on groups of keys. A key ring's name does not need to be unique across a Google Cloud + * project, but must be unique within a given location. + * @param keyRingName keyRingName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setKeyRingName(java.lang.String keyRingName) { + this.keyRingName = keyRingName; + return this; + } + + /** + * Optional. Each version of a key contains key material used for encryption or signing. A key's + * version is represented by an integer, starting at 1. To decrypt data or verify a signature, you + * must use the same key version that was used to encrypt or sign the data. + * @return value or {@code null} for none + */ + public java.lang.String getKeyVersionName() { + return keyVersionName; + } + + /** + * Optional. Each version of a key contains key material used for encryption or signing. A key's + * version is represented by an integer, starting at 1. To decrypt data or verify a signature, you + * must use the same key version that was used to encrypt or sign the data. + * @param keyVersionName keyVersionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setKeyVersionName(java.lang.String keyVersionName) { + this.keyVersionName = keyVersionName; + return this; + } + + /** + * Location name of the key ring, e.g. "us-west1". + * @return value or {@code null} for none + */ + public java.lang.String getLocationName() { + return locationName; + } + + /** + * Location name of the key ring, e.g. "us-west1". + * @param locationName locationName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setLocationName(java.lang.String locationName) { + this.locationName = locationName; + return this; + } + + /** + * Optional. The service account used for authentication of this KMS key. If this is not provided, + * the service account in Client.clientSource will be used. + * @return value or {@code null} for none + */ + public java.lang.String getServiceAccount() { + return serviceAccount; + } + + /** + * Optional. The service account used for authentication of this KMS key. If this is not provided, + * the service account in Client.clientSource will be used. + * @param serviceAccount serviceAccount or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig setServiceAccount(java.lang.String serviceAccount) { + this.serviceAccount = serviceAccount; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoCloudKmsConfig set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoCloudKmsConfig) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoCloudKmsConfig clone() { + return (EnterpriseCrmEventbusProtoCloudKmsConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsConnection.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsConnection.java new file mode 100644 index 00000000000..c2acca42e90 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsConnection.java @@ -0,0 +1,145 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoConnectorsConnection. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoConnectorsConnection extends com.google.api.client.json.GenericJson { + + /** + * Connection name Format: projects/{project}/locations/{location}/connections/{connection} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String connectionName; + + /** + * Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connecto + * rs/{connector}/versions/{version} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String connectorVersion; + + /** + * The name of the Hostname of the Service Directory service with TLS if used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String host; + + /** + * Service name Format: + * projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceName; + + /** + * Connection name Format: projects/{project}/locations/{location}/connections/{connection} + * @return value or {@code null} for none + */ + public java.lang.String getConnectionName() { + return connectionName; + } + + /** + * Connection name Format: projects/{project}/locations/{location}/connections/{connection} + * @param connectionName connectionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsConnection setConnectionName(java.lang.String connectionName) { + this.connectionName = connectionName; + return this; + } + + /** + * Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connecto + * rs/{connector}/versions/{version} + * @return value or {@code null} for none + */ + public java.lang.String getConnectorVersion() { + return connectorVersion; + } + + /** + * Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connecto + * rs/{connector}/versions/{version} + * @param connectorVersion connectorVersion or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsConnection setConnectorVersion(java.lang.String connectorVersion) { + this.connectorVersion = connectorVersion; + return this; + } + + /** + * The name of the Hostname of the Service Directory service with TLS if used. + * @return value or {@code null} for none + */ + public java.lang.String getHost() { + return host; + } + + /** + * The name of the Hostname of the Service Directory service with TLS if used. + * @param host host or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsConnection setHost(java.lang.String host) { + this.host = host; + return this; + } + + /** + * Service name Format: + * projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + * @return value or {@code null} for none + */ + public java.lang.String getServiceName() { + return serviceName; + } + + /** + * Service name Format: + * projects/{project}/locations/{location}/namespaces/{namespace}/services/{service} + * @param serviceName serviceName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsConnection setServiceName(java.lang.String serviceName) { + this.serviceName = serviceName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoConnectorsConnection set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoConnectorsConnection) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoConnectorsConnection clone() { + return (EnterpriseCrmEventbusProtoConnectorsConnection) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig.java new file mode 100644 index 00000000000..5513e7803b4 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig.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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig extends com.google.api.client.json.GenericJson { + + /** + * User-selected connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoConnectorsConnection connection; + + /** + * Operation to perform using the configured connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operation; + + /** + * User-selected connection. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsConnection getConnection() { + return connection; + } + + /** + * User-selected connection. + * @param connection connection or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig setConnection(EnterpriseCrmEventbusProtoConnectorsConnection connection) { + this.connection = connection; + return this; + } + + /** + * Operation to perform using the configured connection. + * @return value or {@code null} for none + */ + public java.lang.String getOperation() { + return operation; + } + + /** + * Operation to perform using the configured connection. + * @param operation operation or {@code null} for none + */ + public EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig setOperation(java.lang.String operation) { + this.operation = operation; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig clone() { + return (EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCustomSuspensionRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCustomSuspensionRequest.java new file mode 100644 index 00000000000..61545d21d87 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoCustomSuspensionRequest.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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoCustomSuspensionRequest. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoCustomSuspensionRequest extends com.google.api.client.json.GenericJson { + + /** + * Request to fire an event containing the SuspensionInfo message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest postToQueueWithTriggerIdRequest; + + /** + * In the fired event, set the SuspensionInfo message as the value for this key. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suspensionInfoEventParameterKey; + + /** + * Request to fire an event containing the SuspensionInfo message. + * @return value or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest getPostToQueueWithTriggerIdRequest() { + return postToQueueWithTriggerIdRequest; + } + + /** + * Request to fire an event containing the SuspensionInfo message. + * @param postToQueueWithTriggerIdRequest postToQueueWithTriggerIdRequest or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCustomSuspensionRequest setPostToQueueWithTriggerIdRequest(GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest postToQueueWithTriggerIdRequest) { + this.postToQueueWithTriggerIdRequest = postToQueueWithTriggerIdRequest; + return this; + } + + /** + * In the fired event, set the SuspensionInfo message as the value for this key. + * @return value or {@code null} for none + */ + public java.lang.String getSuspensionInfoEventParameterKey() { + return suspensionInfoEventParameterKey; + } + + /** + * In the fired event, set the SuspensionInfo message as the value for this key. + * @param suspensionInfoEventParameterKey suspensionInfoEventParameterKey or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCustomSuspensionRequest setSuspensionInfoEventParameterKey(java.lang.String suspensionInfoEventParameterKey) { + this.suspensionInfoEventParameterKey = suspensionInfoEventParameterKey; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoCustomSuspensionRequest set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoCustomSuspensionRequest) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoCustomSuspensionRequest clone() { + return (EnterpriseCrmEventbusProtoCustomSuspensionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleArrayFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleArrayFunction.java new file mode 100644 index 00000000000..4e1a2377a44 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleArrayFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoDoubleArrayFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoDoubleArrayFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleArrayFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoDoubleArrayFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoDoubleArrayFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoDoubleArrayFunction clone() { + return (EnterpriseCrmEventbusProtoDoubleArrayFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleFunction.java new file mode 100644 index 00000000000..75954de991c --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoDoubleFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoDoubleFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoDoubleFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoDoubleFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoDoubleFunction clone() { + return (EnterpriseCrmEventbusProtoDoubleFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleParameterArray.java new file mode 100644 index 00000000000..5a491194357 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoDoubleParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoDoubleParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoDoubleParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List doubleValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getDoubleValues() { + return doubleValues; + } + + /** + * @param doubleValues doubleValues or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleParameterArray setDoubleValues(java.util.List doubleValues) { + this.doubleValues = doubleValues; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoDoubleParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoDoubleParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoDoubleParameterArray clone() { + return (EnterpriseCrmEventbusProtoDoubleParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoEventParameters.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoEventParameters.java new file mode 100644 index 00000000000..f4a06b21cde --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoEventParameters.java @@ -0,0 +1,71 @@ +/* + * 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.integrations.v2.model; + +/** + * LINT.IfChange This message is used for processing and persisting (when applicable) key value pair + * parameters for each event in the event bus. Please see + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoEventParameters extends com.google.api.client.json.GenericJson { + + /** + * Parameters are a part of Event and can be used to communicate between different tasks that are + * part of the same integration execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List parameters; + + /** + * Parameters are a part of Event and can be used to communicate between different tasks that are + * part of the same integration execution. + * @return value or {@code null} for none + */ + public java.util.List getParameters() { + return parameters; + } + + /** + * Parameters are a part of Event and can be used to communicate between different tasks that are + * part of the same integration execution. + * @param parameters parameters or {@code null} for none + */ + public EnterpriseCrmEventbusProtoEventParameters setParameters(java.util.List parameters) { + this.parameters = parameters; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoEventParameters set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoEventParameters) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoEventParameters clone() { + return (EnterpriseCrmEventbusProtoEventParameters) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExecutionTraceInfo.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExecutionTraceInfo.java new file mode 100644 index 00000000000..7130fddb507 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExecutionTraceInfo.java @@ -0,0 +1,95 @@ +/* + * 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.integrations.v2.model; + +/** + * Message that helps aggregate all sub-executions triggered by one execution and keeps track of + * child-parent relationships. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoExecutionTraceInfo extends com.google.api.client.json.GenericJson { + + /** + * Parent event execution info id that triggers the current execution through + * SubWorkflowExecutorTask. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentEventExecutionInfoId; + + /** + * Used to aggregate ExecutionTraceInfo. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String traceId; + + /** + * Parent event execution info id that triggers the current execution through + * SubWorkflowExecutorTask. + * @return value or {@code null} for none + */ + public java.lang.String getParentEventExecutionInfoId() { + return parentEventExecutionInfoId; + } + + /** + * Parent event execution info id that triggers the current execution through + * SubWorkflowExecutorTask. + * @param parentEventExecutionInfoId parentEventExecutionInfoId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExecutionTraceInfo setParentEventExecutionInfoId(java.lang.String parentEventExecutionInfoId) { + this.parentEventExecutionInfoId = parentEventExecutionInfoId; + return this; + } + + /** + * Used to aggregate ExecutionTraceInfo. + * @return value or {@code null} for none + */ + public java.lang.String getTraceId() { + return traceId; + } + + /** + * Used to aggregate ExecutionTraceInfo. + * @param traceId traceId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExecutionTraceInfo setTraceId(java.lang.String traceId) { + this.traceId = traceId; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoExecutionTraceInfo set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoExecutionTraceInfo) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoExecutionTraceInfo clone() { + return (EnterpriseCrmEventbusProtoExecutionTraceInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExternalTraffic.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExternalTraffic.java new file mode 100644 index 00000000000..b022391ca76 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoExternalTraffic.java @@ -0,0 +1,184 @@ +/* + * 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.integrations.v2.model; + +/** + * Represents external traffic type and id. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoExternalTraffic extends com.google.api.client.json.GenericJson { + + /** + * Indicates the client enables internal IP feature, this is applicable for internal clients only. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableInternalIp; + + /** + * User’s GCP project id the traffic is referring to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcpProjectId; + + /** + * User’s GCP project number the traffic is referring to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcpProjectNumber; + + /** + * Location for the user's request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * Enqueue the execution request due to quota issue + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean retryRequestForQuota; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Indicates the client enables internal IP feature, this is applicable for internal clients only. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableInternalIp() { + return enableInternalIp; + } + + /** + * Indicates the client enables internal IP feature, this is applicable for internal clients only. + * @param enableInternalIp enableInternalIp or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setEnableInternalIp(java.lang.Boolean enableInternalIp) { + this.enableInternalIp = enableInternalIp; + return this; + } + + /** + * User’s GCP project id the traffic is referring to. + * @return value or {@code null} for none + */ + public java.lang.String getGcpProjectId() { + return gcpProjectId; + } + + /** + * User’s GCP project id the traffic is referring to. + * @param gcpProjectId gcpProjectId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setGcpProjectId(java.lang.String gcpProjectId) { + this.gcpProjectId = gcpProjectId; + return this; + } + + /** + * User’s GCP project number the traffic is referring to. + * @return value or {@code null} for none + */ + public java.lang.String getGcpProjectNumber() { + return gcpProjectNumber; + } + + /** + * User’s GCP project number the traffic is referring to. + * @param gcpProjectNumber gcpProjectNumber or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setGcpProjectNumber(java.lang.String gcpProjectNumber) { + this.gcpProjectNumber = gcpProjectNumber; + return this; + } + + /** + * Location for the user's request. + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * Location for the user's request. + * @param location location or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setLocation(java.lang.String location) { + this.location = location; + return this; + } + + /** + * Enqueue the execution request due to quota issue + * @return value or {@code null} for none + */ + public java.lang.Boolean getRetryRequestForQuota() { + return retryRequestForQuota; + } + + /** + * Enqueue the execution request due to quota issue + * @param retryRequestForQuota retryRequestForQuota or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setRetryRequestForQuota(java.lang.Boolean retryRequestForQuota) { + this.retryRequestForQuota = retryRequestForQuota; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * @param source source or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic setSource(java.lang.String source) { + this.source = source; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoExternalTraffic set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoExternalTraffic) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoExternalTraffic clone() { + return (EnterpriseCrmEventbusProtoExternalTraffic) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoField.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoField.java new file mode 100644 index 00000000000..2a24440ff25 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoField.java @@ -0,0 +1,226 @@ +/* + * 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.integrations.v2.model; + +/** + * Information about the value and type of the field. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoField extends com.google.api.client.json.GenericJson { + + /** + * By default, if the cardinality is unspecified the field is considered required while mapping. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cardinality; + + /** + * This holds the default values for the fields. This value is supplied by user so may or may not + * contain PII or SPII data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterValueType defaultValue; + + /** + * Specifies the data type of the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fieldType; + + /** + * Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for + * output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and + * output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to + * parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same + * type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String protoDefPath; + + /** + * This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for + * e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any + * workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$ + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String referenceKey; + + /** + * This is the transform expression to fetch the input field value. for e.g. + * $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. + * If a transform expression is provided, reference_key will be ignored. 3. If no value is + * returned after evaluation of transform expression, default_value can be mapped if provided. 4. + * The field_type should be the type of the final object returned after the transform expression + * is evaluated. Scrubs the transform expression before logging as value provided by user so may + * or may not contain PII or SPII data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoTransformExpression transformExpression; + + /** + * By default, if the cardinality is unspecified the field is considered required while mapping. + * @return value or {@code null} for none + */ + public java.lang.String getCardinality() { + return cardinality; + } + + /** + * By default, if the cardinality is unspecified the field is considered required while mapping. + * @param cardinality cardinality or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setCardinality(java.lang.String cardinality) { + this.cardinality = cardinality; + return this; + } + + /** + * This holds the default values for the fields. This value is supplied by user so may or may not + * contain PII or SPII data. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType getDefaultValue() { + return defaultValue; + } + + /** + * This holds the default values for the fields. This value is supplied by user so may or may not + * contain PII or SPII data. + * @param defaultValue defaultValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setDefaultValue(EnterpriseCrmEventbusProtoParameterValueType defaultValue) { + this.defaultValue = defaultValue; + return this; + } + + /** + * Specifies the data type of the field. + * @return value or {@code null} for none + */ + public java.lang.String getFieldType() { + return fieldType; + } + + /** + * Specifies the data type of the field. + * @param fieldType fieldType or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setFieldType(java.lang.String fieldType) { + this.fieldType = fieldType; + return this; + } + + /** + * Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for + * output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and + * output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to + * parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same + * type. + * @return value or {@code null} for none + */ + public java.lang.String getProtoDefPath() { + return protoDefPath; + } + + /** + * Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for + * output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and + * output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to + * parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same + * type. + * @param protoDefPath protoDefPath or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setProtoDefPath(java.lang.String protoDefPath) { + this.protoDefPath = protoDefPath; + return this; + } + + /** + * This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for + * e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any + * workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$ + * @return value or {@code null} for none + */ + public java.lang.String getReferenceKey() { + return referenceKey; + } + + /** + * This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for + * e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any + * workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$ + * @param referenceKey referenceKey or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setReferenceKey(java.lang.String referenceKey) { + this.referenceKey = referenceKey; + return this; + } + + /** + * This is the transform expression to fetch the input field value. for e.g. + * $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. + * If a transform expression is provided, reference_key will be ignored. 3. If no value is + * returned after evaluation of transform expression, default_value can be mapped if provided. 4. + * The field_type should be the type of the final object returned after the transform expression + * is evaluated. Scrubs the transform expression before logging as value provided by user so may + * or may not contain PII or SPII data. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoTransformExpression getTransformExpression() { + return transformExpression; + } + + /** + * This is the transform expression to fetch the input field value. for e.g. + * $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. + * If a transform expression is provided, reference_key will be ignored. 3. If no value is + * returned after evaluation of transform expression, default_value can be mapped if provided. 4. + * The field_type should be the type of the final object returned after the transform expression + * is evaluated. Scrubs the transform expression before logging as value provided by user so may + * or may not contain PII or SPII data. + * @param transformExpression transformExpression or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField setTransformExpression(EnterpriseCrmEventbusProtoTransformExpression transformExpression) { + this.transformExpression = transformExpression; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoField set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoField) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoField clone() { + return (EnterpriseCrmEventbusProtoField) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFieldMappingConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFieldMappingConfig.java new file mode 100644 index 00000000000..5ca9185fe23 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFieldMappingConfig.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Field Mapping Config to map multiple output fields values from input fields values. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoFieldMappingConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mappedFields; + + /** + * @return value or {@code null} for none + */ + public java.util.List getMappedFields() { + return mappedFields; + } + + /** + * @param mappedFields mappedFields or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFieldMappingConfig setMappedFields(java.util.List mappedFields) { + this.mappedFields = mappedFields; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoFieldMappingConfig set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoFieldMappingConfig) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoFieldMappingConfig clone() { + return (EnterpriseCrmEventbusProtoFieldMappingConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunction.java new file mode 100644 index 00000000000..1af3ae75de4 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunction.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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoFunction extends com.google.api.client.json.GenericJson { + + /** + * The name of the function to perform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoFunctionType functionType; + + /** + * List of parameters required for the transformation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List parameters; + + /** + * The name of the function to perform. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType getFunctionType() { + return functionType; + } + + /** + * The name of the function to perform. + * @param functionType functionType or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunction setFunctionType(EnterpriseCrmEventbusProtoFunctionType functionType) { + this.functionType = functionType; + return this; + } + + /** + * List of parameters required for the transformation. + * @return value or {@code null} for none + */ + public java.util.List getParameters() { + return parameters; + } + + /** + * List of parameters required for the transformation. + * @param parameters parameters or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunction setParameters(java.util.List parameters) { + this.parameters = parameters; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoFunction clone() { + return (EnterpriseCrmEventbusProtoFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunctionType.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunctionType.java new file mode 100644 index 00000000000..dce09899725 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoFunctionType.java @@ -0,0 +1,298 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoFunctionType. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoFunctionType extends com.google.api.client.json.GenericJson { + + /** + * LINT.IfChange + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBaseFunction baseFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBooleanArrayFunction booleanArrayFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBooleanFunction booleanFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoDoubleArrayFunction doubleArrayFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoDoubleFunction doubleFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoIntArrayFunction intArrayFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoIntFunction intFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoJsonFunction jsonFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoProtoArrayFunction protoArrayFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoProtoFunction protoFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoStringArrayFunction stringArrayFunction; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoStringFunction stringFunction; + + /** + * LINT.IfChange + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseFunction getBaseFunction() { + return baseFunction; + } + + /** + * LINT.IfChange + * @param baseFunction baseFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setBaseFunction(EnterpriseCrmEventbusProtoBaseFunction baseFunction) { + this.baseFunction = baseFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanArrayFunction getBooleanArrayFunction() { + return booleanArrayFunction; + } + + /** + * @param booleanArrayFunction booleanArrayFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setBooleanArrayFunction(EnterpriseCrmEventbusProtoBooleanArrayFunction booleanArrayFunction) { + this.booleanArrayFunction = booleanArrayFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanFunction getBooleanFunction() { + return booleanFunction; + } + + /** + * @param booleanFunction booleanFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setBooleanFunction(EnterpriseCrmEventbusProtoBooleanFunction booleanFunction) { + this.booleanFunction = booleanFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleArrayFunction getDoubleArrayFunction() { + return doubleArrayFunction; + } + + /** + * @param doubleArrayFunction doubleArrayFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setDoubleArrayFunction(EnterpriseCrmEventbusProtoDoubleArrayFunction doubleArrayFunction) { + this.doubleArrayFunction = doubleArrayFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleFunction getDoubleFunction() { + return doubleFunction; + } + + /** + * @param doubleFunction doubleFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setDoubleFunction(EnterpriseCrmEventbusProtoDoubleFunction doubleFunction) { + this.doubleFunction = doubleFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntArrayFunction getIntArrayFunction() { + return intArrayFunction; + } + + /** + * @param intArrayFunction intArrayFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setIntArrayFunction(EnterpriseCrmEventbusProtoIntArrayFunction intArrayFunction) { + this.intArrayFunction = intArrayFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntFunction getIntFunction() { + return intFunction; + } + + /** + * @param intFunction intFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setIntFunction(EnterpriseCrmEventbusProtoIntFunction intFunction) { + this.intFunction = intFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoJsonFunction getJsonFunction() { + return jsonFunction; + } + + /** + * @param jsonFunction jsonFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setJsonFunction(EnterpriseCrmEventbusProtoJsonFunction jsonFunction) { + this.jsonFunction = jsonFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoArrayFunction getProtoArrayFunction() { + return protoArrayFunction; + } + + /** + * @param protoArrayFunction protoArrayFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setProtoArrayFunction(EnterpriseCrmEventbusProtoProtoArrayFunction protoArrayFunction) { + this.protoArrayFunction = protoArrayFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoFunction getProtoFunction() { + return protoFunction; + } + + /** + * @param protoFunction protoFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setProtoFunction(EnterpriseCrmEventbusProtoProtoFunction protoFunction) { + this.protoFunction = protoFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringArrayFunction getStringArrayFunction() { + return stringArrayFunction; + } + + /** + * @param stringArrayFunction stringArrayFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setStringArrayFunction(EnterpriseCrmEventbusProtoStringArrayFunction stringArrayFunction) { + this.stringArrayFunction = stringArrayFunction; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringFunction getStringFunction() { + return stringFunction; + } + + /** + * @param stringFunction stringFunction or {@code null} for none + */ + public EnterpriseCrmEventbusProtoFunctionType setStringFunction(EnterpriseCrmEventbusProtoStringFunction stringFunction) { + this.stringFunction = stringFunction; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoFunctionType set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoFunctionType) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoFunctionType clone() { + return (EnterpriseCrmEventbusProtoFunctionType) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntArrayFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntArrayFunction.java new file mode 100644 index 00000000000..ba12758238d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntArrayFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoIntArrayFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoIntArrayFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntArrayFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoIntArrayFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoIntArrayFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoIntArrayFunction clone() { + return (EnterpriseCrmEventbusProtoIntArrayFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntFunction.java new file mode 100644 index 00000000000..4bb97ef7a60 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoIntFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoIntFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoIntFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoIntFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoIntFunction clone() { + return (EnterpriseCrmEventbusProtoIntFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntParameterArray.java new file mode 100644 index 00000000000..9a6a9e0dad0 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoIntParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoIntParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoIntParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List intValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getIntValues() { + return intValues; + } + + /** + * @param intValues intValues or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntParameterArray setIntValues(java.util.List intValues) { + this.intValues = intValues; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoIntParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoIntParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoIntParameterArray clone() { + return (EnterpriseCrmEventbusProtoIntParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoJsonFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoJsonFunction.java new file mode 100644 index 00000000000..3332e2dad6e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoJsonFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoJsonFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoJsonFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoJsonFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoJsonFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoJsonFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoJsonFunction clone() { + return (EnterpriseCrmEventbusProtoJsonFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoLoopMetadata.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoLoopMetadata.java new file mode 100644 index 00000000000..7dd5dfe1e63 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoLoopMetadata.java @@ -0,0 +1,148 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoLoopMetadata. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoLoopMetadata extends com.google.api.client.json.GenericJson { + + /** + * Starting from 1, not 0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long currentIterationCount; + + /** + * Needs to be set by the loop impl class before each iteration. The abstract loop class will + * append the request and response to it. Eg. The foreach Loop will clean up and set it as the + * current iteration element at the start of each loop. The post request and response will be + * appended to the value once they are available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String currentIterationDetail; + + /** + * Add the error message when loops fail. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMsg; + + /** + * Indicates where in the loop logic did it error out. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureLocation; + + /** + * Starting from 1, not 0. + * @return value or {@code null} for none + */ + public java.lang.Long getCurrentIterationCount() { + return currentIterationCount; + } + + /** + * Starting from 1, not 0. + * @param currentIterationCount currentIterationCount or {@code null} for none + */ + public EnterpriseCrmEventbusProtoLoopMetadata setCurrentIterationCount(java.lang.Long currentIterationCount) { + this.currentIterationCount = currentIterationCount; + return this; + } + + /** + * Needs to be set by the loop impl class before each iteration. The abstract loop class will + * append the request and response to it. Eg. The foreach Loop will clean up and set it as the + * current iteration element at the start of each loop. The post request and response will be + * appended to the value once they are available. + * @return value or {@code null} for none + */ + public java.lang.String getCurrentIterationDetail() { + return currentIterationDetail; + } + + /** + * Needs to be set by the loop impl class before each iteration. The abstract loop class will + * append the request and response to it. Eg. The foreach Loop will clean up and set it as the + * current iteration element at the start of each loop. The post request and response will be + * appended to the value once they are available. + * @param currentIterationDetail currentIterationDetail or {@code null} for none + */ + public EnterpriseCrmEventbusProtoLoopMetadata setCurrentIterationDetail(java.lang.String currentIterationDetail) { + this.currentIterationDetail = currentIterationDetail; + return this; + } + + /** + * Add the error message when loops fail. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMsg() { + return errorMsg; + } + + /** + * Add the error message when loops fail. + * @param errorMsg errorMsg or {@code null} for none + */ + public EnterpriseCrmEventbusProtoLoopMetadata setErrorMsg(java.lang.String errorMsg) { + this.errorMsg = errorMsg; + return this; + } + + /** + * Indicates where in the loop logic did it error out. + * @return value or {@code null} for none + */ + public java.lang.String getFailureLocation() { + return failureLocation; + } + + /** + * Indicates where in the loop logic did it error out. + * @param failureLocation failureLocation or {@code null} for none + */ + public EnterpriseCrmEventbusProtoLoopMetadata setFailureLocation(java.lang.String failureLocation) { + this.failureLocation = failureLocation; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoLoopMetadata set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoLoopMetadata) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoLoopMetadata clone() { + return (EnterpriseCrmEventbusProtoLoopMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoMappedField.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoMappedField.java new file mode 100644 index 00000000000..5cec131ff9e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoMappedField.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.integrations.v2.model; + +/** + * Mapped field is a pair of input field and output field. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoMappedField extends com.google.api.client.json.GenericJson { + + /** + * The input field being mapped from. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoField inputField; + + /** + * The output field being mapped to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoField outputField; + + /** + * The input field being mapped from. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField getInputField() { + return inputField; + } + + /** + * The input field being mapped from. + * @param inputField inputField or {@code null} for none + */ + public EnterpriseCrmEventbusProtoMappedField setInputField(EnterpriseCrmEventbusProtoField inputField) { + this.inputField = inputField; + return this; + } + + /** + * The output field being mapped to. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoField getOutputField() { + return outputField; + } + + /** + * The output field being mapped to. + * @param outputField outputField or {@code null} for none + */ + public EnterpriseCrmEventbusProtoMappedField setOutputField(EnterpriseCrmEventbusProtoField outputField) { + this.outputField = outputField; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoMappedField set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoMappedField) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoMappedField clone() { + return (EnterpriseCrmEventbusProtoMappedField) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoNotification.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoNotification.java new file mode 100644 index 00000000000..5e2f079b72e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoNotification.java @@ -0,0 +1,154 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoNotification. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoNotification extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBuganizerNotification buganizerNotification; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoAddress emailAddress; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String escalatorQueue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pubsubTopic; + + /** + * If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, + * fire a workflow containing all info needed to notify users to resume execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoCustomSuspensionRequest request; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBuganizerNotification getBuganizerNotification() { + return buganizerNotification; + } + + /** + * @param buganizerNotification buganizerNotification or {@code null} for none + */ + public EnterpriseCrmEventbusProtoNotification setBuganizerNotification(EnterpriseCrmEventbusProtoBuganizerNotification buganizerNotification) { + this.buganizerNotification = buganizerNotification; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoAddress getEmailAddress() { + return emailAddress; + } + + /** + * @param emailAddress emailAddress or {@code null} for none + */ + public EnterpriseCrmEventbusProtoNotification setEmailAddress(EnterpriseCrmEventbusProtoAddress emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getEscalatorQueue() { + return escalatorQueue; + } + + /** + * @param escalatorQueue escalatorQueue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoNotification setEscalatorQueue(java.lang.String escalatorQueue) { + this.escalatorQueue = escalatorQueue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getPubsubTopic() { + return pubsubTopic; + } + + /** + * @param pubsubTopic pubsubTopic or {@code null} for none + */ + public EnterpriseCrmEventbusProtoNotification setPubsubTopic(java.lang.String pubsubTopic) { + this.pubsubTopic = pubsubTopic; + return this; + } + + /** + * If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, + * fire a workflow containing all info needed to notify users to resume execution. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCustomSuspensionRequest getRequest() { + return request; + } + + /** + * If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, + * fire a workflow containing all info needed to notify users to resume execution. + * @param request request or {@code null} for none + */ + public EnterpriseCrmEventbusProtoNotification setRequest(EnterpriseCrmEventbusProtoCustomSuspensionRequest request) { + this.request = request; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoNotification set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoNotification) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoNotification clone() { + return (EnterpriseCrmEventbusProtoNotification) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterEntry.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterEntry.java new file mode 100644 index 00000000000..e2e8a811745 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterEntry.java @@ -0,0 +1,118 @@ +/* + * 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.integrations.v2.model; + +/** + * Key-value pair of EventBus parameters. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoParameterEntry extends com.google.api.client.json.GenericJson { + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * True if this parameter should be masked in the logs + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean masked; + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterValueType value; + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @param key key or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterEntry setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * True if this parameter should be masked in the logs + * @return value or {@code null} for none + */ + public java.lang.Boolean getMasked() { + return masked; + } + + /** + * True if this parameter should be masked in the logs + * @param masked masked or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterEntry setMasked(java.lang.Boolean masked) { + this.masked = masked; + return this; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType getValue() { + return value; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * @param value value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterEntry setValue(EnterpriseCrmEventbusProtoParameterValueType value) { + this.value = value; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoParameterEntry set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoParameterEntry) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoParameterEntry clone() { + return (EnterpriseCrmEventbusProtoParameterEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMap.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMap.java new file mode 100644 index 00000000000..a7d0171b539 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMap.java @@ -0,0 +1,113 @@ +/* + * 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.integrations.v2.model; + +/** + * A generic multi-map that holds key value pairs. They keys and values can be of any type, unless + * specified. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoParameterMap extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entries; + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyType; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String valueType; + + /** + * @return value or {@code null} for none + */ + public java.util.List getEntries() { + return entries; + } + + /** + * @param entries entries or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMap setEntries(java.util.List entries) { + this.entries = entries; + return this; + } + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * @return value or {@code null} for none + */ + public java.lang.String getKeyType() { + return keyType; + } + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * @param keyType keyType or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMap setKeyType(java.lang.String keyType) { + this.keyType = keyType; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getValueType() { + return valueType; + } + + /** + * @param valueType valueType or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMap setValueType(java.lang.String valueType) { + this.valueType = valueType; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoParameterMap set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoParameterMap) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoParameterMap clone() { + return (EnterpriseCrmEventbusProtoParameterMap) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapEntry.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapEntry.java new file mode 100644 index 00000000000..65ad3aea29e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapEntry.java @@ -0,0 +1,85 @@ +/* + * 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.integrations.v2.model; + +/** + * Entry is a pair of key and value. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoParameterMapEntry extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterMapField key; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterMapField value; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapField getKey() { + return key; + } + + /** + * @param key key or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapEntry setKey(EnterpriseCrmEventbusProtoParameterMapField key) { + this.key = key; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapField getValue() { + return value; + } + + /** + * @param value value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapEntry setValue(EnterpriseCrmEventbusProtoParameterMapField value) { + this.value = value; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoParameterMapEntry set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoParameterMapEntry) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoParameterMapEntry clone() { + return (EnterpriseCrmEventbusProtoParameterMapEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapField.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapField.java new file mode 100644 index 00000000000..9922015be46 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterMapField.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.integrations.v2.model; + +/** + * Field represents either the key or value in an entry. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoParameterMapField extends com.google.api.client.json.GenericJson { + + /** + * Passing a literal value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterValueType literalValue; + + /** + * Referencing one of the WF variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String referenceKey; + + /** + * Passing a literal value. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType getLiteralValue() { + return literalValue; + } + + /** + * Passing a literal value. + * @param literalValue literalValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapField setLiteralValue(EnterpriseCrmEventbusProtoParameterValueType literalValue) { + this.literalValue = literalValue; + return this; + } + + /** + * Referencing one of the WF variables. + * @return value or {@code null} for none + */ + public java.lang.String getReferenceKey() { + return referenceKey; + } + + /** + * Referencing one of the WF variables. + * @param referenceKey referenceKey or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterMapField setReferenceKey(java.lang.String referenceKey) { + this.referenceKey = referenceKey; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoParameterMapField set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoParameterMapField) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoParameterMapField clone() { + return (EnterpriseCrmEventbusProtoParameterMapField) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterValueType.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterValueType.java new file mode 100644 index 00000000000..e92db77d314 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoParameterValueType.java @@ -0,0 +1,274 @@ +/* + * 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.integrations.v2.model; + +/** + * LINT.IfChange To support various types of parameter values. Next available id: 14 + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoParameterValueType extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBooleanParameterArray booleanArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean booleanValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoDoubleParameterArray doubleArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double doubleValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoIntParameterArray intArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long intValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoProtoParameterArray protoArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map protoValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSerializedObjectParameter serializedObjectValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoStringParameterArray stringArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBooleanParameterArray getBooleanArray() { + return booleanArray; + } + + /** + * @param booleanArray booleanArray or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setBooleanArray(EnterpriseCrmEventbusProtoBooleanParameterArray booleanArray) { + this.booleanArray = booleanArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getBooleanValue() { + return booleanValue; + } + + /** + * @param booleanValue booleanValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setBooleanValue(java.lang.Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoDoubleParameterArray getDoubleArray() { + return doubleArray; + } + + /** + * @param doubleArray doubleArray or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setDoubleArray(EnterpriseCrmEventbusProtoDoubleParameterArray doubleArray) { + this.doubleArray = doubleArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Double getDoubleValue() { + return doubleValue; + } + + /** + * @param doubleValue doubleValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setDoubleValue(java.lang.Double doubleValue) { + this.doubleValue = doubleValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoIntParameterArray getIntArray() { + return intArray; + } + + /** + * @param intArray intArray or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setIntArray(EnterpriseCrmEventbusProtoIntParameterArray intArray) { + this.intArray = intArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getIntValue() { + return intValue; + } + + /** + * @param intValue intValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setIntValue(java.lang.Long intValue) { + this.intValue = intValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoParameterArray getProtoArray() { + return protoArray; + } + + /** + * @param protoArray protoArray or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setProtoArray(EnterpriseCrmEventbusProtoProtoParameterArray protoArray) { + this.protoArray = protoArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.Map getProtoValue() { + return protoValue; + } + + /** + * @param protoValue protoValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setProtoValue(java.util.Map protoValue) { + this.protoValue = protoValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSerializedObjectParameter getSerializedObjectValue() { + return serializedObjectValue; + } + + /** + * @param serializedObjectValue serializedObjectValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setSerializedObjectValue(EnterpriseCrmEventbusProtoSerializedObjectParameter serializedObjectValue) { + this.serializedObjectValue = serializedObjectValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringParameterArray getStringArray() { + return stringArray; + } + + /** + * @param stringArray stringArray or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setStringArray(EnterpriseCrmEventbusProtoStringParameterArray stringArray) { + this.stringArray = stringArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * @param stringValue stringValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoParameterValueType set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoParameterValueType) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoParameterValueType clone() { + return (EnterpriseCrmEventbusProtoParameterValueType) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoArrayFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoArrayFunction.java new file mode 100644 index 00000000000..ec8bc259d3b --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoArrayFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoProtoArrayFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoProtoArrayFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoArrayFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoProtoArrayFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoProtoArrayFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoProtoArrayFunction clone() { + return (EnterpriseCrmEventbusProtoProtoArrayFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoFunction.java new file mode 100644 index 00000000000..e5eaa14fa50 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoProtoFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoProtoFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoProtoFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoProtoFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoProtoFunction clone() { + return (EnterpriseCrmEventbusProtoProtoFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoParameterArray.java new file mode 100644 index 00000000000..035133901d5 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoProtoParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoProtoParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoProtoParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List> protoValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List> getProtoValues() { + return protoValues; + } + + /** + * @param protoValues protoValues or {@code null} for none + */ + public EnterpriseCrmEventbusProtoProtoParameterArray setProtoValues(java.util.List> protoValues) { + this.protoValues = protoValues; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoProtoParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoProtoParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoProtoParameterArray clone() { + return (EnterpriseCrmEventbusProtoProtoParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoScatterResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoScatterResponse.java new file mode 100644 index 00000000000..50579c055b9 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoScatterResponse.java @@ -0,0 +1,175 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoScatterResponse. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoScatterResponse extends com.google.api.client.json.GenericJson { + + /** + * The error message of the failure if applicable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMsg; + + /** + * The execution ids of each Subworkflow fired by this scatter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List executionIds; + + /** + * If execution is sync, this is true if the execution passed and false if it failed. If the + * execution is async, this is true if the WF was fired off successfully, and false if it failed + * to execute. The success or failure of the subworkflows executed are not captured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isSuccessful; + + /** + * A list of all the response parameters in the aggregtorMap stored with the remapped key. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List responseParams; + + static { + // hack to force ProGuard to consider EnterpriseCrmEventbusProtoParameterEntry used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(EnterpriseCrmEventbusProtoParameterEntry.class); + } + + /** + * The element that was scattered for this execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoParameterValueType scatterElement; + + /** + * The error message of the failure if applicable. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMsg() { + return errorMsg; + } + + /** + * The error message of the failure if applicable. + * @param errorMsg errorMsg or {@code null} for none + */ + public EnterpriseCrmEventbusProtoScatterResponse setErrorMsg(java.lang.String errorMsg) { + this.errorMsg = errorMsg; + return this; + } + + /** + * The execution ids of each Subworkflow fired by this scatter. + * @return value or {@code null} for none + */ + public java.util.List getExecutionIds() { + return executionIds; + } + + /** + * The execution ids of each Subworkflow fired by this scatter. + * @param executionIds executionIds or {@code null} for none + */ + public EnterpriseCrmEventbusProtoScatterResponse setExecutionIds(java.util.List executionIds) { + this.executionIds = executionIds; + return this; + } + + /** + * If execution is sync, this is true if the execution passed and false if it failed. If the + * execution is async, this is true if the WF was fired off successfully, and false if it failed + * to execute. The success or failure of the subworkflows executed are not captured. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsSuccessful() { + return isSuccessful; + } + + /** + * If execution is sync, this is true if the execution passed and false if it failed. If the + * execution is async, this is true if the WF was fired off successfully, and false if it failed + * to execute. The success or failure of the subworkflows executed are not captured. + * @param isSuccessful isSuccessful or {@code null} for none + */ + public EnterpriseCrmEventbusProtoScatterResponse setIsSuccessful(java.lang.Boolean isSuccessful) { + this.isSuccessful = isSuccessful; + return this; + } + + /** + * A list of all the response parameters in the aggregtorMap stored with the remapped key. + * @return value or {@code null} for none + */ + public java.util.List getResponseParams() { + return responseParams; + } + + /** + * A list of all the response parameters in the aggregtorMap stored with the remapped key. + * @param responseParams responseParams or {@code null} for none + */ + public EnterpriseCrmEventbusProtoScatterResponse setResponseParams(java.util.List responseParams) { + this.responseParams = responseParams; + return this; + } + + /** + * The element that was scattered for this execution. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoParameterValueType getScatterElement() { + return scatterElement; + } + + /** + * The element that was scattered for this execution. + * @param scatterElement scatterElement or {@code null} for none + */ + public EnterpriseCrmEventbusProtoScatterResponse setScatterElement(EnterpriseCrmEventbusProtoParameterValueType scatterElement) { + this.scatterElement = scatterElement; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoScatterResponse set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoScatterResponse) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoScatterResponse clone() { + return (EnterpriseCrmEventbusProtoScatterResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSerializedObjectParameter.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSerializedObjectParameter.java new file mode 100644 index 00000000000..26b0a99eb4d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSerializedObjectParameter.java @@ -0,0 +1,92 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSerializedObjectParameter. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSerializedObjectParameter extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String objectValue; + + /** + * @see #decodeObjectValue() + * @return value or {@code null} for none + */ + public java.lang.String getObjectValue() { + return objectValue; + } + + /** + + * @see #getObjectValue() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeObjectValue() { + return com.google.api.client.util.Base64.decodeBase64(objectValue); + } + + /** + * @see #encodeObjectValue() + * @param objectValue objectValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSerializedObjectParameter setObjectValue(java.lang.String objectValue) { + this.objectValue = objectValue; + return this; + } + + /** + + * @see #setObjectValue() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public EnterpriseCrmEventbusProtoSerializedObjectParameter encodeObjectValue(byte[] objectValue) { + this.objectValue = com.google.api.client.util.Base64.encodeBase64URLSafeString(objectValue); + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSerializedObjectParameter set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSerializedObjectParameter) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSerializedObjectParameter clone() { + return (EnterpriseCrmEventbusProtoSerializedObjectParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringArrayFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringArrayFunction.java new file mode 100644 index 00000000000..db7945daeff --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringArrayFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoStringArrayFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoStringArrayFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringArrayFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoStringArrayFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoStringArrayFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoStringArrayFunction clone() { + return (EnterpriseCrmEventbusProtoStringArrayFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringFunction.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringFunction.java new file mode 100644 index 00000000000..0f9691d803d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringFunction.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoStringFunction. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoStringFunction extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String functionName; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getFunctionName() { + return functionName; + } + + /** + * @param functionName functionName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringFunction setFunctionName(java.lang.String functionName) { + this.functionName = functionName; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoStringFunction set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoStringFunction) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoStringFunction clone() { + return (EnterpriseCrmEventbusProtoStringFunction) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringParameterArray.java new file mode 100644 index 00000000000..4cfeb88adc0 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoStringParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoStringParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoStringParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List stringValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getStringValues() { + return stringValues; + } + + /** + * @param stringValues stringValues or {@code null} for none + */ + public EnterpriseCrmEventbusProtoStringParameterArray setStringValues(java.util.List stringValues) { + this.stringValues = stringValues; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoStringParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoStringParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoStringParameterArray clone() { + return (EnterpriseCrmEventbusProtoStringParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissions.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissions.java new file mode 100644 index 00000000000..0fe88e3c2df --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissions.java @@ -0,0 +1,130 @@ +/* + * 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.integrations.v2.model; + +/** + * LINT.IfChange + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionAuthPermissions extends com.google.api.client.json.GenericJson { + + /** + * Represents a Gaia identity for a person or service account. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity gaiaIdentity; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity googleGroup; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String loasRole; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mdbGroup; + + /** + * Represents a Gaia identity for a person or service account. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity getGaiaIdentity() { + return gaiaIdentity; + } + + /** + * Represents a Gaia identity for a person or service account. + * @param gaiaIdentity gaiaIdentity or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions setGaiaIdentity(EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity gaiaIdentity) { + this.gaiaIdentity = gaiaIdentity; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity getGoogleGroup() { + return googleGroup; + } + + /** + * @param googleGroup googleGroup or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions setGoogleGroup(EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity googleGroup) { + this.googleGroup = googleGroup; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLoasRole() { + return loasRole; + } + + /** + * @param loasRole loasRole or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions setLoasRole(java.lang.String loasRole) { + this.loasRole = loasRole; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getMdbGroup() { + return mdbGroup; + } + + /** + * @param mdbGroup mdbGroup or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions setMdbGroup(java.lang.String mdbGroup) { + this.mdbGroup = mdbGroup; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionAuthPermissions) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionAuthPermissions clone() { + return (EnterpriseCrmEventbusProtoSuspensionAuthPermissions) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity.java new file mode 100644 index 00000000000..0ca041a6b9f --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity.java @@ -0,0 +1,85 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String emailAddress; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long gaiaId; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getEmailAddress() { + return emailAddress; + } + + /** + * @param emailAddress emailAddress or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity setEmailAddress(java.lang.String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getGaiaId() { + return gaiaId; + } + + /** + * @param gaiaId gaiaId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity setGaiaId(java.lang.Long gaiaId) { + this.gaiaId = gaiaId; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity clone() { + return (EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionConfig.java new file mode 100644 index 00000000000..3ad98c3f731 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionConfig.java @@ -0,0 +1,151 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSuspensionConfig. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional information to provide recipients of the suspension in addition to the resolution URL, + * typically containing relevant parameter values from the originating workflow. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String customMessage; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List notifications; + + static { + // hack to force ProGuard to consider EnterpriseCrmEventbusProtoNotification used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(EnterpriseCrmEventbusProtoNotification.class); + } + + /** + * Indicates the next steps when no external actions happen on the suspension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSuspensionExpiration suspensionExpiration; + + /** + * Identities able to resolve this suspension. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List whoMayResolve; + + static { + // hack to force ProGuard to consider EnterpriseCrmEventbusProtoSuspensionAuthPermissions used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(EnterpriseCrmEventbusProtoSuspensionAuthPermissions.class); + } + + /** + * Optional information to provide recipients of the suspension in addition to the resolution URL, + * typically containing relevant parameter values from the originating workflow. + * @return value or {@code null} for none + */ + public java.lang.String getCustomMessage() { + return customMessage; + } + + /** + * Optional information to provide recipients of the suspension in addition to the resolution URL, + * typically containing relevant parameter values from the originating workflow. + * @param customMessage customMessage or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionConfig setCustomMessage(java.lang.String customMessage) { + this.customMessage = customMessage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.List getNotifications() { + return notifications; + } + + /** + * @param notifications notifications or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionConfig setNotifications(java.util.List notifications) { + this.notifications = notifications; + return this; + } + + /** + * Indicates the next steps when no external actions happen on the suspension. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionExpiration getSuspensionExpiration() { + return suspensionExpiration; + } + + /** + * Indicates the next steps when no external actions happen on the suspension. + * @param suspensionExpiration suspensionExpiration or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionConfig setSuspensionExpiration(EnterpriseCrmEventbusProtoSuspensionExpiration suspensionExpiration) { + this.suspensionExpiration = suspensionExpiration; + return this; + } + + /** + * Identities able to resolve this suspension. + * @return value or {@code null} for none + */ + public java.util.List getWhoMayResolve() { + return whoMayResolve; + } + + /** + * Identities able to resolve this suspension. + * @param whoMayResolve whoMayResolve or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionConfig setWhoMayResolve(java.util.List whoMayResolve) { + this.whoMayResolve = whoMayResolve; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionConfig set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionConfig) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionConfig clone() { + return (EnterpriseCrmEventbusProtoSuspensionConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionExpiration.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionExpiration.java new file mode 100644 index 00000000000..9946beb3c3e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionExpiration.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSuspensionExpiration. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionExpiration extends com.google.api.client.json.GenericJson { + + /** + * Milliseconds after which the suspension expires, if no action taken. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer expireAfterMs; + + /** + * Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default + * behavior. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean liftWhenExpired; + + /** + * Milliseconds after which the previous suspension action reminder, if any, is sent using the + * selected notification option, for a suspension which is still PENDING_UNSPECIFIED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer remindAfterMs; + + /** + * Milliseconds after which the suspension expires, if no action taken. + * @return value or {@code null} for none + */ + public java.lang.Integer getExpireAfterMs() { + return expireAfterMs; + } + + /** + * Milliseconds after which the suspension expires, if no action taken. + * @param expireAfterMs expireAfterMs or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionExpiration setExpireAfterMs(java.lang.Integer expireAfterMs) { + this.expireAfterMs = expireAfterMs; + return this; + } + + /** + * Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default + * behavior. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLiftWhenExpired() { + return liftWhenExpired; + } + + /** + * Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default + * behavior. + * @param liftWhenExpired liftWhenExpired or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionExpiration setLiftWhenExpired(java.lang.Boolean liftWhenExpired) { + this.liftWhenExpired = liftWhenExpired; + return this; + } + + /** + * Milliseconds after which the previous suspension action reminder, if any, is sent using the + * selected notification option, for a suspension which is still PENDING_UNSPECIFIED. + * @return value or {@code null} for none + */ + public java.lang.Integer getRemindAfterMs() { + return remindAfterMs; + } + + /** + * Milliseconds after which the previous suspension action reminder, if any, is sent using the + * selected notification option, for a suspension which is still PENDING_UNSPECIFIED. + * @param remindAfterMs remindAfterMs or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionExpiration setRemindAfterMs(java.lang.Integer remindAfterMs) { + this.remindAfterMs = remindAfterMs; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionExpiration set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionExpiration) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionExpiration clone() { + return (EnterpriseCrmEventbusProtoSuspensionExpiration) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfo.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfo.java new file mode 100644 index 00000000000..2edd9f03f7e --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfo.java @@ -0,0 +1,453 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSuspensionResolutionInfo. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionResolutionInfo extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit audit; + + /** + * The event data user sends as request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientId; + + /** + * KMS info, used by cmek/gmek integration + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoCloudKmsConfig cloudKmsConfig; + + /** + * Auto-generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createdTimestamp; + + /** + * Encrypted SuspensionResolutionInfo + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String encryptedSuspensionResolutionInfo; + + /** + * Required. ID of the associated execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventExecutionInfoId; + + /** + * The origin of the suspension for periodic notifications. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoExternalTraffic externalTraffic; + + /** + * Auto-generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastModifiedTimestamp; + + /** + * Which Google product the suspension belongs to. If not set, the suspension belongs to + * Integration Platform by default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String product; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoSuspensionConfig suspensionConfig; + + /** + * Primary key for the SuspensionResolutionInfoTable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String suspensionId; + + /** + * Required. Task number of the associated SuspensionTask. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskNumber; + + /** + * Required. The name of the originating workflow. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workflowName; + + /** + * Wrapped dek + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wrappedDek; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit getAudit() { + return audit; + } + + /** + * @param audit audit or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setAudit(EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit audit) { + this.audit = audit; + return this; + } + + /** + * The event data user sends as request. + * @return value or {@code null} for none + */ + public java.lang.String getClientId() { + return clientId; + } + + /** + * The event data user sends as request. + * @param clientId clientId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setClientId(java.lang.String clientId) { + this.clientId = clientId; + return this; + } + + /** + * KMS info, used by cmek/gmek integration + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoCloudKmsConfig getCloudKmsConfig() { + return cloudKmsConfig; + } + + /** + * KMS info, used by cmek/gmek integration + * @param cloudKmsConfig cloudKmsConfig or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setCloudKmsConfig(EnterpriseCrmEventbusProtoCloudKmsConfig cloudKmsConfig) { + this.cloudKmsConfig = cloudKmsConfig; + return this; + } + + /** + * Auto-generated. + * @return value or {@code null} for none + */ + public String getCreatedTimestamp() { + return createdTimestamp; + } + + /** + * Auto-generated. + * @param createdTimestamp createdTimestamp or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setCreatedTimestamp(String createdTimestamp) { + this.createdTimestamp = createdTimestamp; + return this; + } + + /** + * Encrypted SuspensionResolutionInfo + * @see #decodeEncryptedSuspensionResolutionInfo() + * @return value or {@code null} for none + */ + public java.lang.String getEncryptedSuspensionResolutionInfo() { + return encryptedSuspensionResolutionInfo; + } + + /** + * Encrypted SuspensionResolutionInfo + * @see #getEncryptedSuspensionResolutionInfo() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeEncryptedSuspensionResolutionInfo() { + return com.google.api.client.util.Base64.decodeBase64(encryptedSuspensionResolutionInfo); + } + + /** + * Encrypted SuspensionResolutionInfo + * @see #encodeEncryptedSuspensionResolutionInfo() + * @param encryptedSuspensionResolutionInfo encryptedSuspensionResolutionInfo or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setEncryptedSuspensionResolutionInfo(java.lang.String encryptedSuspensionResolutionInfo) { + this.encryptedSuspensionResolutionInfo = encryptedSuspensionResolutionInfo; + return this; + } + + /** + * Encrypted SuspensionResolutionInfo + * @see #setEncryptedSuspensionResolutionInfo() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo encodeEncryptedSuspensionResolutionInfo(byte[] encryptedSuspensionResolutionInfo) { + this.encryptedSuspensionResolutionInfo = com.google.api.client.util.Base64.encodeBase64URLSafeString(encryptedSuspensionResolutionInfo); + return this; + } + + /** + * Required. ID of the associated execution. + * @return value or {@code null} for none + */ + public java.lang.String getEventExecutionInfoId() { + return eventExecutionInfoId; + } + + /** + * Required. ID of the associated execution. + * @param eventExecutionInfoId eventExecutionInfoId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setEventExecutionInfoId(java.lang.String eventExecutionInfoId) { + this.eventExecutionInfoId = eventExecutionInfoId; + return this; + } + + /** + * The origin of the suspension for periodic notifications. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoExternalTraffic getExternalTraffic() { + return externalTraffic; + } + + /** + * The origin of the suspension for periodic notifications. + * @param externalTraffic externalTraffic or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setExternalTraffic(EnterpriseCrmEventbusProtoExternalTraffic externalTraffic) { + this.externalTraffic = externalTraffic; + return this; + } + + /** + * Auto-generated. + * @return value or {@code null} for none + */ + public String getLastModifiedTimestamp() { + return lastModifiedTimestamp; + } + + /** + * Auto-generated. + * @param lastModifiedTimestamp lastModifiedTimestamp or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setLastModifiedTimestamp(String lastModifiedTimestamp) { + this.lastModifiedTimestamp = lastModifiedTimestamp; + return this; + } + + /** + * Which Google product the suspension belongs to. If not set, the suspension belongs to + * Integration Platform by default. + * @return value or {@code null} for none + */ + public java.lang.String getProduct() { + return product; + } + + /** + * Which Google product the suspension belongs to. If not set, the suspension belongs to + * Integration Platform by default. + * @param product product or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setProduct(java.lang.String product) { + this.product = product; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * @param status status or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setStatus(java.lang.String status) { + this.status = status; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionConfig getSuspensionConfig() { + return suspensionConfig; + } + + /** + * @param suspensionConfig suspensionConfig or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setSuspensionConfig(EnterpriseCrmEventbusProtoSuspensionConfig suspensionConfig) { + this.suspensionConfig = suspensionConfig; + return this; + } + + /** + * Primary key for the SuspensionResolutionInfoTable. + * @return value or {@code null} for none + */ + public java.lang.String getSuspensionId() { + return suspensionId; + } + + /** + * Primary key for the SuspensionResolutionInfoTable. + * @param suspensionId suspensionId or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setSuspensionId(java.lang.String suspensionId) { + this.suspensionId = suspensionId; + return this; + } + + /** + * Required. Task number of the associated SuspensionTask. + * @return value or {@code null} for none + */ + public java.lang.String getTaskNumber() { + return taskNumber; + } + + /** + * Required. Task number of the associated SuspensionTask. + * @param taskNumber taskNumber or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setTaskNumber(java.lang.String taskNumber) { + this.taskNumber = taskNumber; + return this; + } + + /** + * Required. The name of the originating workflow. + * @return value or {@code null} for none + */ + public java.lang.String getWorkflowName() { + return workflowName; + } + + /** + * Required. The name of the originating workflow. + * @param workflowName workflowName or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setWorkflowName(java.lang.String workflowName) { + this.workflowName = workflowName; + return this; + } + + /** + * Wrapped dek + * @see #decodeWrappedDek() + * @return value or {@code null} for none + */ + public java.lang.String getWrappedDek() { + return wrappedDek; + } + + /** + * Wrapped dek + * @see #getWrappedDek() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeWrappedDek() { + return com.google.api.client.util.Base64.decodeBase64(wrappedDek); + } + + /** + * Wrapped dek + * @see #encodeWrappedDek() + * @param wrappedDek wrappedDek or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo setWrappedDek(java.lang.String wrappedDek) { + this.wrappedDek = wrappedDek; + return this; + } + + /** + * Wrapped dek + * @see #setWrappedDek() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo encodeWrappedDek(byte[] wrappedDek) { + this.wrappedDek = com.google.api.client.util.Base64.encodeBase64URLSafeString(wrappedDek); + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionResolutionInfo) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionResolutionInfo clone() { + return (EnterpriseCrmEventbusProtoSuspensionResolutionInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit.java new file mode 100644 index 00000000000..b1aeed623af --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit.java @@ -0,0 +1,106 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resolvedBy; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resolvedByCpi; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestamp; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getResolvedBy() { + return resolvedBy; + } + + /** + * @param resolvedBy resolvedBy or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit setResolvedBy(java.lang.String resolvedBy) { + this.resolvedBy = resolvedBy; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getResolvedByCpi() { + return resolvedByCpi; + } + + /** + * @param resolvedByCpi resolvedByCpi or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit setResolvedByCpi(java.lang.String resolvedByCpi) { + this.resolvedByCpi = resolvedByCpi; + return this; + } + + /** + * @return value or {@code null} for none + */ + public String getTimestamp() { + return timestamp; + } + + /** + * @param timestamp timestamp or {@code null} for none + */ + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit clone() { + return (EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoToken.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoToken.java new file mode 100644 index 00000000000..89ed2bb84d7 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoToken.java @@ -0,0 +1,85 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoToken. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoToken extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * @param name name or {@code null} for none + */ + public EnterpriseCrmEventbusProtoToken setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * @param value value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoToken setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoToken set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoToken) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoToken clone() { + return (EnterpriseCrmEventbusProtoToken) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoTransformExpression.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoTransformExpression.java new file mode 100644 index 00000000000..7dd0e9ad461 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmEventbusProtoTransformExpression.java @@ -0,0 +1,97 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmEventbusProtoTransformExpression. + * + *

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 Application Integration 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 EnterpriseCrmEventbusProtoTransformExpression extends com.google.api.client.json.GenericJson { + + /** + * Initial value upon which to perform transformations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoBaseValue initialValue; + + /** + * Transformations to be applied sequentially. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List transformationFunctions; + + static { + // hack to force ProGuard to consider EnterpriseCrmEventbusProtoFunction used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(EnterpriseCrmEventbusProtoFunction.class); + } + + /** + * Initial value upon which to perform transformations. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoBaseValue getInitialValue() { + return initialValue; + } + + /** + * Initial value upon which to perform transformations. + * @param initialValue initialValue or {@code null} for none + */ + public EnterpriseCrmEventbusProtoTransformExpression setInitialValue(EnterpriseCrmEventbusProtoBaseValue initialValue) { + this.initialValue = initialValue; + return this; + } + + /** + * Transformations to be applied sequentially. + * @return value or {@code null} for none + */ + public java.util.List getTransformationFunctions() { + return transformationFunctions; + } + + /** + * Transformations to be applied sequentially. + * @param transformationFunctions transformationFunctions or {@code null} for none + */ + public EnterpriseCrmEventbusProtoTransformExpression setTransformationFunctions(java.util.List transformationFunctions) { + this.transformationFunctions = transformationFunctions; + return this; + } + + @Override + public EnterpriseCrmEventbusProtoTransformExpression set(String fieldName, Object value) { + return (EnterpriseCrmEventbusProtoTransformExpression) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmEventbusProtoTransformExpression clone() { + return (EnterpriseCrmEventbusProtoTransformExpression) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray.java new file mode 100644 index 00000000000..1dadce2b581 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List booleanValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getBooleanValues() { + return booleanValues; + } + + /** + * @param booleanValues booleanValues or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray setBooleanValues(java.util.List booleanValues) { + this.booleanValues = booleanValues; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray clone() { + return (EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray.java new file mode 100644 index 00000000000..3c96e0f6dc4 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List doubleValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getDoubleValues() { + return doubleValues; + } + + /** + * @param doubleValues doubleValues or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray setDoubleValues(java.util.List doubleValues) { + this.doubleValues = doubleValues; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray clone() { + return (EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoIntParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoIntParameterArray.java new file mode 100644 index 00000000000..e306c693092 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoIntParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoIntParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoIntParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List intValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getIntValues() { + return intValues; + } + + /** + * @param intValues intValues or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoIntParameterArray setIntValues(java.util.List intValues) { + this.intValues = intValues; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoIntParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoIntParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoIntParameterArray clone() { + return (EnterpriseCrmFrontendsEventbusProtoIntParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMap.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMap.java new file mode 100644 index 00000000000..e3948938680 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMap.java @@ -0,0 +1,113 @@ +/* + * 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.integrations.v2.model; + +/** + * A generic multi-map that holds key value pairs. They keys and values can be of any type, unless + * specified. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoParameterMap extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entries; + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String keyType; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String valueType; + + /** + * @return value or {@code null} for none + */ + public java.util.List getEntries() { + return entries; + } + + /** + * @param entries entries or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMap setEntries(java.util.List entries) { + this.entries = entries; + return this; + } + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * @return value or {@code null} for none + */ + public java.lang.String getKeyType() { + return keyType; + } + + /** + * Option to specify key value type for all entries of the map. If provided then field types for + * all entries must conform to this. + * @param keyType keyType or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMap setKeyType(java.lang.String keyType) { + this.keyType = keyType; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getValueType() { + return valueType; + } + + /** + * @param valueType valueType or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMap setValueType(java.lang.String valueType) { + this.valueType = valueType; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMap set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoParameterMap) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMap clone() { + return (EnterpriseCrmFrontendsEventbusProtoParameterMap) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapEntry.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapEntry.java new file mode 100644 index 00000000000..f369a6fb467 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapEntry.java @@ -0,0 +1,85 @@ +/* + * 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.integrations.v2.model; + +/** + * Entry is a pair of key and value. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoParameterMapEntry extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoParameterMapField key; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoParameterMapField value; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapField getKey() { + return key; + } + + /** + * @param key key or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapEntry setKey(EnterpriseCrmFrontendsEventbusProtoParameterMapField key) { + this.key = key; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapField getValue() { + return value; + } + + /** + * @param value value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapEntry setValue(EnterpriseCrmFrontendsEventbusProtoParameterMapField value) { + this.value = value; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMapEntry set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoParameterMapEntry) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMapEntry clone() { + return (EnterpriseCrmFrontendsEventbusProtoParameterMapEntry) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapField.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapField.java new file mode 100644 index 00000000000..a2da13bb594 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterMapField.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.integrations.v2.model; + +/** + * Field represents either the key or value in an entry. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoParameterMapField extends com.google.api.client.json.GenericJson { + + /** + * Passing a literal value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoParameterValueType literalValue; + + /** + * Referencing one of the WF variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String referenceKey; + + /** + * Passing a literal value. + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType getLiteralValue() { + return literalValue; + } + + /** + * Passing a literal value. + * @param literalValue literalValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapField setLiteralValue(EnterpriseCrmFrontendsEventbusProtoParameterValueType literalValue) { + this.literalValue = literalValue; + return this; + } + + /** + * Referencing one of the WF variables. + * @return value or {@code null} for none + */ + public java.lang.String getReferenceKey() { + return referenceKey; + } + + /** + * Referencing one of the WF variables. + * @param referenceKey referenceKey or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterMapField setReferenceKey(java.lang.String referenceKey) { + this.referenceKey = referenceKey; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMapField set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoParameterMapField) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterMapField clone() { + return (EnterpriseCrmFrontendsEventbusProtoParameterMapField) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterValueType.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterValueType.java new file mode 100644 index 00000000000..4ca5c0d4ead --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoParameterValueType.java @@ -0,0 +1,295 @@ +/* + * 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.integrations.v2.model; + +/** + * To support various types of parameter values. Next available id: 14 + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoParameterValueType extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray booleanArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean booleanValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray doubleArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double doubleValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoIntParameterArray intArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long intValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jsonValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoProtoParameterArray protoArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map protoValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter serializedObjectValue; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmFrontendsEventbusProtoStringParameterArray stringArray; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray getBooleanArray() { + return booleanArray; + } + + /** + * @param booleanArray booleanArray or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setBooleanArray(EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray booleanArray) { + this.booleanArray = booleanArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getBooleanValue() { + return booleanValue; + } + + /** + * @param booleanValue booleanValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setBooleanValue(java.lang.Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray getDoubleArray() { + return doubleArray; + } + + /** + * @param doubleArray doubleArray or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setDoubleArray(EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray doubleArray) { + this.doubleArray = doubleArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Double getDoubleValue() { + return doubleValue; + } + + /** + * @param doubleValue doubleValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setDoubleValue(java.lang.Double doubleValue) { + this.doubleValue = doubleValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoIntParameterArray getIntArray() { + return intArray; + } + + /** + * @param intArray intArray or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setIntArray(EnterpriseCrmFrontendsEventbusProtoIntParameterArray intArray) { + this.intArray = intArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getIntValue() { + return intValue; + } + + /** + * @param intValue intValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setIntValue(java.lang.Long intValue) { + this.intValue = intValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getJsonValue() { + return jsonValue; + } + + /** + * @param jsonValue jsonValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setJsonValue(java.lang.String jsonValue) { + this.jsonValue = jsonValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoProtoParameterArray getProtoArray() { + return protoArray; + } + + /** + * @param protoArray protoArray or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setProtoArray(EnterpriseCrmFrontendsEventbusProtoProtoParameterArray protoArray) { + this.protoArray = protoArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.Map getProtoValue() { + return protoValue; + } + + /** + * @param protoValue protoValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setProtoValue(java.util.Map protoValue) { + this.protoValue = protoValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter getSerializedObjectValue() { + return serializedObjectValue; + } + + /** + * @param serializedObjectValue serializedObjectValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setSerializedObjectValue(EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter serializedObjectValue) { + this.serializedObjectValue = serializedObjectValue; + return this; + } + + /** + * @return value or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoStringParameterArray getStringArray() { + return stringArray; + } + + /** + * @param stringArray stringArray or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setStringArray(EnterpriseCrmFrontendsEventbusProtoStringParameterArray stringArray) { + this.stringArray = stringArray; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * @param stringValue stringValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoParameterValueType setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterValueType set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoParameterValueType) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoParameterValueType clone() { + return (EnterpriseCrmFrontendsEventbusProtoParameterValueType) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoProtoParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoProtoParameterArray.java new file mode 100644 index 00000000000..dd79b1d6a21 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoProtoParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoProtoParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoProtoParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List> protoValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List> getProtoValues() { + return protoValues; + } + + /** + * @param protoValues protoValues or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoProtoParameterArray setProtoValues(java.util.List> protoValues) { + this.protoValues = protoValues; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoProtoParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoProtoParameterArray clone() { + return (EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter.java new file mode 100644 index 00000000000..17fab5e28ec --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter.java @@ -0,0 +1,92 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String objectValue; + + /** + * @see #decodeObjectValue() + * @return value or {@code null} for none + */ + public java.lang.String getObjectValue() { + return objectValue; + } + + /** + + * @see #getObjectValue() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeObjectValue() { + return com.google.api.client.util.Base64.decodeBase64(objectValue); + } + + /** + * @see #encodeObjectValue() + * @param objectValue objectValue or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter setObjectValue(java.lang.String objectValue) { + this.objectValue = objectValue; + return this; + } + + /** + + * @see #setObjectValue() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter encodeObjectValue(byte[] objectValue) { + this.objectValue = com.google.api.client.util.Base64.encodeBase64URLSafeString(objectValue); + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter clone() { + return (EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoStringParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoStringParameterArray.java new file mode 100644 index 00000000000..e9526a1cb60 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/EnterpriseCrmFrontendsEventbusProtoStringParameterArray.java @@ -0,0 +1,64 @@ +/* + * 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.integrations.v2.model; + +/** + * Model definition for EnterpriseCrmFrontendsEventbusProtoStringParameterArray. + * + *

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 Application Integration 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 EnterpriseCrmFrontendsEventbusProtoStringParameterArray extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List stringValues; + + /** + * @return value or {@code null} for none + */ + public java.util.List getStringValues() { + return stringValues; + } + + /** + * @param stringValues stringValues or {@code null} for none + */ + public EnterpriseCrmFrontendsEventbusProtoStringParameterArray setStringValues(java.util.List stringValues) { + this.stringValues = stringValues; + return this; + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoStringParameterArray set(String fieldName, Object value) { + return (EnterpriseCrmFrontendsEventbusProtoStringParameterArray) super.set(fieldName, value); + } + + @Override + public EnterpriseCrmFrontendsEventbusProtoStringParameterArray clone() { + return (EnterpriseCrmFrontendsEventbusProtoStringParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleApiHttpBody.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleApiHttpBody.java new file mode 100644 index 00000000000..3a19a980a09 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleApiHttpBody.java @@ -0,0 +1,155 @@ +/* + * 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.integrations.v2.model; + +/** + * Message that represents an arbitrary HTTP body. It should only be used for payload formats that + * can't be represented as JSON, such as raw binary or an HTML page. This message can be used both + * in streaming and non-streaming API methods in the request as well as the response. It can be used + * as a top-level request field, which is convenient if one wants to extract parameters from either + * the URL or HTTP template into the request fields and also want access to the raw HTTP body. + * Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw + * HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { + * rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc + * UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming + * methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); } Use of this type only changes how the request and response bodies are + * handled, all other features will continue to work unchanged. + * + *

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 Application Integration 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 GoogleApiHttpBody extends com.google.api.client.json.GenericJson { + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contentType; + + /** + * The HTTP request/response body as raw binary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List> extensions; + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * @return value or {@code null} for none + */ + public java.lang.String getContentType() { + return contentType; + } + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * @param contentType contentType or {@code null} for none + */ + public GoogleApiHttpBody setContentType(java.lang.String contentType) { + this.contentType = contentType; + return this; + } + + /** + * The HTTP request/response body as raw binary. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * The HTTP request/response body as raw binary. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * The HTTP request/response body as raw binary. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public GoogleApiHttpBody setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * The HTTP request/response body as raw binary. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public GoogleApiHttpBody encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * @return value or {@code null} for none + */ + public java.util.List> getExtensions() { + return extensions; + } + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * @param extensions extensions or {@code null} for none + */ + public GoogleApiHttpBody setExtensions(java.util.List> extensions) { + this.extensions = extensions; + return this; + } + + @Override + public GoogleApiHttpBody set(String fieldName, Object value) { + return (GoogleApiHttpBody) super.set(fieldName, value); + } + + @Override + public GoogleApiHttpBody clone() { + return (GoogleApiHttpBody) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2AttemptStats.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2AttemptStats.java new file mode 100644 index 00000000000..8e81facc1d1 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2AttemptStats.java @@ -0,0 +1,94 @@ +/* + * 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.integrations.v2.model; + +/** + * Status for the execution attempt. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2AttemptStats extends com.google.api.client.json.GenericJson { + + /** + * The end time of the execution for the current attempt. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endTime; + + /** + * The start time of the execution for the current attempt. This could be in the future if it's + * been scheduled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * The end time of the execution for the current attempt. + * @return value or {@code null} for none + */ + public String getEndTime() { + return endTime; + } + + /** + * The end time of the execution for the current attempt. + * @param endTime endTime or {@code null} for none + */ + public GoogleCloudIntegrationsV2AttemptStats setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The start time of the execution for the current attempt. This could be in the future if it's + * been scheduled. + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * The start time of the execution for the current attempt. This could be in the future if it's + * been scheduled. + * @param startTime startTime or {@code null} for none + */ + public GoogleCloudIntegrationsV2AttemptStats setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + @Override + public GoogleCloudIntegrationsV2AttemptStats set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2AttemptStats) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2AttemptStats clone() { + return (GoogleCloudIntegrationsV2AttemptStats) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2CloudLoggingDetails.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2CloudLoggingDetails.java new file mode 100644 index 00000000000..08c23068b9f --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2CloudLoggingDetails.java @@ -0,0 +1,97 @@ +/* + * 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.integrations.v2.model; + +/** + * Cloud Logging details for execution info + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2CloudLoggingDetails extends com.google.api.client.json.GenericJson { + + /** + * Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the + * integration version getting executed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudLoggingSeverity; + + /** + * Optional. Status of whether Cloud Logging is enabled or not for the integration version getting + * executed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableCloudLogging; + + /** + * Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the + * integration version getting executed. + * @return value or {@code null} for none + */ + public java.lang.String getCloudLoggingSeverity() { + return cloudLoggingSeverity; + } + + /** + * Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the + * integration version getting executed. + * @param cloudLoggingSeverity cloudLoggingSeverity or {@code null} for none + */ + public GoogleCloudIntegrationsV2CloudLoggingDetails setCloudLoggingSeverity(java.lang.String cloudLoggingSeverity) { + this.cloudLoggingSeverity = cloudLoggingSeverity; + return this; + } + + /** + * Optional. Status of whether Cloud Logging is enabled or not for the integration version getting + * executed. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableCloudLogging() { + return enableCloudLogging; + } + + /** + * Optional. Status of whether Cloud Logging is enabled or not for the integration version getting + * executed. + * @param enableCloudLogging enableCloudLogging or {@code null} for none + */ + public GoogleCloudIntegrationsV2CloudLoggingDetails setEnableCloudLogging(java.lang.Boolean enableCloudLogging) { + this.enableCloudLogging = enableCloudLogging; + return this; + } + + @Override + public GoogleCloudIntegrationsV2CloudLoggingDetails set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2CloudLoggingDetails) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2CloudLoggingDetails clone() { + return (GoogleCloudIntegrationsV2CloudLoggingDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetBooleanParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetBooleanParameterArray.java new file mode 100644 index 00000000000..cd6c7c3b417 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetBooleanParameterArray.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.integrations.v2.model; + +/** + * This message only contains a field of boolean array. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetBooleanParameterArray extends com.google.api.client.json.GenericJson { + + /** + * Boolean array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List booleanValues; + + /** + * Boolean array. + * @return value or {@code null} for none + */ + public java.util.List getBooleanValues() { + return booleanValues; + } + + /** + * Boolean array. + * @param booleanValues booleanValues or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetBooleanParameterArray setBooleanValues(java.util.List booleanValues) { + this.booleanValues = booleanValues; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetBooleanParameterArray set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetBooleanParameterArray) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetBooleanParameterArray clone() { + return (GoogleCloudIntegrationsV2DuetBooleanParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetCloudSchedulerConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetCloudSchedulerConfig.java new file mode 100644 index 00000000000..46bc52058b6 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetCloudSchedulerConfig.java @@ -0,0 +1,142 @@ +/* + * 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.integrations.v2.model; + +/** + * Cloud Scheduler Trigger 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 Application Integration 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 GoogleCloudIntegrationsV2DuetCloudSchedulerConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. The cron tab of cloud scheduler trigger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cronTab; + + /** + * Optional. When the job was deleted from Pantheon UI, error_message will be populated when + * Get/List integrations + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * Required. The location where associated cloud scheduler job will be created + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceAccountEmail; + + /** + * Required. The cron tab of cloud scheduler trigger. + * @return value or {@code null} for none + */ + public java.lang.String getCronTab() { + return cronTab; + } + + /** + * Required. The cron tab of cloud scheduler trigger. + * @param cronTab cronTab or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig setCronTab(java.lang.String cronTab) { + this.cronTab = cronTab; + return this; + } + + /** + * Optional. When the job was deleted from Pantheon UI, error_message will be populated when + * Get/List integrations + * @return value or {@code null} for none + */ + public java.lang.String getErrorMessage() { + return errorMessage; + } + + /** + * Optional. When the job was deleted from Pantheon UI, error_message will be populated when + * Get/List integrations + * @param errorMessage errorMessage or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig setErrorMessage(java.lang.String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * Required. The location where associated cloud scheduler job will be created + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * Required. The location where associated cloud scheduler job will be created + * @param location location or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig setLocation(java.lang.String location) { + this.location = location; + return this; + } + + /** + * Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time + * @return value or {@code null} for none + */ + public java.lang.String getServiceAccountEmail() { + return serviceAccountEmail; + } + + /** + * Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time + * @param serviceAccountEmail serviceAccountEmail or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig setServiceAccountEmail(java.lang.String serviceAccountEmail) { + this.serviceAccountEmail = serviceAccountEmail; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetCloudSchedulerConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig clone() { + return (GoogleCloudIntegrationsV2DuetCloudSchedulerConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetDoubleParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetDoubleParameterArray.java new file mode 100644 index 00000000000..1b8e98ff553 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetDoubleParameterArray.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.integrations.v2.model; + +/** + * This message only contains a field of double number array. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetDoubleParameterArray extends com.google.api.client.json.GenericJson { + + /** + * Double number array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List doubleValues; + + /** + * Double number array. + * @return value or {@code null} for none + */ + public java.util.List getDoubleValues() { + return doubleValues; + } + + /** + * Double number array. + * @param doubleValues doubleValues or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetDoubleParameterArray setDoubleValues(java.util.List doubleValues) { + this.doubleValues = doubleValues; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetDoubleParameterArray set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetDoubleParameterArray) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetDoubleParameterArray clone() { + return (GoogleCloudIntegrationsV2DuetDoubleParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetErrorCatcherConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetErrorCatcherConfig.java new file mode 100644 index 00000000000..28dbe71c3a1 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetErrorCatcherConfig.java @@ -0,0 +1,172 @@ +/* + * 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.integrations.v2.model; + +/** + * Configuration detail of a error catch task + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetErrorCatcherConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. User-provided description intended to give more business context about the error + * catcher config. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Required. An error catcher id is string representation for the error catcher config. Within a + * workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher + * configs for the workflow + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCatcherId; + + /** + * Required. A number to uniquely identify each error catcher config within the workflow on UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCatcherNumber; + + /** + * Optional. The user created label for a particular error catcher. Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Required. The set of start tasks that are to be executed for the error catch flow + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List startErrorTasks; + + /** + * Optional. User-provided description intended to give more business context about the error + * catcher config. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. User-provided description intended to give more business context about the error + * catcher config. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Required. An error catcher id is string representation for the error catcher config. Within a + * workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher + * configs for the workflow + * @return value or {@code null} for none + */ + public java.lang.String getErrorCatcherId() { + return errorCatcherId; + } + + /** + * Required. An error catcher id is string representation for the error catcher config. Within a + * workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher + * configs for the workflow + * @param errorCatcherId errorCatcherId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig setErrorCatcherId(java.lang.String errorCatcherId) { + this.errorCatcherId = errorCatcherId; + return this; + } + + /** + * Required. A number to uniquely identify each error catcher config within the workflow on UI. + * @return value or {@code null} for none + */ + public java.lang.String getErrorCatcherNumber() { + return errorCatcherNumber; + } + + /** + * Required. A number to uniquely identify each error catcher config within the workflow on UI. + * @param errorCatcherNumber errorCatcherNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig setErrorCatcherNumber(java.lang.String errorCatcherNumber) { + this.errorCatcherNumber = errorCatcherNumber; + return this; + } + + /** + * Optional. The user created label for a particular error catcher. Optional. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Optional. The user created label for a particular error catcher. Optional. + * @param label label or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Required. The set of start tasks that are to be executed for the error catch flow + * @return value or {@code null} for none + */ + public java.util.List getStartErrorTasks() { + return startErrorTasks; + } + + /** + * Required. The set of start tasks that are to be executed for the error catch flow + * @param startErrorTasks startErrorTasks or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig setStartErrorTasks(java.util.List startErrorTasks) { + this.startErrorTasks = startErrorTasks; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetErrorCatcherConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetErrorCatcherConfig clone() { + return (GoogleCloudIntegrationsV2DuetErrorCatcherConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetEventParameter.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetEventParameter.java new file mode 100644 index 00000000000..08f3bc48576 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetEventParameter.java @@ -0,0 +1,95 @@ +/* + * 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.integrations.v2.model; + +/** + * This message is used for processing and persisting (when applicable) key value pair parameters + * for each event in the event bus. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetEventParameter extends com.google.api.client.json.GenericJson { + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetValueType value; + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @param key key or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetEventParameter setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType getValue() { + return value; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message. + * @param value value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetEventParameter setValue(GoogleCloudIntegrationsV2DuetValueType value) { + this.value = value; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetEventParameter set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetEventParameter) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetEventParameter clone() { + return (GoogleCloudIntegrationsV2DuetEventParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest.java new file mode 100644 index 00000000000..9c386a06021 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest.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.integrations.v2.model; + +/** + * Request message for generating an integration branch containing tasks. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The integration branch request payload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationBranchRequest integrationBranchRequest; + + /** + * Required. User prompt. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prompt; + + /** + * Required. The integration branch request payload. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest getIntegrationBranchRequest() { + return integrationBranchRequest; + } + + /** + * Required. The integration branch request payload. + * @param integrationBranchRequest integrationBranchRequest or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest setIntegrationBranchRequest(GoogleCloudIntegrationsV2DuetIntegrationBranchRequest integrationBranchRequest) { + this.integrationBranchRequest = integrationBranchRequest; + return this; + } + + /** + * Required. User prompt. + * @return value or {@code null} for none + */ + public java.lang.String getPrompt() { + return prompt; + } + + /** + * Required. User prompt. + * @param prompt prompt or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest setPrompt(java.lang.String prompt) { + this.prompt = prompt; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse.java new file mode 100644 index 00000000000..d87f528bfa0 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse.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.integrations.v2.model; + +/** + * Response message containing the generated integration branch data. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse extends com.google.api.client.json.GenericJson { + + /** + * The integration branch returned by Duet + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationBranch integrationBranch; + + /** + * The integration branch returned by Duet + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranch getIntegrationBranch() { + return integrationBranch; + } + + /** + * The integration branch returned by Duet + * @param integrationBranch integrationBranch or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse setIntegrationBranch(GoogleCloudIntegrationsV2DuetIntegrationBranch integrationBranch) { + this.integrationBranch = integrationBranch; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationBranchResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest.java new file mode 100644 index 00000000000..eb74fa2fe28 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest.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.integrations.v2.model; + +/** + * Request message for generating documentation for an integration version. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The integration document request payload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest integrationDocumentRequest; + + /** + * Required. The integration document request payload. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest getIntegrationDocumentRequest() { + return integrationDocumentRequest; + } + + /** + * Required. The integration document request payload. + * @param integrationDocumentRequest integrationDocumentRequest or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest setIntegrationDocumentRequest(GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest integrationDocumentRequest) { + this.integrationDocumentRequest = integrationDocumentRequest; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse.java new file mode 100644 index 00000000000..6f4ce88fa3d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse.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.integrations.v2.model; + +/** + * Response message containing generated integration documentation text. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse extends com.google.api.client.json.GenericJson { + + /** + * The description of the integration returned by Duet AI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String document; + + /** + * The description of the integration returned by Duet AI. + * @return value or {@code null} for none + */ + public java.lang.String getDocument() { + return document; + } + + /** + * The description of the integration returned by Duet AI. + * @param document document or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse setDocument(java.lang.String document) { + this.document = document; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationDocumentResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest.java new file mode 100644 index 00000000000..21acdd9f2ca --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest.java @@ -0,0 +1,94 @@ +/* + * 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.integrations.v2.model; + +/** + * Request for generating an integration. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Indicates if copilot is enabled. Copilot features may alter the generated integration + * structure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean copilotEnabled; + + /** + * Required. The natural language prompt based on which the integration will be generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prompt; + + /** + * Optional. Indicates if copilot is enabled. Copilot features may alter the generated integration + * structure. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCopilotEnabled() { + return copilotEnabled; + } + + /** + * Optional. Indicates if copilot is enabled. Copilot features may alter the generated integration + * structure. + * @param copilotEnabled copilotEnabled or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest setCopilotEnabled(java.lang.Boolean copilotEnabled) { + this.copilotEnabled = copilotEnabled; + return this; + } + + /** + * Required. The natural language prompt based on which the integration will be generated. + * @return value or {@code null} for none + */ + public java.lang.String getPrompt() { + return prompt; + } + + /** + * Required. The natural language prompt based on which the integration will be generated. + * @param prompt prompt or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest setPrompt(java.lang.String prompt) { + this.prompt = prompt; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse.java new file mode 100644 index 00000000000..cdf106843b7 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse.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.integrations.v2.model; + +/** + * Response for generating an integration. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of integration skeletons returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List skeletonIntegrations; + + /** + * The list of integration skeletons returned. + * @return value or {@code null} for none + */ + public java.util.List getSkeletonIntegrations() { + return skeletonIntegrations; + } + + /** + * The list of integration skeletons returned. + * @param skeletonIntegrations skeletonIntegrations or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse setSkeletonIntegrations(java.util.List skeletonIntegrations) { + this.skeletonIntegrations = skeletonIntegrations; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse clone() { + return (GoogleCloudIntegrationsV2DuetGenerateIntegrationResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest.java new file mode 100644 index 00000000000..d0a31c08a04 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest.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.integrations.v2.model; + +/** + * Request message for generating data mapping Javascript. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The javascript request payload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetJavascriptRequest javascriptRequest; + + /** + * Optional. User prompt. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prompt; + + /** + * Required. The javascript request payload. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRequest getJavascriptRequest() { + return javascriptRequest; + } + + /** + * Required. The javascript request payload. + * @param javascriptRequest javascriptRequest or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest setJavascriptRequest(GoogleCloudIntegrationsV2DuetJavascriptRequest javascriptRequest) { + this.javascriptRequest = javascriptRequest; + return this; + } + + /** + * Optional. User prompt. + * @return value or {@code null} for none + */ + public java.lang.String getPrompt() { + return prompt; + } + + /** + * Optional. User prompt. + * @param prompt prompt or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest setPrompt(java.lang.String prompt) { + this.prompt = prompt; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest clone() { + return (GoogleCloudIntegrationsV2DuetGenerateJavascriptRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse.java new file mode 100644 index 00000000000..9c025ce4449 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse.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.integrations.v2.model; + +/** + * Response message containing generated Javascript code recommendations. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse extends com.google.api.client.json.GenericJson { + + /** + * List of the Javascript recommendations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List recommendations; + + /** + * List of the Javascript recommendations. + * @return value or {@code null} for none + */ + public java.util.List getRecommendations() { + return recommendations; + } + + /** + * List of the Javascript recommendations. + * @param recommendations recommendations or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse setRecommendations(java.util.List recommendations) { + this.recommendations = recommendations; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse clone() { + return (GoogleCloudIntegrationsV2DuetGenerateJavascriptResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntParameterArray.java new file mode 100644 index 00000000000..f17e23e2320 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntParameterArray.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.integrations.v2.model; + +/** + * This message only contains a field of integer array. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntParameterArray extends com.google.api.client.json.GenericJson { + + /** + * Integer array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.List intValues; + + /** + * Integer array. + * @return value or {@code null} for none + */ + public java.util.List getIntValues() { + return intValues; + } + + /** + * Integer array. + * @param intValues intValues or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntParameterArray setIntValues(java.util.List intValues) { + this.intValues = intValues; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntParameterArray set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntParameterArray) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntParameterArray clone() { + return (GoogleCloudIntegrationsV2DuetIntParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranch.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranch.java new file mode 100644 index 00000000000..977b959bb14 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranch.java @@ -0,0 +1,140 @@ +/* + * 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.integrations.v2.model; + +/** + * An integration branch skeleton containing basic fields which can be used to create an integration + * branch on the UI. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationBranch extends com.google.api.client.json.GenericJson { + + /** + * The condition for the branch. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String branchCondition; + + /** + * Explanation of why this integration branch was generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The newly generated workflow parameters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List integrationParameters; + + /** + * The newly generated tasks which can be branched into the current integration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskConfigs; + + /** + * The condition for the branch. + * @return value or {@code null} for none + */ + public java.lang.String getBranchCondition() { + return branchCondition; + } + + /** + * The condition for the branch. + * @param branchCondition branchCondition or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranch setBranchCondition(java.lang.String branchCondition) { + this.branchCondition = branchCondition; + return this; + } + + /** + * Explanation of why this integration branch was generated. + * @return value or {@code null} for none + */ + public java.lang.String getExplanation() { + return explanation; + } + + /** + * Explanation of why this integration branch was generated. + * @param explanation explanation or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranch setExplanation(java.lang.String explanation) { + this.explanation = explanation; + return this; + } + + /** + * The newly generated workflow parameters. + * @return value or {@code null} for none + */ + public java.util.List getIntegrationParameters() { + return integrationParameters; + } + + /** + * The newly generated workflow parameters. + * @param integrationParameters integrationParameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranch setIntegrationParameters(java.util.List integrationParameters) { + this.integrationParameters = integrationParameters; + return this; + } + + /** + * The newly generated tasks which can be branched into the current integration. + * @return value or {@code null} for none + */ + public java.util.List getTaskConfigs() { + return taskConfigs; + } + + /** + * The newly generated tasks which can be branched into the current integration. + * @param taskConfigs taskConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranch setTaskConfigs(java.util.List taskConfigs) { + this.taskConfigs = taskConfigs; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationBranch set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationBranch) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationBranch clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationBranch) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranchRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranchRequest.java new file mode 100644 index 00000000000..b1eb20c092d --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationBranchRequest.java @@ -0,0 +1,115 @@ +/* + * 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.integrations.v2.model; + +/** + * The request for generating an integration branch. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationBranchRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. The condition for the particular branch which the user selected. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String branchCondition; + + /** + * Optional. A list of all the workflow parameters of the current integration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List integrationParameters; + + /** + * Required. A list of all the tasks of the current integration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskConfigs; + + /** + * Optional. The condition for the particular branch which the user selected. + * @return value or {@code null} for none + */ + public java.lang.String getBranchCondition() { + return branchCondition; + } + + /** + * Optional. The condition for the particular branch which the user selected. + * @param branchCondition branchCondition or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest setBranchCondition(java.lang.String branchCondition) { + this.branchCondition = branchCondition; + return this; + } + + /** + * Optional. A list of all the workflow parameters of the current integration. + * @return value or {@code null} for none + */ + public java.util.List getIntegrationParameters() { + return integrationParameters; + } + + /** + * Optional. A list of all the workflow parameters of the current integration. + * @param integrationParameters integrationParameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest setIntegrationParameters(java.util.List integrationParameters) { + this.integrationParameters = integrationParameters; + return this; + } + + /** + * Required. A list of all the tasks of the current integration. + * @return value or {@code null} for none + */ + public java.util.List getTaskConfigs() { + return taskConfigs; + } + + /** + * Required. A list of all the tasks of the current integration. + * @param taskConfigs taskConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest setTaskConfigs(java.util.List taskConfigs) { + this.taskConfigs = taskConfigs; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationBranchRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationBranchRequest clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationBranchRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationConfigParameter.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationConfigParameter.java new file mode 100644 index 00000000000..03bc802048f --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationConfigParameter.java @@ -0,0 +1,100 @@ +/* + * 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.integrations.v2.model; + +/** + * Integration Config Parameter is defined in the integration config and are used to provide + * external configuration for integration. It provide information about data types of the expected + * parameters and provide any default values or value. They can also be used to add custom + * attributes. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationConfigParameter extends com.google.api.client.json.GenericJson { + + /** + * Optional. Integration Parameter to provide the default value, data type and attributes required + * for the Integration config variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationParameter parameter; + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message + * or a serialized object. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetValueType value; + + /** + * Optional. Integration Parameter to provide the default value, data type and attributes required + * for the Integration config variables. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter getParameter() { + return parameter; + } + + /** + * Optional. Integration Parameter to provide the default value, data type and attributes required + * for the Integration config variables. + * @param parameter parameter or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationConfigParameter setParameter(GoogleCloudIntegrationsV2DuetIntegrationParameter parameter) { + this.parameter = parameter; + return this; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message + * or a serialized object. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType getValue() { + return value; + } + + /** + * Values for the defined keys. Each value can either be string, int, double or any proto message + * or a serialized object. + * @param value value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationConfigParameter setValue(GoogleCloudIntegrationsV2DuetValueType value) { + this.value = value; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationConfigParameter set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationConfigParameter) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationConfigParameter clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationConfigParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest.java new file mode 100644 index 00000000000..d82432123e4 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest.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.integrations.v2.model; + +/** + * The request for generating description of an integration. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The current integrtion on the canvas. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion; + + /** + * Required. The current integrtion on the canvas. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion getIntegrationVersion() { + return integrationVersion; + } + + /** + * Required. The current integrtion on the canvas. + * @param integrationVersion integrationVersion or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest setIntegrationVersion(GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion) { + this.integrationVersion = integrationVersion; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationDocumentRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationParameter.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationParameter.java new file mode 100644 index 00000000000..89829f26dfa --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationParameter.java @@ -0,0 +1,247 @@ +/* + * 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.integrations.v2.model; + +/** + * Integration Parameter is defined in the integration config and are used to provide information + * about data types of the expected parameters and provide any default values if needed. They can + * also be used to add custom attributes. These are static in nature and should not be used for + * dynamic event definition. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationParameter extends com.google.api.client.json.GenericJson { + + /** + * Type of the parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dataType; + + /** + * Default values for the defined keys. Each value can either be string, int, double or any proto + * message or a serialized object. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetValueType defaultValue; + + /** + * Optional. Description of the parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is + * "foo.bar.myName", then the name would be "myName". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Specifies the input/output type for the parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String inputOutputType; + + /** + * Whether this parameter is a transient parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isTransient; + + /** + * This schema will be used to validate runtime JSON-typed values of this parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jsonSchema; + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Type of the parameter. + * @return value or {@code null} for none + */ + public java.lang.String getDataType() { + return dataType; + } + + /** + * Type of the parameter. + * @param dataType dataType or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setDataType(java.lang.String dataType) { + this.dataType = dataType; + return this; + } + + /** + * Default values for the defined keys. Each value can either be string, int, double or any proto + * message or a serialized object. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType getDefaultValue() { + return defaultValue; + } + + /** + * Default values for the defined keys. Each value can either be string, int, double or any proto + * message or a serialized object. + * @param defaultValue defaultValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setDefaultValue(GoogleCloudIntegrationsV2DuetValueType defaultValue) { + this.defaultValue = defaultValue; + return this; + } + + /** + * Optional. Description of the parameter. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. Description of the parameter. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is + * "foo.bar.myName", then the name would be "myName". + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is + * "foo.bar.myName", then the name would be "myName". + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Specifies the input/output type for the parameter. + * @return value or {@code null} for none + */ + public java.lang.String getInputOutputType() { + return inputOutputType; + } + + /** + * Specifies the input/output type for the parameter. + * @param inputOutputType inputOutputType or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setInputOutputType(java.lang.String inputOutputType) { + this.inputOutputType = inputOutputType; + return this; + } + + /** + * Whether this parameter is a transient parameter. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsTransient() { + return isTransient; + } + + /** + * Whether this parameter is a transient parameter. + * @param isTransient isTransient or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setIsTransient(java.lang.Boolean isTransient) { + this.isTransient = isTransient; + return this; + } + + /** + * This schema will be used to validate runtime JSON-typed values of this parameter. + * @return value or {@code null} for none + */ + public java.lang.String getJsonSchema() { + return jsonSchema; + } + + /** + * This schema will be used to validate runtime JSON-typed values of this parameter. + * @param jsonSchema jsonSchema or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setJsonSchema(java.lang.String jsonSchema) { + this.jsonSchema = jsonSchema; + return this; + } + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Key is used to retrieve the corresponding parameter value. This should be unique for a given + * fired event. These parameters must be predefined in the integration definition. + * @param key key or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationParameter setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationParameter set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationParameter) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationParameter clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationSkeleton.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationSkeleton.java new file mode 100644 index 00000000000..a5d864cceb6 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationSkeleton.java @@ -0,0 +1,140 @@ +/* + * 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.integrations.v2.model; + +/** + * An integration skeleton containing basic fields which can be used to create an integration on the + * UI. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationSkeleton extends com.google.api.client.json.GenericJson { + + /** + * Explanation of why this integration was generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * The integration version containing basic triggers and tasks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion; + + /** + * The name of the integration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Indicate the strategy/methodology used to generate the integration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tag; + + /** + * Explanation of why this integration was generated. + * @return value or {@code null} for none + */ + public java.lang.String getExplanation() { + return explanation; + } + + /** + * Explanation of why this integration was generated. + * @param explanation explanation or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton setExplanation(java.lang.String explanation) { + this.explanation = explanation; + return this; + } + + /** + * The integration version containing basic triggers and tasks. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion getIntegrationVersion() { + return integrationVersion; + } + + /** + * The integration version containing basic triggers and tasks. + * @param integrationVersion integrationVersion or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton setIntegrationVersion(GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion) { + this.integrationVersion = integrationVersion; + return this; + } + + /** + * The name of the integration. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of the integration. + * @param name name or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Indicate the strategy/methodology used to generate the integration. + * @return value or {@code null} for none + */ + public java.lang.String getTag() { + return tag; + } + + /** + * Indicate the strategy/methodology used to generate the integration. + * @param tag tag or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton setTag(java.lang.String tag) { + this.tag = tag; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationSkeleton) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationSkeleton clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationSkeleton) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationVersion.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationVersion.java new file mode 100644 index 00000000000..20ba37cf442 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetIntegrationVersion.java @@ -0,0 +1,337 @@ +/* + * 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.integrations.v2.model; + +/** + * The integration version definition. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetIntegrationVersion extends com.google.api.client.json.GenericJson { + + /** + * Optional. The integration description. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. Error Catch Task configuration for the integration. It's optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errorCatcherConfigs; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetErrorCatcherConfig used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetErrorCatcherConfig.class); + } + + /** + * Optional. Config Parameters that are expected to be passed to the integration when an + * integration is published. This consists of all the parameters that are expected to provide + * configuration in the integration execution. This gives the user the ability to provide default + * values, value, add information like connection url, project based configuration value and also + * provide data types of each parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List integrationConfigParameters; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetIntegrationConfigParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetIntegrationConfigParameter.class); + } + + /** + * Optional. Parameters that are expected to be passed to the integration when an event is + * triggered. This consists of all the parameters that are expected in the integration execution. + * This gives the user the ability to provide default values, add information like PII and also + * provide data types of each parameter. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List integrationParameters; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetIntegrationParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetIntegrationParameter.class); + } + + /** + * Optional. Auto-generated primary key. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. An increasing sequence that is set when a new snapshot is created. The last created + * snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last + * created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to + * identify the head. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long snapshotNumber; + + /** + * Output only. User should not set it as an input. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Optional. Task configuration for the integration. It's optional, but the integration doesn't do + * anything without task_configs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskConfigs; + + /** + * Optional. Trigger configurations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List triggerConfigs; + + /** + * Optional. A user-defined label that annotates an integration version. Typically, this is only + * set when the integration version is created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userLabel; + + /** + * Optional. The integration description. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. The integration description. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. Error Catch Task configuration for the integration. It's optional. + * @return value or {@code null} for none + */ + public java.util.List getErrorCatcherConfigs() { + return errorCatcherConfigs; + } + + /** + * Optional. Error Catch Task configuration for the integration. It's optional. + * @param errorCatcherConfigs errorCatcherConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setErrorCatcherConfigs(java.util.List errorCatcherConfigs) { + this.errorCatcherConfigs = errorCatcherConfigs; + return this; + } + + /** + * Optional. Config Parameters that are expected to be passed to the integration when an + * integration is published. This consists of all the parameters that are expected to provide + * configuration in the integration execution. This gives the user the ability to provide default + * values, value, add information like connection url, project based configuration value and also + * provide data types of each parameter. + * @return value or {@code null} for none + */ + public java.util.List getIntegrationConfigParameters() { + return integrationConfigParameters; + } + + /** + * Optional. Config Parameters that are expected to be passed to the integration when an + * integration is published. This consists of all the parameters that are expected to provide + * configuration in the integration execution. This gives the user the ability to provide default + * values, value, add information like connection url, project based configuration value and also + * provide data types of each parameter. + * @param integrationConfigParameters integrationConfigParameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setIntegrationConfigParameters(java.util.List integrationConfigParameters) { + this.integrationConfigParameters = integrationConfigParameters; + return this; + } + + /** + * Optional. Parameters that are expected to be passed to the integration when an event is + * triggered. This consists of all the parameters that are expected in the integration execution. + * This gives the user the ability to provide default values, add information like PII and also + * provide data types of each parameter. + * @return value or {@code null} for none + */ + public java.util.List getIntegrationParameters() { + return integrationParameters; + } + + /** + * Optional. Parameters that are expected to be passed to the integration when an event is + * triggered. This consists of all the parameters that are expected in the integration execution. + * This gives the user the ability to provide default values, add information like PII and also + * provide data types of each parameter. + * @param integrationParameters integrationParameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setIntegrationParameters(java.util.List integrationParameters) { + this.integrationParameters = integrationParameters; + return this; + } + + /** + * Optional. Auto-generated primary key. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Optional. Auto-generated primary key. + * @param name name or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. An increasing sequence that is set when a new snapshot is created. The last created + * snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last + * created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to + * identify the head. + * @return value or {@code null} for none + */ + public java.lang.Long getSnapshotNumber() { + return snapshotNumber; + } + + /** + * Optional. An increasing sequence that is set when a new snapshot is created. The last created + * snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last + * created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to + * identify the head. + * @param snapshotNumber snapshotNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setSnapshotNumber(java.lang.Long snapshotNumber) { + this.snapshotNumber = snapshotNumber; + return this; + } + + /** + * Output only. User should not set it as an input. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. User should not set it as an input. + * @param state state or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Optional. Task configuration for the integration. It's optional, but the integration doesn't do + * anything without task_configs. + * @return value or {@code null} for none + */ + public java.util.List getTaskConfigs() { + return taskConfigs; + } + + /** + * Optional. Task configuration for the integration. It's optional, but the integration doesn't do + * anything without task_configs. + * @param taskConfigs taskConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setTaskConfigs(java.util.List taskConfigs) { + this.taskConfigs = taskConfigs; + return this; + } + + /** + * Optional. Trigger configurations. + * @return value or {@code null} for none + */ + public java.util.List getTriggerConfigs() { + return triggerConfigs; + } + + /** + * Optional. Trigger configurations. + * @param triggerConfigs triggerConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setTriggerConfigs(java.util.List triggerConfigs) { + this.triggerConfigs = triggerConfigs; + return this; + } + + /** + * Optional. A user-defined label that annotates an integration version. Typically, this is only + * set when the integration version is created. + * @return value or {@code null} for none + */ + public java.lang.String getUserLabel() { + return userLabel; + } + + /** + * Optional. A user-defined label that annotates an integration version. Typically, this is only + * set when the integration version is created. + * @param userLabel userLabel or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion setUserLabel(java.lang.String userLabel) { + this.userLabel = userLabel; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationVersion set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetIntegrationVersion) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetIntegrationVersion clone() { + return (GoogleCloudIntegrationsV2DuetIntegrationVersion) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRecommendation.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRecommendation.java new file mode 100644 index 00000000000..aa0aabbd2cb --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRecommendation.java @@ -0,0 +1,122 @@ +/* + * 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.integrations.v2.model; + +/** + * Individual Javascript recommendation containing the task config with the new code, integration + * parameters and the explanation. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetJavascriptRecommendation extends com.google.api.client.json.GenericJson { + + /** + * The explanation of the Javascript code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String explanation; + + /** + * Optional. The list of the new integration parameters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List integrationParameters; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetIntegrationParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetIntegrationParameter.class); + } + + /** + * Optional. The task config of the Javascript task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetTaskConfig taskConfig; + + /** + * The explanation of the Javascript code. + * @return value or {@code null} for none + */ + public java.lang.String getExplanation() { + return explanation; + } + + /** + * The explanation of the Javascript code. + * @param explanation explanation or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRecommendation setExplanation(java.lang.String explanation) { + this.explanation = explanation; + return this; + } + + /** + * Optional. The list of the new integration parameters. + * @return value or {@code null} for none + */ + public java.util.List getIntegrationParameters() { + return integrationParameters; + } + + /** + * Optional. The list of the new integration parameters. + * @param integrationParameters integrationParameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRecommendation setIntegrationParameters(java.util.List integrationParameters) { + this.integrationParameters = integrationParameters; + return this; + } + + /** + * Optional. The task config of the Javascript task. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig getTaskConfig() { + return taskConfig; + } + + /** + * Optional. The task config of the Javascript task. + * @param taskConfig taskConfig or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRecommendation setTaskConfig(GoogleCloudIntegrationsV2DuetTaskConfig taskConfig) { + this.taskConfig = taskConfig; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetJavascriptRecommendation set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetJavascriptRecommendation) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetJavascriptRecommendation clone() { + return (GoogleCloudIntegrationsV2DuetJavascriptRecommendation) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRequest.java new file mode 100644 index 00000000000..36b5d104329 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetJavascriptRequest.java @@ -0,0 +1,145 @@ +/* + * 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.integrations.v2.model; + +/** + * Request message for Javascript Task using Gemini. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetJavascriptRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. If this request is for copilot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean copilotEnabled; + + /** + * Required. The integration version which contains all the integration parameters, all triggers + * and tasks including the Javascript task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion; + + /** + * Required. The task id of the Javascript task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskId; + + /** + * Optional. Whether to use the current javascript task config (JS code) to generate the + * Javascript code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useCurrentScript; + + /** + * Optional. If this request is for copilot. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCopilotEnabled() { + return copilotEnabled; + } + + /** + * Optional. If this request is for copilot. + * @param copilotEnabled copilotEnabled or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRequest setCopilotEnabled(java.lang.Boolean copilotEnabled) { + this.copilotEnabled = copilotEnabled; + return this; + } + + /** + * Required. The integration version which contains all the integration parameters, all triggers + * and tasks including the Javascript task. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntegrationVersion getIntegrationVersion() { + return integrationVersion; + } + + /** + * Required. The integration version which contains all the integration parameters, all triggers + * and tasks including the Javascript task. + * @param integrationVersion integrationVersion or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRequest setIntegrationVersion(GoogleCloudIntegrationsV2DuetIntegrationVersion integrationVersion) { + this.integrationVersion = integrationVersion; + return this; + } + + /** + * Required. The task id of the Javascript task. + * @return value or {@code null} for none + */ + public java.lang.String getTaskId() { + return taskId; + } + + /** + * Required. The task id of the Javascript task. + * @param taskId taskId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRequest setTaskId(java.lang.String taskId) { + this.taskId = taskId; + return this; + } + + /** + * Optional. Whether to use the current javascript task config (JS code) to generate the + * Javascript code. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseCurrentScript() { + return useCurrentScript; + } + + /** + * Optional. Whether to use the current javascript task config (JS code) to generate the + * Javascript code. + * @param useCurrentScript useCurrentScript or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetJavascriptRequest setUseCurrentScript(java.lang.Boolean useCurrentScript) { + this.useCurrentScript = useCurrentScript; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetJavascriptRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetJavascriptRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetJavascriptRequest clone() { + return (GoogleCloudIntegrationsV2DuetJavascriptRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetNextTask.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetNextTask.java new file mode 100644 index 00000000000..67ea7d2e64f --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetNextTask.java @@ -0,0 +1,163 @@ +/* + * 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.integrations.v2.model; + +/** + * The task that is next in line to be executed, if the condition specified evaluated to true. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetNextTask extends com.google.api.client.json.GenericJson { + + /** + * Standard filter expression for this task to become an eligible next task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String condition; + + /** + * User-provided description intended to give additional business context about the task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * User-provided label that is attached to this edge in the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * ID of the next task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskConfigId; + + /** + * Task number of the next task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskId; + + /** + * Standard filter expression for this task to become an eligible next task. + * @return value or {@code null} for none + */ + public java.lang.String getCondition() { + return condition; + } + + /** + * Standard filter expression for this task to become an eligible next task. + * @param condition condition or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetNextTask setCondition(java.lang.String condition) { + this.condition = condition; + return this; + } + + /** + * User-provided description intended to give additional business context about the task. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * User-provided description intended to give additional business context about the task. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetNextTask setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * User-provided label that is attached to this edge in the UI. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * User-provided label that is attached to this edge in the UI. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetNextTask setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * ID of the next task. + * @return value or {@code null} for none + */ + public java.lang.String getTaskConfigId() { + return taskConfigId; + } + + /** + * ID of the next task. + * @param taskConfigId taskConfigId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetNextTask setTaskConfigId(java.lang.String taskConfigId) { + this.taskConfigId = taskConfigId; + return this; + } + + /** + * Task number of the next task. + * @return value or {@code null} for none + */ + public java.lang.String getTaskId() { + return taskId; + } + + /** + * Task number of the next task. + * @param taskId taskId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetNextTask setTaskId(java.lang.String taskId) { + this.taskId = taskId; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetNextTask set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetNextTask) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetNextTask clone() { + return (GoogleCloudIntegrationsV2DuetNextTask) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksRequest.java new file mode 100644 index 00000000000..535d999088a --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksRequest.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.integrations.v2.model; + +/** + * Request message for recommending tasks to replace a selected task. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetRecommendTasksRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. User prompt. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prompt; + + /** + * Required. The current task to replace and options. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetReplaceTaskRequest replaceTaskRequest; + + /** + * Optional. User prompt. + * @return value or {@code null} for none + */ + public java.lang.String getPrompt() { + return prompt; + } + + /** + * Optional. User prompt. + * @param prompt prompt or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetRecommendTasksRequest setPrompt(java.lang.String prompt) { + this.prompt = prompt; + return this; + } + + /** + * Required. The current task to replace and options. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest getReplaceTaskRequest() { + return replaceTaskRequest; + } + + /** + * Required. The current task to replace and options. + * @param replaceTaskRequest replaceTaskRequest or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetRecommendTasksRequest setReplaceTaskRequest(GoogleCloudIntegrationsV2DuetReplaceTaskRequest replaceTaskRequest) { + this.replaceTaskRequest = replaceTaskRequest; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetRecommendTasksRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetRecommendTasksRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetRecommendTasksRequest clone() { + return (GoogleCloudIntegrationsV2DuetRecommendTasksRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksResponse.java new file mode 100644 index 00000000000..a0f1505866a --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetRecommendTasksResponse.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.integrations.v2.model; + +/** + * Response message containing recommended tasks for replacement. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetRecommendTasksResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of recommended tasks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskConfigs; + + /** + * The list of task response status based on the task_types in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskResponseStatuses; + + /** + * The list of recommended tasks. + * @return value or {@code null} for none + */ + public java.util.List getTaskConfigs() { + return taskConfigs; + } + + /** + * The list of recommended tasks. + * @param taskConfigs taskConfigs or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetRecommendTasksResponse setTaskConfigs(java.util.List taskConfigs) { + this.taskConfigs = taskConfigs; + return this; + } + + /** + * The list of task response status based on the task_types in the request. + * @return value or {@code null} for none + */ + public java.util.List getTaskResponseStatuses() { + return taskResponseStatuses; + } + + /** + * The list of task response status based on the task_types in the request. + * @param taskResponseStatuses taskResponseStatuses or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetRecommendTasksResponse setTaskResponseStatuses(java.util.List taskResponseStatuses) { + this.taskResponseStatuses = taskResponseStatuses; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetRecommendTasksResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetRecommendTasksResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetRecommendTasksResponse clone() { + return (GoogleCloudIntegrationsV2DuetRecommendTasksResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetReplaceTaskRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetReplaceTaskRequest.java new file mode 100644 index 00000000000..1b22fab49be --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetReplaceTaskRequest.java @@ -0,0 +1,115 @@ +/* + * 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.integrations.v2.model; + +/** + * Message for Replace Task Scenario. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetReplaceTaskRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. If this request is for copilot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean copilotEnabled; + + /** + * Required. The current task selected on the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetTaskConfig taskConfig; + + /** + * The list of task types. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskTypes; + + /** + * Optional. If this request is for copilot. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCopilotEnabled() { + return copilotEnabled; + } + + /** + * Optional. If this request is for copilot. + * @param copilotEnabled copilotEnabled or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest setCopilotEnabled(java.lang.Boolean copilotEnabled) { + this.copilotEnabled = copilotEnabled; + return this; + } + + /** + * Required. The current task selected on the UI. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig getTaskConfig() { + return taskConfig; + } + + /** + * Required. The current task selected on the UI. + * @param taskConfig taskConfig or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest setTaskConfig(GoogleCloudIntegrationsV2DuetTaskConfig taskConfig) { + this.taskConfig = taskConfig; + return this; + } + + /** + * The list of task types. + * @return value or {@code null} for none + */ + public java.util.List getTaskTypes() { + return taskTypes; + } + + /** + * The list of task types. + * @param taskTypes taskTypes or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest setTaskTypes(java.util.List taskTypes) { + this.taskTypes = taskTypes; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetReplaceTaskRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetReplaceTaskRequest clone() { + return (GoogleCloudIntegrationsV2DuetReplaceTaskRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetStringParameterArray.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetStringParameterArray.java new file mode 100644 index 00000000000..16e9216d7ae --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetStringParameterArray.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.integrations.v2.model; + +/** + * This message only contains a field of string array. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetStringParameterArray extends com.google.api.client.json.GenericJson { + + /** + * String array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List stringValues; + + /** + * String array. + * @return value or {@code null} for none + */ + public java.util.List getStringValues() { + return stringValues; + } + + /** + * String array. + * @param stringValues stringValues or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetStringParameterArray setStringValues(java.util.List stringValues) { + this.stringValues = stringValues; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetStringParameterArray set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetStringParameterArray) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetStringParameterArray clone() { + return (GoogleCloudIntegrationsV2DuetStringParameterArray) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskConfig.java new file mode 100644 index 00000000000..fcf1bb26f41 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskConfig.java @@ -0,0 +1,266 @@ +/* + * 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.integrations.v2.model; + +/** + * The task configuration details. This is not the implementation of Task. There might be multiple + * TaskConfigs for the same Task. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetTaskConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. User-provided label that is attached to this TaskConfig in the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCatcherId; + + /** + * Optional. External task type of the task + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String externalTaskType; + + /** + * Optional. The set of tasks that are next in line to be executed as per the execution graph + * defined for the parent event, specified by `event_config_id`. Each of these next tasks are + * executed only if the condition associated with them evaluates to true. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List nextTasks; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetNextTask used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetNextTask.class); + } + + /** + * Optional. The customized parameters the user can pass to this task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map parameters; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetEventParameter used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetEventParameter.class); + } + + /** + * Optional. The name for the task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String task; + + /** + * Required. The identifier of this task within its parent event config, specified by the client. + * This should be unique among all the tasks belong to the same event config. We use this field as + * the identifier to find next tasks (via field `next_tasks.task_id`). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskId; + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. User-provided label that is attached to this TaskConfig in the UI. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. User-provided label that is attached to this TaskConfig in the UI. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * @return value or {@code null} for none + */ + public java.lang.String getErrorCatcherId() { + return errorCatcherId; + } + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * @param errorCatcherId errorCatcherId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setErrorCatcherId(java.lang.String errorCatcherId) { + this.errorCatcherId = errorCatcherId; + return this; + } + + /** + * Optional. External task type of the task + * @return value or {@code null} for none + */ + public java.lang.String getExternalTaskType() { + return externalTaskType; + } + + /** + * Optional. External task type of the task + * @param externalTaskType externalTaskType or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setExternalTaskType(java.lang.String externalTaskType) { + this.externalTaskType = externalTaskType; + return this; + } + + /** + * Optional. The set of tasks that are next in line to be executed as per the execution graph + * defined for the parent event, specified by `event_config_id`. Each of these next tasks are + * executed only if the condition associated with them evaluates to true. + * @return value or {@code null} for none + */ + public java.util.List getNextTasks() { + return nextTasks; + } + + /** + * Optional. The set of tasks that are next in line to be executed as per the execution graph + * defined for the parent event, specified by `event_config_id`. Each of these next tasks are + * executed only if the condition associated with them evaluates to true. + * @param nextTasks nextTasks or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setNextTasks(java.util.List nextTasks) { + this.nextTasks = nextTasks; + return this; + } + + /** + * Optional. The customized parameters the user can pass to this task. + * @return value or {@code null} for none + */ + public java.util.Map getParameters() { + return parameters; + } + + /** + * Optional. The customized parameters the user can pass to this task. + * @param parameters parameters or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setParameters(java.util.Map parameters) { + this.parameters = parameters; + return this; + } + + /** + * Optional. The name for the task. + * @return value or {@code null} for none + */ + public java.lang.String getTask() { + return task; + } + + /** + * Optional. The name for the task. + * @param task task or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setTask(java.lang.String task) { + this.task = task; + return this; + } + + /** + * Required. The identifier of this task within its parent event config, specified by the client. + * This should be unique among all the tasks belong to the same event config. We use this field as + * the identifier to find next tasks (via field `next_tasks.task_id`). + * @return value or {@code null} for none + */ + public java.lang.String getTaskId() { + return taskId; + } + + /** + * Required. The identifier of this task within its parent event config, specified by the client. + * This should be unique among all the tasks belong to the same event config. We use this field as + * the identifier to find next tasks (via field `next_tasks.task_id`). + * @param taskId taskId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskConfig setTaskId(java.lang.String taskId) { + this.taskId = taskId; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetTaskConfig set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetTaskConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetTaskConfig clone() { + return (GoogleCloudIntegrationsV2DuetTaskConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskResponseStatus.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskResponseStatus.java new file mode 100644 index 00000000000..cda58b777d3 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTaskResponseStatus.java @@ -0,0 +1,115 @@ +/* + * 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.integrations.v2.model; + +/** + * Message for task response status. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetTaskResponseStatus extends com.google.api.client.json.GenericJson { + + /** + * The error message of the task response in case of failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * The http code of the task response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer httpCode; + + /** + * The task type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskType; + + /** + * The error message of the task response in case of failure. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMessage() { + return errorMessage; + } + + /** + * The error message of the task response in case of failure. + * @param errorMessage errorMessage or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskResponseStatus setErrorMessage(java.lang.String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * The http code of the task response. + * @return value or {@code null} for none + */ + public java.lang.Integer getHttpCode() { + return httpCode; + } + + /** + * The http code of the task response. + * @param httpCode httpCode or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskResponseStatus setHttpCode(java.lang.Integer httpCode) { + this.httpCode = httpCode; + return this; + } + + /** + * The task type. + * @return value or {@code null} for none + */ + public java.lang.String getTaskType() { + return taskType; + } + + /** + * The task type. + * @param taskType taskType or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTaskResponseStatus setTaskType(java.lang.String taskType) { + this.taskType = taskType; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetTaskResponseStatus set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetTaskResponseStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetTaskResponseStatus clone() { + return (GoogleCloudIntegrationsV2DuetTaskResponseStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfig.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfig.java new file mode 100644 index 00000000000..8c22e128c02 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfig.java @@ -0,0 +1,361 @@ +/* + * 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.integrations.v2.model; + +/** + * Configuration detail of a trigger. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetTriggerConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Cloud Scheduler Trigger related metadata + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetCloudSchedulerConfig cloudSchedulerConfig; + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCatcherId; + + /** + * Optional. List of input variables for the api trigger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetTriggerConfigVariables inputVariables; + + /** + * Optional. The user created label for a particular trigger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Optional. List of output variables for the api trigger. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetTriggerConfigVariables outputVariables; + + /** + * Optional. Configurable properties of the trigger, not to be confused with integration + * parameters. E.g. "name" is a property for API triggers and "subscription" is a property for + * Pub/sub triggers. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map properties; + + /** + * Optional. Set of tasks numbers from where the integration execution is started by this trigger. + * If this is empty, then integration is executed with default start tasks. In the list of start + * tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same + * integration execution graph). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List startTasks; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2DuetNextTask used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2DuetNextTask.class); + } + + /** + * Optional. Name of the trigger. Example: "API Trigger", "Cloud Pub Sub Trigger" When set will be + * sent out to monitoring dashabord for tracking purpose. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trigger; + + /** + * Optional. The backend trigger ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String triggerId; + + /** + * Required. A number to uniquely identify each trigger config within the integration on UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String triggerNumber; + + /** + * Optional. Type of trigger + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String triggerType; + + /** + * Optional. Cloud Scheduler Trigger related metadata + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetCloudSchedulerConfig getCloudSchedulerConfig() { + return cloudSchedulerConfig; + } + + /** + * Optional. Cloud Scheduler Trigger related metadata + * @param cloudSchedulerConfig cloudSchedulerConfig or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setCloudSchedulerConfig(GoogleCloudIntegrationsV2DuetCloudSchedulerConfig cloudSchedulerConfig) { + this.cloudSchedulerConfig = cloudSchedulerConfig; + return this; + } + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. User-provided description intended to give additional business context about the + * task. + * @param description description or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * @return value or {@code null} for none + */ + public java.lang.String getErrorCatcherId() { + return errorCatcherId; + } + + /** + * Optional. Optional Error catcher id of the error catch flow which will be executed when + * execution error happens in the task + * @param errorCatcherId errorCatcherId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setErrorCatcherId(java.lang.String errorCatcherId) { + this.errorCatcherId = errorCatcherId; + return this; + } + + /** + * Optional. List of input variables for the api trigger. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfigVariables getInputVariables() { + return inputVariables; + } + + /** + * Optional. List of input variables for the api trigger. + * @param inputVariables inputVariables or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setInputVariables(GoogleCloudIntegrationsV2DuetTriggerConfigVariables inputVariables) { + this.inputVariables = inputVariables; + return this; + } + + /** + * Optional. The user created label for a particular trigger. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Optional. The user created label for a particular trigger. + * @param label label or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Optional. List of output variables for the api trigger. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfigVariables getOutputVariables() { + return outputVariables; + } + + /** + * Optional. List of output variables for the api trigger. + * @param outputVariables outputVariables or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setOutputVariables(GoogleCloudIntegrationsV2DuetTriggerConfigVariables outputVariables) { + this.outputVariables = outputVariables; + return this; + } + + /** + * Optional. Configurable properties of the trigger, not to be confused with integration + * parameters. E.g. "name" is a property for API triggers and "subscription" is a property for + * Pub/sub triggers. + * @return value or {@code null} for none + */ + public java.util.Map getProperties() { + return properties; + } + + /** + * Optional. Configurable properties of the trigger, not to be confused with integration + * parameters. E.g. "name" is a property for API triggers and "subscription" is a property for + * Pub/sub triggers. + * @param properties properties or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setProperties(java.util.Map properties) { + this.properties = properties; + return this; + } + + /** + * Optional. Set of tasks numbers from where the integration execution is started by this trigger. + * If this is empty, then integration is executed with default start tasks. In the list of start + * tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same + * integration execution graph). + * @return value or {@code null} for none + */ + public java.util.List getStartTasks() { + return startTasks; + } + + /** + * Optional. Set of tasks numbers from where the integration execution is started by this trigger. + * If this is empty, then integration is executed with default start tasks. In the list of start + * tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same + * integration execution graph). + * @param startTasks startTasks or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setStartTasks(java.util.List startTasks) { + this.startTasks = startTasks; + return this; + } + + /** + * Optional. Name of the trigger. Example: "API Trigger", "Cloud Pub Sub Trigger" When set will be + * sent out to monitoring dashabord for tracking purpose. + * @return value or {@code null} for none + */ + public java.lang.String getTrigger() { + return trigger; + } + + /** + * Optional. Name of the trigger. Example: "API Trigger", "Cloud Pub Sub Trigger" When set will be + * sent out to monitoring dashabord for tracking purpose. + * @param trigger trigger or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setTrigger(java.lang.String trigger) { + this.trigger = trigger; + return this; + } + + /** + * Optional. The backend trigger ID. + * @return value or {@code null} for none + */ + public java.lang.String getTriggerId() { + return triggerId; + } + + /** + * Optional. The backend trigger ID. + * @param triggerId triggerId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setTriggerId(java.lang.String triggerId) { + this.triggerId = triggerId; + return this; + } + + /** + * Required. A number to uniquely identify each trigger config within the integration on UI. + * @return value or {@code null} for none + */ + public java.lang.String getTriggerNumber() { + return triggerNumber; + } + + /** + * Required. A number to uniquely identify each trigger config within the integration on UI. + * @param triggerNumber triggerNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setTriggerNumber(java.lang.String triggerNumber) { + this.triggerNumber = triggerNumber; + return this; + } + + /** + * Optional. Type of trigger + * @return value or {@code null} for none + */ + public java.lang.String getTriggerType() { + return triggerType; + } + + /** + * Optional. Type of trigger + * @param triggerType triggerType or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfig setTriggerType(java.lang.String triggerType) { + this.triggerType = triggerType; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetTriggerConfig set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetTriggerConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetTriggerConfig clone() { + return (GoogleCloudIntegrationsV2DuetTriggerConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfigVariables.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfigVariables.java new file mode 100644 index 00000000000..186e97e4a90 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTriggerConfigVariables.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.integrations.v2.model; + +/** + * Variables names mapped to api trigger. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetTriggerConfigVariables extends com.google.api.client.json.GenericJson { + + /** + * Optional. List of variable names. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List names; + + /** + * Optional. List of variable names. + * @return value or {@code null} for none + */ + public java.util.List getNames() { + return names; + } + + /** + * Optional. List of variable names. + * @param names names or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTriggerConfigVariables setNames(java.util.List names) { + this.names = names; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetTriggerConfigVariables set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetTriggerConfigVariables) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetTriggerConfigVariables clone() { + return (GoogleCloudIntegrationsV2DuetTriggerConfigVariables) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse.java new file mode 100644 index 00000000000..42113d00555 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse.java @@ -0,0 +1,166 @@ +/* + * 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.integrations.v2.model; + +/** + * Response for troubleshooting an integration execution. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse extends com.google.api.client.json.GenericJson { + + /** + * Detailed explanation of the root cause of the integration execution failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String detailedExplanation; + + /** + * Display message to be shown to the user. Example - If integration execution succeeded, this + * field value can be "Integration execution succeeded. No troubleshooting needed.". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayMessage; + + /** + * Error message of the integration execution, if the execution failed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * The execution id of the integration execution to be troubleshooted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String executionId; + + /** + * Root cause of the integration execution failure. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rootCause; + + /** + * Detailed explanation of the root cause of the integration execution failure. + * @return value or {@code null} for none + */ + public java.lang.String getDetailedExplanation() { + return detailedExplanation; + } + + /** + * Detailed explanation of the root cause of the integration execution failure. + * @param detailedExplanation detailedExplanation or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse setDetailedExplanation(java.lang.String detailedExplanation) { + this.detailedExplanation = detailedExplanation; + return this; + } + + /** + * Display message to be shown to the user. Example - If integration execution succeeded, this + * field value can be "Integration execution succeeded. No troubleshooting needed.". + * @return value or {@code null} for none + */ + public java.lang.String getDisplayMessage() { + return displayMessage; + } + + /** + * Display message to be shown to the user. Example - If integration execution succeeded, this + * field value can be "Integration execution succeeded. No troubleshooting needed.". + * @param displayMessage displayMessage or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse setDisplayMessage(java.lang.String displayMessage) { + this.displayMessage = displayMessage; + return this; + } + + /** + * Error message of the integration execution, if the execution failed. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMessage() { + return errorMessage; + } + + /** + * Error message of the integration execution, if the execution failed. + * @param errorMessage errorMessage or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse setErrorMessage(java.lang.String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * The execution id of the integration execution to be troubleshooted. + * @return value or {@code null} for none + */ + public java.lang.String getExecutionId() { + return executionId; + } + + /** + * The execution id of the integration execution to be troubleshooted. + * @param executionId executionId or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse setExecutionId(java.lang.String executionId) { + this.executionId = executionId; + return this; + } + + /** + * Root cause of the integration execution failure. + * @return value or {@code null} for none + */ + public java.lang.String getRootCause() { + return rootCause; + } + + /** + * Root cause of the integration execution failure. + * @param rootCause rootCause or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse setRootCause(java.lang.String rootCause) { + this.rootCause = rootCause; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse clone() { + return (GoogleCloudIntegrationsV2DuetTroubleshootExecutionResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetValueType.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetValueType.java new file mode 100644 index 00000000000..0031958f4f0 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2DuetValueType.java @@ -0,0 +1,259 @@ +/* + * 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.integrations.v2.model; + +/** + * The type of the parameter. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2DuetValueType extends com.google.api.client.json.GenericJson { + + /** + * Boolean Array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetBooleanParameterArray booleanArray; + + /** + * Boolean. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean booleanValue; + + /** + * Double Number Array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetDoubleParameterArray doubleArray; + + /** + * Double Number. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double doubleValue; + + /** + * Integer Array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetIntParameterArray intArray; + + /** + * Integer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long intValue; + + /** + * Json. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jsonValue; + + /** + * String Array. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2DuetStringParameterArray stringArray; + + /** + * String. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Boolean Array. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetBooleanParameterArray getBooleanArray() { + return booleanArray; + } + + /** + * Boolean Array. + * @param booleanArray booleanArray or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setBooleanArray(GoogleCloudIntegrationsV2DuetBooleanParameterArray booleanArray) { + this.booleanArray = booleanArray; + return this; + } + + /** + * Boolean. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBooleanValue() { + return booleanValue; + } + + /** + * Boolean. + * @param booleanValue booleanValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setBooleanValue(java.lang.Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * Double Number Array. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetDoubleParameterArray getDoubleArray() { + return doubleArray; + } + + /** + * Double Number Array. + * @param doubleArray doubleArray or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setDoubleArray(GoogleCloudIntegrationsV2DuetDoubleParameterArray doubleArray) { + this.doubleArray = doubleArray; + return this; + } + + /** + * Double Number. + * @return value or {@code null} for none + */ + public java.lang.Double getDoubleValue() { + return doubleValue; + } + + /** + * Double Number. + * @param doubleValue doubleValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setDoubleValue(java.lang.Double doubleValue) { + this.doubleValue = doubleValue; + return this; + } + + /** + * Integer Array. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetIntParameterArray getIntArray() { + return intArray; + } + + /** + * Integer Array. + * @param intArray intArray or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setIntArray(GoogleCloudIntegrationsV2DuetIntParameterArray intArray) { + this.intArray = intArray; + return this; + } + + /** + * Integer. + * @return value or {@code null} for none + */ + public java.lang.Long getIntValue() { + return intValue; + } + + /** + * Integer. + * @param intValue intValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setIntValue(java.lang.Long intValue) { + this.intValue = intValue; + return this; + } + + /** + * Json. + * @return value or {@code null} for none + */ + public java.lang.String getJsonValue() { + return jsonValue; + } + + /** + * Json. + * @param jsonValue jsonValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setJsonValue(java.lang.String jsonValue) { + this.jsonValue = jsonValue; + return this; + } + + /** + * String Array. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetStringParameterArray getStringArray() { + return stringArray; + } + + /** + * String Array. + * @param stringArray stringArray or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setStringArray(GoogleCloudIntegrationsV2DuetStringParameterArray stringArray) { + this.stringArray = stringArray; + return this; + } + + /** + * String. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * String. + * @param stringValue stringValue or {@code null} for none + */ + public GoogleCloudIntegrationsV2DuetValueType setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + @Override + public GoogleCloudIntegrationsV2DuetValueType set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2DuetValueType) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2DuetValueType clone() { + return (GoogleCloudIntegrationsV2DuetValueType) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2Execution.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2Execution.java new file mode 100644 index 00000000000..b2852811d78 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2Execution.java @@ -0,0 +1,385 @@ +/* + * 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.integrations.v2.model; + +/** + * The Execution contains detailed information of an individual integration execution. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2Execution extends com.google.api.client.json.GenericJson { + + /** + * Cloud Logging details for the integration version + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2CloudLoggingDetails cloudLoggingDetails; + + /** + * Indicates if the task execution contains variables. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean containTaskVariables; + + /** + * Output only. Time the execution is created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Start and end time of each execution attempt. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List executionAttemptStats; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2AttemptStats used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2AttemptStats.class); + } + + /** + * Indicates which snapshot of integration is used for this execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long integrationVersionNumber; + + /** + * Optional. User-defined label that annotates the executed integration version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String integrationVersionUserLabel; + + /** + * Identifier. Execution resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Replay info for the execution + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2ExecutionReplayInfo replayInfo; + + /** + * Optional. Variables provided in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map requestVariables; + + /** + * Optional. Variables returned as part of the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map responseVariables; + + /** + * Output only. Status of the execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Optional. List of task executions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskExecutions; + + /** + * The ID of the trigger invoked at the start of the execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String triggerId; + + /** + * Output only. Time the execution is recently updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Cloud Logging details for the integration version + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2CloudLoggingDetails getCloudLoggingDetails() { + return cloudLoggingDetails; + } + + /** + * Cloud Logging details for the integration version + * @param cloudLoggingDetails cloudLoggingDetails or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setCloudLoggingDetails(GoogleCloudIntegrationsV2CloudLoggingDetails cloudLoggingDetails) { + this.cloudLoggingDetails = cloudLoggingDetails; + return this; + } + + /** + * Indicates if the task execution contains variables. + * @return value or {@code null} for none + */ + public java.lang.Boolean getContainTaskVariables() { + return containTaskVariables; + } + + /** + * Indicates if the task execution contains variables. + * @param containTaskVariables containTaskVariables or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setContainTaskVariables(java.lang.Boolean containTaskVariables) { + this.containTaskVariables = containTaskVariables; + return this; + } + + /** + * Output only. Time the execution is created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Time the execution is created. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Start and end time of each execution attempt. + * @return value or {@code null} for none + */ + public java.util.List getExecutionAttemptStats() { + return executionAttemptStats; + } + + /** + * Start and end time of each execution attempt. + * @param executionAttemptStats executionAttemptStats or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setExecutionAttemptStats(java.util.List executionAttemptStats) { + this.executionAttemptStats = executionAttemptStats; + return this; + } + + /** + * Indicates which snapshot of integration is used for this execution. + * @return value or {@code null} for none + */ + public java.lang.Long getIntegrationVersionNumber() { + return integrationVersionNumber; + } + + /** + * Indicates which snapshot of integration is used for this execution. + * @param integrationVersionNumber integrationVersionNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setIntegrationVersionNumber(java.lang.Long integrationVersionNumber) { + this.integrationVersionNumber = integrationVersionNumber; + return this; + } + + /** + * Optional. User-defined label that annotates the executed integration version. + * @return value or {@code null} for none + */ + public java.lang.String getIntegrationVersionUserLabel() { + return integrationVersionUserLabel; + } + + /** + * Optional. User-defined label that annotates the executed integration version. + * @param integrationVersionUserLabel integrationVersionUserLabel or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setIntegrationVersionUserLabel(java.lang.String integrationVersionUserLabel) { + this.integrationVersionUserLabel = integrationVersionUserLabel; + return this; + } + + /** + * Identifier. Execution resource name. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Execution resource name. + * @param name name or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Replay info for the execution + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2ExecutionReplayInfo getReplayInfo() { + return replayInfo; + } + + /** + * Output only. Replay info for the execution + * @param replayInfo replayInfo or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setReplayInfo(GoogleCloudIntegrationsV2ExecutionReplayInfo replayInfo) { + this.replayInfo = replayInfo; + return this; + } + + /** + * Optional. Variables provided in the request. + * @return value or {@code null} for none + */ + public java.util.Map getRequestVariables() { + return requestVariables; + } + + /** + * Optional. Variables provided in the request. + * @param requestVariables requestVariables or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setRequestVariables(java.util.Map requestVariables) { + this.requestVariables = requestVariables; + return this; + } + + /** + * Optional. Variables returned as part of the response. + * @return value or {@code null} for none + */ + public java.util.Map getResponseVariables() { + return responseVariables; + } + + /** + * Optional. Variables returned as part of the response. + * @param responseVariables responseVariables or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setResponseVariables(java.util.Map responseVariables) { + this.responseVariables = responseVariables; + return this; + } + + /** + * Output only. Status of the execution. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. Status of the execution. + * @param state state or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Optional. List of task executions. + * @return value or {@code null} for none + */ + public java.util.List getTaskExecutions() { + return taskExecutions; + } + + /** + * Optional. List of task executions. + * @param taskExecutions taskExecutions or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setTaskExecutions(java.util.List taskExecutions) { + this.taskExecutions = taskExecutions; + return this; + } + + /** + * The ID of the trigger invoked at the start of the execution. + * @return value or {@code null} for none + */ + public java.lang.String getTriggerId() { + return triggerId; + } + + /** + * The ID of the trigger invoked at the start of the execution. + * @param triggerId triggerId or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setTriggerId(java.lang.String triggerId) { + this.triggerId = triggerId; + return this; + } + + /** + * Output only. Time the execution is recently updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Time the execution is recently updated. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudIntegrationsV2Execution setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudIntegrationsV2Execution set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2Execution) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2Execution clone() { + return (GoogleCloudIntegrationsV2Execution) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ExecutionReplayInfo.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ExecutionReplayInfo.java new file mode 100644 index 00000000000..59094c4df9a --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ExecutionReplayInfo.java @@ -0,0 +1,146 @@ +/* + * 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.integrations.v2.model; + +/** + * Contains the details of the execution info: this includes the replay reason and replay tree + * connecting executions in a parent-child relationship + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2ExecutionReplayInfo extends com.google.api.client.json.GenericJson { + + /** + * If this execution is a replay of another execution, then this field contains the original + * execution id. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalExecutionId; + + /** + * Replay mode for the execution + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String replayMode; + + /** + * reason for replay + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String replayReason; + + /** + * If this execution has been replayed, then this field contains the execution ids of the replayed + * executions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List replayedExecutionIds; + + /** + * If this execution is a replay of another execution, then this field contains the original + * execution id. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalExecutionId() { + return originalExecutionId; + } + + /** + * If this execution is a replay of another execution, then this field contains the original + * execution id. + * @param originalExecutionId originalExecutionId or {@code null} for none + */ + public GoogleCloudIntegrationsV2ExecutionReplayInfo setOriginalExecutionId(java.lang.String originalExecutionId) { + this.originalExecutionId = originalExecutionId; + return this; + } + + /** + * Replay mode for the execution + * @return value or {@code null} for none + */ + public java.lang.String getReplayMode() { + return replayMode; + } + + /** + * Replay mode for the execution + * @param replayMode replayMode or {@code null} for none + */ + public GoogleCloudIntegrationsV2ExecutionReplayInfo setReplayMode(java.lang.String replayMode) { + this.replayMode = replayMode; + return this; + } + + /** + * reason for replay + * @return value or {@code null} for none + */ + public java.lang.String getReplayReason() { + return replayReason; + } + + /** + * reason for replay + * @param replayReason replayReason or {@code null} for none + */ + public GoogleCloudIntegrationsV2ExecutionReplayInfo setReplayReason(java.lang.String replayReason) { + this.replayReason = replayReason; + return this; + } + + /** + * If this execution has been replayed, then this field contains the execution ids of the replayed + * executions. + * @return value or {@code null} for none + */ + public java.util.List getReplayedExecutionIds() { + return replayedExecutionIds; + } + + /** + * If this execution has been replayed, then this field contains the execution ids of the replayed + * executions. + * @param replayedExecutionIds replayedExecutionIds or {@code null} for none + */ + public GoogleCloudIntegrationsV2ExecutionReplayInfo setReplayedExecutionIds(java.util.List replayedExecutionIds) { + this.replayedExecutionIds = replayedExecutionIds; + return this; + } + + @Override + public GoogleCloudIntegrationsV2ExecutionReplayInfo set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2ExecutionReplayInfo) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2ExecutionReplayInfo clone() { + return (GoogleCloudIntegrationsV2ExecutionReplayInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ListExecutionsResponse.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ListExecutionsResponse.java new file mode 100644 index 00000000000..9f5506c09e2 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2ListExecutionsResponse.java @@ -0,0 +1,97 @@ +/* + * 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.integrations.v2.model; + +/** + * Response for listing the Integration executions. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2ListExecutionsResponse extends com.google.api.client.json.GenericJson { + + /** + * Required. The list of executions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List executions; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2Execution used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2Execution.class); + } + + /** + * The token for retrieving the next page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Required. The list of executions. + * @return value or {@code null} for none + */ + public java.util.List getExecutions() { + return executions; + } + + /** + * Required. The list of executions. + * @param executions executions or {@code null} for none + */ + public GoogleCloudIntegrationsV2ListExecutionsResponse setExecutions(java.util.List executions) { + this.executions = executions; + return this; + } + + /** + * The token for retrieving the next page of results. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * The token for retrieving the next page of results. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleCloudIntegrationsV2ListExecutionsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public GoogleCloudIntegrationsV2ListExecutionsResponse set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2ListExecutionsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2ListExecutionsResponse clone() { + return (GoogleCloudIntegrationsV2ListExecutionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecution.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecution.java new file mode 100644 index 00000000000..9898e289631 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecution.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.integrations.v2.model; + +/** + * Execution of a single task within an integration + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2TaskExecution extends com.google.api.client.json.GenericJson { + + /** + * Identifier. Task execution resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Details of the task execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskExecutionDetails; + + /** + * Optional. Metadata of the task execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata taskExecutionMetadata; + + /** + * Optional. Variables used during the execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map variables; + + /** + * Identifier. Task execution resource name. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Task execution resource name. + * @param name name or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecution setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Details of the task execution. + * @return value or {@code null} for none + */ + public java.util.List getTaskExecutionDetails() { + return taskExecutionDetails; + } + + /** + * Details of the task execution. + * @param taskExecutionDetails taskExecutionDetails or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecution setTaskExecutionDetails(java.util.List taskExecutionDetails) { + this.taskExecutionDetails = taskExecutionDetails; + return this; + } + + /** + * Optional. Metadata of the task execution. + * @return value or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata getTaskExecutionMetadata() { + return taskExecutionMetadata; + } + + /** + * Optional. Metadata of the task execution. + * @param taskExecutionMetadata taskExecutionMetadata or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecution setTaskExecutionMetadata(GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata taskExecutionMetadata) { + this.taskExecutionMetadata = taskExecutionMetadata; + return this; + } + + /** + * Optional. Variables used during the execution. + * @return value or {@code null} for none + */ + public java.util.Map getVariables() { + return variables; + } + + /** + * Optional. Variables used during the execution. + * @param variables variables or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecution setVariables(java.util.Map variables) { + this.variables = variables; + return this; + } + + @Override + public GoogleCloudIntegrationsV2TaskExecution set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2TaskExecution) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2TaskExecution clone() { + return (GoogleCloudIntegrationsV2TaskExecution) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionDetails.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionDetails.java new file mode 100644 index 00000000000..32cf97c549f --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionDetails.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.integrations.v2.model; + +/** + * Details of the task execution. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2TaskExecutionDetails extends com.google.api.client.json.GenericJson { + + /** + * List for the current task execution attempts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List taskAttemptStats; + + static { + // hack to force ProGuard to consider GoogleCloudIntegrationsV2AttemptStats used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleCloudIntegrationsV2AttemptStats.class); + } + + /** + * Output only. The execution state of this task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskExecutionState; + + /** + * Pointer to the task config it used for execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskNumber; + + /** + * List for the current task execution attempts. + * @return value or {@code null} for none + */ + public java.util.List getTaskAttemptStats() { + return taskAttemptStats; + } + + /** + * List for the current task execution attempts. + * @param taskAttemptStats taskAttemptStats or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionDetails setTaskAttemptStats(java.util.List taskAttemptStats) { + this.taskAttemptStats = taskAttemptStats; + return this; + } + + /** + * Output only. The execution state of this task. + * @return value or {@code null} for none + */ + public java.lang.String getTaskExecutionState() { + return taskExecutionState; + } + + /** + * Output only. The execution state of this task. + * @param taskExecutionState taskExecutionState or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionDetails setTaskExecutionState(java.lang.String taskExecutionState) { + this.taskExecutionState = taskExecutionState; + return this; + } + + /** + * Pointer to the task config it used for execution. + * @return value or {@code null} for none + */ + public java.lang.String getTaskNumber() { + return taskNumber; + } + + /** + * Pointer to the task config it used for execution. + * @param taskNumber taskNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionDetails setTaskNumber(java.lang.String taskNumber) { + this.taskNumber = taskNumber; + return this; + } + + @Override + public GoogleCloudIntegrationsV2TaskExecutionDetails set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2TaskExecutionDetails) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2TaskExecutionDetails clone() { + return (GoogleCloudIntegrationsV2TaskExecutionDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata.java new file mode 100644 index 00000000000..a6374ef7ab4 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata.java @@ -0,0 +1,241 @@ +/* + * 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.integrations.v2.model; + +/** + * Metadata of the task execution. + * + *

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 Application Integration 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 GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata extends com.google.api.client.json.GenericJson { + + /** + * Optional. Ancestor iteration number for the task (it will only be non-empty if the task is + * under 'private integration'). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ancestorIterationNumbers; + + /** + * Optional. Ancestor task number for the task (it will only be non-empty if the task is under + * 'private integration'). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ancestorTaskNumbers; + + /** + * The execution attempt number this execution belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer executionAttempt; + + /** + * Optional. The direct integration which the execution belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String privateIntegrationName; + + /** + * The task name associated with this execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String task; + + /** + * The task attempt number this execution belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer taskAttempt; + + /** + * The task label associated with this execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskLabel; + + /** + * The task number associated with this execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskNumber; + + /** + * Optional. Ancestor iteration number for the task (it will only be non-empty if the task is + * under 'private integration'). + * @return value or {@code null} for none + */ + public java.util.List getAncestorIterationNumbers() { + return ancestorIterationNumbers; + } + + /** + * Optional. Ancestor iteration number for the task (it will only be non-empty if the task is + * under 'private integration'). + * @param ancestorIterationNumbers ancestorIterationNumbers or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setAncestorIterationNumbers(java.util.List ancestorIterationNumbers) { + this.ancestorIterationNumbers = ancestorIterationNumbers; + return this; + } + + /** + * Optional. Ancestor task number for the task (it will only be non-empty if the task is under + * 'private integration'). + * @return value or {@code null} for none + */ + public java.util.List getAncestorTaskNumbers() { + return ancestorTaskNumbers; + } + + /** + * Optional. Ancestor task number for the task (it will only be non-empty if the task is under + * 'private integration'). + * @param ancestorTaskNumbers ancestorTaskNumbers or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setAncestorTaskNumbers(java.util.List ancestorTaskNumbers) { + this.ancestorTaskNumbers = ancestorTaskNumbers; + return this; + } + + /** + * The execution attempt number this execution belongs to. + * @return value or {@code null} for none + */ + public java.lang.Integer getExecutionAttempt() { + return executionAttempt; + } + + /** + * The execution attempt number this execution belongs to. + * @param executionAttempt executionAttempt or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setExecutionAttempt(java.lang.Integer executionAttempt) { + this.executionAttempt = executionAttempt; + return this; + } + + /** + * Optional. The direct integration which the execution belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getPrivateIntegrationName() { + return privateIntegrationName; + } + + /** + * Optional. The direct integration which the execution belongs to. + * @param privateIntegrationName privateIntegrationName or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setPrivateIntegrationName(java.lang.String privateIntegrationName) { + this.privateIntegrationName = privateIntegrationName; + return this; + } + + /** + * The task name associated with this execution. + * @return value or {@code null} for none + */ + public java.lang.String getTask() { + return task; + } + + /** + * The task name associated with this execution. + * @param task task or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setTask(java.lang.String task) { + this.task = task; + return this; + } + + /** + * The task attempt number this execution belongs to. + * @return value or {@code null} for none + */ + public java.lang.Integer getTaskAttempt() { + return taskAttempt; + } + + /** + * The task attempt number this execution belongs to. + * @param taskAttempt taskAttempt or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setTaskAttempt(java.lang.Integer taskAttempt) { + this.taskAttempt = taskAttempt; + return this; + } + + /** + * The task label associated with this execution. + * @return value or {@code null} for none + */ + public java.lang.String getTaskLabel() { + return taskLabel; + } + + /** + * The task label associated with this execution. + * @param taskLabel taskLabel or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setTaskLabel(java.lang.String taskLabel) { + this.taskLabel = taskLabel; + return this; + } + + /** + * The task number associated with this execution. + * @return value or {@code null} for none + */ + public java.lang.String getTaskNumber() { + return taskNumber; + } + + /** + * The task number associated with this execution. + * @param taskNumber taskNumber or {@code null} for none + */ + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata setTaskNumber(java.lang.String taskNumber) { + this.taskNumber = taskNumber; + return this; + } + + @Override + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata set(String fieldName, Object value) { + return (GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata) super.set(fieldName, value); + } + + @Override + public GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata clone() { + return (GoogleCloudIntegrationsV2TaskExecutionTaskExecutionMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest.java b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest.java new file mode 100644 index 00000000000..ba78a6ad0d3 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/com/google/api/services/integrations/v2/model/GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest.java @@ -0,0 +1,374 @@ +/* + * 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.integrations.v2.model; + +/** + * LINT.IfChange Use this request to post all workflows associated with a given trigger id. Next + * available id: 13 + * + *

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 Application Integration 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 GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. If the client id is provided, then the combination of trigger id and client id is + * matched across all the workflows. If the client id is not provided, then workflows with + * matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api + * Trigger, the client id is required and will be validated against the allowed clients. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String clientId; + + /** + * Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows + * are not found. If this flag is set to be true, an error will not be thrown if the requested + * trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always + * thrown. The flag is set to be false by default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreErrorIfNoActiveWorkflow; + + /** + * Passed in as parameters to each workflow execution. Optional. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EnterpriseCrmEventbusProtoEventParameters parameters; + + /** + * The request priority this request should be processed at. For internal users: + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String priority; + + /** + * Optional. This is a field to see the quota retry count for integration execution + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer quotaRetryCount; + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was detected, the + * response from the previous execution is returned. Must have no more than 36 characters and + * contain only alphanumeric characters and hyphens. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** + * This field is only required when using Admin Access. The resource name of target, or the parent + * resource name. For example: "projects/locations/integrations" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * Optional. Time in milliseconds since epoch when the given event would be scheduled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long scheduledTime; + + /** + * Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean testMode; + + /** + * Matched against all {@link TriggerConfig}s across all workflows. i.e. + * TriggerConfig.trigger_id.equals(trigger_id) Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String triggerId; + + /** + * This is a unique id provided by the method caller. If provided this will be used as the + * execution_id when a new execution info is created. This is a string representation of a UUID. + * Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userGeneratedExecutionId; + + /** + * Optional. If provided, the workflow_name is used to filter all the matched workflows having + * same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies + * a unique workflow. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workflowName; + + /** + * Optional. If the client id is provided, then the combination of trigger id and client id is + * matched across all the workflows. If the client id is not provided, then workflows with + * matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api + * Trigger, the client id is required and will be validated against the allowed clients. + * @return value or {@code null} for none + */ + public java.lang.String getClientId() { + return clientId; + } + + /** + * Optional. If the client id is provided, then the combination of trigger id and client id is + * matched across all the workflows. If the client id is not provided, then workflows with + * matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api + * Trigger, the client id is required and will be validated against the allowed clients. + * @param clientId clientId or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setClientId(java.lang.String clientId) { + this.clientId = clientId; + return this; + } + + /** + * Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows + * are not found. If this flag is set to be true, an error will not be thrown if the requested + * trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always + * thrown. The flag is set to be false by default. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreErrorIfNoActiveWorkflow() { + return ignoreErrorIfNoActiveWorkflow; + } + + /** + * Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows + * are not found. If this flag is set to be true, an error will not be thrown if the requested + * trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always + * thrown. The flag is set to be false by default. + * @param ignoreErrorIfNoActiveWorkflow ignoreErrorIfNoActiveWorkflow or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setIgnoreErrorIfNoActiveWorkflow(java.lang.Boolean ignoreErrorIfNoActiveWorkflow) { + this.ignoreErrorIfNoActiveWorkflow = ignoreErrorIfNoActiveWorkflow; + return this; + } + + /** + * Passed in as parameters to each workflow execution. Optional. + * @return value or {@code null} for none + */ + public EnterpriseCrmEventbusProtoEventParameters getParameters() { + return parameters; + } + + /** + * Passed in as parameters to each workflow execution. Optional. + * @param parameters parameters or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setParameters(EnterpriseCrmEventbusProtoEventParameters parameters) { + this.parameters = parameters; + return this; + } + + /** + * The request priority this request should be processed at. For internal users: + * @return value or {@code null} for none + */ + public java.lang.String getPriority() { + return priority; + } + + /** + * The request priority this request should be processed at. For internal users: + * @param priority priority or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setPriority(java.lang.String priority) { + this.priority = priority; + return this; + } + + /** + * Optional. This is a field to see the quota retry count for integration execution + * @return value or {@code null} for none + */ + public java.lang.Integer getQuotaRetryCount() { + return quotaRetryCount; + } + + /** + * Optional. This is a field to see the quota retry count for integration execution + * @param quotaRetryCount quotaRetryCount or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setQuotaRetryCount(java.lang.Integer quotaRetryCount) { + this.quotaRetryCount = quotaRetryCount; + return this; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was detected, the + * response from the previous execution is returned. Must have no more than 36 characters and + * contain only alphanumeric characters and hyphens. + * @return value or {@code null} for none + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. This is used to de-dup incoming request: if the duplicate request was detected, the + * response from the previous execution is returned. Must have no more than 36 characters and + * contain only alphanumeric characters and hyphens. + * @param requestId requestId or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * This field is only required when using Admin Access. The resource name of target, or the parent + * resource name. For example: "projects/locations/integrations" + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * This field is only required when using Admin Access. The resource name of target, or the parent + * resource name. For example: "projects/locations/integrations" + * @param resourceName resourceName or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Optional. Time in milliseconds since epoch when the given event would be scheduled. + * @return value or {@code null} for none + */ + public java.lang.Long getScheduledTime() { + return scheduledTime; + } + + /** + * Optional. Time in milliseconds since epoch when the given event would be scheduled. + * @param scheduledTime scheduledTime or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setScheduledTime(java.lang.Long scheduledTime) { + this.scheduledTime = scheduledTime; + return this; + } + + /** + * Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. + * @return value or {@code null} for none + */ + public java.lang.Boolean getTestMode() { + return testMode; + } + + /** + * Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}. + * @param testMode testMode or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setTestMode(java.lang.Boolean testMode) { + this.testMode = testMode; + return this; + } + + /** + * Matched against all {@link TriggerConfig}s across all workflows. i.e. + * TriggerConfig.trigger_id.equals(trigger_id) Required. + * @return value or {@code null} for none + */ + public java.lang.String getTriggerId() { + return triggerId; + } + + /** + * Matched against all {@link TriggerConfig}s across all workflows. i.e. + * TriggerConfig.trigger_id.equals(trigger_id) Required. + * @param triggerId triggerId or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setTriggerId(java.lang.String triggerId) { + this.triggerId = triggerId; + return this; + } + + /** + * This is a unique id provided by the method caller. If provided this will be used as the + * execution_id when a new execution info is created. This is a string representation of a UUID. + * Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + * @return value or {@code null} for none + */ + public java.lang.String getUserGeneratedExecutionId() { + return userGeneratedExecutionId; + } + + /** + * This is a unique id provided by the method caller. If provided this will be used as the + * execution_id when a new execution info is created. This is a string representation of a UUID. + * Must have no more than 36 characters and contain only alphanumeric characters and hyphens. + * @param userGeneratedExecutionId userGeneratedExecutionId or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setUserGeneratedExecutionId(java.lang.String userGeneratedExecutionId) { + this.userGeneratedExecutionId = userGeneratedExecutionId; + return this; + } + + /** + * Optional. If provided, the workflow_name is used to filter all the matched workflows having + * same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies + * a unique workflow. + * @return value or {@code null} for none + */ + public java.lang.String getWorkflowName() { + return workflowName; + } + + /** + * Optional. If provided, the workflow_name is used to filter all the matched workflows having + * same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies + * a unique workflow. + * @param workflowName workflowName or {@code null} for none + */ + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest setWorkflowName(java.lang.String workflowName) { + this.workflowName = workflowName; + return this; + } + + @Override + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest set(String fieldName, Object value) { + return (GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest) super.set(fieldName, value); + } + + @Override + public GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest clone() { + return (GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-integrations/v2/2.0.0/pom.xml b/clients/google-api-services-integrations/v2/2.0.0/pom.xml new file mode 100644 index 00000000000..dc7d39c59a3 --- /dev/null +++ b/clients/google-api-services-integrations/v2/2.0.0/pom.xml @@ -0,0 +1,219 @@ + + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + + com.google.apis + google-api-services-integrations + v2-rev20260927-2.0.0 + Application Integration API v2-rev20260927-2.0.0 + jar + + 2011 + + + + GoogleAPIs + GoogleAPIs + googleapis@googlegroups.com + Google + https://www.google.com + + + + + Google + http://www.google.com/ + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + ossrh + https://google.oss.sonatype.org/content/repositories/snapshots + + + + + + + maven-compiler-plugin + 3.9.0 + + 1.7 + 1.7 + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + + + com.google.api.services.integrations + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + + attach-javadocs + + jar + + + + + none + Application Integration API ${project.version} + Application Integration API ${project.version} + + http://docs.oracle.com/javase/7/docs/api + https://googleapis.dev/java/google-http-client/${httpClientLibrary}/ + https://googleapis.dev/java/google-oauth-client/${oauthClientLibrary}/ + https://googleapis.dev/java/google-api-client/2.7.2/ + + + + + org.codehaus.mojo + clirr-maven-plugin + 2.8 + + clirr-ignored-differences.xml + true + + + + + check + + + + + + . + + + ./resources + + + + + + + com.google.api-client + google-api-client + 2.7.2 + + + + + UTF-8 + + + + + + release-sonatype + + + + !artifact-registry-url + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + sonatype-nexus-staging + https://google.oss.sonatype.org/ + false + + + + + + + + release-gcp-artifact-registry + + artifactregistry://please-define-artifact-registry-url-property + + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + gcp-artifact-registry-repository + ${artifact-registry-url} + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.7 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + + + + \ No newline at end of file diff --git a/clients/google-api-services-integrations/v2/README.md b/clients/google-api-services-integrations/v2/README.md new file mode 100644 index 00000000000..d53433f5b5d --- /dev/null +++ b/clients/google-api-services-integrations/v2/README.md @@ -0,0 +1,44 @@ +# Application Integration API Client Library for Java + + + +This page contains information about getting started with the Application Integration API +using the Google API Client Library for Java. In addition, you may be interested +in the following documentation: + +* Browse the [Javadoc reference for the Application Integration API][javadoc] +* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client]. +* Interact with this API in your browser using the [APIs Explorer for the Application Integration API][api-explorer] + +## Installation + +### Maven + +Add the following lines to your `pom.xml` file: + +```xml + + + + com.google.apis + google-api-services-integrations + v2-rev20260927-2.0.0 + + + +``` + +### Gradle + +```gradle +repositories { + mavenCentral() +} +dependencies { + implementation 'com.google.apis:google-api-services-integrations:v2-rev20260927-2.0.0' +} +``` + +[javadoc]: https://googleapis.dev/java/google-api-services-integrations/latest/index.html +[google-api-client]: https://github.com/googleapis/google-api-java-client/ +[api-explorer]: https://developers.google.com/apis-explorer/#p/integrations/v1/