Skip to content

Commit 79becb6

Browse files
1 parent dc673e0 commit 79becb6

9 files changed

Lines changed: 785 additions & 6 deletions

File tree

clients/google-api-services-dfareporting/v5/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dfareporting</artifactId>
25-
<version>v5-rev20260527-2.0.0</version>
25+
<version>v5-rev20260713-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dfareporting:v5-rev20260527-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dfareporting:v5-rev20260713-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dfareporting/v5/2.0.0/com/google/api/services/dfareporting/Dfareporting.java

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29037,6 +29037,147 @@ public Update set(String parameterName, Object value) {
2903729037

2903829038
}
2903929039

29040+
/**
29041+
* An accessor for creating requests from the ReportData collection.
29042+
*
29043+
* <p>The typical use is:</p>
29044+
* <pre>
29045+
* {@code Dfareporting dfareporting = new Dfareporting(...);}
29046+
* {@code Dfareporting.ReportData.List request = dfareporting.reportData().list(parameters ...)}
29047+
* </pre>
29048+
*
29049+
* @return the resource collection
29050+
*/
29051+
public ReportData reportData() {
29052+
return new ReportData();
29053+
}
29054+
29055+
/**
29056+
* The "reportData" collection of methods.
29057+
*/
29058+
public class ReportData {
29059+
29060+
/**
29061+
* Executes an ad-hoc query and returns structured JSON payload data.
29062+
*
29063+
* Create a request for the method "reportData.query".
29064+
*
29065+
* This request holds the parameters needed by the dfareporting server. After setting any optional
29066+
* parameters, call the {@link Query#execute()} method to invoke the remote operation.
29067+
*
29068+
* @param profileId Required. The Campaign Manager 360 user profile ID.
29069+
* @param content the {@link com.google.api.services.dfareporting.model.ReportDataQueryRequest}
29070+
* @return the request
29071+
*/
29072+
public Query query(java.lang.Long profileId, com.google.api.services.dfareporting.model.ReportDataQueryRequest content) throws java.io.IOException {
29073+
Query result = new Query(profileId, content);
29074+
initialize(result);
29075+
return result;
29076+
}
29077+
29078+
public class Query extends DfareportingRequest<com.google.api.services.dfareporting.model.ReportDataResponse> {
29079+
29080+
private static final String REST_PATH = "userprofiles/{profileId}/reportdata/query";
29081+
29082+
/**
29083+
* Executes an ad-hoc query and returns structured JSON payload data.
29084+
*
29085+
* Create a request for the method "reportData.query".
29086+
*
29087+
* This request holds the parameters needed by the the dfareporting server. After setting any
29088+
* optional parameters, call the {@link Query#execute()} method to invoke the remote operation.
29089+
* <p> {@link
29090+
* Query#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
29091+
* be called to initialize this instance immediately after invoking the constructor. </p>
29092+
*
29093+
* @param profileId Required. The Campaign Manager 360 user profile ID.
29094+
* @param content the {@link com.google.api.services.dfareporting.model.ReportDataQueryRequest}
29095+
* @since 1.13
29096+
*/
29097+
protected Query(java.lang.Long profileId, com.google.api.services.dfareporting.model.ReportDataQueryRequest content) {
29098+
super(Dfareporting.this, "POST", REST_PATH, content, com.google.api.services.dfareporting.model.ReportDataResponse.class);
29099+
this.profileId = com.google.api.client.util.Preconditions.checkNotNull(profileId, "Required parameter profileId must be specified.");
29100+
}
29101+
29102+
@Override
29103+
public Query set$Xgafv(java.lang.String $Xgafv) {
29104+
return (Query) super.set$Xgafv($Xgafv);
29105+
}
29106+
29107+
@Override
29108+
public Query setAccessToken(java.lang.String accessToken) {
29109+
return (Query) super.setAccessToken(accessToken);
29110+
}
29111+
29112+
@Override
29113+
public Query setAlt(java.lang.String alt) {
29114+
return (Query) super.setAlt(alt);
29115+
}
29116+
29117+
@Override
29118+
public Query setCallback(java.lang.String callback) {
29119+
return (Query) super.setCallback(callback);
29120+
}
29121+
29122+
@Override
29123+
public Query setFields(java.lang.String fields) {
29124+
return (Query) super.setFields(fields);
29125+
}
29126+
29127+
@Override
29128+
public Query setKey(java.lang.String key) {
29129+
return (Query) super.setKey(key);
29130+
}
29131+
29132+
@Override
29133+
public Query setOauthToken(java.lang.String oauthToken) {
29134+
return (Query) super.setOauthToken(oauthToken);
29135+
}
29136+
29137+
@Override
29138+
public Query setPrettyPrint(java.lang.Boolean prettyPrint) {
29139+
return (Query) super.setPrettyPrint(prettyPrint);
29140+
}
29141+
29142+
@Override
29143+
public Query setQuotaUser(java.lang.String quotaUser) {
29144+
return (Query) super.setQuotaUser(quotaUser);
29145+
}
29146+
29147+
@Override
29148+
public Query setUploadType(java.lang.String uploadType) {
29149+
return (Query) super.setUploadType(uploadType);
29150+
}
29151+
29152+
@Override
29153+
public Query setUploadProtocol(java.lang.String uploadProtocol) {
29154+
return (Query) super.setUploadProtocol(uploadProtocol);
29155+
}
29156+
29157+
/** Required. The Campaign Manager 360 user profile ID. */
29158+
@com.google.api.client.util.Key
29159+
private java.lang.Long profileId;
29160+
29161+
/** Required. The Campaign Manager 360 user profile ID.
29162+
*/
29163+
public java.lang.Long getProfileId() {
29164+
return profileId;
29165+
}
29166+
29167+
/** Required. The Campaign Manager 360 user profile ID. */
29168+
public Query setProfileId(java.lang.Long profileId) {
29169+
this.profileId = profileId;
29170+
return this;
29171+
}
29172+
29173+
@Override
29174+
public Query set(String parameterName, Object value) {
29175+
return (Query) super.set(parameterName, value);
29176+
}
29177+
}
29178+
29179+
}
29180+
2904029181
/**
2904129182
* An accessor for creating requests from the Reports collection.
2904229183
*
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dfareporting.model;
18+
19+
/**
20+
* A column header in the report.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ColumnHeader extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The column name.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String name;
39+
40+
/**
41+
* Output only. The column type.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String type;
46+
47+
/**
48+
* Output only. The column name.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getName() {
52+
return name;
53+
}
54+
55+
/**
56+
* Output only. The column name.
57+
* @param name name or {@code null} for none
58+
*/
59+
public ColumnHeader setName(java.lang.String name) {
60+
this.name = name;
61+
return this;
62+
}
63+
64+
/**
65+
* Output only. The column type.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getType() {
69+
return type;
70+
}
71+
72+
/**
73+
* Output only. The column type.
74+
* @param type type or {@code null} for none
75+
*/
76+
public ColumnHeader setType(java.lang.String type) {
77+
this.type = type;
78+
return this;
79+
}
80+
81+
@Override
82+
public ColumnHeader set(String fieldName, Object value) {
83+
return (ColumnHeader) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public ColumnHeader clone() {
88+
return (ColumnHeader) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)