Skip to content

Commit 2c7e044

Browse files
feat: [analyticsadmin] add GetSearchAds360Link, ListSearchAds360Links, CreateSearchAds360Link, DeleteSearchAds360Link, UpdateSearchAds360Link methods to the Admin API v1alpha (#9093)
* feat: add `GetSearchAds360Link`, `ListSearchAds360Links`, `CreateSearchAds360Link`, `DeleteSearchAds360Link`, `UpdateSearchAds360Link` methods to the Admin API v1alpha feat: add `SetAutomatedGa4ConfigurationOptOut`, `FetchAutomatedGa4ConfigurationOptOut` methods to the Admin API v1alpha feat: add `GetBigQueryLink`, `ListBigQueryLinks` methods to the Admin API v1alpha feat: add `tokens_per_project_per_hour` field to `AccessQuota` type feat: add `EXPANDED_DATA_SET`, `CHANNEL_GROUP` values to `ChangeHistoryResourceType` enum feat: add `search_ads_360_link`, `expanded_data_set`, `bigquery_link` values to ChangeHistoryResource.resource oneof field feat: add `BigQueryLink`, `SearchAds360Link` resource types to the Admin API v1alpha fix!: remove `LESS_THAN_OR_EQUAL`, `GREATER_THAN_OR_EQUAL` values from NumericFilter.Operation enum fix!: remove `PARTIAL_REGEXP` value from StringFilter.MatchType enum PiperOrigin-RevId: 507839187 Source-Link: googleapis/googleapis@b221f5f Source-Link: https://github.com/googleapis/googleapis-gen/commit/96b7c43fc3dca6c8767a6d731b516daf9ad50668 Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6Ijk2YjdjNDNmYzNkY2E2Yzg3NjdhNmQ3MzFiNTE2ZGFmOWFkNTA2NjgifQ== * 🦉 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 d00a849 commit 2c7e044

File tree

165 files changed

+39289
-3439
lines changed

Some content is hidden

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

165 files changed

+39289
-3439
lines changed

java-analytics-admin/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
2222
<dependency>
2323
<groupId>com.google.analytics</groupId>
2424
<artifactId>google-analytics-admin</artifactId>
25-
<version>0.18.0</version>
25+
<version>0.20.0</version>
2626
</dependency>
2727
```
2828

2929
If you are using Gradle without BOM, add this to your dependencies:
3030

3131
```Groovy
32-
implementation 'com.google.analytics:google-analytics-admin:0.18.0'
32+
implementation 'com.google.analytics:google-analytics-admin:0.20.0'
3333
```
3434

3535
If you are using SBT, add this to your dependencies:
3636

3737
```Scala
38-
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.18.0"
38+
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.20.0"
3939
```
4040

4141
## Authentication

java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java

Lines changed: 1390 additions & 150 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: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
2121
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
2222
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse;
23+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListBigQueryLinksPagedResponse;
2324
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
2425
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
2526
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
@@ -30,6 +31,7 @@
3031
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
3132
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
3233
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListPropertiesPagedResponse;
34+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListSearchAds360LinksPagedResponse;
3335
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
3436
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
3537

@@ -595,6 +597,38 @@ public UnaryCallSettings<ArchiveAudienceRequest, Empty> archiveAudienceSettings(
595597
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).archiveAudienceSettings();
596598
}
597599

600+
/** Returns the object with the settings used for calls to getSearchAds360Link. */
601+
public UnaryCallSettings<GetSearchAds360LinkRequest, SearchAds360Link>
602+
getSearchAds360LinkSettings() {
603+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getSearchAds360LinkSettings();
604+
}
605+
606+
/** Returns the object with the settings used for calls to listSearchAds360Links. */
607+
public PagedCallSettings<
608+
ListSearchAds360LinksRequest,
609+
ListSearchAds360LinksResponse,
610+
ListSearchAds360LinksPagedResponse>
611+
listSearchAds360LinksSettings() {
612+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listSearchAds360LinksSettings();
613+
}
614+
615+
/** Returns the object with the settings used for calls to createSearchAds360Link. */
616+
public UnaryCallSettings<CreateSearchAds360LinkRequest, SearchAds360Link>
617+
createSearchAds360LinkSettings() {
618+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createSearchAds360LinkSettings();
619+
}
620+
621+
/** Returns the object with the settings used for calls to deleteSearchAds360Link. */
622+
public UnaryCallSettings<DeleteSearchAds360LinkRequest, Empty> deleteSearchAds360LinkSettings() {
623+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteSearchAds360LinkSettings();
624+
}
625+
626+
/** Returns the object with the settings used for calls to updateSearchAds360Link. */
627+
public UnaryCallSettings<UpdateSearchAds360LinkRequest, SearchAds360Link>
628+
updateSearchAds360LinkSettings() {
629+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateSearchAds360LinkSettings();
630+
}
631+
598632
/** Returns the object with the settings used for calls to getAttributionSettings. */
599633
public UnaryCallSettings<GetAttributionSettingsRequest, AttributionSettings>
600634
getAttributionSettingsSettings() {
@@ -614,6 +648,36 @@ public UnaryCallSettings<ArchiveAudienceRequest, Empty> archiveAudienceSettings(
614648
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).runAccessReportSettings();
615649
}
616650

651+
/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
652+
public UnaryCallSettings<
653+
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
654+
setAutomatedGa4ConfigurationOptOutSettings() {
655+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
656+
.setAutomatedGa4ConfigurationOptOutSettings();
657+
}
658+
659+
/**
660+
* Returns the object with the settings used for calls to fetchAutomatedGa4ConfigurationOptOut.
661+
*/
662+
public UnaryCallSettings<
663+
FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse>
664+
fetchAutomatedGa4ConfigurationOptOutSettings() {
665+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
666+
.fetchAutomatedGa4ConfigurationOptOutSettings();
667+
}
668+
669+
/** Returns the object with the settings used for calls to getBigQueryLink. */
670+
public UnaryCallSettings<GetBigQueryLinkRequest, BigQueryLink> getBigQueryLinkSettings() {
671+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getBigQueryLinkSettings();
672+
}
673+
674+
/** Returns the object with the settings used for calls to listBigQueryLinks. */
675+
public PagedCallSettings<
676+
ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse>
677+
listBigQueryLinksSettings() {
678+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listBigQueryLinksSettings();
679+
}
680+
617681
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
618682
throws IOException {
619683
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
@@ -1238,6 +1302,39 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
12381302
return getStubSettingsBuilder().archiveAudienceSettings();
12391303
}
12401304

1305+
/** Returns the builder for the settings used for calls to getSearchAds360Link. */
1306+
public UnaryCallSettings.Builder<GetSearchAds360LinkRequest, SearchAds360Link>
1307+
getSearchAds360LinkSettings() {
1308+
return getStubSettingsBuilder().getSearchAds360LinkSettings();
1309+
}
1310+
1311+
/** Returns the builder for the settings used for calls to listSearchAds360Links. */
1312+
public PagedCallSettings.Builder<
1313+
ListSearchAds360LinksRequest,
1314+
ListSearchAds360LinksResponse,
1315+
ListSearchAds360LinksPagedResponse>
1316+
listSearchAds360LinksSettings() {
1317+
return getStubSettingsBuilder().listSearchAds360LinksSettings();
1318+
}
1319+
1320+
/** Returns the builder for the settings used for calls to createSearchAds360Link. */
1321+
public UnaryCallSettings.Builder<CreateSearchAds360LinkRequest, SearchAds360Link>
1322+
createSearchAds360LinkSettings() {
1323+
return getStubSettingsBuilder().createSearchAds360LinkSettings();
1324+
}
1325+
1326+
/** Returns the builder for the settings used for calls to deleteSearchAds360Link. */
1327+
public UnaryCallSettings.Builder<DeleteSearchAds360LinkRequest, Empty>
1328+
deleteSearchAds360LinkSettings() {
1329+
return getStubSettingsBuilder().deleteSearchAds360LinkSettings();
1330+
}
1331+
1332+
/** Returns the builder for the settings used for calls to updateSearchAds360Link. */
1333+
public UnaryCallSettings.Builder<UpdateSearchAds360LinkRequest, SearchAds360Link>
1334+
updateSearchAds360LinkSettings() {
1335+
return getStubSettingsBuilder().updateSearchAds360LinkSettings();
1336+
}
1337+
12411338
/** Returns the builder for the settings used for calls to getAttributionSettings. */
12421339
public UnaryCallSettings.Builder<GetAttributionSettingsRequest, AttributionSettings>
12431340
getAttributionSettingsSettings() {
@@ -1256,6 +1353,38 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
12561353
return getStubSettingsBuilder().runAccessReportSettings();
12571354
}
12581355

1356+
/**
1357+
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
1358+
*/
1359+
public UnaryCallSettings.Builder<
1360+
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
1361+
setAutomatedGa4ConfigurationOptOutSettings() {
1362+
return getStubSettingsBuilder().setAutomatedGa4ConfigurationOptOutSettings();
1363+
}
1364+
1365+
/**
1366+
* Returns the builder for the settings used for calls to fetchAutomatedGa4ConfigurationOptOut.
1367+
*/
1368+
public UnaryCallSettings.Builder<
1369+
FetchAutomatedGa4ConfigurationOptOutRequest,
1370+
FetchAutomatedGa4ConfigurationOptOutResponse>
1371+
fetchAutomatedGa4ConfigurationOptOutSettings() {
1372+
return getStubSettingsBuilder().fetchAutomatedGa4ConfigurationOptOutSettings();
1373+
}
1374+
1375+
/** Returns the builder for the settings used for calls to getBigQueryLink. */
1376+
public UnaryCallSettings.Builder<GetBigQueryLinkRequest, BigQueryLink>
1377+
getBigQueryLinkSettings() {
1378+
return getStubSettingsBuilder().getBigQueryLinkSettings();
1379+
}
1380+
1381+
/** Returns the builder for the settings used for calls to listBigQueryLinks. */
1382+
public PagedCallSettings.Builder<
1383+
ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse>
1384+
listBigQueryLinksSettings() {
1385+
return getStubSettingsBuilder().listBigQueryLinksSettings();
1386+
}
1387+
12591388
@Override
12601389
public AnalyticsAdminServiceSettings build() throws IOException {
12611390
return new AnalyticsAdminServiceSettings(this);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
"CreateProperty": {
7777
"methods": ["createProperty", "createProperty", "createPropertyCallable"]
7878
},
79+
"CreateSearchAds360Link": {
80+
"methods": ["createSearchAds360Link", "createSearchAds360Link", "createSearchAds360Link", "createSearchAds360LinkCallable"]
81+
},
7982
"CreateUserLink": {
8083
"methods": ["createUserLink", "createUserLink", "createUserLink", "createUserLink", "createUserLinkCallable"]
8184
},
@@ -106,9 +109,15 @@
106109
"DeleteProperty": {
107110
"methods": ["deleteProperty", "deleteProperty", "deleteProperty", "deletePropertyCallable"]
108111
},
112+
"DeleteSearchAds360Link": {
113+
"methods": ["deleteSearchAds360Link", "deleteSearchAds360Link", "deleteSearchAds360Link", "deleteSearchAds360LinkCallable"]
114+
},
109115
"DeleteUserLink": {
110116
"methods": ["deleteUserLink", "deleteUserLink", "deleteUserLink", "deleteUserLinkCallable"]
111117
},
118+
"FetchAutomatedGa4ConfigurationOptOut": {
119+
"methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"]
120+
},
112121
"GetAccount": {
113122
"methods": ["getAccount", "getAccount", "getAccount", "getAccountCallable"]
114123
},
@@ -118,6 +127,9 @@
118127
"GetAudience": {
119128
"methods": ["getAudience", "getAudience", "getAudience", "getAudienceCallable"]
120129
},
130+
"GetBigQueryLink": {
131+
"methods": ["getBigQueryLink", "getBigQueryLink", "getBigQueryLink", "getBigQueryLinkCallable"]
132+
},
121133
"GetConversionEvent": {
122134
"methods": ["getConversionEvent", "getConversionEvent", "getConversionEvent", "getConversionEventCallable"]
123135
},
@@ -154,6 +166,9 @@
154166
"GetProperty": {
155167
"methods": ["getProperty", "getProperty", "getProperty", "getPropertyCallable"]
156168
},
169+
"GetSearchAds360Link": {
170+
"methods": ["getSearchAds360Link", "getSearchAds360Link", "getSearchAds360Link", "getSearchAds360LinkCallable"]
171+
},
157172
"GetUserLink": {
158173
"methods": ["getUserLink", "getUserLink", "getUserLink", "getUserLinkCallable"]
159174
},
@@ -166,6 +181,9 @@
166181
"ListAudiences": {
167182
"methods": ["listAudiences", "listAudiences", "listAudiences", "listAudiencesPagedCallable", "listAudiencesCallable"]
168183
},
184+
"ListBigQueryLinks": {
185+
"methods": ["listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinks", "listBigQueryLinksPagedCallable", "listBigQueryLinksCallable"]
186+
},
169187
"ListConversionEvents": {
170188
"methods": ["listConversionEvents", "listConversionEvents", "listConversionEvents", "listConversionEventsPagedCallable", "listConversionEventsCallable"]
171189
},
@@ -196,6 +214,9 @@
196214
"ListProperties": {
197215
"methods": ["listProperties", "listPropertiesPagedCallable", "listPropertiesCallable"]
198216
},
217+
"ListSearchAds360Links": {
218+
"methods": ["listSearchAds360Links", "listSearchAds360Links", "listSearchAds360Links", "listSearchAds360LinksPagedCallable", "listSearchAds360LinksCallable"]
219+
},
199220
"ListUserLinks": {
200221
"methods": ["listUserLinks", "listUserLinks", "listUserLinks", "listUserLinks", "listUserLinksPagedCallable", "listUserLinksCallable"]
201222
},
@@ -208,6 +229,9 @@
208229
"SearchChangeHistoryEvents": {
209230
"methods": ["searchChangeHistoryEvents", "searchChangeHistoryEventsPagedCallable", "searchChangeHistoryEventsCallable"]
210231
},
232+
"SetAutomatedGa4ConfigurationOptOut": {
233+
"methods": ["setAutomatedGa4ConfigurationOptOut", "setAutomatedGa4ConfigurationOptOutCallable"]
234+
},
211235
"UpdateAccount": {
212236
"methods": ["updateAccount", "updateAccount", "updateAccountCallable"]
213237
},
@@ -244,6 +268,9 @@
244268
"UpdateProperty": {
245269
"methods": ["updateProperty", "updateProperty", "updatePropertyCallable"]
246270
},
271+
"UpdateSearchAds360Link": {
272+
"methods": ["updateSearchAds360Link", "updateSearchAds360Link", "updateSearchAds360LinkCallable"]
273+
},
247274
"UpdateUserLink": {
248275
"methods": ["updateUserLink", "updateUserLink", "updateUserLinkCallable"]
249276
}

0 commit comments

Comments
 (0)