Skip to content

Commit 9d68724

Browse files
1 parent 0e72d55 commit 9d68724

File tree

6 files changed

+281
-6
lines changed

6 files changed

+281
-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-rev20250615-2.0.0</version>
25+
<version>v1alpha-rev20250625-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-rev20250615-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticsadmin:v1alpha-rev20250625-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: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4488,6 +4488,160 @@ public GetGoogleSignalsSettings set(String parameterName, Object value) {
44884488
return (GetGoogleSignalsSettings) super.set(parameterName, value);
44894489
}
44904490
}
4491+
/**
4492+
* Returns the singleton data retention settings for this property.
4493+
*
4494+
* Create a request for the method "properties.getReportingIdentitySettings".
4495+
*
4496+
* This request holds the parameters needed by the analyticsadmin server. After setting any
4497+
* optional parameters, call the {@link GetReportingIdentitySettings#execute()} method to invoke the
4498+
* remote operation.
4499+
*
4500+
* @param name Required. The name of the settings to lookup. Format:
4501+
* properties/{property}/reportingIdentitySettings Example:
4502+
* "properties/1000/reportingIdentitySettings"
4503+
* @return the request
4504+
*/
4505+
public GetReportingIdentitySettings getReportingIdentitySettings(java.lang.String name) throws java.io.IOException {
4506+
GetReportingIdentitySettings result = new GetReportingIdentitySettings(name);
4507+
initialize(result);
4508+
return result;
4509+
}
4510+
4511+
public class GetReportingIdentitySettings extends GoogleAnalyticsAdminRequest<com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaReportingIdentitySettings> {
4512+
4513+
private static final String REST_PATH = "v1alpha/{+name}";
4514+
4515+
private final java.util.regex.Pattern NAME_PATTERN =
4516+
java.util.regex.Pattern.compile("^properties/[^/]+/reportingIdentitySettings$");
4517+
4518+
/**
4519+
* Returns the singleton data retention settings for this property.
4520+
*
4521+
* Create a request for the method "properties.getReportingIdentitySettings".
4522+
*
4523+
* This request holds the parameters needed by the the analyticsadmin server. After setting any
4524+
* optional parameters, call the {@link GetReportingIdentitySettings#execute()} method to invoke
4525+
* the remote operation. <p> {@link GetReportingIdentitySettings#initialize(com.google.api.client.
4526+
* googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
4527+
* immediately after invoking the constructor. </p>
4528+
*
4529+
* @param name Required. The name of the settings to lookup. Format:
4530+
* properties/{property}/reportingIdentitySettings Example:
4531+
* "properties/1000/reportingIdentitySettings"
4532+
* @since 1.13
4533+
*/
4534+
protected GetReportingIdentitySettings(java.lang.String name) {
4535+
super(GoogleAnalyticsAdmin.this, "GET", REST_PATH, null, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaReportingIdentitySettings.class);
4536+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4537+
if (!getSuppressPatternChecks()) {
4538+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4539+
"Parameter name must conform to the pattern " +
4540+
"^properties/[^/]+/reportingIdentitySettings$");
4541+
}
4542+
}
4543+
4544+
@Override
4545+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
4546+
return super.executeUsingHead();
4547+
}
4548+
4549+
@Override
4550+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
4551+
return super.buildHttpRequestUsingHead();
4552+
}
4553+
4554+
@Override
4555+
public GetReportingIdentitySettings set$Xgafv(java.lang.String $Xgafv) {
4556+
return (GetReportingIdentitySettings) super.set$Xgafv($Xgafv);
4557+
}
4558+
4559+
@Override
4560+
public GetReportingIdentitySettings setAccessToken(java.lang.String accessToken) {
4561+
return (GetReportingIdentitySettings) super.setAccessToken(accessToken);
4562+
}
4563+
4564+
@Override
4565+
public GetReportingIdentitySettings setAlt(java.lang.String alt) {
4566+
return (GetReportingIdentitySettings) super.setAlt(alt);
4567+
}
4568+
4569+
@Override
4570+
public GetReportingIdentitySettings setCallback(java.lang.String callback) {
4571+
return (GetReportingIdentitySettings) super.setCallback(callback);
4572+
}
4573+
4574+
@Override
4575+
public GetReportingIdentitySettings setFields(java.lang.String fields) {
4576+
return (GetReportingIdentitySettings) super.setFields(fields);
4577+
}
4578+
4579+
@Override
4580+
public GetReportingIdentitySettings setKey(java.lang.String key) {
4581+
return (GetReportingIdentitySettings) super.setKey(key);
4582+
}
4583+
4584+
@Override
4585+
public GetReportingIdentitySettings setOauthToken(java.lang.String oauthToken) {
4586+
return (GetReportingIdentitySettings) super.setOauthToken(oauthToken);
4587+
}
4588+
4589+
@Override
4590+
public GetReportingIdentitySettings setPrettyPrint(java.lang.Boolean prettyPrint) {
4591+
return (GetReportingIdentitySettings) super.setPrettyPrint(prettyPrint);
4592+
}
4593+
4594+
@Override
4595+
public GetReportingIdentitySettings setQuotaUser(java.lang.String quotaUser) {
4596+
return (GetReportingIdentitySettings) super.setQuotaUser(quotaUser);
4597+
}
4598+
4599+
@Override
4600+
public GetReportingIdentitySettings setUploadType(java.lang.String uploadType) {
4601+
return (GetReportingIdentitySettings) super.setUploadType(uploadType);
4602+
}
4603+
4604+
@Override
4605+
public GetReportingIdentitySettings setUploadProtocol(java.lang.String uploadProtocol) {
4606+
return (GetReportingIdentitySettings) super.setUploadProtocol(uploadProtocol);
4607+
}
4608+
4609+
/**
4610+
* Required. The name of the settings to lookup. Format:
4611+
* properties/{property}/reportingIdentitySettings Example:
4612+
* "properties/1000/reportingIdentitySettings"
4613+
*/
4614+
@com.google.api.client.util.Key
4615+
private java.lang.String name;
4616+
4617+
/** Required. The name of the settings to lookup. Format:
4618+
properties/{property}/reportingIdentitySettings Example:
4619+
"properties/1000/reportingIdentitySettings"
4620+
*/
4621+
public java.lang.String getName() {
4622+
return name;
4623+
}
4624+
4625+
/**
4626+
* Required. The name of the settings to lookup. Format:
4627+
* properties/{property}/reportingIdentitySettings Example:
4628+
* "properties/1000/reportingIdentitySettings"
4629+
*/
4630+
public GetReportingIdentitySettings setName(java.lang.String name) {
4631+
if (!getSuppressPatternChecks()) {
4632+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4633+
"Parameter name must conform to the pattern " +
4634+
"^properties/[^/]+/reportingIdentitySettings$");
4635+
}
4636+
this.name = name;
4637+
return this;
4638+
}
4639+
4640+
@Override
4641+
public GetReportingIdentitySettings set(String parameterName, Object value) {
4642+
return (GetReportingIdentitySettings) super.set(parameterName, value);
4643+
}
4644+
}
44914645
/**
44924646
* Returns child Properties under the specified parent Account. Properties will be excluded if the
44934647
* 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
@@ -205,6 +205,13 @@ public final class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryRe
205205
@com.google.api.client.util.Key
206206
private GoogleAnalyticsAdminV1alphaReportingDataAnnotation reportingDataAnnotation;
207207

208+
/**
209+
* A snapshot of a ReportingIdentitySettings resource in change history.
210+
* The value may be {@code null}.
211+
*/
212+
@com.google.api.client.util.Key
213+
private GoogleAnalyticsAdminV1alphaReportingIdentitySettings reportingIdentitySettings;
214+
208215
/**
209216
* A snapshot of a SearchAds360Link resource in change history.
210217
* The value may be {@code null}.
@@ -651,6 +658,23 @@ public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setRe
651658
return this;
652659
}
653660

661+
/**
662+
* A snapshot of a ReportingIdentitySettings resource in change history.
663+
* @return value or {@code null} for none
664+
*/
665+
public GoogleAnalyticsAdminV1alphaReportingIdentitySettings getReportingIdentitySettings() {
666+
return reportingIdentitySettings;
667+
}
668+
669+
/**
670+
* A snapshot of a ReportingIdentitySettings resource in change history.
671+
* @param reportingIdentitySettings reportingIdentitySettings or {@code null} for none
672+
*/
673+
public GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource setReportingIdentitySettings(GoogleAnalyticsAdminV1alphaReportingIdentitySettings reportingIdentitySettings) {
674+
this.reportingIdentitySettings = reportingIdentitySettings;
675+
return this;
676+
}
677+
654678
/**
655679
* A snapshot of a SearchAds360Link resource in change history.
656680
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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 resource containing settings related to reporting identity.
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 GoogleAnalyticsAdminV1alphaReportingIdentitySettings extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Identifier. Resource name for this reporting identity settings singleton resource.
35+
* Format: properties/{property_id}/reportingIdentitySettings Example:
36+
* "properties/1234/reportingIdentitySettings"
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String name;
41+
42+
/**
43+
* The strategy used for identifying user identities in reports.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String reportingIdentity;
48+
49+
/**
50+
* Output only. Identifier. Resource name for this reporting identity settings singleton resource.
51+
* Format: properties/{property_id}/reportingIdentitySettings Example:
52+
* "properties/1234/reportingIdentitySettings"
53+
* @return value or {@code null} for none
54+
*/
55+
public java.lang.String getName() {
56+
return name;
57+
}
58+
59+
/**
60+
* Output only. Identifier. Resource name for this reporting identity settings singleton resource.
61+
* Format: properties/{property_id}/reportingIdentitySettings Example:
62+
* "properties/1234/reportingIdentitySettings"
63+
* @param name name or {@code null} for none
64+
*/
65+
public GoogleAnalyticsAdminV1alphaReportingIdentitySettings setName(java.lang.String name) {
66+
this.name = name;
67+
return this;
68+
}
69+
70+
/**
71+
* The strategy used for identifying user identities in reports.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getReportingIdentity() {
75+
return reportingIdentity;
76+
}
77+
78+
/**
79+
* The strategy used for identifying user identities in reports.
80+
* @param reportingIdentity reportingIdentity or {@code null} for none
81+
*/
82+
public GoogleAnalyticsAdminV1alphaReportingIdentitySettings setReportingIdentity(java.lang.String reportingIdentity) {
83+
this.reportingIdentity = reportingIdentity;
84+
return this;
85+
}
86+
87+
@Override
88+
public GoogleAnalyticsAdminV1alphaReportingIdentitySettings set(String fieldName, Object value) {
89+
return (GoogleAnalyticsAdminV1alphaReportingIdentitySettings) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public GoogleAnalyticsAdminV1alphaReportingIdentitySettings clone() {
94+
return (GoogleAnalyticsAdminV1alphaReportingIdentitySettings) super.clone();
95+
}
96+
97+
}

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-rev20250615-2.0.0</version>
12-
<name>Google Analytics Admin API v1alpha-rev20250615-2.0.0</name>
11+
<version>v1alpha-rev20250625-2.0.0</version>
12+
<name>Google Analytics Admin API v1alpha-rev20250625-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-rev20250615-2.0.0</version>
25+
<version>v1alpha-rev20250625-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-rev20250615-2.0.0'
38+
implementation 'com.google.apis:google-api-services-analyticsadmin:v1alpha-rev20250625-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)