Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [analyticsadmin] add CreateAccessBinding, GetAccessBinding, UpdateAccessBinding, DeleteAccessBinding, ListAccessBindings, BatchCreateAccessBindings, BatchGetAccessBindings, BatchUpdateAccessBindings, BatchDeleteAccessBindings me... #9137

Merged
merged 2 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions java-analytics-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.analytics</groupId>
<artifactId>google-analytics-admin</artifactId>
<version>0.20.0</version>
<version>0.21.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.analytics:google-analytics-admin:0.20.0'
implementation 'com.google.analytics:google-analytics-admin:0.21.0'
```

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

```Scala
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.20.0"
libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.21.0"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.analytics.admin.v1alpha;

import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.AuditUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccessBindingsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAudiencesPagedResponse;
Expand All @@ -27,6 +28,7 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListExpandedDataSetsPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
Expand Down Expand Up @@ -648,6 +650,94 @@ public UnaryCallSettings<DeleteSearchAds360LinkRequest, Empty> deleteSearchAds36
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).runAccessReportSettings();
}

/** Returns the object with the settings used for calls to createAccessBinding. */
public UnaryCallSettings<CreateAccessBindingRequest, AccessBinding>
createAccessBindingSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createAccessBindingSettings();
}

/** Returns the object with the settings used for calls to getAccessBinding. */
public UnaryCallSettings<GetAccessBindingRequest, AccessBinding> getAccessBindingSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getAccessBindingSettings();
}

/** Returns the object with the settings used for calls to updateAccessBinding. */
public UnaryCallSettings<UpdateAccessBindingRequest, AccessBinding>
updateAccessBindingSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateAccessBindingSettings();
}

/** Returns the object with the settings used for calls to deleteAccessBinding. */
public UnaryCallSettings<DeleteAccessBindingRequest, Empty> deleteAccessBindingSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteAccessBindingSettings();
}

/** Returns the object with the settings used for calls to listAccessBindings. */
public PagedCallSettings<
ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
listAccessBindingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccessBindingsSettings();
}

/** Returns the object with the settings used for calls to batchCreateAccessBindings. */
public UnaryCallSettings<BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
batchCreateAccessBindingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.batchCreateAccessBindingsSettings();
}

/** Returns the object with the settings used for calls to batchGetAccessBindings. */
public UnaryCallSettings<BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
batchGetAccessBindingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchGetAccessBindingsSettings();
}

/** Returns the object with the settings used for calls to batchUpdateAccessBindings. */
public UnaryCallSettings<BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
batchUpdateAccessBindingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.batchUpdateAccessBindingsSettings();
}

/** Returns the object with the settings used for calls to batchDeleteAccessBindings. */
public UnaryCallSettings<BatchDeleteAccessBindingsRequest, Empty>
batchDeleteAccessBindingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.batchDeleteAccessBindingsSettings();
}

/** Returns the object with the settings used for calls to getExpandedDataSet. */
public UnaryCallSettings<GetExpandedDataSetRequest, ExpandedDataSet>
getExpandedDataSetSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getExpandedDataSetSettings();
}

/** Returns the object with the settings used for calls to listExpandedDataSets. */
public PagedCallSettings<
ListExpandedDataSetsRequest,
ListExpandedDataSetsResponse,
ListExpandedDataSetsPagedResponse>
listExpandedDataSetsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listExpandedDataSetsSettings();
}

/** Returns the object with the settings used for calls to createExpandedDataSet. */
public UnaryCallSettings<CreateExpandedDataSetRequest, ExpandedDataSet>
createExpandedDataSetSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createExpandedDataSetSettings();
}

/** Returns the object with the settings used for calls to updateExpandedDataSet. */
public UnaryCallSettings<UpdateExpandedDataSetRequest, ExpandedDataSet>
updateExpandedDataSetSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateExpandedDataSetSettings();
}

/** Returns the object with the settings used for calls to deleteExpandedDataSet. */
public UnaryCallSettings<DeleteExpandedDataSetRequest, Empty> deleteExpandedDataSetSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteExpandedDataSetSettings();
}

/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
public UnaryCallSettings<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
Expand Down Expand Up @@ -1353,6 +1443,96 @@ public UnaryCallSettings.Builder<ArchiveAudienceRequest, Empty> archiveAudienceS
return getStubSettingsBuilder().runAccessReportSettings();
}

/** Returns the builder for the settings used for calls to createAccessBinding. */
public UnaryCallSettings.Builder<CreateAccessBindingRequest, AccessBinding>
createAccessBindingSettings() {
return getStubSettingsBuilder().createAccessBindingSettings();
}

