com.google.api.services.integrations.v1alpha.model.EnterpriseCrmEventbusProtoCloudSchedulerConfig 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;
/**
* Cloud Scheduler Trigger configuration
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Application Integration API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class EnterpriseCrmEventbusProtoCloudSchedulerConfig 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 EnterpriseCrmEventbusProtoCloudSchedulerConfig 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 EnterpriseCrmEventbusProtoCloudSchedulerConfig 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 EnterpriseCrmEventbusProtoCloudSchedulerConfig 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 EnterpriseCrmEventbusProtoCloudSchedulerConfig setServiceAccountEmail(java.lang.String serviceAccountEmail) {
this.serviceAccountEmail = serviceAccountEmail;
return this;
}
@Override
public EnterpriseCrmEventbusProtoCloudSchedulerConfig set(String fieldName, Object value) {
return (EnterpriseCrmEventbusProtoCloudSchedulerConfig) super.set(fieldName, value);
}
@Override
public EnterpriseCrmEventbusProtoCloudSchedulerConfig clone() {
return (EnterpriseCrmEventbusProtoCloudSchedulerConfig) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy