Skip to content

Commit f3c56a9

Browse files
feat: [analyticsadmin] add FetchConnectedGa4Property method to the Admin API v1alpha (#9378)
* feat: add `FetchConnectedGa4Property` method to the Admin API v1alpha feat: add `GetChannelGroup`, `ListChannelGroups`, `CreateChannelGroup`, `UpdateChannelGroup` methods to the Admin API v1alpha feat: add `ChannelGroupFilter`, `ChannelGroupFilterExpression`, `ChannelGroupFilterExpressionList`, `GroupingRule`, `ChannelGroup` types to the Admin API v1alpha PiperOrigin-RevId: 526740438 Source-Link: googleapis/googleapis@893a25b Source-Link: https://github.com/googleapis/googleapis-gen/commit/601c2c74fdcc0c31cf6448a90a2ead7eef607770 Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6IjYwMWMyYzc0ZmRjYzBjMzFjZjY0NDhhOTBhMmVhZDdlZWY2MDc3NzAifQ== * 🦉 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 9e1a89d commit f3c56a9

File tree

77 files changed

+24383
-1735
lines changed

Some content is hidden

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

77 files changed

+24383
-1735
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.12.0</version>
26+
<version>26.13.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.24.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.25.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: 951 additions & 175 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: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
2323
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse;
2424
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse;
25+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListChannelGroupsPagedResponse;
2526
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
2627
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
2728
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
@@ -738,6 +739,33 @@ public UnaryCallSettings<DeleteExpandedDataSetRequest, Empty> deleteExpandedData
738739
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteExpandedDataSetSettings();
739740
}
740741

742+
/** Returns the object with the settings used for calls to getChannelGroup. */
743+
public UnaryCallSettings<GetChannelGroupRequest, ChannelGroup> getChannelGroupSettings() {
744+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getChannelGroupSettings();
745+
}
746+
747+
/** Returns the object with the settings used for calls to listChannelGroups. */
748+
public PagedCallSettings<
749+
ListChannelGroupsRequest, ListChannelGroupsResponse, ListChannelGroupsPagedResponse>
750+
listChannelGroupsSettings() {
751+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listChannelGroupsSettings();
752+
}
753+
754+
/** Returns the object with the settings used for calls to createChannelGroup. */
755+
public UnaryCallSettings<CreateChannelGroupRequest, ChannelGroup> createChannelGroupSettings() {
756+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createChannelGroupSettings();
757+
}
758+
759+
/** Returns the object with the settings used for calls to updateChannelGroup. */
760+
public UnaryCallSettings<UpdateChannelGroupRequest, ChannelGroup> updateChannelGroupSettings() {
761+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateChannelGroupSettings();
762+
}
763+
764+
/** Returns the object with the settings used for calls to deleteChannelGroup. */
765+
public UnaryCallSettings<DeleteChannelGroupRequest, Empty> deleteChannelGroupSettings() {
766+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteChannelGroupSettings();
767+
}
768+
741769
/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
742770
public UnaryCallSettings<
743771
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
@@ -799,6 +827,13 @@ public UnaryCallSettings<DeleteConnectedSiteTagRequest, Empty> deleteConnectedSi
799827
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConnectedSiteTagsSettings();
800828
}
801829

830+
/** Returns the object with the settings used for calls to fetchConnectedGa4Property. */
831+
public UnaryCallSettings<FetchConnectedGa4PropertyRequest, FetchConnectedGa4PropertyResponse>
832+
fetchConnectedGa4PropertySettings() {
833+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
834+
.fetchConnectedGa4PropertySettings();
835+
}
836+
802837
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
803838
throws IOException {
804839
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -1564,6 +1599,37 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
15641599
return getStubSettingsBuilder().deleteExpandedDataSetSettings();
15651600
}
15661601

1602+
/** Returns the builder for the settings used for calls to getChannelGroup. */
1603+
public UnaryCallSettings.Builder<GetChannelGroupRequest, ChannelGroup>
1604+
getChannelGroupSettings() {
1605+
return getStubSettingsBuilder().getChannelGroupSettings();
1606+
}
1607+
1608+
/** Returns the builder for the settings used for calls to listChannelGroups. */
1609+
public PagedCallSettings.Builder<
1610+
ListChannelGroupsRequest, ListChannelGroupsResponse, ListChannelGroupsPagedResponse>
1611+
listChannelGroupsSettings() {
1612+
return getStubSettingsBuilder().listChannelGroupsSettings();
1613+
}
1614+
1615+
/** Returns the builder for the settings used for calls to createChannelGroup. */
1616+
public UnaryCallSettings.Builder<CreateChannelGroupRequest, ChannelGroup>
1617+
createChannelGroupSettings() {
1618+
return getStubSettingsBuilder().createChannelGroupSettings();
1619+
}
1620+
1621+
/** Returns the builder for the settings used for calls to updateChannelGroup. */
1622+
public UnaryCallSettings.Builder<UpdateChannelGroupRequest, ChannelGroup>
1623+
updateChannelGroupSettings() {
1624+
return getStubSettingsBuilder().updateChannelGroupSettings();
1625+
}
1626+
1627+
/** Returns the builder for the settings used for calls to deleteChannelGroup. */
1628+
public UnaryCallSettings.Builder<DeleteChannelGroupRequest, Empty>
1629+
deleteChannelGroupSettings() {
1630+
return getStubSettingsBuilder().deleteChannelGroupSettings();
1631+
}
1632+
15671633
/**
15681634
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
15691635
*/
@@ -1628,6 +1694,13 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
16281694
return getStubSettingsBuilder().listConnectedSiteTagsSettings();
16291695
}
16301696

1697+
/** Returns the builder for the settings used for calls to fetchConnectedGa4Property. */
1698+
public UnaryCallSettings.Builder<
1699+
FetchConnectedGa4PropertyRequest, FetchConnectedGa4PropertyResponse>
1700+
fetchConnectedGa4PropertySettings() {
1701+
return getStubSettingsBuilder().fetchConnectedGa4PropertySettings();
1702+
}
1703+
16311704
@Override
16321705
public AnalyticsAdminServiceSettings build() throws IOException {
16331706
return new AnalyticsAdminServiceSettings(this);

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
"CreateAudience": {
6262
"methods": ["createAudience", "createAudience", "createAudience", "createAudienceCallable"]
6363
},
64+
"CreateChannelGroup": {
65+
"methods": ["createChannelGroup", "createChannelGroup", "createChannelGroup", "createChannelGroupCallable"]
66+
},
6467
"CreateConnectedSiteTag": {
6568
"methods": ["createConnectedSiteTag", "createConnectedSiteTagCallable"]
6669
},
@@ -109,6 +112,9 @@
109112
"DeleteAccount": {
110113
"methods": ["deleteAccount", "deleteAccount", "deleteAccount", "deleteAccountCallable"]
111114
},
115+
"DeleteChannelGroup": {
116+
"methods": ["deleteChannelGroup", "deleteChannelGroup", "deleteChannelGroup", "deleteChannelGroupCallable"]
117+
},
112118
"DeleteConnectedSiteTag": {
113119
"methods": ["deleteConnectedSiteTag", "deleteConnectedSiteTagCallable"]
114120
},
@@ -148,6 +154,9 @@
148154
"FetchAutomatedGa4ConfigurationOptOut": {
149155
"methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"]
150156
},
157+
"FetchConnectedGa4Property": {
158+
"methods": ["fetchConnectedGa4Property", "fetchConnectedGa4PropertyCallable"]
159+
},
151160
"GetAccessBinding": {
152161
"methods": ["getAccessBinding", "getAccessBinding", "getAccessBinding", "getAccessBindingCallable"]
153162
},
@@ -163,6 +172,9 @@
163172
"GetBigQueryLink": {
164173
"methods": ["getBigQueryLink", "getBigQueryLink", "getBigQueryLink", "getBigQueryLinkCallable"]
165174
},
175+
"GetChannelGroup": {
176+
"methods": ["getChannelGroup", "getChannelGroup", "getChannelGroup", "getChannelGroupCallable"]
177+
},
166178
"GetConversionEvent": {
167179
"methods": ["getConversionEvent", "getConversionEvent", "getConversionEvent", "getConversionEventCallable"]
168180
},
@@ -226,6 +238,9 @@
226238
"ListBigQueryLinks": {
227239
"methods": ["listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinksPagedCallable", "listBigQueryLinksCallable"]
228240
},
241+
"ListChannelGroups": {
242+
"methods": ["listChannelGroups", "listChannelGroups", "listChannelGroups", "listChannelGroupsPagedCallable", "listChannelGroupsCallable"]
243+
},
229244
"ListConnectedSiteTags": {
230245
"methods": ["listConnectedSiteTags", "listConnectedSiteTagsCallable"]
231246
},
@@ -292,6 +307,9 @@
292307
"UpdateAudience": {
293308
"methods": ["updateAudience", "updateAudience", "updateAudienceCallable"]
294309
},
310+
"UpdateChannelGroup": {
311+
"methods": ["updateChannelGroup", "updateChannelGroup", "updateChannelGroupCallable"]
312+
},
295313
"UpdateCustomDimension": {
296314
"methods": ["updateCustomDimension", "updateCustomDimension", "updateCustomDimensionCallable"]
297315
},

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
2323
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse;
2424
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse;
25+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListChannelGroupsPagedResponse;
2526
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
2627
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
2728
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
@@ -66,9 +67,11 @@
6667
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
6768
import com.google.analytics.admin.v1alpha.BigQueryLink;
6869
import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
70+
import com.google.analytics.admin.v1alpha.ChannelGroup;
6971
import com.google.analytics.admin.v1alpha.ConversionEvent;
7072
import com.google.analytics.admin.v1alpha.CreateAccessBindingRequest;
7173
import com.google.analytics.admin.v1alpha.CreateAudienceRequest;
74+
import com.google.analytics.admin.v1alpha.CreateChannelGroupRequest;
7275
import com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest;
7376
import com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse;
7477
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
@@ -91,6 +94,7 @@
9194
import com.google.analytics.admin.v1alpha.DataStream;
9295
import com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest;
9396
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
97+
import com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest;
9498
import com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest;
9599
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
96100
import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest;
@@ -109,12 +113,15 @@
109113
import com.google.analytics.admin.v1alpha.ExpandedDataSet;
110114
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest;
111115
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse;
116+
import com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest;
117+
import com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse;
112118
import com.google.analytics.admin.v1alpha.FirebaseLink;
113119
import com.google.analytics.admin.v1alpha.GetAccessBindingRequest;
114120
import com.google.analytics.admin.v1alpha.GetAccountRequest;
115121
import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest;
116122
import com.google.analytics.admin.v1alpha.GetAudienceRequest;
117123
import com.google.analytics.admin.v1alpha.GetBigQueryLinkRequest;
124+
import com.google.analytics.admin.v1alpha.GetChannelGroupRequest;
118125
import com.google.analytics.admin.v1alpha.GetConversionEventRequest;
119126
import com.google.analytics.admin.v1alpha.GetCustomDimensionRequest;
120127
import com.google.analytics.admin.v1alpha.GetCustomMetricRequest;
@@ -144,6 +151,8 @@
144151
import com.google.analytics.admin.v1alpha.ListAudiencesResponse;
145152
import com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest;
146153
import com.google.analytics.admin.v1alpha.ListBigQueryLinksResponse;
154+
import com.google.analytics.admin.v1alpha.ListChannelGroupsRequest;
155+
import com.google.analytics.admin.v1alpha.ListChannelGroupsResponse;
147156
import com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest;
148157
import com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse;
149158
import com.google.analytics.admin.v1alpha.ListConversionEventsRequest;
@@ -187,6 +196,7 @@
187196
import com.google.analytics.admin.v1alpha.UpdateAccountRequest;
188197
import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest;
189198
import com.google.analytics.admin.v1alpha.UpdateAudienceRequest;
199+
import com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest;
190200
import com.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest;
191201
import com.google.analytics.admin.v1alpha.UpdateCustomMetricRequest;
192202
import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
@@ -790,6 +800,32 @@ public UnaryCallable<DeleteExpandedDataSetRequest, Empty> deleteExpandedDataSetC
790800
throw new UnsupportedOperationException("Not implemented: deleteExpandedDataSetCallable()");
791801
}
792802

803+
public UnaryCallable<GetChannelGroupRequest, ChannelGroup> getChannelGroupCallable() {
804+
throw new UnsupportedOperationException("Not implemented: getChannelGroupCallable()");
805+
}
806+
807+
public UnaryCallable<ListChannelGroupsRequest, ListChannelGroupsPagedResponse>
808+
listChannelGroupsPagedCallable() {
809+
throw new UnsupportedOperationException("Not implemented: listChannelGroupsPagedCallable()");
810+
}
811+
812+
public UnaryCallable<ListChannelGroupsRequest, ListChannelGroupsResponse>
813+
listChannelGroupsCallable() {
814+
throw new UnsupportedOperationException("Not implemented: listChannelGroupsCallable()");
815+
}
816+
817+
public UnaryCallable<CreateChannelGroupRequest, ChannelGroup> createChannelGroupCallable() {
818+
throw new UnsupportedOperationException("Not implemented: createChannelGroupCallable()");
819+
}
820+
821+
public UnaryCallable<UpdateChannelGroupRequest, ChannelGroup> updateChannelGroupCallable() {
822+
throw new UnsupportedOperationException("Not implemented: updateChannelGroupCallable()");
823+
}
824+
825+
public UnaryCallable<DeleteChannelGroupRequest, Empty> deleteChannelGroupCallable() {
826+
throw new UnsupportedOperationException("Not implemented: deleteChannelGroupCallable()");
827+
}
828+
793829
public UnaryCallable<
794830
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
795831
setAutomatedGa4ConfigurationOptOutCallable() {
@@ -844,6 +880,11 @@ public UnaryCallable<DeleteConnectedSiteTagRequest, Empty> deleteConnectedSiteTa
844880
throw new UnsupportedOperationException("Not implemented: listConnectedSiteTagsCallable()");
845881
}
846882

883+
public UnaryCallable<FetchConnectedGa4PropertyRequest, FetchConnectedGa4PropertyResponse>
884+
fetchConnectedGa4PropertyCallable() {
885+
throw new UnsupportedOperationException("Not implemented: fetchConnectedGa4PropertyCallable()");
886+
}
887+
847888
@Override
848889
public abstract void close();
849890
}

0 commit comments

Comments
 (0)