Skip to content

Commit

Permalink
feat: [analyticsadmin] add GetSubpropertyEventFilter, `ListSubprope…
Browse files Browse the repository at this point in the history
…rtyEventFilters` methods to the Admin API v1 alpha (#10152)

* feat: add `GetSubpropertyEventFilter`, `ListSubpropertyEventFilters` methods to the Admin API v1 alpha

feat: add the `default_conversion_value` field to the `ConversionEvent` type

fix!: remove values `PAID_AND_ORGANIC_CHANNELS_FIRST_CLICK`, `PAID_AND_ORGANIC_CHANNELS_LINEAR`, `PAID_AND_ORGANIC_CHANNELS_POSITION_BASED`, `PAID_AND_ORGANIC_CHANNELS_TIME_DECAY` corresponding to the deprecated attribution models from the `ReportingAttributionModel` enum, as per announcement in https://support.google.com/analytics/answer/9164320#040623

docs: update the documentation for the `RunAccessReport` method

docs: update the documentation for `grouping_rule`, `system_defined` fields of the `ChannelGroup` type
PiperOrigin-RevId: 590895495

Source-Link: googleapis/googleapis@c329808

Source-Link: googleapis/googleapis-gen@9374c78
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiOTM3NGM3ODRjMGQ5MmE3M2JhZWI1NjQwY2FkN2Q4Njg4MTFlNWMwNiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 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 Jan 2, 2024
1 parent 6e725ff commit ea758cf
Show file tree
Hide file tree
Showing 35 changed files with 4,768 additions and 892 deletions.
2 changes: 1 addition & 1 deletion java-analytics-admin/README.md
Original file line number Diff line number Diff line change
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();
}

0 comments on commit ea758cf

Please sign in to comment.