All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1RunReportJobRequest Maven / Gradle / Ivy

There is a newer version: v1-rev20241202-2.0.0
Show newest version
/*
 * 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.cloudchannel.v1.model;

/**
 * Request message for CloudChannelReportsService.RunReportJob.
 *
 * 

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 Cloud Channel 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 GoogleCloudChannelV1RunReportJobRequest extends com.google.api.client.json.GenericJson { /** * Optional. The range of usage or invoice dates to include in the result. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudChannelV1DateRange dateRange; /** * Optional. A structured string that defines conditions on dimension columns to restrict the * report output. Filters support logical operators (AND, OR, NOT) and conditional operators (=, * !=, <, >, <=, and >=) using `column_id` as keys. For example: * `(customer:"accounts/C123abc/customers/S456def" OR * customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year >= 2022` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String filter; /** * Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to * the corresponding language code if the original data sources support it. Default is "en-US". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String languageCode; /** * Optional. The range of usage or invoice dates to include in the result. * @return value or {@code null} for none */ public GoogleCloudChannelV1DateRange getDateRange() { return dateRange; } /** * Optional. The range of usage or invoice dates to include in the result. * @param dateRange dateRange or {@code null} for none */ public GoogleCloudChannelV1RunReportJobRequest setDateRange(GoogleCloudChannelV1DateRange dateRange) { this.dateRange = dateRange; return this; } /** * Optional. A structured string that defines conditions on dimension columns to restrict the * report output. Filters support logical operators (AND, OR, NOT) and conditional operators (=, * !=, <, >, <=, and >=) using `column_id` as keys. For example: * `(customer:"accounts/C123abc/customers/S456def" OR * customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year >= 2022` * @return value or {@code null} for none */ public java.lang.String getFilter() { return filter; } /** * Optional. A structured string that defines conditions on dimension columns to restrict the * report output. Filters support logical operators (AND, OR, NOT) and conditional operators (=, * !=, <, >, <=, and >=) using `column_id` as keys. For example: * `(customer:"accounts/C123abc/customers/S456def" OR * customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year >= 2022` * @param filter filter or {@code null} for none */ public GoogleCloudChannelV1RunReportJobRequest setFilter(java.lang.String filter) { this.filter = filter; return this; } /** * Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to * the corresponding language code if the original data sources support it. Default is "en-US". * @return value or {@code null} for none */ public java.lang.String getLanguageCode() { return languageCode; } /** * Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to * the corresponding language code if the original data sources support it. Default is "en-US". * @param languageCode languageCode or {@code null} for none */ public GoogleCloudChannelV1RunReportJobRequest setLanguageCode(java.lang.String languageCode) { this.languageCode = languageCode; return this; } @Override public GoogleCloudChannelV1RunReportJobRequest set(String fieldName, Object value) { return (GoogleCloudChannelV1RunReportJobRequest) super.set(fieldName, value); } @Override public GoogleCloudChannelV1RunReportJobRequest clone() { return (GoogleCloudChannelV1RunReportJobRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy