Skip to content

Commit 222829a

Browse files
feat: [analyticsadmin] add CreateAccessBinding, GetAccessBinding, UpdateAccessBinding, DeleteAccessBinding, ListAccessBindings, BatchCreateAccessBindings, BatchGetAccessBindings, BatchUpdateAccessBindings, BatchDeleteAccessBindings me... (#9137)
* feat: add `CreateAccessBinding`, `GetAccessBinding`, `UpdateAccessBinding`, `DeleteAccessBinding`, `ListAccessBindings`, `BatchCreateAccessBindings`, `BatchGetAccessBindings`, `BatchUpdateAccessBindings`, `BatchDeleteAccessBindings` methods to the Admin API v1alpha feat: add `GetExpandedDataSet`, `ListExpandedDataSets`, `CreateExpandedDataSet`, `UpdateExpandedDataSet`, `DeleteExpandedDataSet` methods to the Admin API v1alpha feat: add `AccessBinding`, `ExpandedDataSet`, `ExpandedDataSetFilter`, `ExpandedDataSetFilterExpression`, `ExpandedDataSetFilterExpressionList` resource types to the Admin API v1alpha PiperOrigin-RevId: 510499799 Source-Link: googleapis/googleapis@82655ad Source-Link: https://github.com/googleapis/googleapis-gen/commit/4a83c474c374dee59b1545e14a54f4d9603248fc Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6IjRhODNjNDc0YzM3NGRlZTU5YjE1NDVlMTRhNTRmNGQ5NjAzMjQ4ZmMifQ== * 🦉 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 dd028d6 commit 222829a

File tree

114 files changed

+35216
-1362
lines changed

Some content is hidden

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

114 files changed

+35216
-1362
lines changed

java-analytics-admin/README.md

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

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

3232
```Groovy
33-
implementation 'com.google.analytics:google-analytics-admin:0.20.0'
33+
implementation 'com.google.analytics:google-analytics-admin:0.21.0'
3434
```
3535

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

3838
```Scala
39-
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.20.0"
39+
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.21.0"
4040
```
4141
<!--- {x-version-update-end} -->
4242

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

Lines changed: 1954 additions & 191 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: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.google.analytics.admin.v1alpha;
1818

1919
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.AuditUserLinksPagedResponse;
20+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccessBindingsPagedResponse;
2021
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
2122
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
2223
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse;
@@ -27,6 +28,7 @@
2728
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse;
2829
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
2930
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
31+
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListExpandedDataSetsPagedResponse;
3032
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
3133
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
3234
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
@@ -648,6 +650,94 @@ public UnaryCallSettings<DeleteSearchAds360LinkRequest, Empty> deleteSearchAds36
648650
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).runAccessReportSettings();
649651
}
650652