/** Returns the builder for the settings used for calls to getAccessBinding. */
public UnaryCallSettings.Builder<GetAccessBindingRequest, AccessBinding>
getAccessBindingSettings() {
return getStubSettingsBuilder().getAccessBindingSettings();
}

/** Returns the builder for the settings used for calls to updateAccessBinding. */
public UnaryCallSettings.Builder<UpdateAccessBindingRequest, AccessBinding>
updateAccessBindingSettings() {
return getStubSettingsBuilder().updateAccessBindingSettings();
}

/** Returns the builder for the settings used for calls to deleteAccessBinding. */
public UnaryCallSettings.Builder<DeleteAccessBindingRequest, Empty>
deleteAccessBindingSettings() {
return getStubSettingsBuilder().deleteAccessBindingSettings();
}

/** Returns the builder for the settings used for calls to listAccessBindings. */
public PagedCallSettings.Builder<
ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
listAccessBindingsSettings() {
return getStubSettingsBuilder().listAccessBindingsSettings();
}

/** Returns the builder for the settings used for calls to batchCreateAccessBindings. */
public UnaryCallSettings.Builder<
BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
batchCreateAccessBindingsSettings() {
return getStubSettingsBuilder().batchCreateAccessBindingsSettings();
}

/** Returns the builder for the settings used for calls to batchGetAccessBindings. */
public UnaryCallSettings.Builder<BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
batchGetAccessBindingsSettings() {
return getStubSettingsBuilder().batchGetAccessBindingsSettings();
}

/** Returns the builder for the settings used for calls to batchUpdateAccessBindings. */
public UnaryCallSettings.Builder<
BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
batchUpdateAccessBindingsSettings() {
return getStubSettingsBuilder().batchUpdateAccessBindingsSettings();
}

/** Returns the builder for the settings used for calls to batchDeleteAccessBindings. */
public UnaryCallSettings.Builder<BatchDeleteAccessBindingsRequest, Empty>
batchDeleteAccessBindingsSettings() {
return getStubSettingsBuilder().batchDeleteAccessBindingsSettings();
}

/** Returns the builder for the settings used for calls to getExpandedDataSet. */
public UnaryCallSettings.Builder<GetExpandedDataSetRequest, ExpandedDataSet>
getExpandedDataSetSettings() {
return getStubSettingsBuilder().getExpandedDataSetSettings();
}

/** Returns the builder for the settings used for calls to listExpandedDataSets. */
public PagedCallSettings.Builder<
ListExpandedDataSetsRequest,
ListExpandedDataSetsResponse,
ListExpandedDataSetsPagedResponse>
listExpandedDataSetsSettings() {
return getStubSettingsBuilder().listExpandedDataSetsSettings();
}

/** Returns the builder for the settings used for calls to createExpandedDataSet. */
public UnaryCallSettings.Builder<CreateExpandedDataSetRequest, ExpandedDataSet>
createExpandedDataSetSettings() {
return getStubSettingsBuilder().createExpandedDataSetSettings();
}

/** Returns the builder for the settings used for calls to updateExpandedDataSet. */
public UnaryCallSettings.Builder<UpdateExpandedDataSetRequest, ExpandedDataSet>
updateExpandedDataSetSettings() {
return getStubSettingsBuilder().updateExpandedDataSetSettings();
}

/** Returns the builder for the settings used for calls to deleteExpandedDataSet. */
public UnaryCallSettings.Builder<DeleteExpandedDataSetRequest, Empty>
deleteExpandedDataSetSettings() {
return getStubSettingsBuilder().deleteExpandedDataSetSettings();
}

