Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [analyticsadmin] add GetSubpropertyEventFilter, ListSubpropertyEventFilters methods to the Admin API v1 alpha #10153

Merged
merged 4 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-analytics-admin/README.md
Original file line number Diff line number Diff line change
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.27.0</version>
<version>26.29.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.40.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.42.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.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
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.ListSubpropertyEventFiltersPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;

import com.google.analytics.admin.v1alpha.stub.AnalyticsAdminServiceStubSettings;
Expand Down Expand Up @@ -946,20 +947,44 @@ public UnaryCallSettings<DeleteEventCreateRuleRequest, Empty> deleteEventCreateR
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();
}

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

/** Returns the object with the settings used for calls to listSubpropertyEventFilters. */
public PagedCallSettings<
ListSubpropertyEventFiltersRequest,
ListSubpropertyEventFiltersResponse,
ListSubpropertyEventFiltersPagedResponse>
listSubpropertyEventFiltersSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.listSubpropertyEventFiltersSettings();
}

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

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

public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
throws IOException {
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -1932,18 +1957,39 @@ public UnaryCallSettings.Builder<DeleteAdSenseLinkRequest, Empty> deleteAdSenseL
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();
}

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

/** Returns the builder for the settings used for calls to listSubpropertyEventFilters. */
public PagedCallSettings.Builder<
ListSubpropertyEventFiltersRequest,
ListSubpropertyEventFiltersResponse,
ListSubpropertyEventFiltersPagedResponse>
listSubpropertyEventFiltersSettings() {
return getStubSettingsBuilder().listSubpropertyEventFiltersSettings();
}

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

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

@Override
public AnalyticsAdminServiceSettings build() throws IOException {
return new AnalyticsAdminServiceSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@
"GetSearchAds360Link": {
"methods": ["getSearchAds360Link", "getSearchAds360Link", "getSearchAds360Link", "getSearchAds360LinkCallable"]
},
"GetSubpropertyEventFilter": {
"methods": ["getSubpropertyEventFilter", "getSubpropertyEventFilter", "getSubpropertyEventFilter", "getSubpropertyEventFilterCallable"]
},
"ListAccessBindings": {
"methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"]
},
Expand Down Expand Up @@ -319,6 +322,9 @@
"ListSearchAds360Links": {
"methods": ["listSearchAds360Links", "listSearchAds360Links", "listSearchAds360Links", "listSearchAds360LinksPagedCallable", "listSearchAds360LinksCallable"]
},
"ListSubpropertyEventFilters": {
"methods": ["listSubpropertyEventFilters", "listSubpropertyEventFilters", "listSubpropertyEventFilters", "listSubpropertyEventFiltersPagedCallable", "listSubpropertyEventFiltersCallable"]
},
"ProvisionAccountTicket": {
"methods": ["provisionAccountTicket", "provisionAccountTicketCallable"]
},
Expand Down Expand Up @@ -393,6 +399,9 @@
},
"UpdateSearchAds360Link": {
"methods": ["updateSearchAds360Link", "updateSearchAds360Link", "updateSearchAds360LinkCallable"]
},
"UpdateSubpropertyEventFilter": {
"methods": ["updateSubpropertyEventFilter", "updateSubpropertyEventFilter", "updateSubpropertyEventFilterCallable"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
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.ListSubpropertyEventFiltersPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;

import com.google.analytics.admin.v1alpha.AccessBinding;
Expand Down Expand Up @@ -150,6 +151,7 @@
import com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest;
import com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest;
import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest;
import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest;
import com.google.analytics.admin.v1alpha.GlobalSiteTag;
import com.google.analytics.admin.v1alpha.GoogleAdsLink;
import com.google.analytics.admin.v1alpha.GoogleSignalsSettings;
Expand Down Expand Up @@ -199,6 +201,8 @@
import com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse;
import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest;
import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse;
import com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest;
import com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse;
import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret;
import com.google.analytics.admin.v1alpha.Property;
import com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest;
Expand Down Expand Up @@ -234,6 +238,7 @@
import com.google.analytics.admin.v1alpha.UpdatePropertyRequest;
import com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest;
import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest;
import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.UnaryCallable;
Expand Down Expand Up @@ -1004,18 +1009,41 @@ public UnaryCallable<DeleteEventCreateRuleRequest, Empty> deleteEventCreateRuleC
throw new UnsupportedOperationException("Not implemented: createSubpropertyCallable()");
}

public UnaryCallable<DeleteSubpropertyEventFilterRequest, Empty>
deleteSubpropertyEventFilterCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteSubpropertyEventFilterCallable()");
}

public UnaryCallable<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
createSubpropertyEventFilterCallable() {
throw new UnsupportedOperationException(
"Not implemented: createSubpropertyEventFilterCallable()");
}

public UnaryCallable<GetSubpropertyEventFilterRequest, SubpropertyEventFilter>
getSubpropertyEventFilterCallable() {
throw new UnsupportedOperationException("Not implemented: getSubpropertyEventFilterCallable()");
}

public UnaryCallable<ListSubpropertyEventFiltersRequest, ListSubpropertyEventFiltersPagedResponse>
listSubpropertyEventFiltersPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listSubpropertyEventFiltersPagedCallable()");
}

public UnaryCallable<ListSubpropertyEventFiltersRequest, ListSubpropertyEventFiltersResponse>
listSubpropertyEventFiltersCallable() {
throw new UnsupportedOperationException(
"Not implemented: listSubpropertyEventFiltersCallable()");
}

public UnaryCallable<UpdateSubpropertyEventFilterRequest, SubpropertyEventFilter>
updateSubpropertyEventFilterCallable() {
throw new UnsupportedOperationException(
"Not implemented: updateSubpropertyEventFilterCallable()");
}

public UnaryCallable<DeleteSubpropertyEventFilterRequest, Empty>
deleteSubpropertyEventFilterCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteSubpropertyEventFilterCallable()");
}

@Override
public abstract void close();
}