Skip to content

Commit d8b92ba

Browse files
1 parent d400535 commit d8b92ba

File tree

6 files changed

+307
-6
lines changed

6 files changed

+307
-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-rev20260331-2.0.0</version>
25+
<version>v1alpha-rev20260412-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-rev20260331-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticsadmin:v1alpha-rev20260412-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: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4202,6 +4202,155 @@ public GetReportingIdentitySettings set(String parameterName, Object value) {
42024202
return (GetReportingIdentitySettings) super.set(parameterName, value);
42034203
}
42044204
}
4205+
/**
4206+
* Looks up settings related to user-provided data for a property.
4207+
*
4208+
* Create a request for the method "properties.getUserProvidedDataSettings".
4209+
*
4210+
* This request holds the parameters needed by the analyticsadmin server. After setting any
4211+
* optional parameters, call the {@link GetUserProvidedDataSettings#execute()} method to invoke the
4212+
* remote operation.
4213+
*
4214+
* @param name Required. The name of the user provided data settings to retrieve. Format:
4215+
* properties/{property}/userProvidedDataSettings
4216+
* @return the request
4217+
*/
4218+
public GetUserProvidedDataSettings getUserProvidedDataSettings(java.lang.String name) throws java.io.IOException {
4219+
GetUserProvidedDataSettings result = new GetUserProvidedDataSettings(name);
4220+
initialize(result);
4221+
return result;
4222+
}
4223+
4224+
public class GetUserProvidedDataSettings extends GoogleAnalyticsAdminRequest<com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaUserProvidedDataSettings> {
4225+
4226+
private static final String REST_PATH = "v1alpha/{+name}";
4227+
4228+
private final java.util.regex.Pattern NAME_PATTERN =
4229+
java.util.regex.Pattern.compile("^properties/[^/]+/userProvidedDataSettings$");
4230+
4231+
/**
4232+
* Looks up settings related to user-provided data for a property.
4233+
*
4234+
* Create a request for the method "properties.getUserProvidedDataSettings".
4235+
*
4236+
* This request holds the parameters needed by the the analyticsadmin server. After setting any
4237+
* optional parameters, call the {@link GetUserProvidedDataSettings#execute()} method to invoke
4238+
* the remote operation. <p> {@link GetUserProvidedDataSettings#initialize(com.google.api.client.g
4239+
* oogleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
4240+
* immediately after invoking the constructor. </p>
4241+
*
4242+
* @param name Required. The name of the user provided data settings to retrieve. Format:
4243+
* properties/{property}/userProvidedDataSettings
4244+
* @since 1.13
4245+
*/
4246+
protected GetUserProvidedDataSettings(java.lang.String name) {
4247+
super(GoogleAnalyticsAdmin.this, "GET", REST_PATH, null, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaUserProvidedDataSettings.class);
4248+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4249+
if (!getSuppressPatternChecks()) {
4250+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4251+
"Parameter name must conform to the pattern " +
4252+
"^properties/[^/]+/userProvidedDataSettings$");
4253+
}
4254+
}
4255+
4256+
@Override
4257+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
4258+
return super.executeUsingHead();
4259+
}
4260+
4261+
@Override
4262+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
4263+
return super.buildHttpRequestUsingHead();
4264+
}
4265+
4266+
@Override
4267+
public GetUserProvidedDataSettings set$Xgafv(java.lang.String $Xgafv) {
4268+
return (GetUserProvidedDataSettings) super.set$Xgafv($Xgafv);
4269+
}
4270+
4271+
@Override
4272+
public GetUserProvidedDataSettings setAccessToken(java.lang.String accessToken) {
4273+
return (GetUserProvidedDataSettings) super.setAccessToken(accessToken);
4274+
}
4275+
4276+
@Override
4277+
public GetUserProvidedDataSettings setAlt(java.lang.String alt) {
4278+
return (GetUserProvidedDataSettings) super.setAlt(alt);
4279+
}
4280+
4281+
@Override
4282+
public GetUserProvidedDataSettings setCallback(java.lang.String callback) {
4283+
return (GetUserProvidedDataSettings) super.setCallback(callback);
4284+
}
4285+
4286+
@Override
4287+
public GetUserProvidedDataSettings setFields(java.lang.String fields) {
4288+
return (GetUserProvidedDataSettings) super.setFields(fields);
4289+
}
4290+
4291+
@Override
4292+
public GetUserProvidedDataSettings setKey(java.lang.String key) {
4293+
return (GetUserProvidedDataSettings) super.setKey(key);
4294+
}
4295+
4296+
@Override
4297+
public GetUserProvidedDataSettings setOauthToken(java.lang.String oauthToken) {
4298+
return (GetUserProvidedDataSettings) super.setOauthToken(oauthToken);
4299+
}
4300+
4301+
@Override
4302+
public GetUserProvidedDataSettings setPrettyPrint(java.lang.Boolean prettyPrint) {
4303+
return (GetUserProvidedDataSettings) super.setPrettyPrint(prettyPrint);
4304+
}
4305+
4306+
@Override
4307+
public GetUserProvidedDataSettings setQuotaUser(java.lang.String quotaUser) {
4308+
return (GetUserProvidedDataSettings) super.setQuotaUser(quotaUser);
4309+
}
4310+
4311+
@Override
4312+
public GetUserProvidedDataSettings setUploadType(java.lang.String uploadType) {
4313+
return (GetUserProvidedDataSettings) super.setUploadType(uploadType);
4314+
}
4315+
4316+
@Override
4317+
public GetUserProvidedDataSettings setUploadProtocol(java.lang.String uploadProtocol) {
4318+
return (GetUserProvidedDataSettings) super.setUploadProtocol(uploadProtocol);
4319+
}
4320+
4321+
/**
4322+
* Required. The name of the user provided data settings to retrieve. Format:
4323+
* properties/{property}/userProvidedDataSettings
4324+
*/
4325+
@com.google.api.client.util.Key
4326+
private java.lang.String name;
4327+
4328+
/** Required. The name of the user provided data settings to retrieve. Format:
4329+
properties/{property}/userProvidedDataSettings
4330+
*/
4331+
public java.lang.String getName() {
4332+
return name;
4333+
}
4334+
4335+
/**
4336+
* Required. The name of the user provided data settings to retrieve. Format:
4337+
* properties/{property}/userProvidedDataSettings
4338+
*/
4339+
public GetUserProvidedDataSettings setName(java.lang.String name) {
4340+
if (!getSuppressPatternChecks()) {
4341+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4342+
"Parameter name must conform to the pattern " +
4343+
"^properties/[^/]+/userProvidedDataSettings$");
4344+
}
4345+
this.name = name;
4346+
return this;
4347+
}
4348+
4349+
@Override
4350+
public GetUserProvidedDataSettings set(String parameterName, Object value) {
4351+
return (GetUserProvidedDataSettings) super.set(parameterName, value);
4352+
}
4353+
}
42054354
/**
42064355
* Returns child Properties under the specified parent Account. Properties will be excluded if the
42074356
* caller does not have access. Soft-deleted (ie: "trashed") properties are excluded 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
@@ -233,6 +233,13 @@ public final class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryRe
233233
@com.google.api.client.util.Key
234234
private GoogleAnalyticsAdminV1alphaSubpropertySyncConfig subpropertySyncConfig;
235235

236+
/**
237+
* A snapshot of a UserProvidedDataSettings resource in change history.
238+
* The value may be {@code null}.
239+
*/
240+
@com.google.api.client.util.Key
241+
private GoogleAnalyticsAdminV1alphaUserProvidedDataSettings userProvidedDataSettings;
242+
236243
/**
237244
* A snapshot of an Account resource in change history.
238245
* @return value or {@code null} for none
@@ -726,6 +733,23 @@ public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setSu
726733
return this;
727734
}
728735

736+
/**
737+
* A snapshot of a UserProvidedDataSettings resource in change history.
738+
* @return value or {@code null} for none
739+
*/
740+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings getUserProvidedDataSettings() {
741+
return userProvidedDataSettings;
742+
}
743+
744+
/**
745+
* A snapshot of a UserProvidedDataSettings resource in change history.
746+
* @param userProvidedDataSettings userProvidedDataSettings or {@code null} for none
747+
*/
748+
public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setUserProvidedDataSettings(GoogleAnalyticsAdminV1alphaUserProvidedDataSettings userProvidedDataSettings) {
749+
this.userProvidedDataSettings = userProvidedDataSettings;
750+
return this;
751+
}
752+
729753
@Override
730754
public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource set(String fieldName, Object value) {
731755
return (GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
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+
* Configuration for user-provided data collection. This is a singleton resource for a Google
21+
* Analytics property.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Analytics Admin API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleAnalyticsAdminV1alphaUserProvidedDataSettings extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. Whether this property allows a Google Tag to automatically collect user-provided data
36+
* from your website. This setting only takes effect if `user_provided_data_collection_enabled` is
37+
* also true.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Boolean automaticallyDetectedDataCollectionEnabled;
42+
43+
/**
44+
* Identifier. Resource name of this setting. Format:
45+
* properties/{property}/userProvidedDataSettings Example:
46+
* "properties/1000/userProvidedDataSettings"
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String name;
51+
52+
/**
53+
* Optional. Whether this property accepts user-provided data sent to it.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.Boolean userProvidedDataCollectionEnabled;
58+
59+
/**
60+
* Optional. Whether this property allows a Google Tag to automatically collect user-provided data
61+
* from your website. This setting only takes effect if `user_provided_data_collection_enabled` is
62+
* also true.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.Boolean getAutomaticallyDetectedDataCollectionEnabled() {
66+
return automaticallyDetectedDataCollectionEnabled;
67+
}
68+
69+
/**
70+
* Optional. Whether this property allows a Google Tag to automatically collect user-provided data
71+
* from your website. This setting only takes effect if `user_provided_data_collection_enabled` is
72+
* also true.
73+
* @param automaticallyDetectedDataCollectionEnabled automaticallyDetectedDataCollectionEnabled or {@code null} for none
74+
*/
75+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings setAutomaticallyDetectedDataCollectionEnabled(java.lang.Boolean automaticallyDetectedDataCollectionEnabled) {
76+
this.automaticallyDetectedDataCollectionEnabled = automaticallyDetectedDataCollectionEnabled;
77+
return this;
78+
}
79+
80+
/**
81+
* Identifier. Resource name of this setting. Format:
82+
* properties/{property}/userProvidedDataSettings Example:
83+
* "properties/1000/userProvidedDataSettings"
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getName() {
87+
return name;
88+
}
89+
90+
/**
91+
* Identifier. Resource name of this setting. Format:
92+
* properties/{property}/userProvidedDataSettings Example:
93+
* "properties/1000/userProvidedDataSettings"
94+
* @param name name or {@code null} for none
95+
*/
96+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings setName(java.lang.String name) {
97+
this.name = name;
98+
return this;
99+
}
100+
101+
/**
102+
* Optional. Whether this property accepts user-provided data sent to it.
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.Boolean getUserProvidedDataCollectionEnabled() {
106+
return userProvidedDataCollectionEnabled;
107+
}
108+
109+
/**
110+
* Optional. Whether this property accepts user-provided data sent to it.
111+
* @param userProvidedDataCollectionEnabled userProvidedDataCollectionEnabled or {@code null} for none
112+
*/
113+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings setUserProvidedDataCollectionEnabled(java.lang.Boolean userProvidedDataCollectionEnabled) {
114+
this.userProvidedDataCollectionEnabled = userProvidedDataCollectionEnabled;
115+
return this;
116+
}
117+
118+
@Override
119+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings set(String fieldName, Object value) {
120+
return (GoogleAnalyticsAdminV1alphaUserProvidedDataSettings) super.set(fieldName, value);
121+
}
122+
123+
@Override
124+
public GoogleAnalyticsAdminV1alphaUserProvidedDataSettings clone() {
125+
return (GoogleAnalyticsAdminV1alphaUserProvidedDataSettings) super.clone();
126+
}
127+
128+
}

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-rev20260331-2.0.0</version>
12-
<name>Google Analytics Admin API v1alpha-rev20260331-2.0.0</name>
11+
<version>v1alpha-rev20260412-2.0.0</version>
12+
<name>Google Analytics Admin API v1alpha-rev20260412-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)