com.google.api.services.integrations.v1alpha.model.EnterpriseCrmLoggingGwsFieldLimits 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;
/**
* Describes string and array limits when writing to logs. When a limit is exceeded the
* *shortener_type* describes how to shorten the field. next_id: 6
*
* 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 EnterpriseCrmLoggingGwsFieldLimits extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String logAction;
/**
* To which type(s) of logs the limits apply.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List logType;
/**
* maximum array size. If the array exceds this size, the field (list) is truncated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxArraySize;
/**
* maximum string length. If the field exceeds this amount the field is shortened.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxStringLength;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String shortenerType;
/**
* @return value or {@code null} for none
*/
public java.lang.String getLogAction() {
return logAction;
}
/**
* @param logAction logAction or {@code null} for none
*/
public EnterpriseCrmLoggingGwsFieldLimits setLogAction(java.lang.String logAction) {
this.logAction = logAction;
return this;
}
/**
* To which type(s) of logs the limits apply.
* @return value or {@code null} for none
*/
public java.util.List getLogType() {
return logType;
}
/**
* To which type(s) of logs the limits apply.
* @param logType logType or {@code null} for none
*/
public EnterpriseCrmLoggingGwsFieldLimits setLogType(java.util.List logType) {
this.logType = logType;
return this;
}
/**
* maximum array size. If the array exceds this size, the field (list) is truncated.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxArraySize() {
return maxArraySize;
}
/**
* maximum array size. If the array exceds this size, the field (list) is truncated.
* @param maxArraySize maxArraySize or {@code null} for none
*/
public EnterpriseCrmLoggingGwsFieldLimits setMaxArraySize(java.lang.Integer maxArraySize) {
this.maxArraySize = maxArraySize;
return this;
}
/**
* maximum string length. If the field exceeds this amount the field is shortened.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxStringLength() {
return maxStringLength;
}
/**
* maximum string length. If the field exceeds this amount the field is shortened.
* @param maxStringLength maxStringLength or {@code null} for none
*/
public EnterpriseCrmLoggingGwsFieldLimits setMaxStringLength(java.lang.Integer maxStringLength) {
this.maxStringLength = maxStringLength;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getShortenerType() {
return shortenerType;
}
/**
* @param shortenerType shortenerType or {@code null} for none
*/
public EnterpriseCrmLoggingGwsFieldLimits setShortenerType(java.lang.String shortenerType) {
this.shortenerType = shortenerType;
return this;
}
@Override
public EnterpriseCrmLoggingGwsFieldLimits set(String fieldName, Object value) {
return (EnterpriseCrmLoggingGwsFieldLimits) super.set(fieldName, value);
}
@Override
public EnterpriseCrmLoggingGwsFieldLimits clone() {
return (EnterpriseCrmLoggingGwsFieldLimits) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy