Skip to content

Commit 75d2527

Browse files
fix!: [analyticsadmin] delete BatchDeleteUserLinks, DeleteUserLink, BatchUpdateUserLinks, UpdateUserLink, BatchCreateUserLinks, CreateUserLink, AuditUserLinks, ListUserLinks, BatchGetUserLinks, GetUserLink from the Admin API v1 alph... (#9982)
* fix!: delete `BatchDeleteUserLinks`, `DeleteUserLink`, `BatchUpdateUserLinks`, `UpdateUserLink`, `BatchCreateUserLinks`, `CreateUserLink`, `AuditUserLinks`, `ListUserLinks`, `BatchGetUserLinks`, `GetUserLink` from the Admin API v1 alpha as per the announcement in https://bit.ly/46yBIDt feat: add `UpdateDataRedactionSettings`, `CreateRollupProperty`, `GetRollupPropertySourceLink`, `ListRollupPropertySourceLinks`, `CreateRollupPropertySourceLink`, `DeleteRollupPropertySourceLink`, `CreateSubproperty`, `CreateSubpropertyEventFilter`, `CreateSubpropertyEventFilter`, `ListSubpropertyEventFilters`, `UpdateSubpropertyEventFilter`, `DeleteSubpropertyEventFilter` methods to the Admin API v1 alpha feat: add `include_all_users`, `expand_groups` fields to `RunAccessReportRequest` feat: add `DataRedactionSettings`, `RollupPropertySourceLink`, `SubpropertyEventFilterCondition`, `SubpropertyEventFilterExpression`, `SubpropertyEventFilterExpressionList`, `SubpropertyEventFilterClause`, `SubpropertyEventFilter` types feat: add the `DATA_REDACTION_SETTINGS` option to the `ChangeHistoryResourceType` enum feat: add the `data_redaction_settings` field to the `ChangeHistoryResource.resource` oneof field PiperOrigin-RevId: 574877732 Source-Link: googleapis/googleapis@a3006dd Source-Link: https://github.com/googleapis/googleapis-gen/commit/4eb740a4cf21c13d13737b3488fa4c752e13b79d Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiNGViNzQwYTRjZjIxYzEzZDEzNzM3YjM0ODhmYTRjNzUyZTEzYjc5ZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f242404 commit 75d2527

File tree

146 files changed

+46306
-35151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+46306
-35151
lines changed

java-analytics-admin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2323
<dependency>
2424
<groupId>com.google.cloud</groupId>
2525
<artifactId>libraries-bom</artifactId>
26-
<version>26.23.0</version>
26+
<version>26.25.0</version>
2727
<type>pom</type>
2828
<scope>import</scope>
2929
</dependency>
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.34.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.38.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java

Lines changed: 5787 additions & 5700 deletions
Large diffs are not rendered by default.

java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java

Lines changed: 136 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.google.analytics.admin.v1alpha;
1818

19-
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.AuditUserLinksPagedResponse;
2019
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccessBindingsPagedResponse;
2120
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
2221
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
@@ -36,9 +35,9 @@
3635
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
3736
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
3837
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse;
38+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListRollupPropertySourceLinksPagedResponse;
3939
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemasPagedResponse;
4040
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse;
41-
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
4241
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
4342

4443
import com.google.analytics.admin.v1alpha.stub.AnalyticsAdminServiceStubSettings;
@@ -165,62 +164,6 @@ public UnaryCallSettings<UpdatePropertyRequest, Property> updatePropertySettings
165164
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updatePropertySettings();
166165
}
167166