653+
/** Returns the object with the settings used for calls to createAccessBinding. */
654+
public UnaryCallSettings<CreateAccessBindingRequest, AccessBinding>
655+
createAccessBindingSettings() {
656+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createAccessBindingSettings();
657+
}
658+
659+
/** Returns the object with the settings used for calls to getAccessBinding. */
660+
public UnaryCallSettings<GetAccessBindingRequest, AccessBinding> getAccessBindingSettings() {
661+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getAccessBindingSettings();
662+
}
663+
664+
/** Returns the object with the settings used for calls to updateAccessBinding. */
665+
public UnaryCallSettings<UpdateAccessBindingRequest, AccessBinding>
666+
updateAccessBindingSettings() {
667+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateAccessBindingSettings();
668+
}
669+
670+
/** Returns the object with the settings used for calls to deleteAccessBinding. */
671+
public UnaryCallSettings<DeleteAccessBindingRequest, Empty> deleteAccessBindingSettings() {
672+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteAccessBindingSettings();
673+
}
674+
675+
/** Returns the object with the settings used for calls to listAccessBindings. */
676+
public PagedCallSettings<
677+
ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
678+
listAccessBindingsSettings() {
679+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccessBindingsSettings();
680+
}
681+
682+
/** Returns the object with the settings used for calls to batchCreateAccessBindings. */
683+
public UnaryCallSettings<BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
684+
batchCreateAccessBindingsSettings() {
685+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
686+
.batchCreateAccessBindingsSettings();
687+
}
688+
689+
/** Returns the object with the settings used for calls to batchGetAccessBindings. */
690+
public UnaryCallSettings<BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
691+
batchGetAccessBindingsSettings() {
692+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchGetAccessBindingsSettings();
693+
}
694+
695+
/** Returns the object with the settings used for calls to batchUpdateAccessBindings. */
696+
public UnaryCallSettings<BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
697+
batchUpdateAccessBindingsSettings() {
698+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
699+
.batchUpdateAccessBindingsSettings();
700+
}
701+
702+
/** Returns the object with the settings used for calls to batchDeleteAccessBindings. */
703+
public UnaryCallSettings<BatchDeleteAccessBindingsRequest, Empty>
704+
batchDeleteAccessBindingsSettings() {
705+
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
706+
.batchDeleteAccessBindingsSettings();
707+
}
708+
709+
/** Returns the object with the settings used for calls to getExpandedDataSet. */
710+
public UnaryCallSettings<GetExpandedDataSetRequest, ExpandedDataSet>
711+
getExpandedDataSetSettings() {
712+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getExpandedDataSetSettings();
713+
}
714+
715+
/** Returns the object with the settings used for calls to listExpandedDataSets. */
716+
public PagedCallSettings<
717+
ListExpandedDataSetsRequest,
718+
ListExpandedDataSetsResponse,
719+
ListExpandedDataSetsPagedResponse>
720+
listExpandedDataSetsSettings() {
721+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listExpandedDataSetsSettings();
722+
}
723+
724+
/** Returns the object with the settings used for calls to createExpandedDataSet. */
725+
public UnaryCallSettings<CreateExpandedDataSetRequest, ExpandedDataSet>
726+
createExpandedDataSetSettings() {
727+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createExpandedDataSetSettings();
728+
}
729+
730+
/** Returns the object with the settings used for calls to updateExpandedDataSet. */
731+
public UnaryCallSettings<UpdateExpandedDataSetRequest, ExpandedDataSet>
732+
updateExpandedDataSetSettings() {
733+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateExpandedDataSetSettings();
734+
}
735+
736+
/** Returns the object with the settings used for calls to deleteExpandedDataSet. */
737+
public UnaryCallSettings<DeleteExpandedDataSetRequest, Empty> deleteExpandedDataSetSettings() {
738+
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteExpandedDataSetSettings();
739+
}
740+
651741
/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
652742
public UnaryCallSettings<
653743
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
@@ -1353,6 +1443,96 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
13531443
return getStubSettingsBuilder().runAccessReportSettings();
13541444
}
13551445