/**
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,36 @@
"AuditUserLinks": {
"methods": ["auditUserLinks", "auditUserLinksPagedCallable", "auditUserLinksCallable"]
},
"BatchCreateAccessBindings": {
"methods": ["batchCreateAccessBindings", "batchCreateAccessBindingsCallable"]
},
"BatchCreateUserLinks": {
"methods": ["batchCreateUserLinks", "batchCreateUserLinksCallable"]
},
"BatchDeleteAccessBindings": {
"methods": ["batchDeleteAccessBindings", "batchDeleteAccessBindingsCallable"]
},
"BatchDeleteUserLinks": {
"methods": ["batchDeleteUserLinks", "batchDeleteUserLinksCallable"]
},
"BatchGetAccessBindings": {
"methods": ["batchGetAccessBindings", "batchGetAccessBindingsCallable"]
},
"BatchGetUserLinks": {
"methods": ["batchGetUserLinks", "batchGetUserLinksCallable"]
},
"BatchUpdateAccessBindings": {
"methods": ["batchUpdateAccessBindings", "batchUpdateAccessBindingsCallable"]
},
"BatchUpdateUserLinks": {
"methods": ["batchUpdateUserLinks", "batchUpdateUserLinksCallable"]
},
"CancelDisplayVideo360AdvertiserLinkProposal": {
"methods": ["cancelDisplayVideo360AdvertiserLinkProposal", "cancelDisplayVideo360AdvertiserLinkProposalCallable"]
},
"CreateAccessBinding": {
"methods": ["createAccessBinding", "createAccessBinding", "createAccessBinding", "createAccessBinding", "createAccessBindingCallable"]
},
"CreateAudience": {
"methods": ["createAudience", "createAudience", "createAudience", "createAudienceCallable"]
},
Expand All @@ -64,6 +79,9 @@
"CreateDisplayVideo360AdvertiserLinkProposal": {
"methods": ["createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposalCallable"]
},
"CreateExpandedDataSet": {
"methods": ["createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSetCallable"]
},
"CreateFirebaseLink": {
"methods": ["createFirebaseLink", "createFirebaseLink", "createFirebaseLink", "createFirebaseLinkCallable"]
},
Expand All @@ -82,6 +100,9 @@
"CreateUserLink": {
"methods": ["createUserLink", "createUserLink", "createUserLink", "createUserLink", "createUserLinkCallable"]
},
"DeleteAccessBinding": {
"methods": ["deleteAccessBinding", "deleteAccessBinding", "deleteAccessBinding", "deleteAccessBindingCallable"]
},
"DeleteAccount": {
"methods": ["deleteAccount", "deleteAccount", "deleteAccount", "deleteAccountCallable"]
},
Expand All @@ -97,6 +118,9 @@
"DeleteDisplayVideo360AdvertiserLinkProposal": {
"methods": ["deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposalCallable"]
},
"DeleteExpandedDataSet": {
"methods": ["deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSetCallable"]
},
"DeleteFirebaseLink": {
"methods": ["deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLinkCallable"]
},
Expand All @@ -118,6 +142,9 @@
"FetchAutomatedGa4ConfigurationOptOut": {
"methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"]
},
"GetAccessBinding": {
"methods": ["getAccessBinding", "getAccessBinding", "getAccessBinding", "getAccessBindingCallable"]
},
"GetAccount": {
"methods": ["getAccount", "getAccount", "getAccount", "getAccountCallable"]
},
Expand Down Expand Up @@ -154,6 +181,9 @@
"GetDisplayVideo360AdvertiserLinkProposal": {
"methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"]
},
"GetExpandedDataSet": {
"methods": ["getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSetCallable"]
},
"GetGlobalSiteTag": {
"methods": ["getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTagCallable"]
},
Expand All @@ -172,6 +202,9 @@
"GetUserLink": {
"methods": ["getUserLink", "getUserLink", "getUserLink", "getUserLinkCallable"]
},
"ListAccessBindings": {
"methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"]
},
"ListAccountSummaries": {
"methods": ["listAccountSummaries", "listAccountSummariesPagedCallable", "listAccountSummariesCallable"]
},
Expand Down Expand Up @@ -202,6 +235,9 @@
"ListDisplayVideo360AdvertiserLinks": {
"methods": ["listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinks", "listDisplayVideo360AdvertiserLinksPagedCallable", "listDisplayVideo360AdvertiserLinksCallable"]
},
"ListExpandedDataSets": {
"methods": ["listExpandedDataSets", "listExpandedDataSets", "listExpandedDataSets", "listExpandedDataSetsPagedCallable", "listExpandedDataSetsCallable"]
},
"ListFirebaseLinks": {
"methods": ["listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinks", "listFirebaseLinksPagedCallable", "listFirebaseLinksCallable"]
},
Expand Down Expand Up @@ -232,6 +268,9 @@
"SetAutomatedGa4ConfigurationOptOut": {
"methods": ["setAutomatedGa4ConfigurationOptOut", "setAutomatedGa4ConfigurationOptOutCallable"]
},
"UpdateAccessBinding": {
"methods": ["updateAccessBinding", "updateAccessBinding", "updateAccessBindingCallable"]
},
"UpdateAccount": {
"methods": ["updateAccount", "updateAccount", "updateAccountCallable"]
},
Expand All @@ -256,6 +295,9 @@
"UpdateDisplayVideo360AdvertiserLink": {
"methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"]
},
"UpdateExpandedDataSet": {
"methods": ["updateExpandedDataSet", "updateExpandedDataSet", "updateExpandedDataSetCallable"]
},
"UpdateGoogleAdsLink": {
"methods": ["updateGoogleAdsLink", "updateGoogleAdsLink", "updateGoogleAdsLinkCallable"]
},
Expand Down
Loading