168-
/** Returns the object with the settings used for calls to getUserLink. */
169-
public UnaryCallSettings<GetUserLinkRequest, UserLink> getUserLinkSettings() {
170-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getUserLinkSettings();
171-
}
172-
173-
/** Returns the object with the settings used for calls to batchGetUserLinks. */
174-
public UnaryCallSettings<BatchGetUserLinksRequest, BatchGetUserLinksResponse>
175-
batchGetUserLinksSettings() {
176-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchGetUserLinksSettings();
177-
}
178-
179-
/** Returns the object with the settings used for calls to listUserLinks. */
180-
public PagedCallSettings<ListUserLinksRequest, ListUserLinksResponse, ListUserLinksPagedResponse>
181-
listUserLinksSettings() {
182-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listUserLinksSettings();
183-
}
184-
185-
/** Returns the object with the settings used for calls to auditUserLinks. */
186-
public PagedCallSettings<
187-
AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLinksPagedResponse>
188-
auditUserLinksSettings() {
189-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).auditUserLinksSettings();
190-
}
191-
192-
/** Returns the object with the settings used for calls to createUserLink. */
193-
public UnaryCallSettings<CreateUserLinkRequest, UserLink> createUserLinkSettings() {
194-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createUserLinkSettings();
195-
}
196-
197-
/** Returns the object with the settings used for calls to batchCreateUserLinks. */
198-
public UnaryCallSettings<BatchCreateUserLinksRequest, BatchCreateUserLinksResponse>
199-
batchCreateUserLinksSettings() {
200-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchCreateUserLinksSettings();
201-
}
202-
203-
/** Returns the object with the settings used for calls to updateUserLink. */
204-
public UnaryCallSettings<UpdateUserLinkRequest, UserLink> updateUserLinkSettings() {
205-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateUserLinkSettings();
206-
}
207-
208-
/** Returns the object with the settings used for calls to batchUpdateUserLinks. */
209-
public UnaryCallSettings<BatchUpdateUserLinksRequest, BatchUpdateUserLinksResponse>
210-
batchUpdateUserLinksSettings() {
211-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchUpdateUserLinksSettings();
212-
}
213-
214-
/** Returns the object with the settings used for calls to deleteUserLink. */
215-
public UnaryCallSettings<DeleteUserLinkRequest, Empty> deleteUserLinkSettings() {
216-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteUserLinkSettings();
217-
}
218-
219-
/** Returns the object with the settings used for calls to batchDeleteUserLinks. */
220-
public UnaryCallSettings<BatchDeleteUserLinksRequest, Empty> batchDeleteUserLinksSettings() {
221-
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchDeleteUserLinksSettings();
222-
}
223-
224167
/** Returns the object with the settings used for calls to createFirebaseLink. */
225168
public UnaryCallSettings<CreateFirebaseLinkRequest, FirebaseLink> createFirebaseLinkSettings() {
226169
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings();
@@ -946,6 +889,77 @@ public UnaryCallSettings<DeleteEventCreateRuleRequest, Empty> deleteEventCreateR
946889
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteEventCreateRuleSettings();
947890
}
948891

892+
/** Returns the object with the settings used for calls to updateDataRedactionSettings. */
893+
public UnaryCallSettings<UpdateDataRedactionSettingsRequest, DataRedactionSettings>
894+
updateDataRedactionSettingsSettings() {
895+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
896+
.updateDataRedactionSettingsSettings();
897+
}
898+
899+
/** Returns the object with the settings used for calls to getDataRedactionSettings. */
900+
public UnaryCallSettings<GetDataRedactionSettingsRequest, DataRedactionSettings>
901+
getDataRedactionSettingsSettings() {
902+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
903+
.getDataRedactionSettingsSettings();
904+
}
905+
906+
/** Returns the object with the settings used for calls to createRollupProperty. */
907+
public UnaryCallSettings<CreateRollupPropertyRequest, CreateRollupPropertyResponse>
908+
createRollupPropertySettings() {
909+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createRollupPropertySettings();
910+
}
911+
912+
/** Returns the object with the settings used for calls to getRollupPropertySourceLink. */
913+
public UnaryCallSettings<GetRollupPropertySourceLinkRequest, RollupPropertySourceLink>
914+
getRollupPropertySourceLinkSettings() {
915+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
916+
.getRollupPropertySourceLinkSettings();
917+
}
918+
919+
/** Returns the object with the settings used for calls to listRollupPropertySourceLinks. */
920+
public PagedCallSettings<
921+
ListRollupPropertySourceLinksRequest,
922+
ListRollupPropertySourceLinksResponse,
923+
ListRollupPropertySourceLinksPagedResponse>
924+
listRollupPropertySourceLinksSettings() {
925+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
926+
.listRollupPropertySourceLinksSettings();
927+
}
928+
929+
/** Returns the object with the settings used for calls to createRollupPropertySourceLink. */
930+
public UnaryCallSettings<CreateRollupPropertySourceLinkRequest, RollupPropertySourceLink>
931+
createRollupPropertySourceLinkSettings() {
932+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
933+
.createRollupPropertySourceLinkSettings();
934+
}
935+
936+
/** Returns the object with the settings used for calls to deleteRollupPropertySourceLink. */
937+
public UnaryCallSettings<DeleteRollupPropertySourceLinkRequest, Empty>
938+
deleteRollupPropertySourceLinkSettings() {
939+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
940+
.deleteRollupPropertySourceLinkSettings();
941+
}
942+
943+
/** Returns the object with the settings used for calls to createSubproperty. */
944+
public UnaryCallSettings<CreateSubpropertyRequest, CreateSubpropertyResponse>
945+
createSubpropertySettings() {
946+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createSubpropertySettings();
947+
}
948+
949+
/** Returns the object with the settings used for calls to deleteSubpropertyEventFilter. */
950+
public UnaryCallSettings<DeleteSubpropertyEventFilterRequest, Empty>
951+
deleteSubpropertyEventFilterSettings() {
952+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
953+
.deleteSubpropertyEventFilterSettings();
954+
}
955+
956+
/** Returns the object with the settings used for calls to createSubpropertyEventFilter. */
957+
public UnaryCallSettings<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
958+
createSubpropertyEventFilterSettings() {
959+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
960+
.createSubpropertyEventFilterSettings();
961+
}
962+
949963
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
950964
throws IOException {
951965
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -1126,64 +1140,6 @@ public UnaryCallSettings.Builder<UpdatePropertyRequest, Property> updateProperty
11261140
return getStubSettingsBuilder().updatePropertySettings();
11271141
}
11281142

