deleteAccountCallable()
* @param account Required. The account to update. The account's `name` field is used to identify
* the account.
* @param updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire
+ * (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire
* entity, use one path with the string "*" to match all fields.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -4320,8 +4320,8 @@ public final MeasurementProtocolSecret updateMeasurementProtocolSecret(
/**
* Acknowledges the terms of user data collection for the specified property.
*
- * This acknowledgement must be completed (either in the Google Analytics UI or via this API)
- * before MeasurementProtocolSecret resources may be created.
+ *
This acknowledgement must be completed (either in the Google Analytics UI or through this
+ * API) before MeasurementProtocolSecret resources may be created.
*
*
Sample code:
*
@@ -4355,8 +4355,8 @@ public final AcknowledgeUserDataCollectionResponse acknowledgeUserDataCollection
/**
* Acknowledges the terms of user data collection for the specified property.
*
- *
This acknowledgement must be completed (either in the Google Analytics UI or via this API)
- * before MeasurementProtocolSecret resources may be created.
+ *
This acknowledgement must be completed (either in the Google Analytics UI or through this
+ * API) before MeasurementProtocolSecret resources may be created.
*
*
Sample code:
*
@@ -10401,8 +10401,7 @@ public final RunAccessReportResponse runAccessReport(RunAccessReportRequest requ
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has
- * no effect on GA4 property.
+ * Creates an access binding on an account or property.
*
*
Sample code:
*
@@ -10414,28 +10413,29 @@ public final RunAccessReportResponse runAccessReport(RunAccessReportRequest requ
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * SetAutomatedGa4ConfigurationOptOutRequest request =
- * SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
- * .setProperty("property-993141291")
- * .setOptOut(true)
- * .build();
- * SetAutomatedGa4ConfigurationOptOutResponse response =
- * analyticsAdminServiceClient.setAutomatedGa4ConfigurationOptOut(request);
+ * AccountName parent = AccountName.of("[ACCOUNT]");
+ * AccessBinding accessBinding = AccessBinding.newBuilder().build();
+ * AccessBinding response =
+ * analyticsAdminServiceClient.createAccessBinding(parent, accessBinding);
* }
* }
*
- * @param request The request object containing all of the parameters for the API call.
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @param accessBinding Required. The access binding to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4ConfigurationOptOut(
- SetAutomatedGa4ConfigurationOptOutRequest request) {
- return setAutomatedGa4ConfigurationOptOutCallable().call(request);
+ public final AccessBinding createAccessBinding(AccountName parent, AccessBinding accessBinding) {
+ CreateAccessBindingRequest request =
+ CreateAccessBindingRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setAccessBinding(accessBinding)
+ .build();
+ return createAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has
- * no effect on GA4 property.
+ * Creates an access binding on an account or property.
*
*
Sample code:
*
@@ -10447,30 +10447,29 @@ public final SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4Configura
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * SetAutomatedGa4ConfigurationOptOutRequest request =
- * SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
- * .setProperty("property-993141291")
- * .setOptOut(true)
- * .build();
- * ApiFuture future =
- * analyticsAdminServiceClient
- * .setAutomatedGa4ConfigurationOptOutCallable()
- * .futureCall(request);
- * // Do something.
- * SetAutomatedGa4ConfigurationOptOutResponse response = future.get();
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * AccessBinding accessBinding = AccessBinding.newBuilder().build();
+ * AccessBinding response =
+ * analyticsAdminServiceClient.createAccessBinding(parent, accessBinding);
* }
* }
+ *
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @param accessBinding Required. The access binding to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final UnaryCallable<
- SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
- setAutomatedGa4ConfigurationOptOutCallable() {
- return stub.setAutomatedGa4ConfigurationOptOutCallable();
+ public final AccessBinding createAccessBinding(PropertyName parent, AccessBinding accessBinding) {
+ CreateAccessBindingRequest request =
+ CreateAccessBindingRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setAccessBinding(accessBinding)
+ .build();
+ return createAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this
- * has no effect on GA4 property.
+ * Creates an access binding on an account or property.
*
* Sample code:
*
@@ -10482,27 +10481,59 @@ public final SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4Configura
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * FetchAutomatedGa4ConfigurationOptOutRequest request =
- * FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
- * .setProperty("property-993141291")
+ * String parent = AccountName.of("[ACCOUNT]").toString();
+ * AccessBinding accessBinding = AccessBinding.newBuilder().build();
+ * AccessBinding response =
+ * analyticsAdminServiceClient.createAccessBinding(parent, accessBinding);
+ * }
+ * }
+ *
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @param accessBinding Required. The access binding to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final AccessBinding createAccessBinding(String parent, AccessBinding accessBinding) {
+ CreateAccessBindingRequest request =
+ CreateAccessBindingRequest.newBuilder()
+ .setParent(parent)
+ .setAccessBinding(accessBinding)
+ .build();
+ return createAccessBinding(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates an access binding on an account or property.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateAccessBindingRequest request =
+ * CreateAccessBindingRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .setAccessBinding(AccessBinding.newBuilder().build())
* .build();
- * FetchAutomatedGa4ConfigurationOptOutResponse response =
- * analyticsAdminServiceClient.fetchAutomatedGa4ConfigurationOptOut(request);
+ * AccessBinding response = analyticsAdminServiceClient.createAccessBinding(request);
* }
* }
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4ConfigurationOptOut(
- FetchAutomatedGa4ConfigurationOptOutRequest request) {
- return fetchAutomatedGa4ConfigurationOptOutCallable().call(request);
+ public final AccessBinding createAccessBinding(CreateAccessBindingRequest request) {
+ return createAccessBindingCallable().call(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this
- * has no effect on GA4 property.
+ * Creates an access binding on an account or property.
*
* Sample code:
*
@@ -10514,28 +10545,26 @@ public final FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4Confi
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * FetchAutomatedGa4ConfigurationOptOutRequest request =
- * FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
- * .setProperty("property-993141291")
+ * CreateAccessBindingRequest request =
+ * CreateAccessBindingRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .setAccessBinding(AccessBinding.newBuilder().build())
* .build();
- * ApiFuture future =
- * analyticsAdminServiceClient
- * .fetchAutomatedGa4ConfigurationOptOutCallable()
- * .futureCall(request);
+ * ApiFuture future =
+ * analyticsAdminServiceClient.createAccessBindingCallable().futureCall(request);
* // Do something.
- * FetchAutomatedGa4ConfigurationOptOutResponse response = future.get();
+ * AccessBinding response = future.get();
* }
* }
*/
- public final UnaryCallable<
- FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse>
- fetchAutomatedGa4ConfigurationOptOutCallable() {
- return stub.fetchAutomatedGa4ConfigurationOptOutCallable();
+ public final UnaryCallable
+ createAccessBindingCallable() {
+ return stub.createAccessBindingCallable();
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lookup for a single BigQuery Link.
+ * Gets information about an access binding.
*
* Sample code:
*
@@ -10547,25 +10576,26 @@ public final FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4Confi
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]");
- * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name);
+ * AccessBindingName name =
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]");
+ * AccessBinding response = analyticsAdminServiceClient.getAccessBinding(name);
* }
* }
*
- * @param name Required. The name of the BigQuery link to lookup. Format:
- * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example:
- * properties/123/bigQueryLinks/456
+ * @param name Required. The name of the access binding to retrieve. Formats: -
+ * accounts/{account}/accessBindings/{accessBinding} -
+ * properties/{property}/accessBindings/{accessBinding}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final BigQueryLink getBigQueryLink(BigQueryLinkName name) {
- GetBigQueryLinkRequest request =
- GetBigQueryLinkRequest.newBuilder().setName(name == null ? null : name.toString()).build();
- return getBigQueryLink(request);
+ public final AccessBinding getAccessBinding(AccessBindingName name) {
+ GetAccessBindingRequest request =
+ GetAccessBindingRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lookup for a single BigQuery Link.
+ * Gets information about an access binding.
*
*
Sample code:
*
@@ -10577,24 +10607,25 @@ public final BigQueryLink getBigQueryLink(BigQueryLinkName name) {
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString();
- * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name);
+ * String name =
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]").toString();
+ * AccessBinding response = analyticsAdminServiceClient.getAccessBinding(name);
* }
* }
*
- * @param name Required. The name of the BigQuery link to lookup. Format:
- * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example:
- * properties/123/bigQueryLinks/456
+ * @param name Required. The name of the access binding to retrieve. Formats: -
+ * accounts/{account}/accessBindings/{accessBinding} -
+ * properties/{property}/accessBindings/{accessBinding}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final BigQueryLink getBigQueryLink(String name) {
- GetBigQueryLinkRequest request = GetBigQueryLinkRequest.newBuilder().setName(name).build();
- return getBigQueryLink(request);
+ public final AccessBinding getAccessBinding(String name) {
+ GetAccessBindingRequest request = GetAccessBindingRequest.newBuilder().setName(name).build();
+ return getAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lookup for a single BigQuery Link.
+ * Gets information about an access binding.
*
*
Sample code:
*
@@ -10606,24 +10637,26 @@ public final BigQueryLink getBigQueryLink(String name) {
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * GetBigQueryLinkRequest request =
- * GetBigQueryLinkRequest.newBuilder()
- * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString())
+ * GetAccessBindingRequest request =
+ * GetAccessBindingRequest.newBuilder()
+ * .setName(
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]")
+ * .toString())
* .build();
- * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(request);
+ * AccessBinding response = analyticsAdminServiceClient.getAccessBinding(request);
* }
* }
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request) {
- return getBigQueryLinkCallable().call(request);
+ public final AccessBinding getAccessBinding(GetAccessBindingRequest request) {
+ return getAccessBindingCallable().call(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lookup for a single BigQuery Link.
+ * Gets information about an access binding.
*
*
Sample code:
*
@@ -10635,24 +10668,26 @@ public final BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request) {
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * GetBigQueryLinkRequest request =
- * GetBigQueryLinkRequest.newBuilder()
- * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString())
+ * GetAccessBindingRequest request =
+ * GetAccessBindingRequest.newBuilder()
+ * .setName(
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]")
+ * .toString())
* .build();
- * ApiFuture future =
- * analyticsAdminServiceClient.getBigQueryLinkCallable().futureCall(request);
+ * ApiFuture future =
+ * analyticsAdminServiceClient.getAccessBindingCallable().futureCall(request);
* // Do something.
- * BigQueryLink response = future.get();
+ * AccessBinding response = future.get();
* }
* }
*/
- public final UnaryCallable getBigQueryLinkCallable() {
- return stub.getBigQueryLinkCallable();
+ public final UnaryCallable getAccessBindingCallable() {
+ return stub.getAccessBindingCallable();
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists BigQuery Links on a property.
+ * Updates an access binding on an account or property.
*
* Sample code:
*
@@ -10664,29 +10699,23 @@ public final UnaryCallable getBigQueryLink
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * PropertyName parent = PropertyName.of("[PROPERTY]");
- * for (BigQueryLink element :
- * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) {
- * // doThingsWith(element);
- * }
+ * AccessBinding accessBinding = AccessBinding.newBuilder().build();
+ * AccessBinding response = analyticsAdminServiceClient.updateAccessBinding(accessBinding);
* }
* }
*
- * @param parent Required. The name of the property to list BigQuery links under. Format:
- * properties/{property_id} Example: properties/1234
+ * @param accessBinding Required. The access binding to update.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final ListBigQueryLinksPagedResponse listBigQueryLinks(PropertyName parent) {
- ListBigQueryLinksRequest request =
- ListBigQueryLinksRequest.newBuilder()
- .setParent(parent == null ? null : parent.toString())
- .build();
- return listBigQueryLinks(request);
+ public final AccessBinding updateAccessBinding(AccessBinding accessBinding) {
+ UpdateAccessBindingRequest request =
+ UpdateAccessBindingRequest.newBuilder().setAccessBinding(accessBinding).build();
+ return updateAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists BigQuery Links on a property.
+ * Updates an access binding on an account or property.
*
* Sample code:
*
@@ -10698,27 +10727,24 @@ public final ListBigQueryLinksPagedResponse listBigQueryLinks(PropertyName paren
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * String parent = PropertyName.of("[PROPERTY]").toString();
- * for (BigQueryLink element :
- * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) {
- * // doThingsWith(element);
- * }
+ * UpdateAccessBindingRequest request =
+ * UpdateAccessBindingRequest.newBuilder()
+ * .setAccessBinding(AccessBinding.newBuilder().build())
+ * .build();
+ * AccessBinding response = analyticsAdminServiceClient.updateAccessBinding(request);
* }
* }
*
- * @param parent Required. The name of the property to list BigQuery links under. Format:
- * properties/{property_id} Example: properties/1234
+ * @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final ListBigQueryLinksPagedResponse listBigQueryLinks(String parent) {
- ListBigQueryLinksRequest request =
- ListBigQueryLinksRequest.newBuilder().setParent(parent).build();
- return listBigQueryLinks(request);
+ public final AccessBinding updateAccessBinding(UpdateAccessBindingRequest request) {
+ return updateAccessBindingCallable().call(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists BigQuery Links on a property.
+ * Updates an access binding on an account or property.
*
*
Sample code:
*
@@ -10730,29 +10756,57 @@ public final ListBigQueryLinksPagedResponse listBigQueryLinks(String parent) {
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * ListBigQueryLinksRequest request =
- * ListBigQueryLinksRequest.newBuilder()
- * .setParent(PropertyName.of("[PROPERTY]").toString())
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
+ * UpdateAccessBindingRequest request =
+ * UpdateAccessBindingRequest.newBuilder()
+ * .setAccessBinding(AccessBinding.newBuilder().build())
* .build();
- * for (BigQueryLink element :
- * analyticsAdminServiceClient.listBigQueryLinks(request).iterateAll()) {
- * // doThingsWith(element);
- * }
+ * ApiFuture future =
+ * analyticsAdminServiceClient.updateAccessBindingCallable().futureCall(request);
+ * // Do something.
+ * AccessBinding response = future.get();
* }
* }
+ */
+ public final UnaryCallable
+ updateAccessBindingCallable() {
+ return stub.updateAccessBindingCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes an access binding on an account or property.
*
- * @param request The request object containing all of the parameters for the API call.
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * AccessBindingName name =
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]");
+ * analyticsAdminServiceClient.deleteAccessBinding(name);
+ * }
+ * }
+ *
+ * @param name Required. Formats: - accounts/{account}/accessBindings/{accessBinding} -
+ * properties/{property}/accessBindings/{accessBinding}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final ListBigQueryLinksPagedResponse listBigQueryLinks(ListBigQueryLinksRequest request) {
- return listBigQueryLinksPagedCallable().call(request);
+ public final void deleteAccessBinding(AccessBindingName name) {
+ DeleteAccessBindingRequest request =
+ DeleteAccessBindingRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deleteAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists BigQuery Links on a property.
+ * Deletes an access binding on an account or property.
*
* Sample code:
*
@@ -10764,29 +10818,25 @@ public final ListBigQueryLinksPagedResponse listBigQueryLinks(ListBigQueryLinksR
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * ListBigQueryLinksRequest request =
- * ListBigQueryLinksRequest.newBuilder()
- * .setParent(PropertyName.of("[PROPERTY]").toString())
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
- * .build();
- * ApiFuture future =
- * analyticsAdminServiceClient.listBigQueryLinksPagedCallable().futureCall(request);
- * // Do something.
- * for (BigQueryLink element : future.get().iterateAll()) {
- * // doThingsWith(element);
- * }
+ * String name =
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]").toString();
+ * analyticsAdminServiceClient.deleteAccessBinding(name);
* }
* }
+ *
+ * @param name Required. Formats: - accounts/{account}/accessBindings/{accessBinding} -
+ * properties/{property}/accessBindings/{accessBinding}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final UnaryCallable
- listBigQueryLinksPagedCallable() {
- return stub.listBigQueryLinksPagedCallable();
+ public final void deleteAccessBinding(String name) {
+ DeleteAccessBindingRequest request =
+ DeleteAccessBindingRequest.newBuilder().setName(name).build();
+ deleteAccessBinding(request);
}
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists BigQuery Links on a property.
+ * Deletes an access binding on an account or property.
*
* Sample code:
*
@@ -10798,51 +10848,1600 @@ public final ListBigQueryLinksPagedResponse listBigQueryLinks(ListBigQueryLinksR
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
* AnalyticsAdminServiceClient.create()) {
- * ListBigQueryLinksRequest request =
- * ListBigQueryLinksRequest.newBuilder()
- * .setParent(PropertyName.of("[PROPERTY]").toString())
- * .setPageSize(883849137)
- * .setPageToken("pageToken873572522")
+ * DeleteAccessBindingRequest request =
+ * DeleteAccessBindingRequest.newBuilder()
+ * .setName(
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]")
+ * .toString())
* .build();
- * while (true) {
- * ListBigQueryLinksResponse response =
- * analyticsAdminServiceClient.listBigQueryLinksCallable().call(request);
- * for (BigQueryLink element : response.getBigqueryLinksList()) {
- * // doThingsWith(element);
- * }
- * String nextPageToken = response.getNextPageToken();
- * if (!Strings.isNullOrEmpty(nextPageToken)) {
- * request = request.toBuilder().setPageToken(nextPageToken).build();
- * } else {
- * break;
- * }
- * }
+ * analyticsAdminServiceClient.deleteAccessBinding(request);
* }
* }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
- public final UnaryCallable
- listBigQueryLinksCallable() {
- return stub.listBigQueryLinksCallable();
- }
-
- @Override
- public final void close() {
- stub.close();
- }
-
- @Override
- public void shutdown() {
- stub.shutdown();
- }
-
- @Override
- public boolean isShutdown() {
- return stub.isShutdown();
- }
-
- @Override
- public boolean isTerminated() {
- return stub.isTerminated();
+ public final void deleteAccessBinding(DeleteAccessBindingRequest request) {
+ deleteAccessBindingCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes an access binding on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteAccessBindingRequest request =
+ * DeleteAccessBindingRequest.newBuilder()
+ * .setName(
+ * AccessBindingName.ofAccountAccessBindingName("[ACCOUNT]", "[ACCESS_BINDING]")
+ * .toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.deleteAccessBindingCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deleteAccessBindingCallable() {
+ return stub.deleteAccessBindingCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * AccountName parent = AccountName.of("[ACCOUNT]");
+ * for (AccessBinding element :
+ * analyticsAdminServiceClient.listAccessBindings(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListAccessBindingsPagedResponse listAccessBindings(AccountName parent) {
+ ListAccessBindingsRequest request =
+ ListAccessBindingsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listAccessBindings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (AccessBinding element :
+ * analyticsAdminServiceClient.listAccessBindings(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListAccessBindingsPagedResponse listAccessBindings(PropertyName parent) {
+ ListAccessBindingsRequest request =
+ ListAccessBindingsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listAccessBindings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = AccountName.of("[ACCOUNT]").toString();
+ * for (AccessBinding element :
+ * analyticsAdminServiceClient.listAccessBindings(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Formats: - accounts/{account} - properties/{property}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListAccessBindingsPagedResponse listAccessBindings(String parent) {
+ ListAccessBindingsRequest request =
+ ListAccessBindingsRequest.newBuilder().setParent(parent).build();
+ return listAccessBindings(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListAccessBindingsRequest request =
+ * ListAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (AccessBinding element :
+ * analyticsAdminServiceClient.listAccessBindings(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListAccessBindingsPagedResponse listAccessBindings(
+ ListAccessBindingsRequest request) {
+ return listAccessBindingsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListAccessBindingsRequest request =
+ * ListAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.listAccessBindingsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (AccessBinding element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listAccessBindingsPagedCallable() {
+ return stub.listAccessBindingsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists all access bindings on an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListAccessBindingsRequest request =
+ * ListAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListAccessBindingsResponse response =
+ * analyticsAdminServiceClient.listAccessBindingsCallable().call(request);
+ * for (AccessBinding element : response.getAccessBindingsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listAccessBindingsCallable() {
+ return stub.listAccessBindingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates information about multiple access bindings to an account or property.
+ *
+ * This method is transactional. If any AccessBinding cannot be created, none of the
+ * AccessBindings will be created.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchCreateAccessBindingsRequest request =
+ * BatchCreateAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * BatchCreateAccessBindingsResponse response =
+ * analyticsAdminServiceClient.batchCreateAccessBindings(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchCreateAccessBindingsResponse batchCreateAccessBindings(
+ BatchCreateAccessBindingsRequest request) {
+ return batchCreateAccessBindingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates information about multiple access bindings to an account or property.
+ *
+ * This method is transactional. If any AccessBinding cannot be created, none of the
+ * AccessBindings will be created.
+ *
+ *
Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchCreateAccessBindingsRequest request =
+ * BatchCreateAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.batchCreateAccessBindingsCallable().futureCall(request);
+ * // Do something.
+ * BatchCreateAccessBindingsResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ batchCreateAccessBindingsCallable() {
+ return stub.batchCreateAccessBindingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about multiple access bindings to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchGetAccessBindingsRequest request =
+ * BatchGetAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllNames(new ArrayList())
+ * .build();
+ * BatchGetAccessBindingsResponse response =
+ * analyticsAdminServiceClient.batchGetAccessBindings(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchGetAccessBindingsResponse batchGetAccessBindings(
+ BatchGetAccessBindingsRequest request) {
+ return batchGetAccessBindingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Gets information about multiple access bindings to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchGetAccessBindingsRequest request =
+ * BatchGetAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllNames(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.batchGetAccessBindingsCallable().futureCall(request);
+ * // Do something.
+ * BatchGetAccessBindingsResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ batchGetAccessBindingsCallable() {
+ return stub.batchGetAccessBindingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates information about multiple access bindings to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchUpdateAccessBindingsRequest request =
+ * BatchUpdateAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * BatchUpdateAccessBindingsResponse response =
+ * analyticsAdminServiceClient.batchUpdateAccessBindings(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchUpdateAccessBindingsResponse batchUpdateAccessBindings(
+ BatchUpdateAccessBindingsRequest request) {
+ return batchUpdateAccessBindingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates information about multiple access bindings to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchUpdateAccessBindingsRequest request =
+ * BatchUpdateAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.batchUpdateAccessBindingsCallable().futureCall(request);
+ * // Do something.
+ * BatchUpdateAccessBindingsResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ batchUpdateAccessBindingsCallable() {
+ return stub.batchUpdateAccessBindingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes information about multiple users' links to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchDeleteAccessBindingsRequest request =
+ * BatchDeleteAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * analyticsAdminServiceClient.batchDeleteAccessBindings(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest request) {
+ batchDeleteAccessBindingsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes information about multiple users' links to an account or property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BatchDeleteAccessBindingsRequest request =
+ * BatchDeleteAccessBindingsRequest.newBuilder()
+ * .setParent(AccountName.of("[ACCOUNT]").toString())
+ * .addAllRequests(new ArrayList())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.batchDeleteAccessBindingsCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ batchDeleteAccessBindingsCallable() {
+ return stub.batchDeleteAccessBindingsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ExpandedDataSetName name = ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]");
+ * ExpandedDataSet response = analyticsAdminServiceClient.getExpandedDataSet(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Audience to get. Example format:
+ * properties/1234/expandedDataSets/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet getExpandedDataSet(ExpandedDataSetName name) {
+ GetExpandedDataSetRequest request =
+ GetExpandedDataSetRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ return getExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name = ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString();
+ * ExpandedDataSet response = analyticsAdminServiceClient.getExpandedDataSet(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the Audience to get. Example format:
+ * properties/1234/expandedDataSets/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet getExpandedDataSet(String name) {
+ GetExpandedDataSetRequest request =
+ GetExpandedDataSetRequest.newBuilder().setName(name).build();
+ return getExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetExpandedDataSetRequest request =
+ * GetExpandedDataSetRequest.newBuilder()
+ * .setName(ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString())
+ * .build();
+ * ExpandedDataSet response = analyticsAdminServiceClient.getExpandedDataSet(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet getExpandedDataSet(GetExpandedDataSetRequest request) {
+ return getExpandedDataSetCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetExpandedDataSetRequest request =
+ * GetExpandedDataSetRequest.newBuilder()
+ * .setName(ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.getExpandedDataSetCallable().futureCall(request);
+ * // Do something.
+ * ExpandedDataSet response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ getExpandedDataSetCallable() {
+ return stub.getExpandedDataSetCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists ExpandedDataSets on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (ExpandedDataSet element :
+ * analyticsAdminServiceClient.listExpandedDataSets(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExpandedDataSetsPagedResponse listExpandedDataSets(PropertyName parent) {
+ ListExpandedDataSetsRequest request =
+ ListExpandedDataSetsRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listExpandedDataSets(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists ExpandedDataSets on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * for (ExpandedDataSet element :
+ * analyticsAdminServiceClient.listExpandedDataSets(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExpandedDataSetsPagedResponse listExpandedDataSets(String parent) {
+ ListExpandedDataSetsRequest request =
+ ListExpandedDataSetsRequest.newBuilder().setParent(parent).build();
+ return listExpandedDataSets(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists ExpandedDataSets on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListExpandedDataSetsRequest request =
+ * ListExpandedDataSetsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (ExpandedDataSet element :
+ * analyticsAdminServiceClient.listExpandedDataSets(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListExpandedDataSetsPagedResponse listExpandedDataSets(
+ ListExpandedDataSetsRequest request) {
+ return listExpandedDataSetsPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists ExpandedDataSets on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListExpandedDataSetsRequest request =
+ * ListExpandedDataSetsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.listExpandedDataSetsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (ExpandedDataSet element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listExpandedDataSetsPagedCallable() {
+ return stub.listExpandedDataSetsPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists ExpandedDataSets on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListExpandedDataSetsRequest request =
+ * ListExpandedDataSetsRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListExpandedDataSetsResponse response =
+ * analyticsAdminServiceClient.listExpandedDataSetsCallable().call(request);
+ * for (ExpandedDataSet element : response.getExpandedDataSetsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listExpandedDataSetsCallable() {
+ return stub.listExpandedDataSetsCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * ExpandedDataSet expandedDataSet = ExpandedDataSet.newBuilder().build();
+ * ExpandedDataSet response =
+ * analyticsAdminServiceClient.createExpandedDataSet(parent, expandedDataSet);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param expandedDataSet Required. The ExpandedDataSet to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet createExpandedDataSet(
+ PropertyName parent, ExpandedDataSet expandedDataSet) {
+ CreateExpandedDataSetRequest request =
+ CreateExpandedDataSetRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setExpandedDataSet(expandedDataSet)
+ .build();
+ return createExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * ExpandedDataSet expandedDataSet = ExpandedDataSet.newBuilder().build();
+ * ExpandedDataSet response =
+ * analyticsAdminServiceClient.createExpandedDataSet(parent, expandedDataSet);
+ * }
+ * }
+ *
+ * @param parent Required. Example format: properties/1234
+ * @param expandedDataSet Required. The ExpandedDataSet to create.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet createExpandedDataSet(
+ String parent, ExpandedDataSet expandedDataSet) {
+ CreateExpandedDataSetRequest request =
+ CreateExpandedDataSetRequest.newBuilder()
+ .setParent(parent)
+ .setExpandedDataSet(expandedDataSet)
+ .build();
+ return createExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateExpandedDataSetRequest request =
+ * CreateExpandedDataSetRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setExpandedDataSet(ExpandedDataSet.newBuilder().build())
+ * .build();
+ * ExpandedDataSet response = analyticsAdminServiceClient.createExpandedDataSet(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet createExpandedDataSet(CreateExpandedDataSetRequest request) {
+ return createExpandedDataSetCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Creates a ExpandedDataSet.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * CreateExpandedDataSetRequest request =
+ * CreateExpandedDataSetRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setExpandedDataSet(ExpandedDataSet.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.createExpandedDataSetCallable().futureCall(request);
+ * // Do something.
+ * ExpandedDataSet response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ createExpandedDataSetCallable() {
+ return stub.createExpandedDataSetCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ExpandedDataSet expandedDataSet = ExpandedDataSet.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * ExpandedDataSet response =
+ * analyticsAdminServiceClient.updateExpandedDataSet(expandedDataSet, updateMask);
+ * }
+ * }
+ *
+ * @param expandedDataSet Required. The ExpandedDataSet to update. The resource's `name` field is
+ * used to identify the ExpandedDataSet to be updated.
+ * @param updateMask Required. The list of fields to be updated. Field names must be in snake case
+ * (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire
+ * entity, use one path with the string "*" to match all fields.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet updateExpandedDataSet(
+ ExpandedDataSet expandedDataSet, FieldMask updateMask) {
+ UpdateExpandedDataSetRequest request =
+ UpdateExpandedDataSetRequest.newBuilder()
+ .setExpandedDataSet(expandedDataSet)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateExpandedDataSetRequest request =
+ * UpdateExpandedDataSetRequest.newBuilder()
+ * .setExpandedDataSet(ExpandedDataSet.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ExpandedDataSet response = analyticsAdminServiceClient.updateExpandedDataSet(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ExpandedDataSet updateExpandedDataSet(UpdateExpandedDataSetRequest request) {
+ return updateExpandedDataSetCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * UpdateExpandedDataSetRequest request =
+ * UpdateExpandedDataSetRequest.newBuilder()
+ * .setExpandedDataSet(ExpandedDataSet.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.updateExpandedDataSetCallable().futureCall(request);
+ * // Do something.
+ * ExpandedDataSet response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable
+ updateExpandedDataSetCallable() {
+ return stub.updateExpandedDataSetCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ExpandedDataSetName name = ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]");
+ * analyticsAdminServiceClient.deleteExpandedDataSet(name);
+ * }
+ * }
+ *
+ * @param name Required. Example format: properties/1234/expandedDataSets/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExpandedDataSet(ExpandedDataSetName name) {
+ DeleteExpandedDataSetRequest request =
+ DeleteExpandedDataSetRequest.newBuilder()
+ .setName(name == null ? null : name.toString())
+ .build();
+ deleteExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name = ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString();
+ * analyticsAdminServiceClient.deleteExpandedDataSet(name);
+ * }
+ * }
+ *
+ * @param name Required. Example format: properties/1234/expandedDataSets/5678
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExpandedDataSet(String name) {
+ DeleteExpandedDataSetRequest request =
+ DeleteExpandedDataSetRequest.newBuilder().setName(name).build();
+ deleteExpandedDataSet(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteExpandedDataSetRequest request =
+ * DeleteExpandedDataSetRequest.newBuilder()
+ * .setName(ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString())
+ * .build();
+ * analyticsAdminServiceClient.deleteExpandedDataSet(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteExpandedDataSet(DeleteExpandedDataSetRequest request) {
+ deleteExpandedDataSetCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes a ExpandedDataSet on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * DeleteExpandedDataSetRequest request =
+ * DeleteExpandedDataSetRequest.newBuilder()
+ * .setName(ExpandedDataSetName.of("[PROPERTY]", "[EXPANDED_DATA_SET]").toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.deleteExpandedDataSetCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable deleteExpandedDataSetCallable() {
+ return stub.deleteExpandedDataSetCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has
+ * no effect on GA4 property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * SetAutomatedGa4ConfigurationOptOutRequest request =
+ * SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+ * .setProperty("property-993141291")
+ * .setOptOut(true)
+ * .build();
+ * SetAutomatedGa4ConfigurationOptOutResponse response =
+ * analyticsAdminServiceClient.setAutomatedGa4ConfigurationOptOut(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SetAutomatedGa4ConfigurationOptOutResponse setAutomatedGa4ConfigurationOptOut(
+ SetAutomatedGa4ConfigurationOptOutRequest request) {
+ return setAutomatedGa4ConfigurationOptOutCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has
+ * no effect on GA4 property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * SetAutomatedGa4ConfigurationOptOutRequest request =
+ * SetAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+ * .setProperty("property-993141291")
+ * .setOptOut(true)
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .setAutomatedGa4ConfigurationOptOutCallable()
+ * .futureCall(request);
+ * // Do something.
+ * SetAutomatedGa4ConfigurationOptOutResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
+ setAutomatedGa4ConfigurationOptOutCallable() {
+ return stub.setAutomatedGa4ConfigurationOptOutCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this
+ * has no effect on GA4 property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * FetchAutomatedGa4ConfigurationOptOutRequest request =
+ * FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+ * .setProperty("property-993141291")
+ * .build();
+ * FetchAutomatedGa4ConfigurationOptOutResponse response =
+ * analyticsAdminServiceClient.fetchAutomatedGa4ConfigurationOptOut(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final FetchAutomatedGa4ConfigurationOptOutResponse fetchAutomatedGa4ConfigurationOptOut(
+ FetchAutomatedGa4ConfigurationOptOutRequest request) {
+ return fetchAutomatedGa4ConfigurationOptOutCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this
+ * has no effect on GA4 property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * FetchAutomatedGa4ConfigurationOptOutRequest request =
+ * FetchAutomatedGa4ConfigurationOptOutRequest.newBuilder()
+ * .setProperty("property-993141291")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient
+ * .fetchAutomatedGa4ConfigurationOptOutCallable()
+ * .futureCall(request);
+ * // Do something.
+ * FetchAutomatedGa4ConfigurationOptOutResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable<
+ FetchAutomatedGa4ConfigurationOptOutRequest, FetchAutomatedGa4ConfigurationOptOutResponse>
+ fetchAutomatedGa4ConfigurationOptOutCallable() {
+ return stub.fetchAutomatedGa4ConfigurationOptOutCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single BigQuery Link.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * BigQueryLinkName name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]");
+ * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the BigQuery link to lookup. Format:
+ * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example:
+ * properties/123/bigQueryLinks/456
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BigQueryLink getBigQueryLink(BigQueryLinkName name) {
+ GetBigQueryLinkRequest request =
+ GetBigQueryLinkRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ return getBigQueryLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single BigQuery Link.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String name = BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString();
+ * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the BigQuery link to lookup. Format:
+ * properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example:
+ * properties/123/bigQueryLinks/456
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BigQueryLink getBigQueryLink(String name) {
+ GetBigQueryLinkRequest request = GetBigQueryLinkRequest.newBuilder().setName(name).build();
+ return getBigQueryLink(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single BigQuery Link.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetBigQueryLinkRequest request =
+ * GetBigQueryLinkRequest.newBuilder()
+ * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString())
+ * .build();
+ * BigQueryLink response = analyticsAdminServiceClient.getBigQueryLink(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BigQueryLink getBigQueryLink(GetBigQueryLinkRequest request) {
+ return getBigQueryLinkCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lookup for a single BigQuery Link.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * GetBigQueryLinkRequest request =
+ * GetBigQueryLinkRequest.newBuilder()
+ * .setName(BigQueryLinkName.of("[PROPERTY]", "[BIGQUERY_LINK]").toString())
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.getBigQueryLinkCallable().futureCall(request);
+ * // Do something.
+ * BigQueryLink response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable getBigQueryLinkCallable() {
+ return stub.getBigQueryLinkCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * PropertyName parent = PropertyName.of("[PROPERTY]");
+ * for (BigQueryLink element :
+ * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The name of the property to list BigQuery links under. Format:
+ * properties/{property_id} Example: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListBigQueryLinksPagedResponse listBigQueryLinks(PropertyName parent) {
+ ListBigQueryLinksRequest request =
+ ListBigQueryLinksRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .build();
+ return listBigQueryLinks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * String parent = PropertyName.of("[PROPERTY]").toString();
+ * for (BigQueryLink element :
+ * analyticsAdminServiceClient.listBigQueryLinks(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The name of the property to list BigQuery links under. Format:
+ * properties/{property_id} Example: properties/1234
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListBigQueryLinksPagedResponse listBigQueryLinks(String parent) {
+ ListBigQueryLinksRequest request =
+ ListBigQueryLinksRequest.newBuilder().setParent(parent).build();
+ return listBigQueryLinks(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListBigQueryLinksRequest request =
+ * ListBigQueryLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (BigQueryLink element :
+ * analyticsAdminServiceClient.listBigQueryLinks(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListBigQueryLinksPagedResponse listBigQueryLinks(ListBigQueryLinksRequest request) {
+ return listBigQueryLinksPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListBigQueryLinksRequest request =
+ * ListBigQueryLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * analyticsAdminServiceClient.listBigQueryLinksPagedCallable().futureCall(request);
+ * // Do something.
+ * for (BigQueryLink element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listBigQueryLinksPagedCallable() {
+ return stub.listBigQueryLinksPagedCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ *
+ *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (AnalyticsAdminServiceClient analyticsAdminServiceClient =
+ * AnalyticsAdminServiceClient.create()) {
+ * ListBigQueryLinksRequest request =
+ * ListBigQueryLinksRequest.newBuilder()
+ * .setParent(PropertyName.of("[PROPERTY]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * while (true) {
+ * ListBigQueryLinksResponse response =
+ * analyticsAdminServiceClient.listBigQueryLinksCallable().call(request);
+ * for (BigQueryLink element : response.getBigqueryLinksList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ listBigQueryLinksCallable() {
+ return stub.listBigQueryLinksCallable();
+ }
+
+ @Override
+ public final void close() {
+ stub.close();
+ }
+
+ @Override
+ public void shutdown() {
+ stub.shutdown();
+ }
+
+ @Override
+ public boolean isShutdown() {
+ return stub.isShutdown();
+ }
+
+ @Override
+ public boolean isTerminated() {
+ return stub.isTerminated();
}
@Override
@@ -12280,6 +13879,170 @@ protected ListSearchAds360LinksFixedSizeCollection createCollection(
}
}
+ public static class ListAccessBindingsPagedResponse
+ extends AbstractPagedListResponse<
+ ListAccessBindingsRequest,
+ ListAccessBindingsResponse,
+ AccessBinding,
+ ListAccessBindingsPage,
+ ListAccessBindingsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListAccessBindingsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListAccessBindingsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListAccessBindingsPagedResponse(ListAccessBindingsPage page) {
+ super(page, ListAccessBindingsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListAccessBindingsPage
+ extends AbstractPage<
+ ListAccessBindingsRequest,
+ ListAccessBindingsResponse,
+ AccessBinding,
+ ListAccessBindingsPage> {
+
+ private ListAccessBindingsPage(
+ PageContext context,
+ ListAccessBindingsResponse response) {
+ super(context, response);
+ }
+
+ private static ListAccessBindingsPage createEmptyPage() {
+ return new ListAccessBindingsPage(null, null);
+ }
+
+ @Override
+ protected ListAccessBindingsPage createPage(
+ PageContext context,
+ ListAccessBindingsResponse response) {
+ return new ListAccessBindingsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListAccessBindingsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListAccessBindingsRequest,
+ ListAccessBindingsResponse,
+ AccessBinding,
+ ListAccessBindingsPage,
+ ListAccessBindingsFixedSizeCollection> {
+
+ private ListAccessBindingsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListAccessBindingsFixedSizeCollection createEmptyCollection() {
+ return new ListAccessBindingsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListAccessBindingsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListAccessBindingsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
+ public static class ListExpandedDataSetsPagedResponse
+ extends AbstractPagedListResponse<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ExpandedDataSet,
+ ListExpandedDataSetsPage,
+ ListExpandedDataSetsFixedSizeCollection> {
+
+ public static ApiFuture createAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ ApiFuture futurePage =
+ ListExpandedDataSetsPage.createEmptyPage().createPageAsync(context, futureResponse);
+ return ApiFutures.transform(
+ futurePage,
+ input -> new ListExpandedDataSetsPagedResponse(input),
+ MoreExecutors.directExecutor());
+ }
+
+ private ListExpandedDataSetsPagedResponse(ListExpandedDataSetsPage page) {
+ super(page, ListExpandedDataSetsFixedSizeCollection.createEmptyCollection());
+ }
+ }
+
+ public static class ListExpandedDataSetsPage
+ extends AbstractPage<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ExpandedDataSet,
+ ListExpandedDataSetsPage> {
+
+ private ListExpandedDataSetsPage(
+ PageContext
+ context,
+ ListExpandedDataSetsResponse response) {
+ super(context, response);
+ }
+
+ private static ListExpandedDataSetsPage createEmptyPage() {
+ return new ListExpandedDataSetsPage(null, null);
+ }
+
+ @Override
+ protected ListExpandedDataSetsPage createPage(
+ PageContext
+ context,
+ ListExpandedDataSetsResponse response) {
+ return new ListExpandedDataSetsPage(context, response);
+ }
+
+ @Override
+ public ApiFuture createPageAsync(
+ PageContext
+ context,
+ ApiFuture futureResponse) {
+ return super.createPageAsync(context, futureResponse);
+ }
+ }
+
+ public static class ListExpandedDataSetsFixedSizeCollection
+ extends AbstractFixedSizeCollection<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ExpandedDataSet,
+ ListExpandedDataSetsPage,
+ ListExpandedDataSetsFixedSizeCollection> {
+
+ private ListExpandedDataSetsFixedSizeCollection(
+ List pages, int collectionSize) {
+ super(pages, collectionSize);
+ }
+
+ private static ListExpandedDataSetsFixedSizeCollection createEmptyCollection() {
+ return new ListExpandedDataSetsFixedSizeCollection(null, 0);
+ }
+
+ @Override
+ protected ListExpandedDataSetsFixedSizeCollection createCollection(
+ List pages, int collectionSize) {
+ return new ListExpandedDataSetsFixedSizeCollection(pages, collectionSize);
+ }
+ }
+
public static class ListBigQueryLinksPagedResponse
extends AbstractPagedListResponse<
ListBigQueryLinksRequest,
diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
index d9195900e7e3..2976bf31c38b 100644
--- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
+++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceSettings.java
@@ -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;
@@ -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;
@@ -648,6 +650,94 @@ public UnaryCallSettings deleteSearchAds36
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).runAccessReportSettings();
}
+ /** Returns the object with the settings used for calls to createAccessBinding. */
+ public UnaryCallSettings
+ createAccessBindingSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createAccessBindingSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getAccessBinding. */
+ public UnaryCallSettings getAccessBindingSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getAccessBindingSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateAccessBinding. */
+ public UnaryCallSettings
+ updateAccessBindingSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateAccessBindingSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteAccessBinding. */
+ public UnaryCallSettings 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
+ batchCreateAccessBindingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .batchCreateAccessBindingsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to batchGetAccessBindings. */
+ public UnaryCallSettings
+ batchGetAccessBindingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).batchGetAccessBindingsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to batchUpdateAccessBindings. */
+ public UnaryCallSettings
+ batchUpdateAccessBindingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .batchUpdateAccessBindingsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to batchDeleteAccessBindings. */
+ public UnaryCallSettings
+ batchDeleteAccessBindingsSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings())
+ .batchDeleteAccessBindingsSettings();
+ }
+
+ /** Returns the object with the settings used for calls to getExpandedDataSet. */
+ public UnaryCallSettings
+ 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
+ createExpandedDataSetSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createExpandedDataSetSettings();
+ }
+
+ /** Returns the object with the settings used for calls to updateExpandedDataSet. */
+ public UnaryCallSettings
+ updateExpandedDataSetSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateExpandedDataSetSettings();
+ }
+
+ /** Returns the object with the settings used for calls to deleteExpandedDataSet. */
+ public UnaryCallSettings deleteExpandedDataSetSettings() {
+ return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteExpandedDataSetSettings();
+ }
+
/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
public UnaryCallSettings<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
@@ -1353,6 +1443,96 @@ public UnaryCallSettings.Builder archiveAudienceS
return getStubSettingsBuilder().runAccessReportSettings();
}
+ /** Returns the builder for the settings used for calls to createAccessBinding. */
+ public UnaryCallSettings.Builder
+ createAccessBindingSettings() {
+ return getStubSettingsBuilder().createAccessBindingSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getAccessBinding. */
+ public UnaryCallSettings.Builder
+ getAccessBindingSettings() {
+ return getStubSettingsBuilder().getAccessBindingSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateAccessBinding. */
+ public UnaryCallSettings.Builder
+ updateAccessBindingSettings() {
+ return getStubSettingsBuilder().updateAccessBindingSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deleteAccessBinding. */
+ public UnaryCallSettings.Builder
+ 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
+ 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
+ batchDeleteAccessBindingsSettings() {
+ return getStubSettingsBuilder().batchDeleteAccessBindingsSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to getExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ 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
+ createExpandedDataSetSettings() {
+ return getStubSettingsBuilder().createExpandedDataSetSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to updateExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ updateExpandedDataSetSettings() {
+ return getStubSettingsBuilder().updateExpandedDataSetSettings();
+ }
+
+ /** Returns the builder for the settings used for calls to deleteExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ deleteExpandedDataSetSettings() {
+ return getStubSettingsBuilder().deleteExpandedDataSetSettings();
+ }
+
/**
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
*/
diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
index 799c904f270e..14066e1bec0c 100644
--- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
+++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/gapic_metadata.json
@@ -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"]
},
@@ -64,6 +79,9 @@
"CreateDisplayVideo360AdvertiserLinkProposal": {
"methods": ["createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposal", "createDisplayVideo360AdvertiserLinkProposalCallable"]
},
+ "CreateExpandedDataSet": {
+ "methods": ["createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSet", "createExpandedDataSetCallable"]
+ },
"CreateFirebaseLink": {
"methods": ["createFirebaseLink", "createFirebaseLink", "createFirebaseLink", "createFirebaseLinkCallable"]
},
@@ -82,6 +100,9 @@
"CreateUserLink": {
"methods": ["createUserLink", "createUserLink", "createUserLink", "createUserLink", "createUserLinkCallable"]
},
+ "DeleteAccessBinding": {
+ "methods": ["deleteAccessBinding", "deleteAccessBinding", "deleteAccessBinding", "deleteAccessBindingCallable"]
+ },
"DeleteAccount": {
"methods": ["deleteAccount", "deleteAccount", "deleteAccount", "deleteAccountCallable"]
},
@@ -97,6 +118,9 @@
"DeleteDisplayVideo360AdvertiserLinkProposal": {
"methods": ["deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposal", "deleteDisplayVideo360AdvertiserLinkProposalCallable"]
},
+ "DeleteExpandedDataSet": {
+ "methods": ["deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSet", "deleteExpandedDataSetCallable"]
+ },
"DeleteFirebaseLink": {
"methods": ["deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLink", "deleteFirebaseLinkCallable"]
},
@@ -118,6 +142,9 @@
"FetchAutomatedGa4ConfigurationOptOut": {
"methods": ["fetchAutomatedGa4ConfigurationOptOut", "fetchAutomatedGa4ConfigurationOptOutCallable"]
},
+ "GetAccessBinding": {
+ "methods": ["getAccessBinding", "getAccessBinding", "getAccessBinding", "getAccessBindingCallable"]
+ },
"GetAccount": {
"methods": ["getAccount", "getAccount", "getAccount", "getAccountCallable"]
},
@@ -154,6 +181,9 @@
"GetDisplayVideo360AdvertiserLinkProposal": {
"methods": ["getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposal", "getDisplayVideo360AdvertiserLinkProposalCallable"]
},
+ "GetExpandedDataSet": {
+ "methods": ["getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSet", "getExpandedDataSetCallable"]
+ },
"GetGlobalSiteTag": {
"methods": ["getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTag", "getGlobalSiteTagCallable"]
},
@@ -172,6 +202,9 @@
"GetUserLink": {
"methods": ["getUserLink", "getUserLink", "getUserLink", "getUserLinkCallable"]
},
+ "ListAccessBindings": {
+ "methods": ["listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindings", "listAccessBindingsPagedCallable", "listAccessBindingsCallable"]
+ },
"ListAccountSummaries": {
"methods": ["listAccountSummaries", "listAccountSummariesPagedCallable", "listAccountSummariesCallable"]
},
@@ -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"]
},
@@ -232,6 +268,9 @@
"SetAutomatedGa4ConfigurationOptOut": {
"methods": ["setAutomatedGa4ConfigurationOptOut", "setAutomatedGa4ConfigurationOptOutCallable"]
},
+ "UpdateAccessBinding": {
+ "methods": ["updateAccessBinding", "updateAccessBinding", "updateAccessBindingCallable"]
+ },
"UpdateAccount": {
"methods": ["updateAccount", "updateAccount", "updateAccountCallable"]
},
@@ -256,6 +295,9 @@
"UpdateDisplayVideo360AdvertiserLink": {
"methods": ["updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLink", "updateDisplayVideo360AdvertiserLinkCallable"]
},
+ "UpdateExpandedDataSet": {
+ "methods": ["updateExpandedDataSet", "updateExpandedDataSet", "updateExpandedDataSetCallable"]
+ },
"UpdateGoogleAdsLink": {
"methods": ["updateGoogleAdsLink", "updateGoogleAdsLink", "updateGoogleAdsLinkCallable"]
},
diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
index 2cec2b797d68..d3a45e54a4a2 100644
--- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
+++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStub.java
@@ -17,6 +17,7 @@
package com.google.analytics.admin.v1alpha.stub;
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;
@@ -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;
@@ -35,6 +37,7 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
+import com.google.analytics.admin.v1alpha.AccessBinding;
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest;
import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse;
@@ -47,16 +50,24 @@
import com.google.analytics.admin.v1alpha.Audience;
import com.google.analytics.admin.v1alpha.AuditUserLinksRequest;
import com.google.analytics.admin.v1alpha.AuditUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest;
import com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
import com.google.analytics.admin.v1alpha.BigQueryLink;
import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ConversionEvent;
+import com.google.analytics.admin.v1alpha.CreateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.CreateAudienceRequest;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
@@ -64,6 +75,7 @@
import com.google.analytics.admin.v1alpha.CreateDataStreamRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -75,11 +87,13 @@
import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DataStream;
+import com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest;
@@ -88,9 +102,11 @@
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
+import com.google.analytics.admin.v1alpha.ExpandedDataSet;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse;
import com.google.analytics.admin.v1alpha.FirebaseLink;
+import com.google.analytics.admin.v1alpha.GetAccessBindingRequest;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetAudienceRequest;
@@ -103,6 +119,7 @@
import com.google.analytics.admin.v1alpha.GetDataStreamRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest;
@@ -112,6 +129,8 @@
import com.google.analytics.admin.v1alpha.GlobalSiteTag;
import com.google.analytics.admin.v1alpha.GoogleAdsLink;
import com.google.analytics.admin.v1alpha.GoogleSignalsSettings;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.ListAccountSummariesRequest;
import com.google.analytics.admin.v1alpha.ListAccountSummariesResponse;
import com.google.analytics.admin.v1alpha.ListAccountsRequest;
@@ -132,6 +151,8 @@
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -155,6 +176,7 @@
import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse;
+import com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.UpdateAccountRequest;
import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateAudienceRequest;
@@ -163,6 +185,7 @@
import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest;
@@ -685,6 +708,80 @@ public UnaryCallable runAccessR
throw new UnsupportedOperationException("Not implemented: runAccessReportCallable()");
}
+ public UnaryCallable createAccessBindingCallable() {
+ throw new UnsupportedOperationException("Not implemented: createAccessBindingCallable()");
+ }
+
+ public UnaryCallable getAccessBindingCallable() {
+ throw new UnsupportedOperationException("Not implemented: getAccessBindingCallable()");
+ }
+
+ public UnaryCallable updateAccessBindingCallable() {
+ throw new UnsupportedOperationException("Not implemented: updateAccessBindingCallable()");
+ }
+
+ public UnaryCallable deleteAccessBindingCallable() {
+ throw new UnsupportedOperationException("Not implemented: deleteAccessBindingCallable()");
+ }
+
+ public UnaryCallable
+ listAccessBindingsPagedCallable() {
+ throw new UnsupportedOperationException("Not implemented: listAccessBindingsPagedCallable()");
+ }
+
+ public UnaryCallable
+ listAccessBindingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: listAccessBindingsCallable()");
+ }
+
+ public UnaryCallable
+ batchCreateAccessBindingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: batchCreateAccessBindingsCallable()");
+ }
+
+ public UnaryCallable
+ batchGetAccessBindingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: batchGetAccessBindingsCallable()");
+ }
+
+ public UnaryCallable
+ batchUpdateAccessBindingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: batchUpdateAccessBindingsCallable()");
+ }
+
+ public UnaryCallable
+ batchDeleteAccessBindingsCallable() {
+ throw new UnsupportedOperationException("Not implemented: batchDeleteAccessBindingsCallable()");
+ }
+
+ public UnaryCallable getExpandedDataSetCallable() {
+ throw new UnsupportedOperationException("Not implemented: getExpandedDataSetCallable()");
+ }
+
+ public UnaryCallable
+ listExpandedDataSetsPagedCallable() {
+ throw new UnsupportedOperationException("Not implemented: listExpandedDataSetsPagedCallable()");
+ }
+
+ public UnaryCallable
+ listExpandedDataSetsCallable() {
+ throw new UnsupportedOperationException("Not implemented: listExpandedDataSetsCallable()");
+ }
+
+ public UnaryCallable
+ createExpandedDataSetCallable() {
+ throw new UnsupportedOperationException("Not implemented: createExpandedDataSetCallable()");
+ }
+
+ public UnaryCallable
+ updateExpandedDataSetCallable() {
+ throw new UnsupportedOperationException("Not implemented: updateExpandedDataSetCallable()");
+ }
+
+ public UnaryCallable deleteExpandedDataSetCallable() {
+ throw new UnsupportedOperationException("Not implemented: deleteExpandedDataSetCallable()");
+ }
+
public UnaryCallable<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutCallable() {
diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
index d66ff9257ab6..e517121f9d04 100644
--- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
+++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/AnalyticsAdminServiceStubSettings.java
@@ -17,6 +17,7 @@
package com.google.analytics.admin.v1alpha.stub;
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;
@@ -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;
@@ -35,6 +37,7 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
+import com.google.analytics.admin.v1alpha.AccessBinding;
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AccountSummary;
import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest;
@@ -49,17 +52,25 @@
import com.google.analytics.admin.v1alpha.AuditUserLink;
import com.google.analytics.admin.v1alpha.AuditUserLinksRequest;
import com.google.analytics.admin.v1alpha.AuditUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest;
import com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
import com.google.analytics.admin.v1alpha.BigQueryLink;
import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ChangeHistoryEvent;
import com.google.analytics.admin.v1alpha.ConversionEvent;
+import com.google.analytics.admin.v1alpha.CreateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.CreateAudienceRequest;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
@@ -67,6 +78,7 @@
import com.google.analytics.admin.v1alpha.CreateDataStreamRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -78,11 +90,13 @@
import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DataStream;
+import com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest;
@@ -91,9 +105,11 @@
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
+import com.google.analytics.admin.v1alpha.ExpandedDataSet;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse;
import com.google.analytics.admin.v1alpha.FirebaseLink;
+import com.google.analytics.admin.v1alpha.GetAccessBindingRequest;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetAudienceRequest;
@@ -106,6 +122,7 @@
import com.google.analytics.admin.v1alpha.GetDataStreamRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest;
@@ -115,6 +132,8 @@
import com.google.analytics.admin.v1alpha.GlobalSiteTag;
import com.google.analytics.admin.v1alpha.GoogleAdsLink;
import com.google.analytics.admin.v1alpha.GoogleSignalsSettings;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.ListAccountSummariesRequest;
import com.google.analytics.admin.v1alpha.ListAccountSummariesResponse;
import com.google.analytics.admin.v1alpha.ListAccountsRequest;
@@ -135,6 +154,8 @@
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -158,6 +179,7 @@
import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse;
+import com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.UpdateAccountRequest;
import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateAudienceRequest;
@@ -166,6 +188,7 @@
import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest;
@@ -445,6 +468,38 @@ public class AnalyticsAdminServiceStubSettings
updateAttributionSettingsSettings;
private final UnaryCallSettings
runAccessReportSettings;
+ private final UnaryCallSettings
+ createAccessBindingSettings;
+ private final UnaryCallSettings getAccessBindingSettings;
+ private final UnaryCallSettings
+ updateAccessBindingSettings;
+ private final UnaryCallSettings deleteAccessBindingSettings;
+ private final PagedCallSettings<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
+ listAccessBindingsSettings;
+ private final UnaryCallSettings<
+ BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
+ batchCreateAccessBindingsSettings;
+ private final UnaryCallSettings
+ batchGetAccessBindingsSettings;
+ private final UnaryCallSettings<
+ BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
+ batchUpdateAccessBindingsSettings;
+ private final UnaryCallSettings
+ batchDeleteAccessBindingsSettings;
+ private final UnaryCallSettings
+ getExpandedDataSetSettings;
+ private final PagedCallSettings<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>
+ listExpandedDataSetsSettings;
+ private final UnaryCallSettings
+ createExpandedDataSetSettings;
+ private final UnaryCallSettings
+ updateExpandedDataSetSettings;
+ private final UnaryCallSettings
+ deleteExpandedDataSetSettings;
private final UnaryCallSettings<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutSettings;
@@ -1157,6 +1212,87 @@ public Iterable extractResources(
}
};
+ private static final PagedListDescriptor<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, AccessBinding>
+ LIST_ACCESS_BINDINGS_PAGE_STR_DESC =
+ new PagedListDescriptor<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, AccessBinding>() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListAccessBindingsRequest injectToken(
+ ListAccessBindingsRequest payload, String token) {
+ return ListAccessBindingsRequest.newBuilder(payload).setPageToken(token).build();
+ }
+
+ @Override
+ public ListAccessBindingsRequest injectPageSize(
+ ListAccessBindingsRequest payload, int pageSize) {
+ return ListAccessBindingsRequest.newBuilder(payload).setPageSize(pageSize).build();
+ }
+
+ @Override
+ public Integer extractPageSize(ListAccessBindingsRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(ListAccessBindingsResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(ListAccessBindingsResponse payload) {
+ return payload.getAccessBindingsList() == null
+ ? ImmutableList.of()
+ : payload.getAccessBindingsList();
+ }
+ };
+
+ private static final PagedListDescriptor<
+ ListExpandedDataSetsRequest, ListExpandedDataSetsResponse, ExpandedDataSet>
+ LIST_EXPANDED_DATA_SETS_PAGE_STR_DESC =
+ new PagedListDescriptor<
+ ListExpandedDataSetsRequest, ListExpandedDataSetsResponse, ExpandedDataSet>() {
+ @Override
+ public String emptyToken() {
+ return "";
+ }
+
+ @Override
+ public ListExpandedDataSetsRequest injectToken(
+ ListExpandedDataSetsRequest payload, String token) {
+ return ListExpandedDataSetsRequest.newBuilder(payload).setPageToken(token).build();
+ }
+
+ @Override
+ public ListExpandedDataSetsRequest injectPageSize(
+ ListExpandedDataSetsRequest payload, int pageSize) {
+ return ListExpandedDataSetsRequest.newBuilder(payload).setPageSize(pageSize).build();
+ }
+
+ @Override
+ public Integer extractPageSize(ListExpandedDataSetsRequest payload) {
+ return payload.getPageSize();
+ }
+
+ @Override
+ public String extractNextToken(ListExpandedDataSetsResponse payload) {
+ return payload.getNextPageToken();
+ }
+
+ @Override
+ public Iterable extractResources(
+ ListExpandedDataSetsResponse payload) {
+ return payload.getExpandedDataSetsList() == null
+ ? ImmutableList.of()
+ : payload.getExpandedDataSetsList();
+ }
+ };
+
private static final PagedListDescriptor<
ListBigQueryLinksRequest, ListBigQueryLinksResponse, BigQueryLink>
LIST_BIG_QUERY_LINKS_PAGE_STR_DESC =
@@ -1588,6 +1724,51 @@ public ApiFuture getFuturePagedResponse(
}
};
+ private static final PagedListResponseFactory<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
+ LIST_ACCESS_BINDINGS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListAccessBindingsRequest,
+ ListAccessBindingsResponse,
+ ListAccessBindingsPagedResponse>() {
+ @Override
+ public ApiFuture getFuturePagedResponse(
+ UnaryCallable callable,
+ ListAccessBindingsRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext
+ pageContext =
+ PageContext.create(
+ callable, LIST_ACCESS_BINDINGS_PAGE_STR_DESC, request, context);
+ return ListAccessBindingsPagedResponse.createAsync(pageContext, futureResponse);
+ }
+ };
+
+ private static final PagedListResponseFactory<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>
+ LIST_EXPANDED_DATA_SETS_PAGE_STR_FACT =
+ new PagedListResponseFactory<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>() {
+ @Override
+ public ApiFuture getFuturePagedResponse(
+ UnaryCallable callable,
+ ListExpandedDataSetsRequest request,
+ ApiCallContext context,
+ ApiFuture futureResponse) {
+ PageContext<
+ ListExpandedDataSetsRequest, ListExpandedDataSetsResponse, ExpandedDataSet>
+ pageContext =
+ PageContext.create(
+ callable, LIST_EXPANDED_DATA_SETS_PAGE_STR_DESC, request, context);
+ return ListExpandedDataSetsPagedResponse.createAsync(pageContext, futureResponse);
+ }
+ };
+
private static final PagedListResponseFactory<
ListBigQueryLinksRequest, ListBigQueryLinksResponse, ListBigQueryLinksPagedResponse>
LIST_BIG_QUERY_LINKS_PAGE_STR_FACT =
@@ -2138,6 +2319,91 @@ public UnaryCallSettings deleteSearchAds36
return runAccessReportSettings;
}
+ /** Returns the object with the settings used for calls to createAccessBinding. */
+ public UnaryCallSettings
+ createAccessBindingSettings() {
+ return createAccessBindingSettings;
+ }
+
+ /** Returns the object with the settings used for calls to getAccessBinding. */
+ public UnaryCallSettings getAccessBindingSettings() {
+ return getAccessBindingSettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateAccessBinding. */
+ public UnaryCallSettings
+ updateAccessBindingSettings() {
+ return updateAccessBindingSettings;
+ }
+
+ /** Returns the object with the settings used for calls to deleteAccessBinding. */
+ public UnaryCallSettings deleteAccessBindingSettings() {
+ return deleteAccessBindingSettings;
+ }
+
+ /** Returns the object with the settings used for calls to listAccessBindings. */
+ public PagedCallSettings<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
+ listAccessBindingsSettings() {
+ return listAccessBindingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to batchCreateAccessBindings. */
+ public UnaryCallSettings
+ batchCreateAccessBindingsSettings() {
+ return batchCreateAccessBindingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to batchGetAccessBindings. */
+ public UnaryCallSettings
+ batchGetAccessBindingsSettings() {
+ return batchGetAccessBindingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to batchUpdateAccessBindings. */
+ public UnaryCallSettings
+ batchUpdateAccessBindingsSettings() {
+ return batchUpdateAccessBindingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to batchDeleteAccessBindings. */
+ public UnaryCallSettings
+ batchDeleteAccessBindingsSettings() {
+ return batchDeleteAccessBindingsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to getExpandedDataSet. */
+ public UnaryCallSettings
+ getExpandedDataSetSettings() {
+ return getExpandedDataSetSettings;
+ }
+
+ /** Returns the object with the settings used for calls to listExpandedDataSets. */
+ public PagedCallSettings<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>
+ listExpandedDataSetsSettings() {
+ return listExpandedDataSetsSettings;
+ }
+
+ /** Returns the object with the settings used for calls to createExpandedDataSet. */
+ public UnaryCallSettings
+ createExpandedDataSetSettings() {
+ return createExpandedDataSetSettings;
+ }
+
+ /** Returns the object with the settings used for calls to updateExpandedDataSet. */
+ public UnaryCallSettings
+ updateExpandedDataSetSettings() {
+ return updateExpandedDataSetSettings;
+ }
+
+ /** Returns the object with the settings used for calls to deleteExpandedDataSet. */
+ public UnaryCallSettings deleteExpandedDataSetSettings() {
+ return deleteExpandedDataSetSettings;
+ }
+
/** Returns the object with the settings used for calls to setAutomatedGa4ConfigurationOptOut. */
public UnaryCallSettings<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
@@ -2375,6 +2641,20 @@ protected AnalyticsAdminServiceStubSettings(Builder settingsBuilder) throws IOEx
getAttributionSettingsSettings = settingsBuilder.getAttributionSettingsSettings().build();
updateAttributionSettingsSettings = settingsBuilder.updateAttributionSettingsSettings().build();
runAccessReportSettings = settingsBuilder.runAccessReportSettings().build();
+ createAccessBindingSettings = settingsBuilder.createAccessBindingSettings().build();
+ getAccessBindingSettings = settingsBuilder.getAccessBindingSettings().build();
+ updateAccessBindingSettings = settingsBuilder.updateAccessBindingSettings().build();
+ deleteAccessBindingSettings = settingsBuilder.deleteAccessBindingSettings().build();
+ listAccessBindingsSettings = settingsBuilder.listAccessBindingsSettings().build();
+ batchCreateAccessBindingsSettings = settingsBuilder.batchCreateAccessBindingsSettings().build();
+ batchGetAccessBindingsSettings = settingsBuilder.batchGetAccessBindingsSettings().build();
+ batchUpdateAccessBindingsSettings = settingsBuilder.batchUpdateAccessBindingsSettings().build();
+ batchDeleteAccessBindingsSettings = settingsBuilder.batchDeleteAccessBindingsSettings().build();
+ getExpandedDataSetSettings = settingsBuilder.getExpandedDataSetSettings().build();
+ listExpandedDataSetsSettings = settingsBuilder.listExpandedDataSetsSettings().build();
+ createExpandedDataSetSettings = settingsBuilder.createExpandedDataSetSettings().build();
+ updateExpandedDataSetSettings = settingsBuilder.updateExpandedDataSetSettings().build();
+ deleteExpandedDataSetSettings = settingsBuilder.deleteExpandedDataSetSettings().build();
setAutomatedGa4ConfigurationOptOutSettings =
settingsBuilder.setAutomatedGa4ConfigurationOptOutSettings().build();
fetchAutomatedGa4ConfigurationOptOutSettings =
@@ -2592,6 +2872,41 @@ public static class Builder
updateAttributionSettingsSettings;
private final UnaryCallSettings.Builder
runAccessReportSettings;
+ private final UnaryCallSettings.Builder
+ createAccessBindingSettings;
+ private final UnaryCallSettings.Builder
+ getAccessBindingSettings;
+ private final UnaryCallSettings.Builder
+ updateAccessBindingSettings;
+ private final UnaryCallSettings.Builder
+ deleteAccessBindingSettings;
+ private final PagedCallSettings.Builder<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
+ listAccessBindingsSettings;
+ private final UnaryCallSettings.Builder<
+ BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
+ batchCreateAccessBindingsSettings;
+ private final UnaryCallSettings.Builder<
+ BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
+ batchGetAccessBindingsSettings;
+ private final UnaryCallSettings.Builder<
+ BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
+ batchUpdateAccessBindingsSettings;
+ private final UnaryCallSettings.Builder
+ batchDeleteAccessBindingsSettings;
+ private final UnaryCallSettings.Builder
+ getExpandedDataSetSettings;
+ private final PagedCallSettings.Builder<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>
+ listExpandedDataSetsSettings;
+ private final UnaryCallSettings.Builder
+ createExpandedDataSetSettings;
+ private final UnaryCallSettings.Builder
+ updateExpandedDataSetSettings;
+ private final UnaryCallSettings.Builder
+ deleteExpandedDataSetSettings;
private final UnaryCallSettings.Builder<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutSettings;
@@ -2753,6 +3068,21 @@ protected Builder(ClientContext clientContext) {
getAttributionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
updateAttributionSettingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
runAccessReportSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ createAccessBindingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ getAccessBindingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateAccessBindingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ deleteAccessBindingSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listAccessBindingsSettings = PagedCallSettings.newBuilder(LIST_ACCESS_BINDINGS_PAGE_STR_FACT);
+ batchCreateAccessBindingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ batchGetAccessBindingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ batchUpdateAccessBindingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ batchDeleteAccessBindingsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ getExpandedDataSetSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ listExpandedDataSetsSettings =
+ PagedCallSettings.newBuilder(LIST_EXPANDED_DATA_SETS_PAGE_STR_FACT);
+ createExpandedDataSetSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ updateExpandedDataSetSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+ deleteExpandedDataSetSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
setAutomatedGa4ConfigurationOptOutSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
fetchAutomatedGa4ConfigurationOptOutSettings =
UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -2845,6 +3175,20 @@ protected Builder(ClientContext clientContext) {
getAttributionSettingsSettings,
updateAttributionSettingsSettings,
runAccessReportSettings,
+ createAccessBindingSettings,
+ getAccessBindingSettings,
+ updateAccessBindingSettings,
+ deleteAccessBindingSettings,
+ listAccessBindingsSettings,
+ batchCreateAccessBindingsSettings,
+ batchGetAccessBindingsSettings,
+ batchUpdateAccessBindingsSettings,
+ batchDeleteAccessBindingsSettings,
+ getExpandedDataSetSettings,
+ listExpandedDataSetsSettings,
+ createExpandedDataSetSettings,
+ updateExpandedDataSetSettings,
+ deleteExpandedDataSetSettings,
setAutomatedGa4ConfigurationOptOutSettings,
fetchAutomatedGa4ConfigurationOptOutSettings,
getBigQueryLinkSettings,
@@ -2958,6 +3302,20 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
getAttributionSettingsSettings = settings.getAttributionSettingsSettings.toBuilder();
updateAttributionSettingsSettings = settings.updateAttributionSettingsSettings.toBuilder();
runAccessReportSettings = settings.runAccessReportSettings.toBuilder();
+ createAccessBindingSettings = settings.createAccessBindingSettings.toBuilder();
+ getAccessBindingSettings = settings.getAccessBindingSettings.toBuilder();
+ updateAccessBindingSettings = settings.updateAccessBindingSettings.toBuilder();
+ deleteAccessBindingSettings = settings.deleteAccessBindingSettings.toBuilder();
+ listAccessBindingsSettings = settings.listAccessBindingsSettings.toBuilder();
+ batchCreateAccessBindingsSettings = settings.batchCreateAccessBindingsSettings.toBuilder();
+ batchGetAccessBindingsSettings = settings.batchGetAccessBindingsSettings.toBuilder();
+ batchUpdateAccessBindingsSettings = settings.batchUpdateAccessBindingsSettings.toBuilder();
+ batchDeleteAccessBindingsSettings = settings.batchDeleteAccessBindingsSettings.toBuilder();
+ getExpandedDataSetSettings = settings.getExpandedDataSetSettings.toBuilder();
+ listExpandedDataSetsSettings = settings.listExpandedDataSetsSettings.toBuilder();
+ createExpandedDataSetSettings = settings.createExpandedDataSetSettings.toBuilder();
+ updateExpandedDataSetSettings = settings.updateExpandedDataSetSettings.toBuilder();
+ deleteExpandedDataSetSettings = settings.deleteExpandedDataSetSettings.toBuilder();
setAutomatedGa4ConfigurationOptOutSettings =
settings.setAutomatedGa4ConfigurationOptOutSettings.toBuilder();
fetchAutomatedGa4ConfigurationOptOutSettings =
@@ -3051,6 +3409,20 @@ protected Builder(AnalyticsAdminServiceStubSettings settings) {
getAttributionSettingsSettings,
updateAttributionSettingsSettings,
runAccessReportSettings,
+ createAccessBindingSettings,
+ getAccessBindingSettings,
+ updateAccessBindingSettings,
+ deleteAccessBindingSettings,
+ listAccessBindingsSettings,
+ batchCreateAccessBindingsSettings,
+ batchGetAccessBindingsSettings,
+ batchUpdateAccessBindingsSettings,
+ batchDeleteAccessBindingsSettings,
+ getExpandedDataSetSettings,
+ listExpandedDataSetsSettings,
+ createExpandedDataSetSettings,
+ updateExpandedDataSetSettings,
+ deleteExpandedDataSetSettings,
setAutomatedGa4ConfigurationOptOutSettings,
fetchAutomatedGa4ConfigurationOptOutSettings,
getBigQueryLinkSettings,
@@ -3504,6 +3876,76 @@ private static Builder initDefaults(Builder builder) {
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+ builder
+ .createAccessBindingSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .getAccessBindingSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .updateAccessBindingSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .deleteAccessBindingSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .listAccessBindingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .batchCreateAccessBindingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .batchGetAccessBindingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .batchUpdateAccessBindingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .batchDeleteAccessBindingsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .getExpandedDataSetSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .listExpandedDataSetsSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .createExpandedDataSetSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .updateExpandedDataSetSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
+ builder
+ .deleteExpandedDataSetSettings()
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
+
builder
.setAutomatedGa4ConfigurationOptOutSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
@@ -4101,6 +4543,96 @@ public UnaryCallSettings.Builder archiveAudienceS
return runAccessReportSettings;
}
+ /** Returns the builder for the settings used for calls to createAccessBinding. */
+ public UnaryCallSettings.Builder
+ createAccessBindingSettings() {
+ return createAccessBindingSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to getAccessBinding. */
+ public UnaryCallSettings.Builder
+ getAccessBindingSettings() {
+ return getAccessBindingSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to updateAccessBinding. */
+ public UnaryCallSettings.Builder
+ updateAccessBindingSettings() {
+ return updateAccessBindingSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to deleteAccessBinding. */
+ public UnaryCallSettings.Builder
+ deleteAccessBindingSettings() {
+ return deleteAccessBindingSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to listAccessBindings. */
+ public PagedCallSettings.Builder<
+ ListAccessBindingsRequest, ListAccessBindingsResponse, ListAccessBindingsPagedResponse>
+ listAccessBindingsSettings() {
+ return listAccessBindingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to batchCreateAccessBindings. */
+ public UnaryCallSettings.Builder<
+ BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
+ batchCreateAccessBindingsSettings() {
+ return batchCreateAccessBindingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to batchGetAccessBindings. */
+ public UnaryCallSettings.Builder
+ batchGetAccessBindingsSettings() {
+ return batchGetAccessBindingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to batchUpdateAccessBindings. */
+ public UnaryCallSettings.Builder<
+ BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
+ batchUpdateAccessBindingsSettings() {
+ return batchUpdateAccessBindingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to batchDeleteAccessBindings. */
+ public UnaryCallSettings.Builder
+ batchDeleteAccessBindingsSettings() {
+ return batchDeleteAccessBindingsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to getExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ getExpandedDataSetSettings() {
+ return getExpandedDataSetSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to listExpandedDataSets. */
+ public PagedCallSettings.Builder<
+ ListExpandedDataSetsRequest,
+ ListExpandedDataSetsResponse,
+ ListExpandedDataSetsPagedResponse>
+ listExpandedDataSetsSettings() {
+ return listExpandedDataSetsSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to createExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ createExpandedDataSetSettings() {
+ return createExpandedDataSetSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to updateExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ updateExpandedDataSetSettings() {
+ return updateExpandedDataSetSettings;
+ }
+
+ /** Returns the builder for the settings used for calls to deleteExpandedDataSet. */
+ public UnaryCallSettings.Builder
+ deleteExpandedDataSetSettings() {
+ return deleteExpandedDataSetSettings;
+ }
+
/**
* Returns the builder for the settings used for calls to setAutomatedGa4ConfigurationOptOut.
*/
diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
index 0463c28a4973..044f4bfc173c 100644
--- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
+++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/GrpcAnalyticsAdminServiceStub.java
@@ -17,6 +17,7 @@
package com.google.analytics.admin.v1alpha.stub;
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;
@@ -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;
@@ -35,6 +37,7 @@
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListUserLinksPagedResponse;
import static com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
+import com.google.analytics.admin.v1alpha.AccessBinding;
import com.google.analytics.admin.v1alpha.Account;
import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest;
import com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse;
@@ -47,16 +50,24 @@
import com.google.analytics.admin.v1alpha.Audience;
import com.google.analytics.admin.v1alpha.AuditUserLinksRequest;
import com.google.analytics.admin.v1alpha.AuditUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchCreateUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest;
import com.google.analytics.admin.v1alpha.BatchDeleteUserLinksRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchGetUserLinksResponse;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest;
import com.google.analytics.admin.v1alpha.BatchUpdateUserLinksResponse;
import com.google.analytics.admin.v1alpha.BigQueryLink;
import com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.ConversionEvent;
+import com.google.analytics.admin.v1alpha.CreateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.CreateAudienceRequest;
import com.google.analytics.admin.v1alpha.CreateConversionEventRequest;
import com.google.analytics.admin.v1alpha.CreateCustomDimensionRequest;
@@ -64,6 +75,7 @@
import com.google.analytics.admin.v1alpha.CreateDataStreamRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest;
@@ -75,11 +87,13 @@
import com.google.analytics.admin.v1alpha.DataRetentionSettings;
import com.google.analytics.admin.v1alpha.DataSharingSettings;
import com.google.analytics.admin.v1alpha.DataStream;
+import com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest;
import com.google.analytics.admin.v1alpha.DeleteAccountRequest;
import com.google.analytics.admin.v1alpha.DeleteConversionEventRequest;
import com.google.analytics.admin.v1alpha.DeleteDataStreamRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest;
@@ -88,9 +102,11 @@
import com.google.analytics.admin.v1alpha.DeleteUserLinkRequest;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink;
import com.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal;
+import com.google.analytics.admin.v1alpha.ExpandedDataSet;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse;
import com.google.analytics.admin.v1alpha.FirebaseLink;
+import com.google.analytics.admin.v1alpha.GetAccessBindingRequest;
import com.google.analytics.admin.v1alpha.GetAccountRequest;
import com.google.analytics.admin.v1alpha.GetAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.GetAudienceRequest;
@@ -103,6 +119,7 @@
import com.google.analytics.admin.v1alpha.GetDataStreamRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest;
import com.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest;
import com.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest;
@@ -112,6 +129,8 @@
import com.google.analytics.admin.v1alpha.GlobalSiteTag;
import com.google.analytics.admin.v1alpha.GoogleAdsLink;
import com.google.analytics.admin.v1alpha.GoogleSignalsSettings;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsRequest;
+import com.google.analytics.admin.v1alpha.ListAccessBindingsResponse;
import com.google.analytics.admin.v1alpha.ListAccountSummariesRequest;
import com.google.analytics.admin.v1alpha.ListAccountSummariesResponse;
import com.google.analytics.admin.v1alpha.ListAccountsRequest;
@@ -132,6 +151,8 @@
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest;
import com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest;
+import com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksRequest;
import com.google.analytics.admin.v1alpha.ListFirebaseLinksResponse;
import com.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest;
@@ -155,6 +176,7 @@
import com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest;
import com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse;
+import com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest;
import com.google.analytics.admin.v1alpha.UpdateAccountRequest;
import com.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateAudienceRequest;
@@ -163,6 +185,7 @@
import com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateDataStreamRequest;
import com.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest;
+import com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest;
import com.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest;
import com.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest;
@@ -1211,6 +1234,171 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
ProtoUtils.marshaller(RunAccessReportResponse.getDefaultInstance()))
.build();
+ private static final MethodDescriptor
+ createAccessBindingMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateAccessBinding")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(CreateAccessBindingRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(AccessBinding.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ getAccessBindingMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/GetAccessBinding")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(GetAccessBindingRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(AccessBinding.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ updateAccessBindingMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateAccessBinding")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(UpdateAccessBindingRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(AccessBinding.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ deleteAccessBindingMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccessBinding")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(DeleteAccessBindingRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ listAccessBindingsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/ListAccessBindings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(ListAccessBindingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(ListAccessBindingsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ BatchCreateAccessBindingsRequest, BatchCreateAccessBindingsResponse>
+ batchCreateAccessBindingsMethodDescriptor =
+ MethodDescriptor
+ .newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/BatchCreateAccessBindings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(BatchCreateAccessBindingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(BatchCreateAccessBindingsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ BatchGetAccessBindingsRequest, BatchGetAccessBindingsResponse>
+ batchGetAccessBindingsMethodDescriptor =
+ MethodDescriptor
+ .newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/BatchGetAccessBindings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(BatchGetAccessBindingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(BatchGetAccessBindingsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor<
+ BatchUpdateAccessBindingsRequest, BatchUpdateAccessBindingsResponse>
+ batchUpdateAccessBindingsMethodDescriptor =
+ MethodDescriptor
+ .newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/BatchUpdateAccessBindings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(BatchUpdateAccessBindingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(BatchUpdateAccessBindingsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ batchDeleteAccessBindingsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/BatchDeleteAccessBindings")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(BatchDeleteAccessBindingsRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ getExpandedDataSetMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/GetExpandedDataSet")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(GetExpandedDataSetRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(ExpandedDataSet.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ listExpandedDataSetsMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/ListExpandedDataSets")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(ListExpandedDataSetsRequest.getDefaultInstance()))
+ .setResponseMarshaller(
+ ProtoUtils.marshaller(ListExpandedDataSetsResponse.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ createExpandedDataSetMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/CreateExpandedDataSet")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(CreateExpandedDataSetRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(ExpandedDataSet.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ updateExpandedDataSetMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateExpandedDataSet")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(UpdateExpandedDataSetRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(ExpandedDataSet.getDefaultInstance()))
+ .build();
+
+ private static final MethodDescriptor
+ deleteExpandedDataSetMethodDescriptor =
+ MethodDescriptor.newBuilder()
+ .setType(MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(
+ "google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteExpandedDataSet")
+ .setRequestMarshaller(
+ ProtoUtils.marshaller(DeleteExpandedDataSetRequest.getDefaultInstance()))
+ .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+ .build();
+
private static final MethodDescriptor<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutMethodDescriptor =
@@ -1455,6 +1643,35 @@ public class GrpcAnalyticsAdminServiceStub extends AnalyticsAdminServiceStub {
updateAttributionSettingsCallable;
private final UnaryCallable
runAccessReportCallable;
+ private final UnaryCallable
+ createAccessBindingCallable;
+ private final UnaryCallable getAccessBindingCallable;
+ private final UnaryCallable
+ updateAccessBindingCallable;
+ private final UnaryCallable deleteAccessBindingCallable;
+ private final UnaryCallable
+ listAccessBindingsCallable;
+ private final UnaryCallable
+ listAccessBindingsPagedCallable;
+ private final UnaryCallable
+ batchCreateAccessBindingsCallable;
+ private final UnaryCallable
+ batchGetAccessBindingsCallable;
+ private final UnaryCallable
+ batchUpdateAccessBindingsCallable;
+ private final UnaryCallable
+ batchDeleteAccessBindingsCallable;
+ private final UnaryCallable
+ getExpandedDataSetCallable;
+ private final UnaryCallable
+ listExpandedDataSetsCallable;
+ private final UnaryCallable
+ listExpandedDataSetsPagedCallable;
+ private final UnaryCallable
+ createExpandedDataSetCallable;
+ private final UnaryCallable
+ updateExpandedDataSetCallable;
+ private final UnaryCallable deleteExpandedDataSetCallable;
private final UnaryCallable<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutCallable;
@@ -2432,6 +2649,164 @@ protected GrpcAnalyticsAdminServiceStub(
return params.build();
})
.build();
+ GrpcCallSettings
+ createAccessBindingTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(createAccessBindingMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings getAccessBindingTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getAccessBindingMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ updateAccessBindingTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(updateAccessBindingMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put(
+ "access_binding.name",
+ String.valueOf(request.getAccessBinding().getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings deleteAccessBindingTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(deleteAccessBindingMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ listAccessBindingsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(listAccessBindingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ batchCreateAccessBindingsTransportSettings =
+ GrpcCallSettings
+ .newBuilder()
+ .setMethodDescriptor(batchCreateAccessBindingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ batchGetAccessBindingsTransportSettings =
+ GrpcCallSettings
+ .newBuilder()
+ .setMethodDescriptor(batchGetAccessBindingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ batchUpdateAccessBindingsTransportSettings =
+ GrpcCallSettings
+ .newBuilder()
+ .setMethodDescriptor(batchUpdateAccessBindingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ batchDeleteAccessBindingsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(batchDeleteAccessBindingsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ getExpandedDataSetTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(getExpandedDataSetMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ listExpandedDataSetsTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(listExpandedDataSetsMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ createExpandedDataSetTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(createExpandedDataSetMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("parent", String.valueOf(request.getParent()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings
+ updateExpandedDataSetTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(updateExpandedDataSetMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put(
+ "expanded_data_set.name",
+ String.valueOf(request.getExpandedDataSet().getName()));
+ return params.build();
+ })
+ .build();
+ GrpcCallSettings deleteExpandedDataSetTransportSettings =
+ GrpcCallSettings.newBuilder()
+ .setMethodDescriptor(deleteExpandedDataSetMethodDescriptor)
+ .setParamsExtractor(
+ request -> {
+ ImmutableMap.Builder params = ImmutableMap.builder();
+ params.put("name", String.valueOf(request.getName()));
+ return params.build();
+ })
+ .build();
GrpcCallSettings<
SetAutomatedGa4ConfigurationOptOutRequest, SetAutomatedGa4ConfigurationOptOutResponse>
setAutomatedGa4ConfigurationOptOutTransportSettings =
@@ -2910,6 +3285,84 @@ protected GrpcAnalyticsAdminServiceStub(
this.runAccessReportCallable =
callableFactory.createUnaryCallable(
runAccessReportTransportSettings, settings.runAccessReportSettings(), clientContext);
+ this.createAccessBindingCallable =
+ callableFactory.createUnaryCallable(
+ createAccessBindingTransportSettings,
+ settings.createAccessBindingSettings(),
+ clientContext);
+ this.getAccessBindingCallable =
+ callableFactory.createUnaryCallable(
+ getAccessBindingTransportSettings, settings.getAccessBindingSettings(), clientContext);
+ this.updateAccessBindingCallable =
+ callableFactory.createUnaryCallable(
+ updateAccessBindingTransportSettings,
+ settings.updateAccessBindingSettings(),
+ clientContext);
+ this.deleteAccessBindingCallable =
+ callableFactory.createUnaryCallable(
+ deleteAccessBindingTransportSettings,
+ settings.deleteAccessBindingSettings(),
+ clientContext);
+ this.listAccessBindingsCallable =
+ callableFactory.createUnaryCallable(
+ listAccessBindingsTransportSettings,
+ settings.listAccessBindingsSettings(),
+ clientContext);
+ this.listAccessBindingsPagedCallable =
+ callableFactory.createPagedCallable(
+ listAccessBindingsTransportSettings,
+ settings.listAccessBindingsSettings(),
+ clientContext);
+ this.batchCreateAccessBindingsCallable =
+ callableFactory.createUnaryCallable(
+ batchCreateAccessBindingsTransportSettings,
+ settings.batchCreateAccessBindingsSettings(),
+ clientContext);
+ this.batchGetAccessBindingsCallable =
+ callableFactory.createUnaryCallable(
+ batchGetAccessBindingsTransportSettings,
+ settings.batchGetAccessBindingsSettings(),
+ clientContext);
+ this.batchUpdateAccessBindingsCallable =
+ callableFactory.createUnaryCallable(
+ batchUpdateAccessBindingsTransportSettings,
+ settings.batchUpdateAccessBindingsSettings(),
+ clientContext);
+ this.batchDeleteAccessBindingsCallable =
+ callableFactory.createUnaryCallable(
+ batchDeleteAccessBindingsTransportSettings,
+ settings.batchDeleteAccessBindingsSettings(),
+ clientContext);
+ this.getExpandedDataSetCallable =
+ callableFactory.createUnaryCallable(
+ getExpandedDataSetTransportSettings,
+ settings.getExpandedDataSetSettings(),
+ clientContext);
+ this.listExpandedDataSetsCallable =
+ callableFactory.createUnaryCallable(
+ listExpandedDataSetsTransportSettings,
+ settings.listExpandedDataSetsSettings(),
+ clientContext);
+ this.listExpandedDataSetsPagedCallable =
+ callableFactory.createPagedCallable(
+ listExpandedDataSetsTransportSettings,
+ settings.listExpandedDataSetsSettings(),
+ clientContext);
+ this.createExpandedDataSetCallable =
+ callableFactory.createUnaryCallable(
+ createExpandedDataSetTransportSettings,
+ settings.createExpandedDataSetSettings(),
+ clientContext);
+ this.updateExpandedDataSetCallable =
+ callableFactory.createUnaryCallable(
+ updateExpandedDataSetTransportSettings,
+ settings.updateExpandedDataSetSettings(),
+ clientContext);
+ this.deleteExpandedDataSetCallable =
+ callableFactory.createUnaryCallable(
+ deleteExpandedDataSetTransportSettings,
+ settings.deleteExpandedDataSetSettings(),
+ clientContext);
this.setAutomatedGa4ConfigurationOptOutCallable =
callableFactory.createUnaryCallable(
setAutomatedGa4ConfigurationOptOutTransportSettings,
@@ -3518,6 +3971,96 @@ public UnaryCallable runAccessR
return runAccessReportCallable;
}
+ @Override
+ public UnaryCallable createAccessBindingCallable() {
+ return createAccessBindingCallable;
+ }
+
+ @Override
+ public UnaryCallable getAccessBindingCallable() {
+ return getAccessBindingCallable;
+ }
+
+ @Override
+ public UnaryCallable updateAccessBindingCallable() {
+ return updateAccessBindingCallable;
+ }
+
+ @Override
+ public UnaryCallable deleteAccessBindingCallable() {
+ return deleteAccessBindingCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listAccessBindingsCallable() {
+ return listAccessBindingsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ listAccessBindingsPagedCallable() {
+ return listAccessBindingsPagedCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ batchCreateAccessBindingsCallable() {
+ return batchCreateAccessBindingsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ batchGetAccessBindingsCallable() {
+ return batchGetAccessBindingsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ batchUpdateAccessBindingsCallable() {
+ return batchUpdateAccessBindingsCallable;
+ }
+
+ @Override
+ public UnaryCallable
+ batchDeleteAccessBindingsCallable() {
+ return batchDeleteAccessBindingsCallable;
+ }
+
+ @Override
+ public UnaryCallable