Skip to content

Commit

Permalink
fix!: [analyticsadmin] delete BatchDeleteUserLinks, `DeleteUserLink…
Browse files Browse the repository at this point in the history
…`, `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: googleapis/googleapis-gen@4eb740a
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 19, 2023
1 parent f242404 commit 75d2527
Show file tree
Hide file tree
Showing 146 changed files with 46,306 additions and 35,151 deletions.
4 changes: 2 additions & 2 deletions java-analytics-admin/README.md
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.23.0</version>
<version>26.25.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.38.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -16,7 +16,6 @@

package com.google.analytics.admin.v1alpha;

import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.AuditUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccessBindingsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
Expand All @@ -36,9 +35,9 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListRollupPropertySourceLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSKAdNetworkConversionValueSchemasPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;

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

/** Returns the object with the settings used for calls to getUserLink. */
public UnaryCallSettings<GetUserLinkRequest, UserLink> getUserLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getUserLinkSettings();
}

/** Returns the object with the settings used for calls to batchGetUserLinks. */
public UnaryCallSettings<BatchGetUserLinksRequest, BatchGetUserLinksResponse>
batchGetUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchGetUserLinksSettings();
}

/** Returns the object with the settings used for calls to listUserLinks. */
public PagedCallSettings<ListUserLinksRequest, ListUserLinksResponse, ListUserLinksPagedResponse>
listUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listUserLinksSettings();
}

/** Returns the object with the settings used for calls to auditUserLinks. */
public PagedCallSettings<
AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLinksPagedResponse>
auditUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).auditUserLinksSettings();
}

/** Returns the object with the settings used for calls to createUserLink. */
public UnaryCallSettings<CreateUserLinkRequest, UserLink> createUserLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createUserLinkSettings();
}

/** Returns the object with the settings used for calls to batchCreateUserLinks. */
public UnaryCallSettings<BatchCreateUserLinksRequest, BatchCreateUserLinksResponse>
batchCreateUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchCreateUserLinksSettings();
}

/** Returns the object with the settings used for calls to updateUserLink. */
public UnaryCallSettings<UpdateUserLinkRequest, UserLink> updateUserLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateUserLinkSettings();
}

/** Returns the object with the settings used for calls to batchUpdateUserLinks. */
public UnaryCallSettings<BatchUpdateUserLinksRequest, BatchUpdateUserLinksResponse>
batchUpdateUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchUpdateUserLinksSettings();
}

/** Returns the object with the settings used for calls to deleteUserLink. */
public UnaryCallSettings<DeleteUserLinkRequest, Empty> deleteUserLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteUserLinkSettings();
}

/** Returns the object with the settings used for calls to batchDeleteUserLinks. */
public UnaryCallSettings<BatchDeleteUserLinksRequest, Empty> batchDeleteUserLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchDeleteUserLinksSettings();
}

/** Returns the object with the settings used for calls to createFirebaseLink. */
public UnaryCallSettings<CreateFirebaseLinkRequest, FirebaseLink> createFirebaseLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings();
Expand Down Expand Up @@ -946,6 +889,77 @@ public UnaryCallSettings<DeleteEventCreateRuleRequest, Empty> deleteEventCreateR
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteEventCreateRuleSettings();
}

/** Returns the object with the settings used for calls to updateDataRedactionSettings. */
public UnaryCallSettings<UpdateDataRedactionSettingsRequest, DataRedactionSettings>
updateDataRedactionSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.updateDataRedactionSettingsSettings();
}

/** Returns the object with the settings used for calls to getDataRedactionSettings. */
public UnaryCallSettings<GetDataRedactionSettingsRequest, DataRedactionSettings>
getDataRedactionSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.getDataRedactionSettingsSettings();
}

/** Returns the object with the settings used for calls to createRollupProperty. */
public UnaryCallSettings<CreateRollupPropertyRequest, CreateRollupPropertyResponse>
createRollupPropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createRollupPropertySettings();
}

/** Returns the object with the settings used for calls to getRollupPropertySourceLink. */
public UnaryCallSettings<GetRollupPropertySourceLinkRequest, RollupPropertySourceLink>
getRollupPropertySourceLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.getRollupPropertySourceLinkSettings();
}

/** Returns the object with the settings used for calls to listRollupPropertySourceLinks. */
public PagedCallSettings<
ListRollupPropertySourceLinksRequest,
ListRollupPropertySourceLinksResponse,
ListRollupPropertySourceLinksPagedResponse>
listRollupPropertySourceLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.listRollupPropertySourceLinksSettings();
}

/** Returns the object with the settings used for calls to createRollupPropertySourceLink. */
public UnaryCallSettings<CreateRollupPropertySourceLinkRequest, RollupPropertySourceLink>
createRollupPropertySourceLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.createRollupPropertySourceLinkSettings();
}

/** Returns the object with the settings used for calls to deleteRollupPropertySourceLink. */
public UnaryCallSettings<DeleteRollupPropertySourceLinkRequest, Empty>
deleteRollupPropertySourceLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.deleteRollupPropertySourceLinkSettings();
}

/** Returns the object with the settings used for calls to createSubproperty. */
public UnaryCallSettings<CreateSubpropertyRequest, CreateSubpropertyResponse>
createSubpropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createSubpropertySettings();
}

/** Returns the object with the settings used for calls to deleteSubpropertyEventFilter. */
public UnaryCallSettings<DeleteSubpropertyEventFilterRequest, Empty>
deleteSubpropertyEventFilterSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.deleteSubpropertyEventFilterSettings();
}

/** Returns the object with the settings used for calls to createSubpropertyEventFilter. */
public UnaryCallSettings<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
createSubpropertyEventFilterSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.createSubpropertyEventFilterSettings();
}

public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
throws IOException {
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -1126,64 +1140,6 @@ public UnaryCallSettings.Builder<UpdatePropertyRequest, Property> updateProperty
return getStubSettingsBuilder().updatePropertySettings();
}

/** Returns the builder for the settings used for calls to getUserLink. */
public UnaryCallSettings.Builder<GetUserLinkRequest, UserLink> getUserLinkSettings() {
return getStubSettingsBuilder().getUserLinkSettings();
}

/** Returns the builder for the settings used for calls to batchGetUserLinks. */
public UnaryCallSettings.Builder<BatchGetUserLinksRequest, BatchGetUserLinksResponse>
batchGetUserLinksSettings() {
return getStubSettingsBuilder().batchGetUserLinksSettings();
}

/** Returns the builder for the settings used for calls to listUserLinks. */
public PagedCallSettings.Builder<
ListUserLinksRequest, ListUserLinksResponse, ListUserLinksPagedResponse>
listUserLinksSettings() {
return getStubSettingsBuilder().listUserLinksSettings();
}

/** Returns the builder for the settings used for calls to auditUserLinks. */
public PagedCallSettings.Builder<
AuditUserLinksRequest, AuditUserLinksResponse, AuditUserLinksPagedResponse>
auditUserLinksSettings() {
return getStubSettingsBuilder().auditUserLinksSettings();
}

/** Returns the builder for the settings used for calls to createUserLink. */
public UnaryCallSettings.Builder<CreateUserLinkRequest, UserLink> createUserLinkSettings() {
return getStubSettingsBuilder().createUserLinkSettings();
}

/** Returns the builder for the settings used for calls to batchCreateUserLinks. */
public UnaryCallSettings.Builder<BatchCreateUserLinksRequest, BatchCreateUserLinksResponse>
batchCreateUserLinksSettings() {
return getStubSettingsBuilder().batchCreateUserLinksSettings();
}

/** Returns the builder for the settings used for calls to updateUserLink. */
public UnaryCallSettings.Builder<UpdateUserLinkRequest, UserLink> updateUserLinkSettings() {
return getStubSettingsBuilder().updateUserLinkSettings();
}

/** Returns the builder for the settings used for calls to batchUpdateUserLinks. */
public UnaryCallSettings.Builder<BatchUpdateUserLinksRequest, BatchUpdateUserLinksResponse>
batchUpdateUserLinksSettings() {
return getStubSettingsBuilder().batchUpdateUserLinksSettings();
}

/** Returns the builder for the settings used for calls to deleteUserLink. */
public UnaryCallSettings.Builder<DeleteUserLinkRequest, Empty> deleteUserLinkSettings() {
return getStubSettingsBuilder().deleteUserLinkSettings();
}

/** Returns the builder for the settings used for calls to batchDeleteUserLinks. */
public UnaryCallSettings.Builder<BatchDeleteUserLinksRequest, Empty>
batchDeleteUserLinksSettings() {
return getStubSettingsBuilder().batchDeleteUserLinksSettings();
}

/** Returns the builder for the settings used for calls to createFirebaseLink. */
public UnaryCallSettings.Builder<CreateFirebaseLinkRequest, FirebaseLink>
createFirebaseLinkSettings() {
Expand Down Expand Up @@ -1924,6 +1880,70 @@ public UnaryCallSettings.Builder<DeleteAdSenseLinkRequest, Empty> deleteAdSenseL
return getStubSettingsBuilder().deleteEventCreateRuleSettings();
}

/** Returns the builder for the settings used for calls to updateDataRedactionSettings. */
public UnaryCallSettings.Builder<UpdateDataRedactionSettingsRequest, DataRedactionSettings>
updateDataRedactionSettingsSettings() {
return getStubSettingsBuilder().updateDataRedactionSettingsSettings();
}

/** Returns the builder for the settings used for calls to getDataRedactionSettings. */
public UnaryCallSettings.Builder<GetDataRedactionSettingsRequest, DataRedactionSettings>
getDataRedactionSettingsSettings() {
return getStubSettingsBuilder().getDataRedactionSettingsSettings();
}

/** Returns the builder for the settings used for calls to createRollupProperty. */
public UnaryCallSettings.Builder<CreateRollupPropertyRequest, CreateRollupPropertyResponse>
createRollupPropertySettings() {
return getStubSettingsBuilder().createRollupPropertySettings();
}

/** Returns the builder for the settings used for calls to getRollupPropertySourceLink. */
public UnaryCallSettings.Builder<GetRollupPropertySourceLinkRequest, RollupPropertySourceLink>
getRollupPropertySourceLinkSettings() {
return getStubSettingsBuilder().getRollupPropertySourceLinkSettings();
}

/** Returns the builder for the settings used for calls to listRollupPropertySourceLinks. */
public PagedCallSettings.Builder<
ListRollupPropertySourceLinksRequest,
ListRollupPropertySourceLinksResponse,
ListRollupPropertySourceLinksPagedResponse>
listRollupPropertySourceLinksSettings() {
return getStubSettingsBuilder().listRollupPropertySourceLinksSettings();
}

/** Returns the builder for the settings used for calls to createRollupPropertySourceLink. */
public UnaryCallSettings.Builder<
CreateRollupPropertySourceLinkRequest, RollupPropertySourceLink>
createRollupPropertySourceLinkSettings() {
return getStubSettingsBuilder().createRollupPropertySourceLinkSettings();
}

/** Returns the builder for the settings used for calls to deleteRollupPropertySourceLink. */
public UnaryCallSettings.Builder<DeleteRollupPropertySourceLinkRequest, Empty>
deleteRollupPropertySourceLinkSettings() {
return getStubSettingsBuilder().deleteRollupPropertySourceLinkSettings();
}

/** Returns the builder for the settings used for calls to createSubproperty. */
public UnaryCallSettings.Builder<CreateSubpropertyRequest, CreateSubpropertyResponse>
createSubpropertySettings() {
return getStubSettingsBuilder().createSubpropertySettings();
}

/** Returns the builder for the settings used for calls to deleteSubpropertyEventFilter. */
public UnaryCallSettings.Builder<DeleteSubpropertyEventFilterRequest, Empty>
deleteSubpropertyEventFilterSettings() {
return getStubSettingsBuilder().deleteSubpropertyEventFilterSettings();
}

/** Returns the builder for the settings used for calls to createSubpropertyEventFilter. */
public UnaryCallSettings.Builder<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
createSubpropertyEventFilterSettings() {
return getStubSettingsBuilder().createSubpropertyEventFilterSettings();
}

@Override
public AnalyticsAdminServiceSettings build() throws IOException {
return new AnalyticsAdminServiceSettings(this);
Expand Down

0 comments on commit 75d2527

Please sign in to comment.