1129-
/** Returns the builder for the settings used for calls to getUserLink. */
1130-
public UnaryCallSettings.Builder<GetUserLinkRequest, UserLink> getUserLinkSettings() {
1131-
return getStubSettingsBuilder().getUserLinkSettings();
1132-
}
1133-
1134-
/** Returns the builder for the settings used for calls to batchGetUserLinks. */
1135-
public UnaryCallSettings.Builder<BatchGetUserLinksRequest, BatchGetUserLinksResponse>
1136-
batchGetUserLinksSettings() {
1137-
return getStubSettingsBuilder().batchGetUserLinksSettings();
1138-
}
1139-
1140-
/** Returns the builder for the settings used for calls to listUserLinks. */
1141-
public PagedCallSettings.Builder<
1142-
ListUserLinksRequest, ListUserLinksResponse, ListUserLinksPagedResponse>
1143-
listUserLinksSettings() {
1144-
return getStubSettingsBuilder().listUserLinksSettings();
1145-
}
1146-
1147-
/** Returns the builder for the settings used for calls to auditUserLinks. */
1148-
public PagedCallSettings.Builder<
1149-
AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLinksPagedResponse>
1150-
auditUserLinksSettings() {
1151-
return getStubSettingsBuilder().auditUserLinksSettings();
1152-
}
1153-
1154-
/** Returns the builder for the settings used for calls to createUserLink. */
1155-
public UnaryCallSettings.Builder<CreateUserLinkRequest, UserLink> createUserLinkSettings() {
1156-
return getStubSettingsBuilder().createUserLinkSettings();
1157-
}
1158-
1159-
/** Returns the builder for the settings used for calls to batchCreateUserLinks. */
1160-
public UnaryCallSettings.Builder<BatchCreateUserLinksRequest, BatchCreateUserLinksResponse>
1161-
batchCreateUserLinksSettings() {
1162-
return getStubSettingsBuilder().batchCreateUserLinksSettings();
1163-
}
1164-
1165-
/** Returns the builder for the settings used for calls to updateUserLink. */
1166-
public UnaryCallSettings.Builder<UpdateUserLinkRequest, UserLink> updateUserLinkSettings() {
1167-
return getStubSettingsBuilder().updateUserLinkSettings();
1168-
}
1169-
1170-
/** Returns the builder for the settings used for calls to batchUpdateUserLinks. */
1171-
public UnaryCallSettings.Builder<BatchUpdateUserLinksRequest, BatchUpdateUserLinksResponse>
1172-
batchUpdateUserLinksSettings() {
1173-
return getStubSettingsBuilder().batchUpdateUserLinksSettings();
1174-
}
1175-
1176-
/** Returns the builder for the settings used for calls to deleteUserLink. */
1177-
public UnaryCallSettings.Builder<DeleteUserLinkRequest, Empty> deleteUserLinkSettings() {
1178-
return getStubSettingsBuilder().deleteUserLinkSettings();
1179-
}
1180-
1181-
/** Returns the builder for the settings used for calls to batchDeleteUserLinks. */
1182-
public UnaryCallSettings.Builder<BatchDeleteUserLinksRequest, Empty>
1183-
batchDeleteUserLinksSettings() {
1184-
return getStubSettingsBuilder().batchDeleteUserLinksSettings();
1185-
}
1186-
11871143
/** Returns the builder for the settings used for calls to createFirebaseLink. */
11881144
public UnaryCallSettings.Builder<CreateFirebaseLinkRequest, FirebaseLink>
11891145
createFirebaseLinkSettings() {
@@ -1924,6 +1880,70 @@ public UnaryCallSettings.Builder<DeleteAdSenseLinkRequest, Empty> deleteAdSenseL
19241880
return getStubSettingsBuilder().deleteEventCreateRuleSettings();
19251881
}
19261882

