com.google.api.services.integrations.v1alpha.model.GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion Maven / Gradle / Ivy
/*
* 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.v1alpha.model;
/**
* IntegrationTemplateVersion definition. An IntegrationTemplateVersion provides configurations
* required to construct an IntegrationVersion. It cannot be executed directly like an Integration.
* Users can create IntegrationTemplateVersions using Integrations. These Templates can be shared by
* users across GCP projects.
*
* 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 GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion extends com.google.api.client.json.GenericJson {
/**
* Output only. Auto-generated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Optional. Flag to disable database persistence for execution data, including event execution
* info, execution export info, execution metadata index and execution param index.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String databasePersistencePolicy;
/**
* Optional. The templateversion description. Permitted format is alphanumeric with underscores
* and no spaces.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS
* role of the user making the call.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String lastModifierEmail;
/**
* Output only. Auto-generated primary key. Format: projects/{project}/locations/{location}/produc
* ts/{product}/integrationtemplates/{integrationtemplate}/versions/{version}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String parentIntegrationVersionId;
/**
* Output only. An increasing sequence that is set when a new snapshot is created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long snapshotNumber;
/**
* Optional. Generated by eventbus. User should not set it as an input.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String status;
/**
* Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the
* IntegrationTemplateVersion doesn't do anything without task_configs.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List taskConfigs;
static {
// hack to force ProGuard to consider EnterpriseCrmFrontendsEventbusProtoTaskConfig used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(EnterpriseCrmFrontendsEventbusProtoTaskConfig.class);
}
/**
* Optional. Contains a graph of tasks that will be executed before putting the event in a
* terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally"
* in code.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoTeardown teardown;
/**
* Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an
* event is triggered. This consists of all the parameters that are expected in the
* IntegrationTemplateVersion execution. This gives the user the ability to provide default
* values, add information like PII and also provide data types of each parameter.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmFrontendsEventbusProtoWorkflowParameters templateParameters;
/**
* Optional. Trigger configurations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List triggerConfigs;
static {
// hack to force ProGuard to consider EnterpriseCrmFrontendsEventbusProtoTriggerConfig used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(EnterpriseCrmFrontendsEventbusProtoTriggerConfig.class);
}
/**
* Output only. Auto-generated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Optional. A user-defined label that annotates an integration version. Typically, this is only
* set when the integration version is created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userLabel;
/**
* Output only. Auto-generated.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. Auto-generated.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Optional. Flag to disable database persistence for execution data, including event execution
* info, execution export info, execution metadata index and execution param index.
* @return value or {@code null} for none
*/
public java.lang.String getDatabasePersistencePolicy() {
return databasePersistencePolicy;
}
/**
* Optional. Flag to disable database persistence for execution data, including event execution
* info, execution export info, execution metadata index and execution param index.
* @param databasePersistencePolicy databasePersistencePolicy or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setDatabasePersistencePolicy(java.lang.String databasePersistencePolicy) {
this.databasePersistencePolicy = databasePersistencePolicy;
return this;
}
/**
* Optional. The templateversion description. Permitted format is alphanumeric with underscores
* and no spaces.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* Optional. The templateversion description. Permitted format is alphanumeric with underscores
* and no spaces.
* @param description description or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS
* role of the user making the call.
* @return value or {@code null} for none
*/
public java.lang.String getLastModifierEmail() {
return lastModifierEmail;
}
/**
* Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS
* role of the user making the call.
* @param lastModifierEmail lastModifierEmail or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setLastModifierEmail(java.lang.String lastModifierEmail) {
this.lastModifierEmail = lastModifierEmail;
return this;
}
/**
* Output only. Auto-generated primary key. Format: projects/{project}/locations/{location}/produc
* ts/{product}/integrationtemplates/{integrationtemplate}/versions/{version}
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Auto-generated primary key. Format: projects/{project}/locations/{location}/produc
* ts/{product}/integrationtemplates/{integrationtemplate}/versions/{version}
* @param name name or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion
* @return value or {@code null} for none
*/
public java.lang.String getParentIntegrationVersionId() {
return parentIntegrationVersionId;
}
/**
* Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion
* @param parentIntegrationVersionId parentIntegrationVersionId or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setParentIntegrationVersionId(java.lang.String parentIntegrationVersionId) {
this.parentIntegrationVersionId = parentIntegrationVersionId;
return this;
}
/**
* Output only. An increasing sequence that is set when a new snapshot is created.
* @return value or {@code null} for none
*/
public java.lang.Long getSnapshotNumber() {
return snapshotNumber;
}
/**
* Output only. An increasing sequence that is set when a new snapshot is created.
* @param snapshotNumber snapshotNumber or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setSnapshotNumber(java.lang.Long snapshotNumber) {
this.snapshotNumber = snapshotNumber;
return this;
}
/**
* Optional. Generated by eventbus. User should not set it as an input.
* @return value or {@code null} for none
*/
public java.lang.String getStatus() {
return status;
}
/**
* Optional. Generated by eventbus. User should not set it as an input.
* @param status status or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setStatus(java.lang.String status) {
this.status = status;
return this;
}
/**
* Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the
* IntegrationTemplateVersion doesn't do anything without task_configs.
* @return value or {@code null} for none
*/
public java.util.List getTaskConfigs() {
return taskConfigs;
}
/**
* Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the
* IntegrationTemplateVersion doesn't do anything without task_configs.
* @param taskConfigs taskConfigs or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setTaskConfigs(java.util.List taskConfigs) {
this.taskConfigs = taskConfigs;
return this;
}
/**
* Optional. Contains a graph of tasks that will be executed before putting the event in a
* terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally"
* in code.
* @return value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoTeardown getTeardown() {
return teardown;
}
/**
* Optional. Contains a graph of tasks that will be executed before putting the event in a
* terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally"
* in code.
* @param teardown teardown or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setTeardown(EnterpriseCrmEventbusProtoTeardown teardown) {
this.teardown = teardown;
return this;
}
/**
* Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an
* event is triggered. This consists of all the parameters that are expected in the
* IntegrationTemplateVersion execution. This gives the user the ability to provide default
* values, add information like PII and also provide data types of each parameter.
* @return value or {@code null} for none
*/
public EnterpriseCrmFrontendsEventbusProtoWorkflowParameters getTemplateParameters() {
return templateParameters;
}
/**
* Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an
* event is triggered. This consists of all the parameters that are expected in the
* IntegrationTemplateVersion execution. This gives the user the ability to provide default
* values, add information like PII and also provide data types of each parameter.
* @param templateParameters templateParameters or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setTemplateParameters(EnterpriseCrmFrontendsEventbusProtoWorkflowParameters templateParameters) {
this.templateParameters = templateParameters;
return this;
}
/**
* Optional. Trigger configurations.
* @return value or {@code null} for none
*/
public java.util.List getTriggerConfigs() {
return triggerConfigs;
}
/**
* Optional. Trigger configurations.
* @param triggerConfigs triggerConfigs or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setTriggerConfigs(java.util.List triggerConfigs) {
this.triggerConfigs = triggerConfigs;
return this;
}
/**
* Output only. Auto-generated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. Auto-generated.
* @param updateTime updateTime or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* Optional. A user-defined label that annotates an integration version. Typically, this is only
* set when the integration version is created.
* @return value or {@code null} for none
*/
public java.lang.String getUserLabel() {
return userLabel;
}
/**
* Optional. A user-defined label that annotates an integration version. Typically, this is only
* set when the integration version is created.
* @param userLabel userLabel or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion setUserLabel(java.lang.String userLabel) {
this.userLabel = userLabel;
return this;
}
@Override
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion set(String fieldName, Object value) {
return (GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion) super.set(fieldName, value);
}
@Override
public GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion clone() {
return (GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy