Skip to content

Commit 7f4e8e5

Browse files
1 parent 63529ae commit 7f4e8e5

File tree

6 files changed

+359
-6
lines changed

6 files changed

+359
-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-rev20250713-2.0.0</version>
25+
<version>v1alpha-rev20250723-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-rev20250713-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticsadmin:v1alpha-rev20250723-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: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4875,6 +4875,138 @@ public RunAccessReport set(String parameterName, Object value) {
48754875
return (RunAccessReport) super.set(parameterName, value);
48764876
}
48774877
}
4878+
/**
4879+
* Submits a request for user deletion for a property.
4880+
*
4881+
* Create a request for the method "properties.submitUserDeletion".
4882+
*
4883+
* This request holds the parameters needed by the analyticsadmin server. After setting any
4884+
* optional parameters, call the {@link SubmitUserDeletion#execute()} method to invoke the remote
4885+
* operation.
4886+
*
4887+
* @param name Required. The name of the property to submit user deletion for.
4888+
* @param content the {@link com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest}
4889+
* @return the request
4890+
*/
4891+
public SubmitUserDeletion submitUserDeletion(java.lang.String name, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest content) throws java.io.IOException {
4892+
SubmitUserDeletion result = new SubmitUserDeletion(name, content);
4893+
initialize(result);
4894+
return result;
4895+
}
4896+
4897+
public class SubmitUserDeletion extends GoogleAnalyticsAdminRequest<com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse> {
4898+
4899+
private static final String REST_PATH = "v1alpha/{+name}:submitUserDeletion";
4900+
4901+
private final java.util.regex.Pattern NAME_PATTERN =
4902+
java.util.regex.Pattern.compile("^properties/[^/]+$");
4903+
4904+
/**
4905+
* Submits a request for user deletion for a property.
4906+
*
4907+
* Create a request for the method "properties.submitUserDeletion".
4908+
*
4909+
* This request holds the parameters needed by the the analyticsadmin server. After setting any
4910+
* optional parameters, call the {@link SubmitUserDeletion#execute()} method to invoke the remote
4911+
* operation. <p> {@link SubmitUserDeletion#initialize(com.google.api.client.googleapis.services.A
4912+
* bstractGoogleClientRequest)} must be called to initialize this instance immediately after
4913+
* invoking the constructor. </p>
4914+
*
4915+
* @param name Required. The name of the property to submit user deletion for.
4916+
* @param content the {@link com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest}
4917+
* @since 1.13
4918+
*/
4919+
protected SubmitUserDeletion(java.lang.String name, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest content) {
4920+
super(GoogleAnalyticsAdmin.this, "POST", REST_PATH, content, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse.class);
4921+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4922+
if (!getSuppressPatternChecks()) {
4923+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4924+
"Parameter name must conform to the pattern " +
4925+
"^properties/[^/]+$");
4926+
}
4927+
}
4928+
4929+
@Override
4930+
public SubmitUserDeletion set$Xgafv(java.lang.String $Xgafv) {
4931+
return (SubmitUserDeletion) super.set$Xgafv($Xgafv);
4932+
}
4933+
4934+
@Override
4935+
public SubmitUserDeletion setAccessToken(java.lang.String accessToken) {
4936+
return (SubmitUserDeletion) super.setAccessToken(accessToken);
4937+
}
4938+
4939+
@Override
4940+
public SubmitUserDeletion setAlt(java.lang.String alt) {
4941+
return (SubmitUserDeletion) super.setAlt(alt);
4942+
}
4943+
4944+
@Override
4945+
public SubmitUserDeletion setCallback(java.lang.String callback) {
4946+
return (SubmitUserDeletion) super.setCallback(callback);
4947+
}
4948+
4949+
@Override
4950+
public SubmitUserDeletion setFields(java.lang.String fields) {
4951+
return (SubmitUserDeletion) super.setFields(fields);
4952+
}
4953+
4954+
@Override
4955+
public SubmitUserDeletion setKey(java.lang.String key) {
4956+
return (SubmitUserDeletion) super.setKey(key);
4957+
}
4958+
4959+
@Override
4960+
public SubmitUserDeletion setOauthToken(java.lang.String oauthToken) {
4961+
return (SubmitUserDeletion) super.setOauthToken(oauthToken);
4962+
}
4963+
4964+
@Override
4965+
public SubmitUserDeletion setPrettyPrint(java.lang.Boolean prettyPrint) {
4966+
return (SubmitUserDeletion) super.setPrettyPrint(prettyPrint);
4967+
}
4968+
4969+
@Override
4970+
public SubmitUserDeletion setQuotaUser(java.lang.String quotaUser) {
4971+
return (SubmitUserDeletion) super.setQuotaUser(quotaUser);
4972+
}
4973+
4974+
@Override
4975+
public SubmitUserDeletion setUploadType(java.lang.String uploadType) {
4976+
return (SubmitUserDeletion) super.setUploadType(uploadType);
4977+
}
4978+
4979+
@Override
4980+
public SubmitUserDeletion setUploadProtocol(java.lang.String uploadProtocol) {
4981+
return (SubmitUserDeletion) super.setUploadProtocol(uploadProtocol);
4982+
}
4983+
4984+
/** Required. The name of the property to submit user deletion for. */
4985+
@com.google.api.client.util.Key
4986+
private java.lang.String name;
4987+
4988+
/** Required. The name of the property to submit user deletion for.
4989+
*/
4990+
public java.lang.String getName() {
4991+
return name;
4992+
}
4993+
4994+
/** Required. The name of the property to submit user deletion for. */
4995+
public SubmitUserDeletion setName(java.lang.String name) {
4996+
if (!getSuppressPatternChecks()) {
4997+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4998+
"Parameter name must conform to the pattern " +
4999+
"^properties/[^/]+$");
5000+
}
5001+
this.name = name;
5002+
return this;
5003+
}
5004+
5005+
@Override
5006+
public SubmitUserDeletion set(String parameterName, Object value) {
5007+
return (SubmitUserDeletion) super.set(parameterName, value);
5008+
}
5009+
}
48785010
/**
48795011
* Updates attribution settings on a property.
48805012
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
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+
* Request message for SubmitUserDeletion 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 GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl
35+
* e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String appInstanceId;
40+
41+
/**
42+
* Google Analytics [client ID](https://support.google.com/analytics/answer/11593727).
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String clientId;
47+
48+
/**
49+
* Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid).
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String userId;
54+
55+
/**
56+
* [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either
57+
* one email address or one phone number. Email addresses should be normalized as such: *
58+
* lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces
59+
* Phone numbers should be normalized as such: * remove all non digit characters * add + prefix
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.String userProvidedData;
64+
65+
/**
66+
* Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl
67+
* e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getAppInstanceId() {
71+
return appInstanceId;
72+
}
73+
74+
/**
75+
* Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl
76+
* e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId).
77+
* @param appInstanceId appInstanceId or {@code null} for none
78+
*/
79+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setAppInstanceId(java.lang.String appInstanceId) {
80+
this.appInstanceId = appInstanceId;
81+
return this;
82+
}
83+
84+
/**
85+
* Google Analytics [client ID](https://support.google.com/analytics/answer/11593727).
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getClientId() {
89+
return clientId;
90+
}
91+
92+
/**
93+
* Google Analytics [client ID](https://support.google.com/analytics/answer/11593727).
94+
* @param clientId clientId or {@code null} for none
95+
*/
96+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setClientId(java.lang.String clientId) {
97+
this.clientId = clientId;
98+
return this;
99+
}
100+
101+
/**
102+
* Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid).
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.String getUserId() {
106+
return userId;
107+
}
108+
109+
/**
110+
* Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid).
111+
* @param userId userId or {@code null} for none
112+
*/
113+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setUserId(java.lang.String userId) {
114+
this.userId = userId;
115+
return this;
116+
}
117+
118+
/**
119+
* [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either
120+
* one email address or one phone number. Email addresses should be normalized as such: *
121+
* lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces
122+
* Phone numbers should be normalized as such: * remove all non digit characters * add + prefix
123+
* @return value or {@code null} for none
124+
*/
125+
public java.lang.String getUserProvidedData() {
126+
return userProvidedData;
127+
}
128+
129+
/**
130+
* [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either
131+
* one email address or one phone number. Email addresses should be normalized as such: *
132+
* lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces
133+
* Phone numbers should be normalized as such: * remove all non digit characters * add + prefix
134+
* @param userProvidedData userProvidedData or {@code null} for none
135+
*/
136+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setUserProvidedData(java.lang.String userProvidedData) {
137+
this.userProvidedData = userProvidedData;
138+
return this;
139+
}
140+
141+
@Override
142+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest set(String fieldName, Object value) {
143+
return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest) super.set(fieldName, value);
144+
}
145+
146+
@Override
147+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest clone() {
148+
return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest) super.clone();
149+
}
150+
151+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 SubmitUserDeletion 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 GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Marks the moment for which all visitor data before this point should be deleted. This is set to
35+
* the time at which the deletion request was received.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private String deletionRequestTime;
40+
41+
/**
42+
* Marks the moment for which all visitor data before this point should be deleted. This is set to
43+
* the time at which the deletion request was received.
44+
* @return value or {@code null} for none
45+
*/
46+
public String getDeletionRequestTime() {
47+
return deletionRequestTime;
48+
}
49+
50+
/**
51+
* Marks the moment for which all visitor data before this point should be deleted. This is set to
52+
* the time at which the deletion request was received.
53+
* @param deletionRequestTime deletionRequestTime or {@code null} for none
54+
*/
55+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse setDeletionRequestTime(String deletionRequestTime) {
56+
this.deletionRequestTime = deletionRequestTime;
57+
return this;
58+
}
59+
60+
@Override
61+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse set(String fieldName, Object value) {
62+
return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse clone() {
67+
return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionResponse) super.clone();
68+
}
69+
70+
}

clients/google-api-services-analyticsadmin/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-analyticsadmin</artifactId>
11-
<version>v1alpha-rev20250713-2.0.0</version>
12-
<name>Google Analytics Admin API v1alpha-rev20250713-2.0.0</name>
11+
<version>v1alpha-rev20250723-2.0.0</version>
12+
<name>Google Analytics Admin API v1alpha-rev20250723-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)