com.google.api.services.integrations.v1alpha.model.GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest 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;
/**
* Use this request to post all workflows associated with a given trigger id. Next available id: 10
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Application Integration API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest extends com.google.api.client.json.GenericJson {
/**
* Optional. If the client id is provided, then the combination of trigger id and client id is
* matched across all the workflows. If the client id is not provided, then workflows with
* matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api
* Trigger, the client id is required and will be validated against the allowed clients.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clientId;
/**
* Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows
* are not found. If this flag is set to be true, an error will not be thrown if the requested
* trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always
* thrown. The flag is set to be false by default.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean ignoreErrorIfNoActiveWorkflow;
/**
* Passed in as parameters to each workflow execution. Optional.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoEventParameters parameters;
/**
* The request priority this request should be processed at. For internal users:
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String priority;
/**
* Optional. This is 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;
/**
* 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;
/**
* 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 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;
}
/**
* 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;
}
/**
* 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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy