com.google.api.services.integrations.v1alpha.model.GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest 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;
/**
* The request to get data for monarch connector config.
*
* 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 GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest extends com.google.api.client.json.GenericJson {
/**
* How long the series data range: "1h","1d",etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String duration;
/**
* Final time to query over, or the current time if left unset.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;
/**
* Required. Query for searching data in monarch.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestMashQuery mashQuery;
/**
* Returns a table of all possible metric field values within the specified duration, ignoring any
* data samples. Useful for autocomplete functionality.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean metricFieldTable;
/**
* The output period for the query. Must be set if there is a window operation within the query
* and unset otherwise.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String outputPeriod;
/**
* Required. Template for response.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String responseTemplate;
/**
* How long the series data range: "1h","1d",etc.
* @return value or {@code null} for none
*/
public String getDuration() {
return duration;
}
/**
* How long the series data range: "1h","1d",etc.
* @param duration duration or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setDuration(String duration) {
this.duration = duration;
return this;
}
/**
* Final time to query over, or the current time if left unset.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}
/**
* Final time to query over, or the current time if left unset.
* @param endTime endTime or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Required. Query for searching data in monarch.
* @return value or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestMashQuery getMashQuery() {
return mashQuery;
}
/**
* Required. Query for searching data in monarch.
* @param mashQuery mashQuery or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setMashQuery(GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequestMashQuery mashQuery) {
this.mashQuery = mashQuery;
return this;
}
/**
* Returns a table of all possible metric field values within the specified duration, ignoring any
* data samples. Useful for autocomplete functionality.
* @return value or {@code null} for none
*/
public java.lang.Boolean getMetricFieldTable() {
return metricFieldTable;
}
/**
* Returns a table of all possible metric field values within the specified duration, ignoring any
* data samples. Useful for autocomplete functionality.
* @param metricFieldTable metricFieldTable or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setMetricFieldTable(java.lang.Boolean metricFieldTable) {
this.metricFieldTable = metricFieldTable;
return this;
}
/**
* The output period for the query. Must be set if there is a window operation within the query
* and unset otherwise.
* @return value or {@code null} for none
*/
public String getOutputPeriod() {
return outputPeriod;
}
/**
* The output period for the query. Must be set if there is a window operation within the query
* and unset otherwise.
* @param outputPeriod outputPeriod or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setOutputPeriod(String outputPeriod) {
this.outputPeriod = outputPeriod;
return this;
}
/**
* Required. Template for response.
* @return value or {@code null} for none
*/
public java.lang.String getResponseTemplate() {
return responseTemplate;
}
/**
* Required. Template for response.
* @param responseTemplate responseTemplate or {@code null} for none
*/
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest setResponseTemplate(java.lang.String responseTemplate) {
this.responseTemplate = responseTemplate;
return this;
}
@Override
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest set(String fieldName, Object value) {
return (GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest) super.set(fieldName, value);
}
@Override
public GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest clone() {
return (GoogleCloudIntegrationsV1alphaMonitorExecutionStatsRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy