Skip to content

Commit ea758cf

Browse files
feat: [analyticsadmin] add GetSubpropertyEventFilter, ListSubpropertyEventFilters 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: https://github.com/googleapis/googleapis-gen/commit/9374c784c0d92a73baeb5640cad7d868811e5c06 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>
1 parent 6e725ff commit ea758cf

File tree

35 files changed

+4768
-892
lines changed

35 files changed

+4768
-892
lines changed

java-analytics-admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.40.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.42.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: 583 additions & 73 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: 59 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
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.ListSubpropertyEventFiltersPagedResponse;
4142
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
4243

4344
import com.google.analytics.admin.v1alpha.stub.AnalyticsAdminServiceStubSettings;
@@ -946,20 +947,44 @@ public UnaryCallSettings<DeleteEventCreateRuleRequest, Empty> deleteEventCreateR
946947
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createSubpropertySettings();
947948
}
948949

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-
956950
/** Returns the object with the settings used for calls to createSubpropertyEventFilter. */
957951
public UnaryCallSettings<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
958952
createSubpropertyEventFilterSettings() {
959953
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
960954
.createSubpropertyEventFilterSettings();
961955
}
962956

957+
/** Returns the object with the settings used for calls to getSubpropertyEventFilter. */
958+
public UnaryCallSettings<GetSubpropertyEventFilterRequest, SubpropertyEventFilter>
959+
getSubpropertyEventFilterSettings() {
960+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
961+
.getSubpropertyEventFilterSettings();
962+
}
963+
964+
/** Returns the object with the settings used for calls to listSubpropertyEventFilters. */
965+
public PagedCallSettings<
966+
ListSubpropertyEventFiltersRequest,
967+
ListSubpropertyEventFiltersResponse,
968+
ListSubpropertyEventFiltersPagedResponse>
969+
listSubpropertyEventFiltersSettings() {
970+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
971+
.listSubpropertyEventFiltersSettings();
972+
}
973+
974+
/** Returns the object with the settings used for calls to updateSubpropertyEventFilter. */
975+
public UnaryCallSettings<UpdateSubpropertyEventFilterRequest, SubpropertyEventFilter>
976+
updateSubpropertyEventFilterSettings() {
977+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
978+
.updateSubpropertyEventFilterSettings();
979+
}
980+
981+
/** Returns the object with the settings used for calls to deleteSubpropertyEventFilter. */
982+
public UnaryCallSettings<DeleteSubpropertyEventFilterRequest, Empty>
983+
deleteSubpropertyEventFilterSettings() {
984+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
985+
.deleteSubpropertyEventFilterSettings();
986+
}
987+
963988
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
964989
throws IOException {
965990
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -1932,18 +1957,39 @@ public UnaryCallSettings.Builder<DeleteAdSenseLinkRequest, Empty> deleteAdSenseL
19321957
return getStubSettingsBuilder().createSubpropertySettings();
19331958
}
19341959

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-
19411960
/** Returns the builder for the settings used for calls to createSubpropertyEventFilter. */
19421961
public UnaryCallSettings.Builder<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
19431962
createSubpropertyEventFilterSettings() {
19441963
return getStubSettingsBuilder().createSubpropertyEventFilterSettings();
19451964
}
19461965

1966+
/** Returns the builder for the settings used for calls to getSubpropertyEventFilter. */
1967+
public UnaryCallSettings.Builder<GetSubpropertyEventFilterRequest, SubpropertyEventFilter>
1968+
getSubpropertyEventFilterSettings() {
1969+
return getStubSettingsBuilder().getSubpropertyEventFilterSettings();
1970+
}
1971+
1972+
/** Returns the builder for the settings used for calls to listSubpropertyEventFilters. */
1973+
public PagedCallSettings.Builder<
1974+
ListSubpropertyEventFiltersRequest,
1975+
ListSubpropertyEventFiltersResponse,
1976+
ListSubpropertyEventFiltersPagedResponse>
1977+
listSubpropertyEventFiltersSettings() {
1978+
return getStubSettingsBuilder().listSubpropertyEventFiltersSettings();
1979+
}
1980+
1981+
/** Returns the builder for the settings used for calls to updateSubpropertyEventFilter. */
1982+
public UnaryCallSettings.Builder<UpdateSubpropertyEventFilterRequest, SubpropertyEventFilter>
1983+
updateSubpropertyEventFilterSettings() {
1984+
return getStubSettingsBuilder().updateSubpropertyEventFilterSettings();
1985+
}
1986+
1987+
/** Returns the builder for the settings used for calls to deleteSubpropertyEventFilter. */
1988+
public UnaryCallSettings.Builder<DeleteSubpropertyEventFilterRequest, Empty>
1989+
deleteSubpropertyEventFilterSettings() {
1990+
return getStubSettingsBuilder().deleteSubpropertyEventFilterSettings();
1991+
}
1992+
19471993
@Override
19481994
public AnalyticsAdminServiceSettings build() throws IOException {
19491995
return new AnalyticsAdminServiceSettings(this);

java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@
250250
"GetSearchAds360Link": {
251251
"methods": ["getSearchAds360Link", "getSearchAds360Link", "getSearchAds360Link", "getSearchAds360LinkCallable"]
252252
},
253+
"GetSubpropertyEventFilter": {
254+
"methods": ["getSubpropertyEventFilter", "getSubpropertyEventFilter", "getSubpropertyEventFilter", "getSubpropertyEventFilterCallable"]
255+
},
253256
"ListAccessBindings": {
254257
"methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"]
255258
},
@@ -319,6 +322,9 @@
319322
"ListSearchAds360Links": {
320323
"methods": ["listSearchAds360Links", "listSearchAds360Links", "listSearchAds360Links", "listSearchAds360LinksPagedCallable", "listSearchAds360LinksCallable"]
321324
},
325+
"ListSubpropertyEventFilters": {
326+
"methods": ["listSubpropertyEventFilters", "listSubpropertyEventFilters", "listSubpropertyEventFilters", "listSubpropertyEventFiltersPagedCallable", "listSubpropertyEventFiltersCallable"]
327+
},
322328
"ProvisionAccountTicket": {
323329
"methods": ["provisionAccountTicket", "provisionAccountTicketCallable"]
324330
},
@@ -393,6 +399,9 @@
393399
},
394400
"UpdateSearchAds360Link": {
395401
"methods": ["updateSearchAds360Link", "updateSearchAds360Link", "updateSearchAds360LinkCallable"]
402+
},
403+
"UpdateSubpropertyEventFilter": {
404+
"methods": ["updateSubpropertyEventFilter", "updateSubpropertyEventFilter", "updateSubpropertyEventFilterCallable"]
396405
}
397406
}
398407
}

java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
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.ListSubpropertyEventFiltersPagedResponse;
4142
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
4243

4344
import com.google.analytics.admin.v1alpha.AccessBinding;
@@ -150,6 +151,7 @@
150151
import com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest;
151152
import com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest;
152153
import com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest;
154+
import com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest;
153155
import com.google.analytics.admin.v1alpha.GlobalSiteTag;
154156
import com.google.analytics.admin.v1alpha.GoogleAdsLink;
155157
import com.google.analytics.admin.v1alpha.GoogleSignalsSettings;
@@ -199,6 +201,8 @@
199201
import com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse;
200202
import com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest;
201203
import com.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse;
204+
import com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest;
205+
import com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse;
202206
import com.google.analytics.admin.v1alpha.MeasurementProtocolSecret;
203207
import com.google.analytics.admin.v1alpha.Property;
204208
import com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest;
@@ -234,6 +238,7 @@
234238
import com.google.analytics.admin.v1alpha.UpdatePropertyRequest;
235239
import com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest;
236240
import com.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest;
241+
import com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest;
237242
import com.google.api.core.BetaApi;
238243
import com.google.api.gax.core.BackgroundResource;
239244
import com.google.api.gax.rpc.UnaryCallable;
@@ -1004,18 +1009,41 @@ public UnaryCallable<DeleteEventCreateRuleRequest, Empty> deleteEventCreateRuleC
10041009
throw new UnsupportedOperationException("Not implemented: createSubpropertyCallable()");
10051010
}
10061011

1007-
public UnaryCallable<DeleteSubpropertyEventFilterRequest, Empty>
1008-
deleteSubpropertyEventFilterCallable() {
1009-
throw new UnsupportedOperationException(
1010-
"Not implemented: deleteSubpropertyEventFilterCallable()");
1011-
}
1012-
10131012
public UnaryCallable<CreateSubpropertyEventFilterRequest, SubpropertyEventFilter>
10141013
createSubpropertyEventFilterCallable() {
10151014
throw new UnsupportedOperationException(
10161015
"Not implemented: createSubpropertyEventFilterCallable()");
10171016
}
10181017

1018+
public UnaryCallable<GetSubpropertyEventFilterRequest, SubpropertyEventFilter>
1019+
getSubpropertyEventFilterCallable() {
1020+
throw new UnsupportedOperationException("Not implemented: getSubpropertyEventFilterCallable()");
1021+
}
1022+
1023+
public UnaryCallable<ListSubpropertyEventFiltersRequest, ListSubpropertyEventFiltersPagedResponse>
1024+
listSubpropertyEventFiltersPagedCallable() {
1025+
throw new UnsupportedOperationException(
1026+
"Not implemented: listSubpropertyEventFiltersPagedCallable()");
1027+
}
1028+
1029+
public UnaryCallable<ListSubpropertyEventFiltersRequest, ListSubpropertyEventFiltersResponse>
1030+
listSubpropertyEventFiltersCallable() {
1031+
throw new UnsupportedOperationException(
1032+
"Not implemented: listSubpropertyEventFiltersCallable()");
1033+
}
1034+
1035+
public UnaryCallable<UpdateSubpropertyEventFilterRequest, SubpropertyEventFilter>
1036+
updateSubpropertyEventFilterCallable() {
1037+
throw new UnsupportedOperationException(
1038+
"Not implemented: updateSubpropertyEventFilterCallable()");
1039+
}
1040+
1041+
public UnaryCallable<DeleteSubpropertyEventFilterRequest, Empty>
1042+
deleteSubpropertyEventFilterCallable() {
1043+
throw new UnsupportedOperationException(
1044+
"Not implemented: deleteSubpropertyEventFilterCallable()");
1045+
}
1046+
10191047
@Override
10201048
public abstract void close();
10211049
}

0 commit comments

Comments
 (0)