public final class Report
extends com.google.api.client.json.GenericJson
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 Search Ads 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Report.Files
Model definition for ReportFiles.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Report() |
Modifier and Type | Method and Description |
---|---|
Report |
clone() |
java.util.List<Report.Files> |
getFiles()
Asynchronous report only.
|
java.lang.String |
getId()
Asynchronous report only.
|
java.lang.Boolean |
getIsReportReady()
Asynchronous report only.
|
java.lang.String |
getKind()
Identifies this as a Report resource.
|
ReportRequest |
getRequest()
The request that created the report.
|
java.lang.Integer |
getRowCount()
The number of report rows generated by the report, not including headers.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getRows()
Synchronous report only.
|
java.lang.String |
getStatisticsCurrencyCode()
The currency code of all monetary values produced in the report, including values that are set
by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue).
|
java.lang.String |
getStatisticsTimeZone()
If all statistics of the report are sourced from the same time zone, this would be it.
|
Report |
set(java.lang.String fieldName,
java.lang.Object value) |
Report |
setFiles(java.util.List<Report.Files> files)
Asynchronous report only.
|
Report |
setId(java.lang.String id)
Asynchronous report only.
|
Report |
setIsReportReady(java.lang.Boolean isReportReady)
Asynchronous report only.
|
Report |
setKind(java.lang.String kind)
Identifies this as a Report resource.
|
Report |
setRequest(ReportRequest request)
The request that created the report.
|
Report |
setRowCount(java.lang.Integer rowCount)
The number of report rows generated by the report, not including headers.
|
Report |
setRows(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> rows)
Synchronous report only.
|
Report |
setStatisticsCurrencyCode(java.lang.String statisticsCurrencyCode)
The currency code of all monetary values produced in the report, including values that are set
by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue).
|
Report |
setStatisticsTimeZone(java.lang.String statisticsTimeZone)
If all statistics of the report are sourced from the same time zone, this would be it.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<Report.Files> getFiles()
null
for nonepublic Report setFiles(java.util.List<Report.Files> files)
files
- files or null
for nonepublic java.lang.String getId()
null
for nonepublic Report setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.Boolean getIsReportReady()
null
for nonepublic Report setIsReportReady(java.lang.Boolean isReportReady)
isReportReady
- isReportReady or null
for nonepublic java.lang.String getKind()
null
for nonepublic Report setKind(java.lang.String kind)
kind
- kind or null
for nonepublic ReportRequest getRequest()
null
for nonepublic Report setRequest(ReportRequest request)
request
- request or null
for nonepublic java.lang.Integer getRowCount()
null
for nonepublic Report setRowCount(java.lang.Integer rowCount)
rowCount
- rowCount or null
for nonepublic java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getRows()
null
for nonepublic Report setRows(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> rows)
rows
- rows or null
for nonepublic java.lang.String getStatisticsCurrencyCode()
null
for nonepublic Report setStatisticsCurrencyCode(java.lang.String statisticsCurrencyCode)
statisticsCurrencyCode
- statisticsCurrencyCode or null
for nonepublic java.lang.String getStatisticsTimeZone()
null
for nonepublic Report setStatisticsTimeZone(java.lang.String statisticsTimeZone)
statisticsTimeZone
- statisticsTimeZone or null
for nonepublic Report set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Report clone()
clone
in class com.google.api.client.json.GenericJson