1883+
/** Returns the builder for the settings used for calls to updateDataRedactionSettings. */
1884+
public UnaryCallSettings.Builder<UpdateDataRedactionSettingsRequest, DataRedactionSettings>
1885+
updateDataRedactionSettingsSettings() {
1886+
return getStubSettingsBuilder().updateDataRedactionSettingsSettings();
1887+
}
1888+
1889+
/** Returns the builder for the settings used for calls to getDataRedactionSettings. */
1890+
public UnaryCallSettings.Builder<GetDataRedactionSettingsRequest, DataRedactionSettings>
1891+
getDataRedactionSettingsSettings() {
1892+
return getStubSettingsBuilder().getDataRedactionSettingsSettings();
1893+
}
1894+
1895+
/** Returns the builder for the settings used for calls to createRollupProperty. */
1896+
public UnaryCallSettings.Builder<CreateRollupPropertyRequest, CreateRollupPropertyResponse>
1897+
createRollupPropertySettings() {
1898+
return getStubSettingsBuilder().createRollupPropertySettings();
1899+
}
1900+
1901+
/** Returns the builder for the settings used for calls to getRollupPropertySourceLink. */
1902+
public UnaryCallSettings.Builder<GetRollupPropertySourceLinkRequest, RollupPropertySourceLink>
1903+
getRollupPropertySourceLinkSettings() {
1904+
return getStubSettingsBuilder().getRollupPropertySourceLinkSettings();
1905+
}
1906+
1907+
/** Returns the builder for the settings used for calls to listRollupPropertySourceLinks. */
1908+
public PagedCallSettings.Builder<
1909+
ListRollupPropertySourceLinksRequest,
1910+
ListRollupPropertySourceLinksResponse,
1911+
ListRollupPropertySourceLinksPagedResponse>
1912+
listRollupPropertySourceLinksSettings() {
1913+
return getStubSettingsBuilder().listRollupPropertySourceLinksSettings();
1914+
}
1915+
1916+
/** Returns the builder for the settings used for calls to createRollupPropertySourceLink. */
1917+
public UnaryCallSettings.Builder<
1918+
CreateRollupPropertySourceLinkRequest, RollupPropertySourceLink>
1919+
createRollupPropertySourceLinkSettings() {
1920+
return getStubSettingsBuilder().createRollupPropertySourceLinkSettings();
1921+
}
1922+
1923+
/** Returns the builder for the settings used for calls to deleteRollupPropertySourceLink. */
1924+
public UnaryCallSettings.Builder<DeleteRollupPropertySourceLinkRequest, Empty>
1925+
deleteRollupPropertySourceLinkSettings() {
1926+
return getStubSettingsBuilder().deleteRollupPropertySourceLinkSettings();
1927+
}
1928+
1929+
/** Returns the builder for the settings used for calls to createSubproperty. */
1930+
public UnaryCallSettings.Builder<CreateSubpropertyRequest, CreateSubpropertyResponse>
1931+
createSubpropertySettings() {
1932+
return getStubSettingsBuilder().createSubpropertySettings();
1933+
}
1934+
1935+
/** Returns the builder for the settings used for calls to deleteSubpropertyEventFilter. */
1936+
public UnaryCallSettings.Builder<DeleteSubpropertyEventFilterRequest, Empty>
1937+
deleteSubpropertyEventFilterSettings() {
1938+
return getStubSettingsBuilder().deleteSubpropertyEventFilterSettings();
1939+
}
1940+
1941+
/** Returns the builder for the settings used for calls to createSubpropertyEventFilter. */
1942+
public UnaryCallSettings.Builder<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
1943+
createSubpropertyEventFilterSettings() {
1944+
return getStubSettingsBuilder().createSubpropertyEventFilterSettings();
1945+
}
1946+
19271947
@Override
19281948
public AnalyticsAdminServiceSettings build() throws IOException {
19291949
return new AnalyticsAdminServiceSettings(this);

0 commit comments

Comments
 (0)