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
+
+ * + *
+ * + *+ * 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: + *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{@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{@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{@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{@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{@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{@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{@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+ * {@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{@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+ * {@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: + *+ * 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.SetThis 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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+ * 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the 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 @@ +