Skip to content

Commit 36a8f77

Browse files
1 parent c624f3e commit 36a8f77

File tree

9 files changed

+1461
-6
lines changed

9 files changed

+1461
-6
lines changed

clients/google-api-services-analyticsadmin/v1alpha/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-analyticsadmin</artifactId>
25-
<version>v1alpha-rev20250307-2.0.0</version>
25+
<version>v1alpha-rev20250329-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-analyticsadmin:v1alpha-rev20250307-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticsadmin:v1alpha-rev20250329-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-analyticsadmin/v1alpha/2.0.0/com/google/api/services/analyticsadmin/v1alpha/GoogleAnalyticsAdmin.java

Lines changed: 889 additions & 0 deletions
Large diffs are not rendered by default.

clients/google-api-services-analyticsadmin/v1alpha/2.0.0/com/google/api/services/analyticsadmin/v1alpha/model/GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ public final class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryRe
198198
@com.google.api.client.util.Key
199199
private GoogleAnalyticsAdminV1alphaProperty property;
200200

201+
/**
202+
* A snapshot of a ReportingDataAnnotation resource in change history.
203+
* The value may be {@code null}.
204+
*/
205+
@com.google.api.client.util.Key
206+
private GoogleAnalyticsAdminV1alphaReportingDataAnnotation reportingDataAnnotation;
207+
201208
/**
202209
* A snapshot of a SearchAds360Link resource in change history.
203210
* The value may be {@code null}.
@@ -620,6 +627,23 @@ public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setPr
620627
return this;
621628
}
622629

630+
/**
631+
* A snapshot of a ReportingDataAnnotation resource in change history.
632+
* @return value or {@code null} for none
633+
*/
634+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation getReportingDataAnnotation() {
635+
return reportingDataAnnotation;
636+
}
637+
638+
/**
639+
* A snapshot of a ReportingDataAnnotation resource in change history.
640+
* @param reportingDataAnnotation reportingDataAnnotation or {@code null} for none
641+
*/
642+
public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setReportingDataAnnotation(GoogleAnalyticsAdminV1alphaReportingDataAnnotation reportingDataAnnotation) {
643+
this.reportingDataAnnotation = reportingDataAnnotation;
644+
return this;
645+
}
646+
623647
/**
624648
* A snapshot of a SearchAds360Link resource in change history.
625649
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.analyticsadmin.v1alpha.model;
18+
19+
/**
20+
* Response message for ListReportingDataAnnotation RPC.
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 Google Analytics Admin API. For a detailed
24+
* explanation 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 GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
35+
* there are no subsequent pages.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String nextPageToken;
40+
41+
/**
42+
* List of Reporting Data Annotations.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleAnalyticsAdminV1alphaReportingDataAnnotation> reportingDataAnnotations;
47+
48+
/**
49+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
50+
* there are no subsequent pages.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getNextPageToken() {
54+
return nextPageToken;
55+
}
56+
57+
/**
58+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
59+
* there are no subsequent pages.
60+
* @param nextPageToken nextPageToken or {@code null} for none
61+
*/
62+
public GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse setNextPageToken(java.lang.String nextPageToken) {
63+
this.nextPageToken = nextPageToken;
64+
return this;
65+
}
66+
67+
/**
68+
* List of Reporting Data Annotations.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.util.List<GoogleAnalyticsAdminV1alphaReportingDataAnnotation> getReportingDataAnnotations() {
72+
return reportingDataAnnotations;
73+
}
74+
75+
/**
76+
* List of Reporting Data Annotations.
77+
* @param reportingDataAnnotations reportingDataAnnotations or {@code null} for none
78+
*/
79+
public GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse setReportingDataAnnotations(java.util.List<GoogleAnalyticsAdminV1alphaReportingDataAnnotation> reportingDataAnnotations) {
80+
this.reportingDataAnnotations = reportingDataAnnotations;
81+
return this;
82+
}
83+
84+
@Override
85+
public GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse set(String fieldName, Object value) {
86+
return (GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse clone() {
91+
return (GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
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.analyticsadmin.v1alpha.model;
18+
19+
/**
20+
* A Reporting Data Annotation is a comment connected to certain dates for reporting data.
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 Google Analytics Admin API. For a detailed
24+
* explanation 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 GoogleAnalyticsAdminV1alphaReportingDataAnnotation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* If set, the Reporting Data Annotation is for a specific date represented by this field. The
35+
* date must be a valid date with year, month and day set. The date may be in the past, present,
36+
* or future.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private GoogleTypeDate annotationDate;
41+
42+
/**
43+
* If set, the Reporting Data Annotation is for a range of dates represented by this field.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange annotationDateRange;
48+
49+
/**
50+
* Required. The color used for display of this Reporting Data Annotation.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String color;
55+
56+
/**
57+
* Optional. Description for this Reporting Data Annotation.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String description;
62+
63+
/**
64+
* Required. Identifier. Resource name of this Reporting Data Annotation. Format:
65+
* 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format:
66+
* 'properties/123/reportingDataAnnotations/456'
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.String name;
71+
72+
/**
73+
* Output only. If true, this annotation was generated by the Google Analytics system. System-
74+
* generated annotations cannot be updated or deleted.
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.Boolean systemGenerated;
79+
80+
/**
81+
* Required. Human-readable title for this Reporting Data Annotation.
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.lang.String title;
86+
87+
/**
88+
* If set, the Reporting Data Annotation is for a specific date represented by this field. The
89+
* date must be a valid date with year, month and day set. The date may be in the past, present,
90+
* or future.
91+
* @return value or {@code null} for none
92+
*/
93+
public GoogleTypeDate getAnnotationDate() {
94+
return annotationDate;
95+
}
96+
97+
/**
98+
* If set, the Reporting Data Annotation is for a specific date represented by this field. The
99+
* date must be a valid date with year, month and day set. The date may be in the past, present,
100+
* or future.
101+
* @param annotationDate annotationDate or {@code null} for none
102+
*/
103+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setAnnotationDate(GoogleTypeDate annotationDate) {
104+
this.annotationDate = annotationDate;
105+
return this;
106+
}
107+
108+
/**
109+
* If set, the Reporting Data Annotation is for a range of dates represented by this field.
110+
* @return value or {@code null} for none
111+
*/
112+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange getAnnotationDateRange() {
113+
return annotationDateRange;
114+
}
115+
116+
/**
117+
* If set, the Reporting Data Annotation is for a range of dates represented by this field.
118+
* @param annotationDateRange annotationDateRange or {@code null} for none
119+
*/
120+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setAnnotationDateRange(GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange annotationDateRange) {
121+
this.annotationDateRange = annotationDateRange;
122+
return this;
123+
}
124+
125+
/**
126+
* Required. The color used for display of this Reporting Data Annotation.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getColor() {
130+
return color;
131+
}
132+
133+
/**
134+
* Required. The color used for display of this Reporting Data Annotation.
135+
* @param color color or {@code null} for none
136+
*/
137+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setColor(java.lang.String color) {
138+
this.color = color;
139+
return this;
140+
}
141+
142+
/**
143+
* Optional. Description for this Reporting Data Annotation.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.String getDescription() {
147+
return description;
148+
}
149+
150+
/**
151+
* Optional. Description for this Reporting Data Annotation.
152+
* @param description description or {@code null} for none
153+
*/
154+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setDescription(java.lang.String description) {
155+
this.description = description;
156+
return this;
157+
}
158+
159+
/**
160+
* Required. Identifier. Resource name of this Reporting Data Annotation. Format:
161+
* 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format:
162+
* 'properties/123/reportingDataAnnotations/456'
163+
* @return value or {@code null} for none
164+
*/
165+
public java.lang.String getName() {
166+
return name;
167+
}
168+
169+
/**
170+
* Required. Identifier. Resource name of this Reporting Data Annotation. Format:
171+
* 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format:
172+
* 'properties/123/reportingDataAnnotations/456'
173+
* @param name name or {@code null} for none
174+
*/
175+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setName(java.lang.String name) {
176+
this.name = name;
177+
return this;
178+
}
179+
180+
/**
181+
* Output only. If true, this annotation was generated by the Google Analytics system. System-
182+
* generated annotations cannot be updated or deleted.
183+
* @return value or {@code null} for none
184+
*/
185+
public java.lang.Boolean getSystemGenerated() {
186+
return systemGenerated;
187+
}
188+
189+
/**
190+
* Output only. If true, this annotation was generated by the Google Analytics system. System-
191+
* generated annotations cannot be updated or deleted.
192+
* @param systemGenerated systemGenerated or {@code null} for none
193+
*/
194+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setSystemGenerated(java.lang.Boolean systemGenerated) {
195+
this.systemGenerated = systemGenerated;
196+
return this;
197+
}
198+
199+
/**
200+
* Required. Human-readable title for this Reporting Data Annotation.
201+
* @return value or {@code null} for none
202+
*/
203+
public java.lang.String getTitle() {
204+
return title;
205+
}
206+
207+
/**
208+
* Required. Human-readable title for this Reporting Data Annotation.
209+
* @param title title or {@code null} for none
210+
*/
211+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation setTitle(java.lang.String title) {
212+
this.title = title;
213+
return this;
214+
}
215+
216+
@Override
217+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation set(String fieldName, Object value) {
218+
return (GoogleAnalyticsAdminV1alphaReportingDataAnnotation) super.set(fieldName, value);
219+
}
220+
221+
@Override
222+
public GoogleAnalyticsAdminV1alphaReportingDataAnnotation clone() {
223+
return (GoogleAnalyticsAdminV1alphaReportingDataAnnotation) super.clone();
224+
}
225+
226+
}

0 commit comments

Comments
 (0)