1446+
/** Returns the builder for the settings used for calls to createAccessBinding. */
1447+
public UnaryCallSettings.Builder<CreateAccessBindingRequest, AccessBinding>
1448+
createAccessBindingSettings() {
1449+
return getStubSettingsBuilder().createAccessBindingSettings();
1450+
}
1451+
1452+
/** Returns the builder for the settings used for calls to getAccessBinding. */
1453+
public UnaryCallSettings.Builder<GetAccessBindingRequest, AccessBinding>
1454+
getAccessBindingSettings() {
1455+
return getStubSettingsBuilder().getAccessBindingSettings();
1456+
}
1457+
1458+
/** Returns the builder for the settings used for calls to updateAccessBinding. */
1459+
public UnaryCallSettings.Builder<UpdateAccessBindingRequest, AccessBinding>
1460+
updateAccessBindingSettings() {
1461+
return getStubSettingsBuilder().updateAccessBindingSettings();
1462+
}
1463+
1464+
/** Returns the builder for the settings used for calls to deleteAccessBinding. */
1465+
public UnaryCallSettings.Builder<DeleteAccessBindingRequest, Empty>
1466+
deleteAccessBindingSettings() {
1467+
return getStubSettingsBuilder().deleteAccessBindingSettings();
1468+
}
1469+
1470+
/** Returns the builder for the settings used for calls to listAccessBindings. */
1471+
public PagedCallSettings.Builder<
1472+
ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
1473+
listAccessBindingsSettings() {
1474+
return getStubSettingsBuilder().listAccessBindingsSettings();
1475+
}
1476+
1477+
/** Returns the builder for the settings used for calls to batchCreateAccessBindings. */
1478+
public UnaryCallSettings.Builder<
1479+
BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
1480+
batchCreateAccessBindingsSettings() {
1481+
return getStubSettingsBuilder().batchCreateAccessBindingsSettings();
1482+
}
1483+
1484+
/** Returns the builder for the settings used for calls to batchGetAccessBindings. */
1485+
public UnaryCallSettings.Builder<BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
1486+
batchGetAccessBindingsSettings() {
1487+
return getStubSettingsBuilder().batchGetAccessBindingsSettings();
1488+
}
1489+
1490+
/** Returns the builder for the settings used for calls to batchUpdateAccessBindings. */
1491+
public UnaryCallSettings.Builder<
1492+
BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
1493+
batchUpdateAccessBindingsSettings() {
1494+
return getStubSettingsBuilder().batchUpdateAccessBindingsSettings();
1495+
}
1496+
1497+
/** Returns the builder for the settings used for calls to batchDeleteAccessBindings. */
1498+
public UnaryCallSettings.Builder<BatchDeleteAccessBindingsRequest, Empty>
1499+
batchDeleteAccessBindingsSettings() {
1500+
return getStubSettingsBuilder().batchDeleteAccessBindingsSettings();
1501+
}
1502+
1503+
/** Returns the builder for the settings used for calls to getExpandedDataSet. */
1504+
public UnaryCallSettings.Builder<GetExpandedDataSetRequest, ExpandedDataSet>
1505+
getExpandedDataSetSettings() {
1506+
return getStubSettingsBuilder().getExpandedDataSetSettings();
1507+
}
1508+
1509+
/** Returns the builder for the settings used for calls to listExpandedDataSets. */
1510+
public PagedCallSettings.Builder<
1511+
ListExpandedDataSetsRequest,
1512+
ListExpandedDataSetsResponse,
1513+
ListExpandedDataSetsPagedResponse>
1514+
listExpandedDataSetsSettings() {
1515+
return getStubSettingsBuilder().listExpandedDataSetsSettings();
1516+
}
1517+
1518+
/** Returns the builder for the settings used for calls to createExpandedDataSet. */
1519+
public UnaryCallSettings.Builder<CreateExpandedDataSetRequest, ExpandedDataSet>
1520+
createExpandedDataSetSettings() {
1521+
return getStubSettingsBuilder().createExpandedDataSetSettings();
1522+
}
1523+
1524+
/** Returns the builder for the settings used for calls to updateExpandedDataSet. */
1525+
public UnaryCallSettings.Builder<UpdateExpandedDataSetRequest, ExpandedDataSet>
1526+
updateExpandedDataSetSettings() {
1527+
return getStubSettingsBuilder().updateExpandedDataSetSettings();
1528+
}
1529+
1530+
/** Returns the builder for the settings used for calls to deleteExpandedDataSet. */
1531+
public UnaryCallSettings.Builder<DeleteExpandedDataSetRequest, Empty>
1532+
deleteExpandedDataSetSettings() {
1533+
return getStubSettingsBuilder().deleteExpandedDataSetSettings();
1534+
}
1535+
13561536
/**
13571537
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
13581538
*/

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,36 @@
2828
"AuditUserLinks": {
2929
"methods": ["auditUserLinks", "auditUserLinksPagedCallable", "auditUserLinksCallable"]
3030
},
31+
"BatchCreateAccessBindings": {
32+
"methods": ["batchCreateAccessBindings", "batchCreateAccessBindingsCallable"]
33+
},
3134
"BatchCreateUserLinks": {
3235
"methods": ["batchCreateUserLinks", "batchCreateUserLinksCallable"]
3336
},
37+
"BatchDeleteAccessBindings": {
38+
"methods": ["batchDeleteAccessBindings", "batchDeleteAccessBindingsCallable"]
39+
},
3440
"BatchDeleteUserLinks": {
3541
"methods": ["batchDeleteUserLinks", "batchDeleteUserLinksCallable"]
3642
},
43+
"BatchGetAccessBindings": {
44+
"methods": ["batchGetAccessBindings", "batchGetAccessBindingsCallable"]
45+
},
3746
"BatchGetUserLinks": {
3847
"methods": ["batchGetUserLinks", "batchGetUserLinksCallable"]
3948
},
49+
"BatchUpdateAccessBindings": {
50+
"methods": ["batchUpdateAccessBindings", "batchUpdateAccessBindingsCallable"]
51+
},
4052
"BatchUpdateUserLinks": {
4153
"methods": ["batchUpdateUserLinks", "batchUpdateUserLinksCallable"]
4254
},
4355
"CancelDisplayVideo360AdvertiserLinkProposal": {
4456
"methods": ["cancelDisplayVideo360AdvertiserLinkProposal", "cancelDisplayVideo360AdvertiserLinkProposalCallable"]
4557
},
58+
"CreateAccessBinding": {
59+
"methods": ["createAccessBinding", "createAccessBinding", "createAccessBinding", "createAccessBinding", "createAccessBindingCallable"]
60+
},
4661
"CreateAudience": {
4762
"methods": ["createAudience", "createAudience", "createAudience", "createAudienceCallable"]
4863
},
@@ -64,6 +79,9 @@
6479
"CreateDisplayVideo360AdvertiserLinkProposal": {
6580
"methods": ["createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposalCallable"]
6681
},
82+
"CreateExpandedDataSet": {
83+
"methods": ["createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSetCallable"]
84+
},
6785
"CreateFirebaseLink": {
6886
"methods": ["createFirebaseLink", "createFirebaseLink", "createFirebaseLink", "createFirebaseLinkCallable"]
6987
},
@@ -82,6 +100,9 @@
82100
"CreateUserLink": {
83101
"methods": ["createUserLink", "createUserLink", "createUserLink", "createUserLink", "createUserLinkCallable"]
84102
},
103+
"DeleteAccessBinding": {
104+
"methods": ["deleteAccessBinding", "deleteAccessBinding", "deleteAccessBinding", "deleteAccessBindingCallable"]
105+
},
85106
"DeleteAccount": {
86107
"methods": ["deleteAccount", "deleteAccount", "deleteAccount", "deleteAccountCallable"]
87108
},
@@ -97,6 +118,9 @@
97118
"DeleteDisplayVideo360AdvertiserLinkProposal": {
98119
"methods": ["deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposalCallable"]
99120
},
121+
"DeleteExpandedDataSet": {
122+
"methods": ["deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSetCallable"]
123+
},
100124
"DeleteFirebaseLink": {
101125
"methods": ["deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLinkCallable"]
102126
},
@@ -118,6 +142,9 @@
118142
"FetchAutomatedGa4ConfigurationOptOut": {
119143
"methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"]
120144
},
145+
"GetAccessBinding": {
146+
"methods": ["getAccessBinding", "getAccessBinding", "getAccessBinding", "getAccessBindingCallable"]
147+
},
121148
"GetAccount": {
122149
"methods": ["getAccount", "getAccount", "getAccount", "getAccountCallable"]
123150
},
@@ -154,6 +181,9 @@
154181
"GetDisplayVideo360AdvertiserLinkProposal": {
155182
"methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"]
156183
},
184+
"GetExpandedDataSet": {
185+
"methods": ["getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSetCallable"]
186+
},
157187
"GetGlobalSiteTag": {
158188
"methods": ["getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTagCallable"]
159189
},
@@ -172,6 +202,9 @@
172202
"GetUserLink": {
173203
"methods": ["getUserLink", "getUserLink", "getUserLink", "getUserLinkCallable"]
174204
},
205+
"ListAccessBindings": {
206+
"methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"]
207+
},
175208
"ListAccountSummaries": {
176209
"methods": ["listAccountSummaries", "listAccountSummariesPagedCallable", "listAccountSummariesCallable"]
177210
},
@@ -202,6 +235,9 @@
202235
"ListDisplayVideo360AdvertiserLinks": {
203236
"methods": ["listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinksPagedCallable", "listDisplayVideo360AdvertiserLinksCallable"]
204237
},
238+
"ListExpandedDataSets": {
239+
"methods": ["listExpandedDataSets", "listExpandedDataSets", "listExpandedDataSets", "listExpandedDataSetsPagedCallable", "listExpandedDataSetsCallable"]
240+
},
205241
"ListFirebaseLinks": {
206242
"methods": ["listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinksPagedCallable", "listFirebaseLinksCallable"]
207243
},
@@ -232,6 +268,9 @@
232268
"SetAutomatedGa4ConfigurationOptOut": {
233269
"methods": ["setAutomatedGa4ConfigurationOptOut", "setAutomatedGa4ConfigurationOptOutCallable"]
234270
},
271+
"UpdateAccessBinding": {
272+
"methods": ["updateAccessBinding", "updateAccessBinding", "updateAccessBindingCallable"]
273+
},
235274
"UpdateAccount": {
236275
"methods": ["updateAccount", "updateAccount", "updateAccountCallable"]
237276
},
@@ -256,6 +295,9 @@
256295
"UpdateDisplayVideo360AdvertiserLink": {
257296
"methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"]
258297
},
298+
"UpdateExpandedDataSet": {
299+
"methods": ["updateExpandedDataSet", "updateExpandedDataSet", "updateExpandedDataSetCallable"]
300+
},
259301
"UpdateGoogleAdsLink": {
260302
"methods": ["updateGoogleAdsLink", "updateGoogleAdsLink", "updateGoogleAdsLinkCallable"]
261303
},

0 commit comments

Comments
 (0)